# dwij2710/dwij-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/dwij2710/dwij-portfolio
- Repository: https://github.com/dwij2710/dwij-portfolio

## Overview

This repository is a React/TypeScript personal engineering portfolio. A visitor enters through the routed app shell, browses profile and project pages, opens individual case studies, and can contact the portfolio owner or download a resume. The project pages pair case-study content with interactive visualizations; the floating AI assistant is another site-wide interaction. The graph reflects explicit imports, routes, and README-described capabilities; unsampled components are represented only where the source index or README establishes their role.

Main entry points: [`src/App.tsx`](https://github.com/dwij2710/dwij-portfolio/blob/main/src/App.tsx) (Route shell), [`src/lib/data.ts`](https://github.com/dwij2710/dwij-portfolio/blob/main/src/lib/data.ts) (Portfolio data), [`src/pages/HomePage.tsx`](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/HomePage.tsx) (Home page), [`src/pages/ContactPage.tsx`](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ContactPage.tsx) (Contact page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_app["Route shell<br/>[App.tsx]"]
  node_not_found["Not found page<br/>[NotFoundPage.tsx]"]
  node_nav["Navigation<br/>[Navigation.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_profile["Profile content"]
  node_home["Home page<br/>[HomePage.tsx]"]
  node_about["About page<br/>[AboutPage.tsx]"]
  node_experience["Experience page<br/>[ExperiencePage.tsx]"]
  node_skills["Skills page<br/>[SkillsPage.tsx]"]
  node_resume["Resume page<br/>[ResumePage.tsx]"]
  node_resume_file["Resume PDF"]
  node_contact["Contact page<br/>[ContactPage.tsx]"]
end

subgraph group_projects["Project case studies"]
  node_projects_page["Projects listing<br/>[ProjectsPage.tsx]"]
  node_interview_study["InterviewGod study"]
  node_finsight_study["FinSight study"]
  node_compinsight_study["CompInsight study"]
end

subgraph group_interactions["Interactive components"]
  node_assistant["AI assistant<br/>[AskDwijAI.tsx]"]
  node_voice_diagram["Voice pipeline diagram"]
  node_github_activity["GitHub activity"]
  node_audit_visual["Audit visualization"]
  node_equity_chart["Equity chart"]
  node_shap_plot["SHAP plot"]
  node_testimonials["Testimonials"]
  node_icons["Custom icons<br/>[Icons.tsx]"]
  node_page_header["Page header<br/>[PageHeader.tsx]"]
  node_sparkline["Sparkline<br/>[Sparkline.tsx]"]
  node_ai_core["AI core visual<br/>[AICore3D.tsx]"]
end

subgraph group_content["Shared content"]
  node_data["Portfolio data<br/>[data.ts]"]
end

node_visitor(("Visitor"))
node_mail_client(("Mail client"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_nav
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_assistant
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_projects_page
node_app -->|"routes to"| node_interview_study
node_app -->|"routes to"| node_finsight_study
node_app -->|"routes to"| node_compinsight_study
node_app -->|"routes to"| node_experience
node_app -->|"routes to"| node_skills
node_app -->|"routes to"| node_resume
node_app -->|"routes to"| node_contact
node_app -->|"routes to"| node_not_found
node_home -->|"renders"| node_voice_diagram
node_home -->|"renders"| node_github_activity
node_home -->|"renders"| node_testimonials
node_projects_page -->|"renders"| node_audit_visual
node_projects_page -->|"renders"| node_equity_chart
node_projects_page -->|"renders"| node_shap_plot
node_interview_study -->|"renders"| node_audit_visual
node_finsight_study -->|"renders"| node_equity_chart
node_compinsight_study -->|"renders"| node_shap_plot
node_assistant -->|"reads"| node_data
node_home -->|"reads"| node_data
node_about -->|"reads"| node_data
node_experience -->|"reads"| node_data
node_skills -->|"reads"| node_data
node_resume -->|"reads"| node_data
node_contact -->|"reads"| node_data
node_nav -->|"reads"| node_data
node_footer -->|"reads"| node_data
node_github_activity -->|"reads"| node_data
node_about -->|"renders"| node_page_header
node_experience -->|"renders"| node_page_header
node_skills -->|"renders"| node_page_header
node_resume -->|"renders"| node_page_header
node_contact -->|"renders"| node_page_header
node_contact -->|"opens mail"| node_mail_client
node_resume -->|"integrates"| node_resume_file
node_interview_study -->|"uses"| node_icons
node_finsight_study -->|"uses"| node_icons
node_compinsight_study -->|"uses"| node_icons
node_contact -->|"uses"| node_icons

click node_app "https://github.com/dwij2710/dwij-portfolio/blob/main/src/App.tsx"
click node_home "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/HomePage.tsx"
click node_about "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/AboutPage.tsx"
click node_experience "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ExperiencePage.tsx"
click node_skills "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/SkillsPage.tsx"
click node_resume "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ResumePage.tsx"
click node_resume_file "https://github.com/dwij2710/dwij-portfolio/blob/main/public/Dwij_Prajapati_Resume.pdf"
click node_projects_page "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ProjectsPage.tsx"
click node_interview_study "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyInterviewGod.tsx"
click node_finsight_study "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyFinSight.tsx"
click node_compinsight_study "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyCompInsight.tsx"
click node_contact "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ContactPage.tsx"
click node_not_found "https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/NotFoundPage.tsx"
click node_nav "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Navigation.tsx"
click node_footer "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Footer.tsx"
click node_assistant "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/AskDwijAI.tsx"
click node_voice_diagram "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/VoiceAIPipelineDiagram.tsx"
click node_github_activity "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/GithubActivitySection.tsx"
click node_audit_visual "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/InterviewGodAuditVisual.tsx"
click node_equity_chart "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/FinSightEquityChart.tsx"
click node_shap_plot "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/CompInsightShapPlot.tsx"
click node_testimonials "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/TestimonialsSection.tsx"
click node_icons "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Icons.tsx"
click node_page_header "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/PageHeader.tsx"
click node_sparkline "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Sparkline.tsx"
click node_ai_core "https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/AICore3D.tsx"
click node_data "https://github.com/dwij2710/dwij-portfolio/blob/main/src/lib/data.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_app,node_not_found,node_nav,node_footer,node_mail_client toneBlue
class node_home,node_about,node_experience,node_skills,node_resume,node_resume_file,node_contact toneAmber
class node_projects_page,node_interview_study,node_finsight_study,node_compinsight_study toneMint
class node_assistant,node_voice_diagram,node_github_activity,node_audit_visual,node_equity_chart,node_shap_plot,node_testimonials,node_icons,node_page_header,node_sparkline,node_ai_core toneRose
class node_data,node_visitor toneIndigo
```

## Components

### Application shell

- [Route shell](https://github.com/dwij2710/dwij-portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Not found page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/NotFoundPage.tsx): `src/pages/NotFoundPage.tsx`
- [Navigation](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Navigation.tsx): `src/components/Navigation.tsx`
- [Footer](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Profile content

- [Home page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/HomePage.tsx): `src/pages/HomePage.tsx`
- [About page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/AboutPage.tsx): `src/pages/AboutPage.tsx`
- [Experience page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ExperiencePage.tsx): `src/pages/ExperiencePage.tsx`
- [Skills page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/SkillsPage.tsx): `src/pages/SkillsPage.tsx`
- [Resume page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ResumePage.tsx): `src/pages/ResumePage.tsx`
- [Resume PDF](https://github.com/dwij2710/dwij-portfolio/blob/main/public/Dwij_Prajapati_Resume.pdf): `public/Dwij_Prajapati_Resume.pdf`
- [Contact page](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ContactPage.tsx): `src/pages/ContactPage.tsx`

### Project case studies

- [Projects listing](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/ProjectsPage.tsx): `src/pages/ProjectsPage.tsx`
- [InterviewGod study](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyInterviewGod.tsx): `src/pages/CaseStudyInterviewGod.tsx`
- [FinSight study](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyFinSight.tsx): `src/pages/CaseStudyFinSight.tsx`
- [CompInsight study](https://github.com/dwij2710/dwij-portfolio/blob/main/src/pages/CaseStudyCompInsight.tsx): `src/pages/CaseStudyCompInsight.tsx`

### Interactive components

- [AI assistant](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/AskDwijAI.tsx): `src/components/AskDwijAI.tsx`
- [Voice pipeline diagram](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/VoiceAIPipelineDiagram.tsx): `src/components/VoiceAIPipelineDiagram.tsx`
- [GitHub activity](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/GithubActivitySection.tsx): `src/components/GithubActivitySection.tsx`
- [Audit visualization](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/InterviewGodAuditVisual.tsx): `src/components/InterviewGodAuditVisual.tsx`
- [Equity chart](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/FinSightEquityChart.tsx): `src/components/FinSightEquityChart.tsx`
- [SHAP plot](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/CompInsightShapPlot.tsx): `src/components/CompInsightShapPlot.tsx`
- [Testimonials](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/TestimonialsSection.tsx): `src/components/TestimonialsSection.tsx`
- [Custom icons](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Icons.tsx): `src/components/Icons.tsx`
- [Page header](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/PageHeader.tsx): `src/components/PageHeader.tsx`
- [Sparkline](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/Sparkline.tsx): `src/components/Sparkline.tsx`
- [AI core visual](https://github.com/dwij2710/dwij-portfolio/blob/main/src/components/AICore3D.tsx): `src/components/AICore3D.tsx`

### Shared content

- [Portfolio data](https://github.com/dwij2710/dwij-portfolio/blob/main/src/lib/data.ts): `src/lib/data.ts`

### Other components

- **Visitor**
- **Mail client**

## Connections

- Visitor → Route shell: opens (evidence: `src/App.tsx`)
- Route shell → Navigation: renders (evidence: `src/App.tsx`)
- Route shell → Footer: renders (evidence: `src/App.tsx`)
- Route shell → AI assistant: renders (evidence: `src/App.tsx`)
- Route shell → Home page: routes to (evidence: `src/App.tsx`)
- Route shell → About page: routes to (evidence: `src/App.tsx`)
- Route shell → Projects listing: routes to (evidence: `src/App.tsx`)
- Route shell → InterviewGod study: routes to (evidence: `src/App.tsx`)
- Route shell → FinSight study: routes to (evidence: `src/App.tsx`)
- Route shell → CompInsight study: routes to (evidence: `src/App.tsx`)
- Route shell → Experience page: routes to (evidence: `src/App.tsx`)
- Route shell → Skills page: routes to (evidence: `src/App.tsx`)
- Route shell → Resume page: routes to (evidence: `src/App.tsx`)
- Route shell → Contact page: routes to (evidence: `src/App.tsx`)
- Route shell → Not found page: routes to (evidence: `src/App.tsx`)
- Home page → Voice pipeline diagram: renders (evidence: `src/pages/HomePage.tsx`)
- Home page → GitHub activity: renders (evidence: `src/pages/HomePage.tsx`)
- Home page → Testimonials: renders (evidence: `src/pages/HomePage.tsx`)
- Projects listing → Audit visualization: renders (evidence: `src/pages/ProjectsPage.tsx`)
- Projects listing → Equity chart: renders (evidence: `src/pages/ProjectsPage.tsx`)
- Projects listing → SHAP plot: renders (evidence: `src/pages/ProjectsPage.tsx`)
- InterviewGod study → Audit visualization: renders (evidence: `src/pages/CaseStudyInterviewGod.tsx`)
- FinSight study → Equity chart: renders (evidence: `src/pages/CaseStudyFinSight.tsx`)
- CompInsight study → SHAP plot: renders (evidence: `src/pages/CaseStudyCompInsight.tsx`)
- AI assistant → Portfolio data: reads (evidence: `src/components/AskDwijAI.tsx`)
- Home page → Portfolio data: reads (evidence: `src/pages/HomePage.tsx`)
- About page → Portfolio data: reads (evidence: `src/pages/AboutPage.tsx`)
- Experience page → Portfolio data: reads (evidence: `src/pages/ExperiencePage.tsx`)
- Skills page → Portfolio data: reads (evidence: `src/pages/SkillsPage.tsx`)
- Resume page → Portfolio data: reads (evidence: `src/pages/ResumePage.tsx`)
- Contact page → Portfolio data: reads (evidence: `src/pages/ContactPage.tsx`)
- Navigation → Portfolio data: reads (evidence: `src/components/Navigation.tsx`)
- Footer → Portfolio data: reads (evidence: `src/components/Footer.tsx`)
- GitHub activity → Portfolio data: reads (evidence: `src/components/GithubActivitySection.tsx`)
- About page → Page header: renders (evidence: `src/pages/AboutPage.tsx`)
- Experience page → Page header: renders (evidence: `src/pages/ExperiencePage.tsx`)
- Skills page → Page header: renders (evidence: `src/pages/SkillsPage.tsx`)
- Resume page → Page header: renders (evidence: `src/pages/ResumePage.tsx`)
- Contact page → Page header: renders (evidence: `src/pages/ContactPage.tsx`)
- Contact page → Mail client: opens mail (evidence: `README.md`)
- Resume page → Resume PDF: integrates (evidence: `README.md`)
- InterviewGod study → Custom icons: uses (evidence: `src/pages/CaseStudyInterviewGod.tsx`)
- FinSight study → Custom icons: uses (evidence: `src/pages/CaseStudyFinSight.tsx`)
- CompInsight study → Custom icons: uses (evidence: `src/pages/CaseStudyCompInsight.tsx`)
- Contact page → Custom icons: uses (evidence: `src/pages/ContactPage.tsx`)
