# devendra98-tech/my-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/devendra98-tech/my-portfolio
- Repository: https://github.com/devendra98-tech/my-portfolio

## Overview

This is a React personal-portfolio site. Visitors view the home, profile, skills, services, blog, and contact sections; the contact form validates and submits messages through EmailJS. The app also includes navigation, a command palette, loading and scroll behavior, and appearance-related components. Testimonials and GitHub repositories are present in the tree but commented out in the app composition. Edges reflect the sampled app and contact code plus SOURCE INDEX references; unsampled feature wiring is not inferred.

Main entry points: [`src/App.tsx`](https://github.com/devendra98-tech/my-portfolio/blob/main/src/App.tsx) (Portfolio app), [`src/components/contact-section/contact-section.tsx`](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/contact-section/contact-section.tsx) (Contact form), [`src/components/blog-section/blog-section.tsx`](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/blog-section/blog-section.tsx) (Blog posts), [`src/config/site.ts`](https://github.com/devendra98-tech/my-portfolio/blob/main/src/config/site.ts) (Site configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["App composition"]
  node_app["Portfolio app<br/>[App.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_home["Home<br/>[home-section.tsx]"]
  node_about["About profile<br/>[about-section.tsx]"]
  node_skills["Skills<br/>[skills-section.tsx]"]
  node_services["Services"]
  node_blog["Blog posts<br/>[blog-section.tsx]"]
end

subgraph group_interaction["Site interactions"]
  node_header["Navigation<br/>[header.tsx]"]
  node_palette["Command palette"]
  node_loader["Branded loader<br/>[branded-loader.tsx]"]
  node_siteconfig["Site configuration<br/>[site.ts]"]
  node_reveal["Scroll reveals<br/>[useGsapReveal.ts]"]
end

subgraph group_messaging["Contact messaging"]
  node_contact["Contact form"]
  node_validation["Form validation"]
  node_email["EmailJS client<br/>[sendEmail.tsx]"]
  node_toast["Submission toast<br/>[tost.tsx]"]
  node_formloader["Form loader<br/>[loader.tsx]"]
end

node_visitor(("Visitor"))
node_emailjs{{"EmailJS API"}}

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders"| node_home
node_app -->|"renders"| node_about
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_services
node_app -->|"renders"| node_blog
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_palette
node_app -->|"renders"| node_loader
node_header -->|"reads"| node_siteconfig
node_palette -->|"reads"| node_siteconfig
node_blog -->|"reads"| node_siteconfig
node_blog -->|"uses"| node_reveal
node_services -->|"uses"| node_reveal
node_contact -->|"validates with"| node_validation
node_contact -->|"submits through"| node_email
node_email -->|"posts to"| node_emailjs
node_contact -->|"renders"| node_toast
node_contact -->|"renders"| node_formloader

click node_app "https://github.com/devendra98-tech/my-portfolio/blob/main/src/App.tsx"
click node_home "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/home-section/home-section.tsx"
click node_about "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/about-section/about-section.tsx"
click node_skills "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/skills-section/skills-section.tsx"
click node_services "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/services-section/services-section.tsx"
click node_blog "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/blog-section/blog-section.tsx"
click node_header "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/header/header.tsx"
click node_palette "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/command-palette/command-palette.tsx"
click node_loader "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/branded-loader/branded-loader.tsx"
click node_siteconfig "https://github.com/devendra98-tech/my-portfolio/blob/main/src/config/site.ts"
click node_reveal "https://github.com/devendra98-tech/my-portfolio/blob/main/src/hooks/useGsapReveal.ts"
click node_footer "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/footer/footer.tsx"
click node_contact "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/contact-section/contact-section.tsx"
click node_validation "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/contact-section/contact-form-validations.tsx"
click node_email "https://github.com/devendra98-tech/my-portfolio/blob/main/src/%40services/sendEmail/sendEmail.tsx"
click node_toast "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/tost/tost.tsx"
click node_formloader "https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/loader/loader.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_app,node_footer toneBlue
class node_home,node_about,node_skills,node_services,node_blog toneAmber
class node_header,node_palette,node_loader,node_siteconfig,node_reveal,node_emailjs toneMint
class node_contact,node_validation,node_email,node_toast,node_formloader toneRose
class node_visitor toneIndigo
```

## Components

### App composition

- [Portfolio app](https://github.com/devendra98-tech/my-portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Footer](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/footer/footer.tsx): `src/components/footer/footer.tsx`

### Portfolio content

- [Home](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/home-section/home-section.tsx): `src/components/home-section/home-section.tsx`
- [About profile](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/about-section/about-section.tsx): `src/components/about-section/about-section.tsx`
- [Skills](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/skills-section/skills-section.tsx): `src/components/skills-section/skills-section.tsx`
- [Services](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/services-section/services-section.tsx): `src/components/services-section/services-section.tsx`
- [Blog posts](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/blog-section/blog-section.tsx): `src/components/blog-section/blog-section.tsx`

### Site interactions

- [Navigation](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/header/header.tsx): `src/components/header/header.tsx`
- [Command palette](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/command-palette/command-palette.tsx): `src/components/command-palette/command-palette.tsx`
- [Branded loader](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/branded-loader/branded-loader.tsx): `src/components/branded-loader/branded-loader.tsx`
- [Site configuration](https://github.com/devendra98-tech/my-portfolio/blob/main/src/config/site.ts): `src/config/site.ts`
- [Scroll reveals](https://github.com/devendra98-tech/my-portfolio/blob/main/src/hooks/useGsapReveal.ts): `src/hooks/useGsapReveal.ts`

### Contact messaging

- [Contact form](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/contact-section/contact-section.tsx): `src/components/contact-section/contact-section.tsx`
- [Form validation](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/contact-section/contact-form-validations.tsx): `src/components/contact-section/contact-form-validations.tsx`
- [EmailJS client](https://github.com/devendra98-tech/my-portfolio/blob/main/src/%40services/sendEmail/sendEmail.tsx): `src/@services/sendEmail/sendEmail.tsx`
- [Submission toast](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/tost/tost.tsx): `src/components/tost/tost.tsx`
- [Form loader](https://github.com/devendra98-tech/my-portfolio/blob/main/src/components/loader/loader.tsx): `src/components/loader/loader.tsx`

### Other components

- **Visitor**
- **EmailJS API**

## Connections

- Visitor → Portfolio app: opens
- Portfolio app → Navigation: renders (evidence: `src/App.tsx`)
- Portfolio app → Home: renders (evidence: `src/App.tsx`)
- Portfolio app → About profile: renders (evidence: `src/App.tsx`)
- Portfolio app → Skills: renders (evidence: `src/App.tsx`)
- Portfolio app → Services: renders (evidence: `src/App.tsx`)
- Portfolio app → Blog posts: renders (evidence: `src/App.tsx`)
- Portfolio app → Contact form: renders (evidence: `src/App.tsx`)
- Portfolio app → Footer: renders (evidence: `src/App.tsx`)
- Portfolio app → Command palette: renders (evidence: `src/App.tsx`)
- Portfolio app → Branded loader: renders (evidence: `src/App.tsx`)
- Navigation → Site configuration: reads (evidence: `src/components/header/header.tsx`)
- Command palette → Site configuration: reads (evidence: `src/components/command-palette/command-palette.tsx`)
- Blog posts → Site configuration: reads (evidence: `src/components/blog-section/blog-section.tsx`)
- Blog posts → Scroll reveals: uses (evidence: `src/components/blog-section/blog-section.tsx`)
- Services → Scroll reveals: uses (evidence: `src/components/services-section/services-section.tsx`)
- Contact form → Form validation: validates with (evidence: `src/components/contact-section/contact-section.tsx`)
- Contact form → EmailJS client: submits through (evidence: `src/components/contact-section/contact-section.tsx`)
- EmailJS client → EmailJS API: posts to (evidence: `src/@services/sendEmail/sendEmail.tsx`)
- Contact form → Submission toast: renders (evidence: `src/components/contact-section/contact-section.tsx`)
- Contact form → Form loader: renders (evidence: `src/components/contact-section/contact-section.tsx`)
