Skip to content

Refactor: Implement reusable PageHero component#5

Merged
TomGreener91 merged 2 commits into
mainfrom
fix-shop-hero-and-scroll-8409233015136974862
May 26, 2026
Merged

Refactor: Implement reusable PageHero component#5
TomGreener91 merged 2 commits into
mainfrom
fix-shop-hero-and-scroll-8409233015136974862

Conversation

@TomGreener91

Copy link
Copy Markdown
Owner

Extracts a common PageHero component 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

- 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.
@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions

Copy link
Copy Markdown

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

@TomGreener91 TomGreener91 merged commit ceb10ee into main May 26, 2026
2 checks passed
@TomGreener91 TomGreener91 deleted the fix-shop-hero-and-scroll-8409233015136974862 branch May 26, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant