# msabbirhossen/msabbirhossen.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/msabbirhossen/msabbirhossen.github.io
- Repository: https://github.com/msabbirhossen/msabbirhossen.github.io

## Overview

This is a recruiter-focused developer portfolio SPA. A visitor enters through routed pages, explores profile and project evidence, and can continue into the interactive guide, recruiter dossier, or developer contact tools. The graph preserves those distinct product areas plus shared portfolio data, localization, theme, and AI-assistant layers. Source excerpts establish the routing, shared layout, guide state, and AI response flow; some capability links are documented in the README rather than sampled implementation.

Main entry points: [`src/App.jsx`](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/App.jsx) (Route application), [`src/data/index.js`](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/data/index.js) (Portfolio data), [`src/layouts/MainLayout.jsx`](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/layouts/MainLayout.jsx) (Shared layout), [`src/pages/Developer.jsx`](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Developer.jsx) (Developer hub)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App and navigation"]
  node_app["Route application<br/>[App.jsx]"]
  node_layout["Shared layout<br/>[MainLayout.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_home["Portfolio home<br/>[Home.jsx]"]
  node_project_pages["Project listings<br/>[Projects.jsx]"]
  node_project_details["Project case studies<br/>[ProjectDetails.jsx]"]
  node_recruiter["Recruiter dossier<br/>[Recruiter.jsx]"]
  node_developer["Developer hub<br/>[Developer.jsx]"]
  node_credentials["Credentials and education<br/>[Certifications.jsx]"]
  node_experience["Experience history<br/>[Experience.jsx]"]
  node_education["Education record<br/>[Education.jsx]"]
  node_portfolio_data["Portfolio data<br/>[index.js]"]
end

subgraph group_engagement["Visitor tools"]
  node_guide_page["Guide walkthrough<br/>[Guide.jsx]"]
  node_guide_state["Guide state"]
  node_guide_modal["Tour modal"]
  node_chat_hook["Chat interaction<br/>[useAIChat.js]"]
  node_ai_responses["AI response engine<br/>[responseBuilder.js]"]
  node_ai_knowledge["Portfolio knowledge<br/>[knowledgeEngine.js]"]
  node_src_lib_ai_intent["Intent matcher<br/>[intentMatcher.js]"]
  node_src_lib_ai_templates["Response templates"]
end

subgraph group_shared["Shared services"]
  node_theme["Theme state<br/>[ThemeContext.jsx]"]
  node_localization["Localization"]
end

node_visitor(("Visitor"))
node_whatsapp{{"WhatsApp"}}

node_visitor -->|"opens portfolio"| node_app
node_app -->|"routes through"| node_layout
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_project_pages
node_app -->|"routes to"| node_project_details
node_app -->|"routes to"| node_recruiter
node_app -->|"routes to"| node_developer
node_app -->|"routes to"| node_credentials
node_app -->|"routes to"| node_experience
node_app -->|"routes to"| node_education
node_app -->|"routes to"| node_guide_page
node_app -->|"provides state"| node_theme
node_app -->|"provides state"| node_localization
node_layout -->|"uses chat"| node_chat_hook
node_layout -->|"renders"| node_guide_modal
node_chat_hook -->|"requests response"| node_ai_responses
node_chat_hook -->|"builds knowledge"| node_ai_knowledge
node_ai_responses -->|"matches intent"| node_src_lib_ai_intent
node_ai_responses -->|"uses templates"| node_src_lib_ai_templates
node_guide_modal -->|"reads guide state"| node_guide_state
node_guide_page -->|"reads content"| node_portfolio_data
node_recruiter -->|"reads content"| node_portfolio_data
node_developer -->|"reads content"| node_portfolio_data
node_credentials -->|"reads content"| node_portfolio_data
node_experience -->|"reads content"| node_portfolio_data
node_project_details -.->|"reads content"| node_portfolio_data
node_project_pages -.->|"reads content"| node_portfolio_data
node_developer -->|"launches contact"| node_whatsapp
node_visitor -->|"starts inquiry"| node_whatsapp

click node_app "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/App.jsx"
click node_layout "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/layouts/MainLayout.jsx"
click node_home "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Home.jsx"
click node_project_pages "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Projects.jsx"
click node_project_details "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/ProjectDetails.jsx"
click node_recruiter "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Recruiter.jsx"
click node_developer "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Developer.jsx"
click node_credentials "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Certifications.jsx"
click node_experience "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Experience.jsx"
click node_education "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Education.jsx"
click node_portfolio_data "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/data/index.js"
click node_guide_page "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Guide.jsx"
click node_guide_state "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/contexts/PortfolioGuideContext.jsx"
click node_guide_modal "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/components/guide/PortfolioGuideModal.jsx"
click node_chat_hook "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/hooks/useAIChat.js"
click node_ai_responses "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/responseBuilder.js"
click node_ai_knowledge "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/knowledgeEngine.js"
click node_theme "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/contexts/ThemeContext.jsx"
click node_localization "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/i18n/LanguageContext.jsx"
click node_src_lib_ai_intent "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/intentMatcher.js"
click node_src_lib_ai_templates "https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/responseTemplates.js"

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_app,node_layout toneBlue
class node_home,node_project_pages,node_project_details,node_recruiter,node_developer,node_credentials,node_experience,node_education,node_portfolio_data toneAmber
class node_guide_page,node_guide_state,node_guide_modal,node_chat_hook,node_ai_responses,node_ai_knowledge,node_src_lib_ai_intent,node_src_lib_ai_templates toneMint
class node_theme,node_localization toneRose
class node_visitor,node_whatsapp toneIndigo
```

## Components

### App and navigation

- [Route application](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/App.jsx): `src/App.jsx`
- [Shared layout](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/layouts/MainLayout.jsx): `src/layouts/MainLayout.jsx`

### Portfolio content

- [Portfolio home](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Project listings](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Projects.jsx): `src/pages/Projects.jsx`
- [Project case studies](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/ProjectDetails.jsx): `src/pages/ProjectDetails.jsx`
- [Recruiter dossier](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Recruiter.jsx): `src/pages/Recruiter.jsx`
- [Developer hub](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Developer.jsx): `src/pages/Developer.jsx`
- [Credentials and education](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Certifications.jsx): `src/pages/Certifications.jsx`
- [Experience history](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Experience.jsx): `src/pages/Experience.jsx`
- [Education record](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Education.jsx): `src/pages/Education.jsx`
- [Portfolio data](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/data/index.js): `src/data/index.js`

### Visitor tools

- [Guide walkthrough](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/pages/Guide.jsx): `src/pages/Guide.jsx`
- [Guide state](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/contexts/PortfolioGuideContext.jsx): `src/contexts/PortfolioGuideContext.jsx`
- [Tour modal](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/components/guide/PortfolioGuideModal.jsx): `src/components/guide/PortfolioGuideModal.jsx`
- [Chat interaction](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/hooks/useAIChat.js): `src/hooks/useAIChat.js`
- [AI response engine](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/responseBuilder.js): `src/lib/ai/responseBuilder.js`
- [Portfolio knowledge](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/knowledgeEngine.js): `src/lib/ai/knowledgeEngine.js`
- [Intent matcher](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/intentMatcher.js): `src/lib/ai/intentMatcher.js`
- [Response templates](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/lib/ai/responseTemplates.js): `src/lib/ai/responseTemplates.js`

### Shared services

- [Theme state](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/contexts/ThemeContext.jsx): `src/contexts/ThemeContext.jsx`
- [Localization](https://github.com/msabbirhossen/msabbirhossen.github.io/blob/main/src/i18n/LanguageContext.jsx): `src/i18n/LanguageContext.jsx`

### Other components

- **Visitor**
- **WhatsApp**

## Connections

- Visitor → Route application: opens portfolio (evidence: `README.md`)
- Route application → Shared layout: routes through (evidence: `src/App.jsx`)
- Route application → Portfolio home: routes to (evidence: `src/App.jsx`)
- Route application → Project listings: routes to (evidence: `src/App.jsx`)
- Route application → Project case studies: routes to (evidence: `src/App.jsx`)
- Route application → Recruiter dossier: routes to (evidence: `src/App.jsx`)
- Route application → Developer hub: routes to (evidence: `src/App.jsx`)
- Route application → Credentials and education: routes to (evidence: `src/App.jsx`)
- Route application → Experience history: routes to (evidence: `src/App.jsx`)
- Route application → Education record: routes to (evidence: `src/App.jsx`)
- Route application → Guide walkthrough: routes to (evidence: `src/App.jsx`)
- Route application → Theme state: provides state (evidence: `src/App.jsx`)
- Route application → Localization: provides state (evidence: `src/App.jsx`)
- Shared layout → Chat interaction: uses chat (evidence: `src/layouts/MainLayout.jsx`)
- Shared layout → Tour modal: renders (evidence: `src/layouts/MainLayout.jsx`)
- Chat interaction → AI response engine: requests response (evidence: `src/hooks/useAIChat.js`)
- Chat interaction → Portfolio knowledge: builds knowledge (evidence: `src/hooks/useAIChat.js`)
- AI response engine → Intent matcher: matches intent (evidence: `src/lib/ai/responseBuilder.js`)
- AI response engine → Response templates: uses templates (evidence: `src/lib/ai/responseBuilder.js`)
- Tour modal → Guide state: reads guide state (evidence: `src/components/guide/PortfolioGuideModal.jsx`)
- Guide walkthrough → Portfolio data: reads content (evidence: `src/pages/Guide.jsx`)
- Recruiter dossier → Portfolio data: reads content (evidence: `src/pages/Recruiter.jsx`)
- Developer hub → Portfolio data: reads content (evidence: `src/pages/Developer.jsx`)
- Credentials and education → Portfolio data: reads content (evidence: `src/pages/Certifications.jsx`)
- Experience history → Portfolio data: reads content
- Project case studies → Portfolio data: reads content
- Project listings → Portfolio data: reads content
- Developer hub → WhatsApp: launches contact (evidence: `README.md`)
- Visitor → WhatsApp: starts inquiry (evidence: `README.md`)
