Stop loading homepage image gallery on smaller screens #2605
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
🔧 tech: vue
Involves Vue.js
Problem
Openverse homepage loads all of the homepage images even on small screens, where the images are never shown.
Description
Currently, we use tailwind classes to show the homepage gallery on
xl
breakpoint:hidden xl:flex
.Instead, we should use the Vue's
v-if
to conditionally render the component only on thexl
screens and up.The text was updated successfully, but these errors were encountered: