How mostafatamer96/fresh-cart works
Fresh Cart is a lightweight Next.js storefront UI, not a complete commerce backend. The main visitor flow enters the shared layout, uses its navigation, and sees the homepage’s service assurances and promotional coupons; product browsing and brand pages are present only as placeholders. The README describes no additional product capabilities, and sampled source shows no product data, checkout processing, or persistence.
Main entry points: layout.tsx Root layout · app/page.tsx Homepage · Navbar.tsx Site navigation · shop/page.tsx Shop placeholder
Components 9
App routes
- Root layout
src/app/layout.tsx - Homepage
src/app/page.tsx - Shop placeholder
src/app/shop/page.tsx - Brands placeholder
src/app/brands/page.tsx
Storefront UI
- Site navigation
src/app/_components/Navbar.tsx - Service assurances
src/app/_components/Services.tsx - Coupon promotions
src/app/_components/CouponCards.tsx
Shared UI
- Navigation primitives
src/components/ui/navigation-menu.tsx
Other components
- Visitor
Connections 8
- Visitor → Root layout: opens storefront
- Root layout → Site navigation: renders
- Root layout → Homepage: renders route
- Homepage → Service assurances: renders
- Homepage → Coupon promotions: renders
- Site navigation → Navigation primitives: uses primitives
- Visitor → Shop placeholder: opens route
- Visitor → Brands placeholder: opens route