# veerabramhachary/medic architecture

> Architecture diagram of the GitHub repository veerabramhachary/medic, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/veerabramhachary/medic
- Repository: https://github.com/veerabramhachary/medic

## Overview

This is a React clinic landing-page application. A visitor enters through the browser-rendered app, sees the navigation and home hero, and can browse the doctor gallery in the About section. The navigation offers a mobile menu and an appointment link that opens an external example site; the hero appointment button currently has no action. Other listed UI components appear to be standalone or unfinished. The graph follows shown imports and calls; unsampled component behavior and any further page flows are omitted.

Main entry points: [`src/App.tsx`](https://github.com/veerabramhachary/medic/blob/master/src/App.tsx) (App shell), [`src/Sections/About.tsx`](https://github.com/veerabramhachary/medic/blob/master/src/Sections/About.tsx) (Doctor section), [`src/components/Navbar.tsx`](https://github.com/veerabramhachary/medic/blob/master/src/components/Navbar.tsx) (Navigation), [`src/types/types.ts`](https://github.com/veerabramhachary/medic/blob/master/src/types/types.ts) (Component types)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_main["React entry<br/>[main.tsx]"]
  node_app["App shell<br/>[App.tsx]"]
end

subgraph group_pages["Page sections"]
  node_home["Home section<br/>[Home.tsx]"]
  node_about["Doctor section<br/>[About.tsx]"]
  node_doctor_data["Doctor data<br/>[data.ts]"]
end

subgraph group_ui["UI components"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_gallery["Doctor gallery<br/>[Gallery.tsx]"]
  node_heading["Section heading<br/>[SectionHeading.tsx]"]
  node_button["Button<br/>[Button.tsx]"]
  node_mobile["Mobile menu<br/>[MobileMenu.tsx]"]
  node_feature_card["Feature card<br/>[FeatureCard.tsx]"]
end

subgraph group_contracts["UI contracts"]
  node_types["Component types<br/>[types.ts]"]
end

node_visitor(("Visitor"))
node_browser(("Browser"))
node_appointment_site(("External appointment site"))

node_visitor -->|"uses"| node_browser
node_browser -->|"loads"| node_main
node_main -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_home
node_app -->|"renders"| node_about
node_home -->|"renders"| node_hero
node_about -->|"renders"| node_gallery
node_about -->|"renders"| node_heading
node_about -->|"passes data"| node_doctor_data
node_navbar -->|"renders"| node_mobile
node_navbar -->|"renders"| node_button
node_navbar -->|"opens"| node_appointment_site
node_hero -->|"renders"| node_button
node_gallery -->|"uses props"| node_types
node_heading -->|"uses props"| node_types
node_button -->|"uses props"| node_types
node_feature_card -->|"uses props"| node_types

click node_main "https://github.com/veerabramhachary/medic/blob/master/src/main.tsx"
click node_app "https://github.com/veerabramhachary/medic/blob/master/src/App.tsx"
click node_navbar "https://github.com/veerabramhachary/medic/blob/master/src/components/Navbar.tsx"
click node_home "https://github.com/veerabramhachary/medic/blob/master/src/Sections/Home.tsx"
click node_about "https://github.com/veerabramhachary/medic/blob/master/src/Sections/About.tsx"
click node_hero "https://github.com/veerabramhachary/medic/blob/master/src/components/Hero.tsx"
click node_gallery "https://github.com/veerabramhachary/medic/blob/master/src/components/Gallery.tsx"
click node_heading "https://github.com/veerabramhachary/medic/blob/master/src/components/SectionHeading.tsx"
click node_button "https://github.com/veerabramhachary/medic/blob/master/src/components/Button.tsx"
click node_mobile "https://github.com/veerabramhachary/medic/blob/master/src/components/MobileMenu.tsx"
click node_doctor_data "https://github.com/veerabramhachary/medic/blob/master/src/assets/data.ts"
click node_feature_card "https://github.com/veerabramhachary/medic/blob/master/src/components/FeatureCard.tsx"
click node_types "https://github.com/veerabramhachary/medic/blob/master/src/types/types.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_app,node_browser toneBlue
class node_home,node_about,node_doctor_data toneAmber
class node_navbar,node_hero,node_gallery,node_heading,node_button,node_mobile,node_feature_card toneMint
class node_types toneRose
class node_visitor,node_appointment_site toneIndigo
```

## Components

### Application entry

- [React entry](https://github.com/veerabramhachary/medic/blob/master/src/main.tsx): `src/main.tsx`
- [App shell](https://github.com/veerabramhachary/medic/blob/master/src/App.tsx): `src/App.tsx`

### Page sections

- [Home section](https://github.com/veerabramhachary/medic/blob/master/src/Sections/Home.tsx): `src/Sections/Home.tsx`
- [Doctor section](https://github.com/veerabramhachary/medic/blob/master/src/Sections/About.tsx): `src/Sections/About.tsx`
- [Doctor data](https://github.com/veerabramhachary/medic/blob/master/src/assets/data.ts): `src/assets/data.ts`

### UI components

- [Navigation](https://github.com/veerabramhachary/medic/blob/master/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Hero](https://github.com/veerabramhachary/medic/blob/master/src/components/Hero.tsx): `src/components/Hero.tsx`
- [Doctor gallery](https://github.com/veerabramhachary/medic/blob/master/src/components/Gallery.tsx): `src/components/Gallery.tsx`
- [Section heading](https://github.com/veerabramhachary/medic/blob/master/src/components/SectionHeading.tsx): `src/components/SectionHeading.tsx`
- [Button](https://github.com/veerabramhachary/medic/blob/master/src/components/Button.tsx): `src/components/Button.tsx`
- [Mobile menu](https://github.com/veerabramhachary/medic/blob/master/src/components/MobileMenu.tsx): `src/components/MobileMenu.tsx`
- [Feature card](https://github.com/veerabramhachary/medic/blob/master/src/components/FeatureCard.tsx): `src/components/FeatureCard.tsx`

### UI contracts

- [Component types](https://github.com/veerabramhachary/medic/blob/master/src/types/types.ts): `src/types/types.ts`

### Other components

- **Visitor**
- **Browser**
- **External appointment site**

## Connections

- Visitor → Browser: uses
- Browser → React entry: loads (evidence: `src/main.tsx`)
- React entry → App shell: renders (evidence: `src/main.tsx`)
- App shell → Navigation: renders (evidence: `src/App.tsx`)
- App shell → Home section: renders (evidence: `src/App.tsx`)
- App shell → Doctor section: renders (evidence: `src/App.tsx`)
- Home section → Hero: renders (evidence: `src/Sections/Home.tsx`)
- Doctor section → Doctor gallery: renders (evidence: `src/Sections/About.tsx`)
- Doctor section → Section heading: renders (evidence: `src/Sections/About.tsx`)
- Doctor section → Doctor data: passes data (evidence: `src/Sections/About.tsx`)
- Navigation → Mobile menu: renders (evidence: `src/components/Navbar.tsx`)
- Navigation → Button: renders (evidence: `src/components/Navbar.tsx`)
- Navigation → External appointment site: opens (evidence: `src/components/Navbar.tsx`)
- Hero → Button: renders (evidence: `src/components/Hero.tsx`)
- Doctor gallery → Component types: uses props (evidence: `src/components/Gallery.tsx`)
- Section heading → Component types: uses props (evidence: `src/components/SectionHeading.tsx`)
- Button → Component types: uses props (evidence: `src/components/Button.tsx`)
- Feature card → Component types: uses props (evidence: `src/components/FeatureCard.tsx`)
