How krishnasai89/ayurveda works
Ayurveda is a content-focused Next.js site presenting Ayurvedic concepts, herbs, and a medical reference. Visitors enter through the home page to explore dosha and herb sections, or use navigation to reach the medical index, search comparative entries, and inspect medicine details. The sampled code shows page composition and local JSON-backed medicine data; it does not show a backend or external clinical service. SmoothScroll is present as a component, but its use is not shown in the sampled pages.
Main entry points: app/page.tsx Home page · medical/page.tsx Medical index · layout.tsx Root layout · Navbar.tsx Site navigation
Components 12
Site entry
- Root layout
src/app/layout.tsx - Home page
src/app/page.tsx
Ayurveda learning
- Ayurveda hero
src/components/Hero/Hero.tsx - Dosha guide
src/components/TridoshaSection.tsx - Herb apothecary
src/components/ApothecarySection.tsx - Ambient canvas
src/components/canvas/BgCanvas.tsx
Medical reference
- Medical index
src/app/medical/page.tsx - Medicine records
src/Data/medical.json - Medicine details
src/app/medical/MedicineCard.tsx
Shared components
- Site navigation
src/components/navigation/Navbar.tsx - Smooth scrolling
src/components/SmoothScroll.tsx
Other components
- Visitor
Connections 11
- Visitor → Home page: opens home
README.md - Root layout → Home page: wraps page
src/app/layout.tsx - Root layout → Medical index: wraps page
src/app/layout.tsx - Home page → Site navigation: renders
src/app/page.tsx - Home page → Ayurveda hero: renders
src/app/page.tsx - Home page → Dosha guide: renders
src/app/page.tsx - Home page → Herb apothecary: renders
src/app/page.tsx - Home page → Ambient canvas: renders
src/app/page.tsx - Medical index → Site navigation: renders
src/app/medical/page.tsx - Medical index → Medicine records: reads records
src/app/medical/page.tsx - Medical index → Medicine details: renders cards
src/app/medical/page.tsx