Refactor: Implement reusable PageHero component#5
Conversation
- Created a reusable `PageHero` component in `src/components/PageHero.tsx` to standardize layout, typography, backgrounds, and padding for internal page hero sections. - Refactored `Shop.tsx`, `Locations.tsx`, and `Reviews.tsx` to use the new `PageHero` component, centralizing the `min-h-[70vh]` height constraint and `pt-32 pb-20` padding. - Addressed code review feedback to ensure Tailwind classes are fully defined rather than dynamically constructed to prevent purging.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Visit the preview URL for this PR (updated for commit e483909): https://rexvelocity--pr5-fix-shop-hero-and-sc-l8mxbkuj.web.app (expires Tue, 02 Jun 2026 19:33:50 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e6a8092b99a21a146aa2c15690bc80339a98e50d |
Extracts a common
PageHerocomponent and refactors the Shop, Locations, and Reviews pages to use it, ensuring consistent design and height across the platform as requested by the user.PR created automatically by Jules for task 8409233015136974862 started by @Reddevildragg