# tanishav1815/tanisha-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/tanishav1815/tanisha-portfolio
- Repository: https://github.com/tanishav1815/tanisha-portfolio

## Overview

This is a React portfolio website presenting Tanisha Verma’s background, AI/vision projects, resume, and contact options in a responsive botanical theme. Visitors enter through the app router, view a landing page, browse biography or project listings, open project details, and navigate to contact, resume, or GitHub pages. Portfolio content is maintained as client-side data; the README also documents optional Maps configuration and an Express production static server. The graph reflects shown routing and imports; unsampled page implementations and integrations are represented only where documented, so their internal calls are not inferred.

Main entry points: [`client/src/App.tsx`](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/App.tsx) (App router), [`client/src/components/PageLayout.tsx`](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/PageLayout.tsx) (Page layout), [`client/src/lib/portfolioData.ts`](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/lib/portfolioData.ts) (Portfolio data), [`client/src/pages/Home.tsx`](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Home.tsx) (Home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React entry<br/>[main.tsx]"]
  node_router["App router<br/>[App.tsx]"]
  node_server["Static server<br/>[index.ts]"]
end

subgraph group_portfolio["Portfolio pages"]
  node_home["Home<br/>[Home.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_projectdetail["Project detail<br/>[ProjectDetail.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_resume["Resume<br/>[Resume.tsx]"]
  node_github["GitHub<br/>[GitHub.tsx]"]
  node_notfound["Not found<br/>[NotFound.tsx]"]
  node_maps["Maps integration<br/>[Map.tsx]"]
end

subgraph group_data["Portfolio content"]
  node_portfolio_data[("Portfolio data<br/>[portfolioData.ts]")]
end

subgraph group_presentation["Shared presentation"]
  node_layout["Page layout<br/>[PageLayout.tsx]"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
  node_botanicals["Botanical effects"]
  node_cursor["Butterfly cursor"]
  node_theme["Theme provider<br/>[ThemeContext.tsx]"]
  node_error["Error boundary<br/>[ErrorBoundary.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_router
node_router -->|"wraps"| node_error
node_router -->|"provides theme"| node_theme
node_router -->|"renders"| node_cursor
node_router -->|"routes to"| node_home
node_router -->|"routes to"| node_about
node_router -->|"routes to"| node_projects
node_router -->|"routes to"| node_projectdetail
node_router -->|"routes to"| node_contact
node_router -->|"routes to"| node_resume
node_router -->|"routes to"| node_github
node_router -->|"routes to"| node_notfound
node_home -->|"renders"| node_layout
node_about -->|"renders"| node_layout
node_projects -.->|"renders"| node_layout
node_projectdetail -->|"renders"| node_layout
node_layout -->|"renders"| node_navigation
node_layout -->|"renders"| node_botanicals
node_navigation -->|"reads profile"| node_portfolio_data
node_home -->|"reads content"| node_portfolio_data
node_about -->|"reads content"| node_portfolio_data
node_projects -.->|"reads content"| node_portfolio_data
node_projectdetail -->|"reads projects"| node_portfolio_data
node_server -.->|"serves assets"| node_visitor
node_contact -.->|"may display map"| node_maps

click node_entry "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/main.tsx"
click node_router "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/App.tsx"
click node_home "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Home.tsx"
click node_about "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/About.tsx"
click node_projects "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Projects.tsx"
click node_projectdetail "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/ProjectDetail.tsx"
click node_contact "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Contact.tsx"
click node_resume "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Resume.tsx"
click node_github "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/GitHub.tsx"
click node_notfound "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/NotFound.tsx"
click node_portfolio_data "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/lib/portfolioData.ts"
click node_layout "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/PageLayout.tsx"
click node_navigation "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/Navigation.tsx"
click node_botanicals "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/FloatingBotanicals.tsx"
click node_cursor "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/ButterflyCursor.tsx"
click node_theme "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/contexts/ThemeContext.tsx"
click node_error "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/ErrorBoundary.tsx"
click node_server "https://github.com/tanishav1815/tanisha-portfolio/blob/main/server/index.ts"
click node_maps "https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/Map.tsx"

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_entry,node_router,node_server toneBlue
class node_home,node_about,node_projects,node_projectdetail,node_contact,node_resume,node_github,node_notfound,node_maps toneAmber
class node_portfolio_data toneMint
class node_layout,node_navigation,node_botanicals,node_cursor,node_theme,node_error toneRose
class node_visitor toneIndigo
```

## Components

### App runtime

- [React entry](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/main.tsx): `client/src/main.tsx`
- [App router](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/App.tsx): `client/src/App.tsx`
- [Static server](https://github.com/tanishav1815/tanisha-portfolio/blob/main/server/index.ts): `server/index.ts`

### Portfolio pages

- [Home](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Home.tsx): `client/src/pages/Home.tsx`
- [About](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/About.tsx): `client/src/pages/About.tsx`
- [Projects](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Projects.tsx): `client/src/pages/Projects.tsx`
- [Project detail](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/ProjectDetail.tsx): `client/src/pages/ProjectDetail.tsx`
- [Contact](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Contact.tsx): `client/src/pages/Contact.tsx`
- [Resume](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/Resume.tsx): `client/src/pages/Resume.tsx`
- [GitHub](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/GitHub.tsx): `client/src/pages/GitHub.tsx`
- [Not found](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/pages/NotFound.tsx): `client/src/pages/NotFound.tsx`
- [Maps integration](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/Map.tsx): `client/src/components/Map.tsx`

### Portfolio content

- [Portfolio data](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/lib/portfolioData.ts): `client/src/lib/portfolioData.ts`

### Shared presentation

- [Page layout](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/PageLayout.tsx): `client/src/components/PageLayout.tsx`
- [Navigation](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/Navigation.tsx): `client/src/components/Navigation.tsx`
- [Botanical effects](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/FloatingBotanicals.tsx): `client/src/components/FloatingBotanicals.tsx`
- [Butterfly cursor](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/ButterflyCursor.tsx): `client/src/components/ButterflyCursor.tsx`
- [Theme provider](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/contexts/ThemeContext.tsx): `client/src/contexts/ThemeContext.tsx`
- [Error boundary](https://github.com/tanishav1815/tanisha-portfolio/blob/main/client/src/components/ErrorBoundary.tsx): `client/src/components/ErrorBoundary.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site
- React entry → App router: renders (evidence: `client/src/main.tsx`)
- App router → Error boundary: wraps (evidence: `client/src/App.tsx`)
- App router → Theme provider: provides theme (evidence: `client/src/App.tsx`)
- App router → Butterfly cursor: renders (evidence: `client/src/App.tsx`)
- App router → Home: routes to (evidence: `client/src/App.tsx`)
- App router → About: routes to (evidence: `client/src/App.tsx`)
- App router → Projects: routes to (evidence: `client/src/App.tsx`)
- App router → Project detail: routes to (evidence: `client/src/App.tsx`)
- App router → Contact: routes to (evidence: `client/src/App.tsx`)
- App router → Resume: routes to (evidence: `client/src/App.tsx`)
- App router → GitHub: routes to (evidence: `client/src/App.tsx`)
- App router → Not found: routes to (evidence: `client/src/App.tsx`)
- Home → Page layout: renders (evidence: `client/src/pages/Home.tsx`)
- About → Page layout: renders (evidence: `client/src/pages/About.tsx`)
- Projects → Page layout: renders
- Project detail → Page layout: renders (evidence: `client/src/pages/ProjectDetail.tsx`)
- Page layout → Navigation: renders (evidence: `client/src/components/PageLayout.tsx`)
- Page layout → Botanical effects: renders (evidence: `client/src/components/PageLayout.tsx`)
- Navigation → Portfolio data: reads profile (evidence: `client/src/components/Navigation.tsx`)
- Home → Portfolio data: reads content (evidence: `client/src/pages/Home.tsx`)
- About → Portfolio data: reads content (evidence: `client/src/pages/About.tsx`)
- Projects → Portfolio data: reads content
- Project detail → Portfolio data: reads projects (evidence: `client/src/pages/ProjectDetail.tsx`)
- Static server → Visitor: serves assets
- Contact → Maps integration: may display map
