How hamza234213/dbs-aesthetics-clinic-salon works
DBS Aesthetics Clinic & Salon’s product is a public clinic website: visitors discover treatments and clinic information, then can proceed to appointment booking or contact channels. Service browsing runs from the service directory to category-specific pages, while appointment booking collects a preferred service, date, and time before invoking a server action. The repository also provides about, FAQ, gallery, payment, and contact pages. Shared clinic content and presentation components support these routes. Relationships reflect the provided excerpts and source-index references; booking action internals and several route implementations were not shown.
Main entry points: clinic.ts Clinic content · app/page.tsx Home page · [slug]/page.tsx Service detail · book-appointment/page.tsx Booking page
Components 20
Site routes
- Home page
src/app/page.tsx - About page
src/app/about/page.tsx - Contact page
src/app/contact/page.tsx - FAQ page
src/app/faqs/page.tsx - Gallery page
src/app/gallery/page.tsx - Payment page
src/app/payment/page.tsx
Treatment discovery
- Service directory
src/app/services/page.tsx - Category search
src/components/Servicecategorygrid.tsx - Service detail
src/app/services/[slug]/page.tsx
Appointment booking
- Booking page
src/app/book-appointment/page.tsx - Appointment form
src/components/AppointmentForm.tsx - Booking action
src/app/book-appointment/actions.ts
Shared content
- Clinic content
src/data/clinic.ts - Global layout
src/app/layout.tsx - Navigation
src/components/Navbar.tsx - Footer
src/components/Footer.tsx - WhatsApp contact
src/components/WhatsAppButton.tsx - FAQ accordion
src/components/FaqAccordion.tsx - Before-after slider
src/components/BeforeAfterSlider.tsx
Other components
- Visitor
Connections 27
- Visitor → Home page: opens site
- Visitor → Service directory: browses services
- Visitor → Booking page: starts booking
- Home page → Clinic content: reads content
src/app/page.tsx - Home page → FAQ accordion: renders
src/app/page.tsx - Home page → Booking page: links to
src/app/page.tsx - Service directory → Clinic content: reads content
src/app/services/page.tsx - Service directory → Category search: renders
src/app/services/page.tsx - Category search → Service detail: links to
src/components/Servicecategorygrid.tsx - Service detail → Clinic content: resolves service
src/app/services/[slug]/page.tsx - Service detail → Before-after slider: renders
src/app/services/[slug]/page.tsx - Service detail → Booking page: links to
src/app/services/[slug]/page.tsx - Booking page → Appointment form: renders
src/app/book-appointment/page.tsx - Appointment form → Clinic content: reads services
src/components/AppointmentForm.tsx - Appointment form → Booking action: submits details
src/components/AppointmentForm.tsx - About page → Clinic content: reads profile
src/app/about/page.tsx - Contact page → Clinic content: reads contact
src/app/contact/page.tsx - FAQ page → Clinic content: reads questions
src/app/faqs/page.tsx - FAQ page → FAQ accordion: renders
src/app/faqs/page.tsx - Gallery page → Clinic content: reads gallery data
src/app/gallery/page.tsx - Payment page → Clinic content: reads clinic data
src/app/payment/page.tsx - Global layout → Navigation: renders
src/app/layout.tsx - Global layout → Footer: renders
src/app/layout.tsx - Global layout → WhatsApp contact: renders
src/app/layout.tsx - Navigation → Clinic content: reads content
src/components/Navbar.tsx - Footer → Clinic content: reads content
src/components/Footer.tsx - WhatsApp contact → Clinic content: reads contact link
src/components/WhatsAppButton.tsx