# safkhancader/safkhan architecture

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

- Interactive diagram: https://gitdiagram.com/safkhancader/safkhan
- Repository: https://github.com/safkhancader/safkhan
- Video tour (about a minute): https://gitdiagram.com/safkhancader/safkhan/video

## Overview

This is a personal portfolio website: visitors browse an introductory profile, work history and skills, then explore projects, services, credentials, references, and contact options. The runtime mounts a single-page React app; its shell renders a landing-page component that owns the ordered portfolio sections. The graph preserves the indexed core sections and shows the typewriter and loading components where calls are evidenced. Source excerpts do not establish a contact-delivery service or persistence, so neither is modeled.

Main entry points: [`src/pages/Hero.jsx`](https://github.com/safkhancader/safkhan/blob/main/src/pages/Hero.jsx) (Portfolio page), [`src/App.jsx`](https://github.com/safkhancader/safkhan/blob/main/src/App.jsx) (App router), [`src/main.jsx`](https://github.com/safkhancader/safkhan/blob/main/src/main.jsx) (React mount), [`src/pages/Home.jsx`](https://github.com/safkhancader/safkhan/blob/main/src/pages/Home.jsx) (Introduction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_mount["React mount<br/>[main.jsx]"]
  node_app["App router<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_footer["Footer links<br/>[Footer.jsx]"]
  node_socialbar["Social sidebar<br/>[SocialSidebar.jsx]"]
  node_scrolltop["Scroll control"]
end

subgraph group_intro["Introduction"]
  node_hero["Portfolio page<br/>[Hero.jsx]"]
  node_loader["Loading screen<br/>[Loader.jsx]"]
  node_home["Introduction<br/>[Home.jsx]"]
  node_typewriter["Typewriter text<br/>[Typewriter.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_experiences["Experience timeline<br/>[Experiences.jsx]"]
  node_skills["Skills<br/>[Skills.jsx]"]
  node_projects["Projects<br/>[Projects.jsx]"]
  node_services["Services<br/>[Services.jsx]"]
  node_educations["Education<br/>[Educations.jsx]"]
  node_certifications["Certifications<br/>[Certifications.jsx]"]
  node_references["References<br/>[References.jsx]"]
end

subgraph group_engagement["Contact and links"]
  node_contact["Contact forms<br/>[Contact.jsx]"]
  node_socials["Social links<br/>[Socials.jsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_socialbar
node_app -->|"routes to"| node_hero
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_scrolltop
node_hero -->|"renders while loading"| node_loader
node_hero -->|"renders"| node_home
node_hero -->|"renders"| node_experiences
node_hero -->|"renders"| node_skills
node_hero -->|"renders"| node_projects
node_hero -->|"renders"| node_services
node_hero -->|"renders"| node_educations
node_hero -->|"renders"| node_certifications
node_hero -->|"renders"| node_references
node_hero -->|"renders"| node_contact
node_hero -->|"renders"| node_socials
node_home -->|"renders"| node_typewriter

click node_mount "https://github.com/safkhancader/safkhan/blob/main/src/main.jsx"
click node_app "https://github.com/safkhancader/safkhan/blob/main/src/App.jsx"
click node_navbar "https://github.com/safkhancader/safkhan/blob/main/src/pages/Navbar.jsx"
click node_footer "https://github.com/safkhancader/safkhan/blob/main/src/pages/Footer.jsx"
click node_socialbar "https://github.com/safkhancader/safkhan/blob/main/src/pages/SocialSidebar.jsx"
click node_scrolltop "https://github.com/safkhancader/safkhan/blob/main/src/pages/ScrollToTopButton.jsx"
click node_hero "https://github.com/safkhancader/safkhan/blob/main/src/pages/Hero.jsx"
click node_loader "https://github.com/safkhancader/safkhan/blob/main/src/pages/Loader.jsx"
click node_home "https://github.com/safkhancader/safkhan/blob/main/src/pages/Home.jsx"
click node_typewriter "https://github.com/safkhancader/safkhan/blob/main/src/pages/Typewriter.jsx"
click node_experiences "https://github.com/safkhancader/safkhan/blob/main/src/pages/Experiences.jsx"
click node_skills "https://github.com/safkhancader/safkhan/blob/main/src/pages/Skills.jsx"
click node_projects "https://github.com/safkhancader/safkhan/blob/main/src/pages/Projects.jsx"
click node_services "https://github.com/safkhancader/safkhan/blob/main/src/pages/Services.jsx"
click node_educations "https://github.com/safkhancader/safkhan/blob/main/src/pages/Educations.jsx"
click node_certifications "https://github.com/safkhancader/safkhan/blob/main/src/pages/Certifications.jsx"
click node_references "https://github.com/safkhancader/safkhan/blob/main/src/pages/References.jsx"
click node_contact "https://github.com/safkhancader/safkhan/blob/main/src/pages/Contact.jsx"
click node_socials "https://github.com/safkhancader/safkhan/blob/main/src/pages/Socials.jsx"

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_mount,node_app,node_navbar,node_footer,node_socialbar,node_scrolltop toneBlue
class node_hero,node_loader,node_home,node_typewriter toneAmber
class node_experiences,node_skills,node_projects,node_services,node_educations,node_certifications,node_references toneMint
class node_contact,node_socials toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [React mount](https://github.com/safkhancader/safkhan/blob/main/src/main.jsx): `src/main.jsx`
- [App router](https://github.com/safkhancader/safkhan/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/safkhancader/safkhan/blob/main/src/pages/Navbar.jsx): `src/pages/Navbar.jsx`
- [Footer links](https://github.com/safkhancader/safkhan/blob/main/src/pages/Footer.jsx): `src/pages/Footer.jsx`
- [Social sidebar](https://github.com/safkhancader/safkhan/blob/main/src/pages/SocialSidebar.jsx): `src/pages/SocialSidebar.jsx`
- [Scroll control](https://github.com/safkhancader/safkhan/blob/main/src/pages/ScrollToTopButton.jsx): `src/pages/ScrollToTopButton.jsx`

### Introduction

- [Portfolio page](https://github.com/safkhancader/safkhan/blob/main/src/pages/Hero.jsx): `src/pages/Hero.jsx`
- [Loading screen](https://github.com/safkhancader/safkhan/blob/main/src/pages/Loader.jsx): `src/pages/Loader.jsx`
- [Introduction](https://github.com/safkhancader/safkhan/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Typewriter text](https://github.com/safkhancader/safkhan/blob/main/src/pages/Typewriter.jsx): `src/pages/Typewriter.jsx`

### Portfolio content

- [Experience timeline](https://github.com/safkhancader/safkhan/blob/main/src/pages/Experiences.jsx): `src/pages/Experiences.jsx`
- [Skills](https://github.com/safkhancader/safkhan/blob/main/src/pages/Skills.jsx): `src/pages/Skills.jsx`
- [Projects](https://github.com/safkhancader/safkhan/blob/main/src/pages/Projects.jsx): `src/pages/Projects.jsx`
- [Services](https://github.com/safkhancader/safkhan/blob/main/src/pages/Services.jsx): `src/pages/Services.jsx`
- [Education](https://github.com/safkhancader/safkhan/blob/main/src/pages/Educations.jsx): `src/pages/Educations.jsx`
- [Certifications](https://github.com/safkhancader/safkhan/blob/main/src/pages/Certifications.jsx): `src/pages/Certifications.jsx`
- [References](https://github.com/safkhancader/safkhan/blob/main/src/pages/References.jsx): `src/pages/References.jsx`

### Contact and links

- [Contact forms](https://github.com/safkhancader/safkhan/blob/main/src/pages/Contact.jsx): `src/pages/Contact.jsx`
- [Social links](https://github.com/safkhancader/safkhan/blob/main/src/pages/Socials.jsx): `src/pages/Socials.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → React mount: opens site (evidence: `src/main.jsx`)
- React mount → App router: renders (evidence: `src/main.jsx`)
- App router → Navigation: renders (evidence: `src/App.jsx`)
- App router → Social sidebar: renders (evidence: `src/App.jsx`)
- App router → Portfolio page: routes to (evidence: `src/App.jsx`)
- App router → Footer links: renders (evidence: `src/App.jsx`)
- App router → Scroll control: renders (evidence: `src/App.jsx`)
- Portfolio page → Loading screen: renders while loading (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Introduction: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Experience timeline: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Skills: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Projects: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Services: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Education: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Certifications: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → References: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Contact forms: renders (evidence: `src/pages/Hero.jsx`)
- Portfolio page → Social links: renders (evidence: `src/pages/Hero.jsx`)
- Introduction → Typewriter text: renders (evidence: `src/pages/Home.jsx`)
