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.
Control what components display with parameters: Components accept parameters (called Props in React) to control what they display. For example, a product card component receives product name, price, and image from the outside. When you tell AI "make this component accept a title parameter", you're describing Props.
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.
Build in 3D. Put your computer to work.