How greadualy/dinail.co-ai-full-stack-dev works
Dinail.co is a nail-art studio storefront and customer portal. Visitors browse the home page, catalog, and price list; the home page also presents ordering guidance, testimonials, and studio location. The profile page provides account-related and order-oriented UI, while role state is a client-side mock backed by localStorage rather than a demonstrated server or persistent order system. The map follows only relationships visible in excerpts or the source index; unsampled page behavior is kept at the page level.
Main entry points: page.tsx Home page · Navbar.tsx Navigation · RoleContext.tsx Role and session state · Footer.tsx Help and footer
Components 17
Storefront pages
- Home page
src/app/page.tsx - Design catalog
src/app/catalog/page.tsx - Price list
src/app/pricelist/page.tsx - Profile portal
src/app/profil/page.tsx
Shared experience
- Navigation
src/components/Navbar.tsx - Help and footer
src/components/Footer.tsx - Hero showcase
src/components/HeroSection.tsx - Order guidance
src/components/OrderSteps.tsx - Testimonials
src/components/TestimonialCarousel.tsx - Studio location
src/components/LocationSection.tsx
Client state and content
- Role and session state
src/context/RoleContext.tsx - Role switcher
src/components/RoleSwitcherModal.tsx - Mock content
src/data/mockData.ts - Image path registry
src/constants/assets.ts
Other components
- Visitor
- Browser localStorage
Connections 28
- Visitor → Home page: opens
src/app/page.tsx - Visitor → Design catalog: browses
src/app/catalog/page.tsx - Visitor → Price list: checks prices
src/app/pricelist/page.tsx - Visitor → Profile portal: opens
src/app/profil/page.tsx - Home page → Navigation: renders
src/app/page.tsx - Home page → Hero showcase: renders
src/app/page.tsx - Home page → Order guidance: renders
src/app/page.tsx - Home page → Testimonials: renders
src/app/page.tsx - Home page → Studio location: renders
src/app/page.tsx - Home page → Help and footer: renders
src/app/page.tsx - Design catalog → Navigation: renders
src/app/catalog/page.tsx - Design catalog → Help and footer: renders
src/app/catalog/page.tsx - Price list → Navigation: renders
src/app/pricelist/page.tsx - Price list → Help and footer: renders
src/app/pricelist/page.tsx - Profile portal → Navigation: renders
src/app/profil/page.tsx - Profile portal → Help and footer: renders
src/app/profil/page.tsx - Navigation → Role and session state: reads role
src/components/Navbar.tsx - Navigation → Image path registry: uses images
src/components/Navbar.tsx - Order guidance → Role and session state: opens modal
src/components/OrderSteps.tsx - Order guidance → Image path registry: uses images
src/components/OrderSteps.tsx - Testimonials → Mock content: reads reviews
src/components/TestimonialCarousel.tsx - Hero showcase → Role and session state: reads role
src/components/HeroSection.tsx - Hero showcase → Image path registry: uses images
src/components/HeroSection.tsx - Profile portal → Role and session state: reads role
src/app/profil/page.tsx - Role and session state → Browser localStorage: persists session
src/context/RoleContext.tsx - Role switcher → Role and session state: updates role
src/components/RoleSwitcherModal.tsx - Mock content → Image path registry: references images
src/data/mockData.ts - Help and footer → WhatsApp: links to
src/components/Footer.tsx