# ajaykvarma42/ajay-v-portfolio-bloom architecture

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

- Interactive diagram: https://gitdiagram.com/ajaykvarma42/ajay-v-portfolio-bloom
- Repository: https://github.com/ajaykvarma42/ajay-v-portfolio-bloom

## Overview

This is a React portfolio website: visitors browse a single-page profile covering the owner’s introduction, background, skills, projects, education, and contact details, with a simulated contact-form submission that displays a toast. The app mounts a router and shared UI providers before rendering the page. The graph preserves the distinct portfolio sections and the toast/UI-support layer. Evidence is based on the supplied excerpts and SOURCE INDEX; unsampled component internals and UI relationships are not inferred.

Main entry points: [`src/pages/Index.tsx`](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/pages/Index.tsx) (Portfolio Page), [`src/App.tsx`](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/App.tsx) (App Router), [`src/components/ui/toaster.tsx`](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/ui/toaster.tsx) (Toast Renderer), [`src/hooks/use-toast.ts`](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/hooks/use-toast.ts) (Toast State)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App Runtime"]
  node_mount["React Mount<br/>[main.tsx]"]
  node_app["App Router<br/>[App.tsx]"]
  node_home["Portfolio Page<br/>[Index.tsx]"]
  node_notfound["Not Found<br/>[NotFound.tsx]"]
end

subgraph group_portfolio["Portfolio Content"]
  node_header["Header<br/>[Header.tsx]"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_support["UI Support"]
  node_toaststate["Toast State<br/>[use-toast.ts]"]
  node_toaster["Toast Renderer<br/>[toaster.tsx]"]
  node_toastui["Toast UI<br/>[toast.tsx]"]
  node_ui["UI Primitives"]
  node_utils["Class Utilities<br/>[utils.ts]"]
end

node_visitor(("Site Visitor"))

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"routes home"| node_home
node_app -->|"routes fallback"| node_notfound
node_home -->|"renders"| node_header
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_education
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_contact -->|"notifies via"| node_toaststate
node_toaststate -->|"uses types"| node_toastui
node_app -->|"renders"| node_toaster
node_toaster -->|"subscribes via"| node_toaststate
node_toaster -->|"renders"| node_toastui
node_ui -.->|"uses class helper"| node_utils

click node_mount "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/main.tsx"
click node_app "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/App.tsx"
click node_home "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/pages/Index.tsx"
click node_notfound "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/pages/NotFound.tsx"
click node_header "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Header.tsx"
click node_hero "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/About.tsx"
click node_skills "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Projects.tsx"
click node_education "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Education.tsx"
click node_contact "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Contact.tsx"
click node_footer "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Footer.tsx"
click node_toaststate "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/hooks/use-toast.ts"
click node_toaster "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/ui/toaster.tsx"
click node_toastui "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/ui/toast.tsx"
click node_ui "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/tree/main/src/components/ui"
click node_utils "https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/lib/utils.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_mount,node_app,node_home,node_notfound toneBlue
class node_header,node_hero,node_about,node_skills,node_projects,node_education,node_contact,node_footer toneAmber
class node_toaststate,node_toaster,node_toastui,node_ui,node_utils toneMint
class node_visitor toneIndigo
```

## Components

### App Runtime

- [React Mount](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/main.tsx): `src/main.tsx`
- [App Router](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/App.tsx): `src/App.tsx`
- [Portfolio Page](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Not Found](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/pages/NotFound.tsx): `src/pages/NotFound.tsx`

### Portfolio Content

- [Header](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Introduction](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Skills](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Projects](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Education](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Education.tsx): `src/components/Education.tsx`
- [Contact](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Footer](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### UI Support

- [Toast State](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/hooks/use-toast.ts): `src/hooks/use-toast.ts`
- [Toast Renderer](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/ui/toaster.tsx): `src/components/ui/toaster.tsx`
- [Toast UI](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/components/ui/toast.tsx): `src/components/ui/toast.tsx`
- [UI Primitives](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/tree/main/src/components/ui): `src/components/ui`
- [Class Utilities](https://github.com/ajaykvarma42/ajay-v-portfolio-bloom/blob/main/src/lib/utils.ts): `src/lib/utils.ts`

### Other components

- **Site Visitor**

## Connections

- Site Visitor → React Mount: opens site
- React Mount → App Router: renders (evidence: `src/main.tsx`)
- App Router → Portfolio Page: routes home (evidence: `src/App.tsx`)
- App Router → Not Found: routes fallback (evidence: `src/App.tsx`)
- Portfolio Page → Header: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Introduction: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → About: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Skills: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Projects: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Education: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Contact: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Footer: renders (evidence: `src/pages/Index.tsx`)
- Contact → Toast State: notifies via (evidence: `src/components/Contact.tsx`)
- Toast State → Toast UI: uses types (evidence: `src/hooks/use-toast.ts`)
- App Router → Toast Renderer: renders (evidence: `src/App.tsx`)
- Toast Renderer → Toast State: subscribes via (evidence: `src/components/ui/toaster.tsx`)
- Toast Renderer → Toast UI: renders (evidence: `src/components/ui/toaster.tsx`)
- UI Primitives → Class Utilities: uses class helper (evidence: `src/components/ui/context-menu.tsx`)
