# dineshbabu290904/portfolio_new architecture

> Architecture diagram of the GitHub repository dineshbabu290904/portfolio_new, 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/dineshbabu290904/portfolio_new
- Repository: https://github.com/dineshbabu290904/portfolio_new

## Overview

This is a React portfolio site presenting a developer’s profile, skills, career history, projects, and contact information, with a command-line-style portfolio page. A visitor enters through the routed app shell, selects a page, and views its content; project details have their own route. The shell also provides navigation, theme context, and loading placeholders. Edges reflect the shown app wiring and SOURCE INDEX references; several page implementations were only sampled, so their internal behavior and external integrations are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/App.tsx) (Routes and layout), [`src/main.tsx`](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/main.tsx) (React entry), [`src/components/Projects.tsx`](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Projects.tsx) (Projects), [`src/components/ui/PageHeader.tsx`](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/PageHeader.tsx) (Page header)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["App shell"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Routes and layout<br/>[App.tsx]"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
  node_scroll["Scroll handling<br/>[ScrollToTop.tsx]"]
  node_particles["Particle backdrop"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_theme["Theme state<br/>[ThemeContext.tsx]"]
end

subgraph group_portfolio["Portfolio pages"]
  node_home["Homepage<br/>[Homepage.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_project_detail["Project detail<br/>[SingleProject.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_not_found["Not found page<br/>[NotFound.tsx]"]
end

subgraph group_terminal["Terminal experience"]
  node_terminal_page["Terminal page<br/>[TerminalPage.tsx]"]
  node_cli["Portfolio CLI"]
end

subgraph group_shared["Shared presentation"]
  node_skeletons["Loading skeletons<br/>[Skeleton.tsx]"]
  node_page_header["Page header<br/>[PageHeader.tsx]"]
  node_skeleton_image["Image placeholder<br/>[SkeletonImage.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_entry -->|"provides theme"| node_theme
node_app -->|"renders"| node_navigation
node_app -->|"renders"| node_scroll
node_app -->|"renders"| node_particles
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_skills
node_app -->|"routes to"| node_experience
node_app -->|"routes to"| node_projects
node_app -->|"routes to"| node_project_detail
node_app -->|"routes to"| node_contact
node_app -->|"routes to"| node_terminal_page
node_app -->|"routes to"| node_not_found
node_app -->|"shows fallback"| node_skeletons
node_home -->|"renders"| node_hero
node_terminal_page -->|"renders"| node_cli
node_experience -->|"uses header"| node_page_header
node_skills -->|"uses header"| node_page_header
node_projects -->|"uses header"| node_page_header
node_projects -->|"uses images"| node_skeleton_image
node_skeleton_image -->|"shows placeholder"| node_skeletons

click node_entry "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/main.tsx"
click node_app "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/App.tsx"
click node_navigation "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Navigation.tsx"
click node_scroll "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ScrollToTop.tsx"
click node_particles "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ParticlesBackground.tsx"
click node_footer "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Footer.tsx"
click node_theme "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/contexts/ThemeContext.tsx"
click node_home "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Homepage.tsx"
click node_hero "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/About.tsx"
click node_skills "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Skills.tsx"
click node_experience "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Experience.tsx"
click node_projects "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Projects.tsx"
click node_project_detail "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/SingleProject.tsx"
click node_contact "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Contact.tsx"
click node_not_found "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/NotFound.tsx"
click node_terminal_page "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/TerminalPage.tsx"
click node_cli "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/CommandLineInterface.tsx"
click node_skeletons "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/Skeleton.tsx"
click node_page_header "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/PageHeader.tsx"
click node_skeleton_image "https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/SkeletonImage.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_app,node_navigation,node_scroll,node_particles,node_footer,node_theme toneBlue
class node_home,node_hero,node_about,node_skills,node_experience,node_projects,node_project_detail,node_contact,node_not_found toneAmber
class node_terminal_page,node_cli toneMint
class node_skeletons,node_page_header,node_skeleton_image toneRose
class node_visitor toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/main.tsx): `src/main.tsx`
- [Routes and layout](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Navigation.tsx): `src/components/Navigation.tsx`
- [Scroll handling](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ScrollToTop.tsx): `src/components/ScrollToTop.tsx`
- [Particle backdrop](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ParticlesBackground.tsx): `src/components/ParticlesBackground.tsx`
- [Footer](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Theme state](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/contexts/ThemeContext.tsx): `src/contexts/ThemeContext.tsx`

### Portfolio pages

- [Homepage](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Homepage.tsx): `src/components/Homepage.tsx`
- [Hero](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About profile](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Skills](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Experience](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Projects](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Project detail](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/SingleProject.tsx): `src/components/SingleProject.tsx`
- [Contact](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Not found page](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/NotFound.tsx): `src/components/NotFound.tsx`

### Terminal experience

- [Terminal page](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/TerminalPage.tsx): `src/components/TerminalPage.tsx`
- [Portfolio CLI](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/CommandLineInterface.tsx): `src/components/CommandLineInterface.tsx`

### Shared presentation

- [Loading skeletons](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/Skeleton.tsx): `src/components/ui/Skeleton.tsx`
- [Page header](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/PageHeader.tsx): `src/components/ui/PageHeader.tsx`
- [Image placeholder](https://github.com/dineshbabu290904/portfolio_new/blob/main/src/components/ui/SkeletonImage.tsx): `src/components/ui/SkeletonImage.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site
- React entry → Routes and layout: renders (evidence: `src/main.tsx`)
- React entry → Theme state: provides theme (evidence: `src/main.tsx`)
- Routes and layout → Navigation: renders (evidence: `src/App.tsx`)
- Routes and layout → Scroll handling: renders (evidence: `src/App.tsx`)
- Routes and layout → Particle backdrop: renders (evidence: `src/App.tsx`)
- Routes and layout → Footer: renders (evidence: `src/App.tsx`)
- Routes and layout → Homepage: routes to (evidence: `src/App.tsx`)
- Routes and layout → About profile: routes to (evidence: `src/App.tsx`)
- Routes and layout → Skills: routes to (evidence: `src/App.tsx`)
- Routes and layout → Experience: routes to (evidence: `src/App.tsx`)
- Routes and layout → Projects: routes to (evidence: `src/App.tsx`)
- Routes and layout → Project detail: routes to (evidence: `src/App.tsx`)
- Routes and layout → Contact: routes to (evidence: `src/App.tsx`)
- Routes and layout → Terminal page: routes to (evidence: `src/App.tsx`)
- Routes and layout → Not found page: routes to (evidence: `src/App.tsx`)
- Routes and layout → Loading skeletons: shows fallback (evidence: `src/App.tsx`)
- Homepage → Hero: renders (evidence: `src/components/Homepage.tsx`)
- Terminal page → Portfolio CLI: renders (evidence: `src/components/TerminalPage.tsx`)
- Experience → Page header: uses header (evidence: `src/components/Experience.tsx`)
- Skills → Page header: uses header (evidence: `src/components/Skills.tsx`)
- Projects → Page header: uses header (evidence: `src/components/Projects.tsx`)
- Projects → Image placeholder: uses images (evidence: `src/components/Projects.tsx`)
- Image placeholder → Loading skeletons: shows placeholder (evidence: `src/components/ui/SkeletonImage.tsx`)
