feat(store): add official community swag store. - #18
Merged
Merged
Conversation
…rt drawer, and local Kampala checkout Replicate official community merchandise store page at `/store` celebrating JavaScript Kampala's 5th anniversary, with proceeds supporting community meetups, student tickets, and maker grants across Uganda. Key changes: - feat(store): create Next.js App Router store page at `app/store/page.tsx` with search, categories, FAQ, and brutalist hero banner - feat(store): add TypeScript definitions (`types/store.ts`) for products, variants, cart items, currencies, and orders - feat(store): create curated product catalog (`data/storeProducts.ts`) with custom SVG illustrations and Kampala-themed swag - feat(store): implement SSR-safe `CartContext` with localStorage persistence, UGX/USD live switching, promo discounts, and free gift tracker - feat(store): add `ProductCard` with inline size selector and stock counter - feat(store): add `ProductDetailModal` with specs, sizing, and community impact notice - feat(store): add slide-over `CartDrawer` with quantity adjustments and coupon validation - feat(store): add `CheckoutModal` with MTN MoMo, Airtel Money, Card, and Pay on Pickup options, plus Kampala Boda and meetup pickup delivery methods - feat(nav): update `components/Layout.tsx` with store navigation link, dynamic cart counter badge, and footer sitemap link - feat(providers): wrap application with `CartProvider` in `components/Providers.tsx` - deps: add `canvas-confetti` and `@types/canvas-confetti` for celebratory checkout animation
✅ Deploy Preview for jskampala ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Key changes:
app/store/page.tsxwith search, categories, FAQ, and brutalist hero bannertypes/store.ts) for products, variants, cart items, currencies, and ordersdata/storeProducts.ts) with custom SVG illustrations and Kampala-themed swagCartContextwith localStorage persistence, UGX/USD live switching, promo discounts, and free gift trackerProductCardwith inline size selector and stock counterProductDetailModalwith specs, sizing, and community impact noticeCartDrawerwith quantity adjustments and coupon validationCheckoutModalwith MTN MoMo, Airtel Money, Card, and Pay on Pickup options, plus Kampala Boda and meetup pickup delivery methodscomponents/Layout.tsxwith store navigation link, dynamic cart counter badge, and footer sitemap linkCartProviderincomponents/Providers.tsxcanvas-confettiand@types/canvas-confettifor celebratory checkout animation