How vicheka12345/viz_clinic works
VIZ Clinic is a public-facing clinic information website, not a demonstrated booking backend. Visitors enter through the home page, navigate clinic services, departments, and doctor information, then can reach the appointment page or contact details. The graph reflects the React route map and shared layout; appointment submission or external scheduling behavior is not established by the excerpts. Several page implementations are grouped by purpose, while major routed capabilities remain represented.
Main entry points: App.jsx Route map · Rootlayout.tsx Shared layout · PageTemplate.tsx Page heading template · Appointment.tsx Appointment page
Components 19
Site shell
- Route map
src/App.jsx - Shared layout
src/Layout/Rootlayout.tsx - Navigation
src/Layout/Navbar.tsx - Clinic footer
src/Layout/Footer.tsx - Scroll behavior
src/Layout/Scroll.tsx - Page heading template
src/Components/PageTemplate.tsx
Care discovery
- Clinic home
src/Pages/Home.tsx - Services listing
src/Pages/Services.tsx - Service catalog
src/Data/Service.js - Service detail
src/Pages/ServiceDetail.tsx - Department listing
src/Pages/Departments.tsx - Department detail
src/Pages/DepartmentDetail.tsx - Doctor directory
src/Pages/Doctor.tsx - Doctor detail
src/Pages/DoctorDetail.tsx
Patient actions
- Appointment page
src/Pages/Appointment.tsx - Contact page
src/Pages/Contact.tsx
Visitor information
- About clinic
src/Pages/About.tsx - Visitor information pages
src/Pages
Other components
- Visitor
Connections 26
- Visitor → Route map: opens site
- Route map → Shared layout: routes through
src/App.jsx - Shared layout → Navigation: renders
src/Layout/Rootlayout.tsx - Shared layout → Clinic footer: renders
src/Layout/Rootlayout.tsx - Shared layout → Scroll behavior: renders
src/Layout/Rootlayout.tsx - Route map → Clinic home: routes to
src/App.jsx - Route map → Services listing: routes to
src/App.jsx - Route map → Service detail: routes to
src/App.jsx - Route map → Department listing: routes to
src/App.jsx - Route map → Department detail: routes to
src/App.jsx - Route map → Doctor directory: routes to
src/App.jsx - Route map → Doctor detail: routes to
src/App.jsx - Route map → Appointment page: routes to
src/App.jsx - Route map → Contact page: routes to
src/App.jsx - Route map → About clinic: routes to
src/App.jsx - Route map → Visitor information pages: routes to
src/App.jsx - Services listing → Service catalog: reads catalog
src/Pages/Services.tsx - Clinic home → Service catalog: uses catalog
src/Pages/Home.tsx - Doctor detail → Service catalog: uses catalog
src/Pages/DoctorDetail.tsx - Clinic home → Appointment page: links to
src/Pages/Home.tsx - Department detail → Appointment page: links to
src/Pages/DepartmentDetail.tsx - Service detail → Appointment page: links to
src/Pages/ServiceDetail.tsx - Services listing → Page heading template: renders
src/Pages/Services.tsx - Department detail → Page heading template: renders
src/Pages/DepartmentDetail.tsx - Service detail → Page heading template: renders
src/Pages/ServiceDetail.tsx - About clinic → Page heading template: renders
src/Pages/About.tsx