Component
Turn this repeated product area into a component so one change updates every instance.
Turn this repeated product area into a component so one change updates every instance.
The same card is maintained twice.
Keep repeated responsibility together: A card's structure, styles, and click behavior can be maintained together, so a price format or button-label change does not require edits on three pages.
Pages compose components: A page arranges navigation, cards, and filters for its current task. The same component can receive different product data while retaining consistent interaction and appearance.
Turn the repeated event card into a component. Use it on the home, event, and search pages while keeping each page's image, title, and state as inputs. Afterward, check that the card looks and behaves consistently on all three pages.