How chandusenpathi/neosite works
This is a Next.js agency-style website with informational pages, a product-listing page presented under Blogs, a cart, and placeholder authentication routes. The principal interactive workflow loads products from DummyJSON, lets a visitor add them to the cart, and manages cart quantities and totals through Redux. The root layout supplies shared navigation and footer around page content. Several routes were not excerpted, so their behavior and connections are not inferred.
Main entry points: layout.tsx Root layout · store.tsx Redux cart state · page.tsx Product listing · Navbar.tsx Navigation and cart UI
Components 14
Shared site shell
- Root layout
src/app/layout.tsx - Navigation and cart UI
src/components/navbar/Navbar.tsx - Footer
src/components/Footer.tsx
Site pages
- Home page
src/app/page.tsx - About page
src/app/about/page.tsx - Blog detail route
src/app/blog/[slug]/page.tsx - Contact page
src/app/contact/page.tsx - Login page
src/app/(auth)/login/page.tsx - Registration page
src/app/(auth)/register/page.tsx - Password recovery
src/app/(auth)/forgot-password/page.tsx
Product and cart
- Product listing
src/app/blog/page.tsx - Redux cart state
src/app/store.tsx
Other components
- Visitor
- DummyJSON products API
Connections 7
- Root layout → Navigation and cart UI: renders
src/app/layout.tsx - Root layout → Footer: renders
src/app/layout.tsx - Root layout → Redux cart state: provides state
src/app/layout.tsx - Navigation and cart UI → Redux cart state: reads and dispatches
src/components/navbar/Navbar.tsx - Product listing → DummyJSON products API: fetches products
src/app/blog/page.tsx - Product listing → Redux cart state: dispatches add
src/app/blog/page.tsx - Visitor → Root layout: opens site