feat: Transform into brand-first landing page with routing#2
Merged
Conversation
Redesigned the site from shop-first to brand-first editorial landing page with dedicated product showcases. ## Major Changes ### Architecture - Added React Router DOM for client-side navigation (HashRouter for GH Pages) - Created separate Home and Shop pages - Product catalog moved to dedicated /shop route - Cart functionality works across all pages ### New Pages - Home (/) - Brand landing with featured product hero sections - Shop (/shop) - Full product catalog with grid layout ### New Components - ProductHero - Individual product showcase sections with: - Full-width hero layout with image + content - Alternating left/right layout (reverse prop) - Size selection and quick add to cart - Accent color customization (matrix/hotpink/cyan) - "View Details" modal integration - Animated on scroll ### Updated Components - Header - Added navigation links (Home/Shop) with active state - App.jsx - Implemented HashRouter with Routes - Layout - Now wraps routed content ### Home Page Features - Main hero section with brand message - 5 featured product hero sections (alternating layouts) - "Featured Disappointments" section header - "Explore Full Collection" CTA to shop - Brand manifesto section - Instagram CTA ### Shop Page Features - "The Void Store" header section - Full product grid with all 20+ items - Category filtering (inherited from ProductGrid) - Bottom CTA for custom requests - Instagram link ### Design Improvements - Each product gets its own spotlight on homepage - Editorial magazine-style layout - Smooth scroll animations with viewport triggers - Better mobile navigation - Consistent accent color theming throughout ### Technical Details - HashRouter for GitHub Pages compatibility (no 404 issues) - Cart state persists across page navigation (Zustand + localStorage) - Modals work from any page - Responsive navigation (desktop shows links, mobile minimal) ## User Flow 1. Land on brand page with hero message 2. Scroll through featured products with hero sections 3. Quick add to cart or view details from any product hero 4. Navigate to /shop to see full catalog 5. Cart accessible from any page via header icon 6. Checkout flow unchanged (Instagram DM / Email) Build tested and passing. Ready for deployment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Redesigned the site from shop-first to brand-first editorial landing page with dedicated product showcases.
Major Changes
Architecture
New Pages
New Components
Updated Components
Home Page Features
Shop Page Features
Design Improvements
Technical Details
User Flow
Build tested and passing. Ready for deployment.