-
Notifications
You must be signed in to change notification settings - Fork 0
Implement Men's Category storefront with filtering, navigation, and responsive components #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… and assets Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
| try { | ||
| // You need to provide a valid storeId | ||
| const storeId = process.env.STORE_ID || 'your-store-id'; | ||
| if (storeId === 'your-store-id') { |
Check failure
Code scanning / CodeQL
User-controlled bypass of security check High
action
user-provided value
Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
|
Could not find in website builders fix it @copilot |
Co-authored-by: rafiqul4 <124497017+rafiqul4@users.noreply.github.com>
Fixed in commit dc57ad9. The Men's category is now accessible in multiple ways: Navigation Access:
URLs:
The category is now immediately discoverable without needing to seed the database first. |
Adds a complete Men's Category storefront at
/store/[slug]/categories/menbased on the dapper-divine-design template, with comprehensive filtering, responsive layouts, navigation integration, and production-ready features.Components
Core Components (
src/app/store/[slug]/components/men-category/)MenCategoryHero- Full-width hero with CTA and smooth scrollMenProductCard- Enhanced card with hover effects, quick view, and wishlist toggleMenProductGrid- Responsive grid (1/2/3-4 columns across breakpoints)MenCategoryFilter- Size, color (swatches), price range (slider), brand, and sort controlsMenQuickView- Modal with image gallery, size/color selectors, add-to-cartMenSizeGuide- Measurement table modalMenFeaturedProducts- Horizontal scrollable carouselMain Page (
src/app/store/[slug]/categories/men/page.tsx)Navigation Integration
Store Header (
src/components/storefront/store-header.tsx)Categories Page (
src/app/store/[slug]/categories/page.tsx)Men's category is now accessible from:
/store/[slug]/categories/menData & Assets
Database Seed (
prisma/seed/men-category-seed.ts)Assets (
/public/men-category/)Filter Architecture
Client-side filtering with desktop sidebar / mobile Sheet component from shadcn-ui. Active filter count badge and clear-all functionality.
Technical Details
Usage
Integration examples for connecting real data (Prisma queries, filter API) provided in
docs/MEN_CATEGORY_USAGE_EXAMPLES.md.Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.