# harirao2001/updated_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/harirao2001/updated_portfolio
- Repository: https://github.com/harirao2001/updated_portfolio

## Overview

This is a single-page React portfolio presenting a developer’s profile, skills, work history, projects, education, achievements, and contact options. The runtime begins at the React entry point, applies theme context, and routes the root page to a sequence of portfolio sections, with shared header and footer. Data files support editable portfolio content, while reusable components and theme/scroll hooks provide presentation behavior. The README also documents SEO and EmailJS contact capabilities; unsampled wiring for those is not inferred here.

Main entry points: [`src/pages/Home.jsx`](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/Home.jsx) (Home page), [`src/App.jsx`](https://github.com/harirao2001/updated_portfolio/blob/main/src/App.jsx) (App shell and routing), [`src/pages/sections/About.jsx`](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/About.jsx) (About profile), [`src/components/Header.jsx`](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/Header.jsx) (Navigation header)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App Runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["App shell and routing<br/>[App.jsx]"]
  node_home["Home page<br/>[Home.jsx]"]
end

subgraph group_sections["Portfolio Sections"]
  node_hero["Introduction<br/>[Hero.jsx]"]
  node_about["About profile<br/>[About.jsx]"]
  node_skills["Skills<br/>[Skills.jsx]"]
  node_experience["Experience<br/>[Experience.jsx]"]
  node_projects["Projects<br/>[Projects.jsx]"]
  node_education["Education<br/>[Education.jsx]"]
  node_achievements["Achievements<br/>[Achievements.jsx]"]
  node_testimonials["Testimonials<br/>[Testimonials.jsx]"]
  node_contact["Contact section<br/>[Contact.jsx]"]
end

subgraph group_content["Portfolio Content"]
  node_personaldata["Personal profile data<br/>[personalInfo.js]"]
  node_navigationdata["Navigation data<br/>[navigation.js]"]
  node_skillsdata["Skills data<br/>[skills.js]"]
  node_experiencedata["Experience data<br/>[experience.js]"]
  node_projectsdata["Projects data<br/>[projects.js]"]
  node_educationdata["Education data<br/>[education.js]"]
  node_achievementsdata["Achievement data<br/>[achievements.js]"]
  node_testimonialsdata["Testimonials data<br/>[testimonials.js]"]
  node_socialdata["Social links data<br/>[socialLinks.js]"]
  node_seodata["SEO metadata<br/>[seo.js]"]
end

subgraph group_ui["Reusable UI"]
  node_header["Navigation header<br/>[Header.jsx]"]
  node_footer["Contact footer<br/>[Footer.jsx]"]
  node_contactform["Contact form<br/>[ContactForm.jsx]"]
  node_experiencecard["Experience card<br/>[ExperienceCard.jsx]"]
  node_projectcard["Project card<br/>[ProjectCard.jsx]"]
  node_skillcard["Skill card<br/>[SkillCard.jsx]"]
  node_glasscard["Glass card<br/>[GlassCard.jsx]"]
  node_gradientbutton["Gradient button<br/>[GradientButton.jsx]"]
  node_sectionheading["Section heading<br/>[SectionHeading.jsx]"]
  node_counter["Animated counter"]
end

subgraph group_state["Theme and Behavior"]
  node_themehook["Theme context<br/>[useTheme.jsx]"]
end

node_visitor(("Portfolio visitor"))

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_entry -->|"wraps with"| node_themehook
node_app -->|"reads theme"| node_themehook
node_app -->|"renders"| node_header
node_app -->|"routes to"| node_home
node_app -->|"renders"| node_footer
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_education
node_home -->|"renders"| node_achievements
node_home -->|"renders"| node_contact
node_home -->|"includes commented"| node_testimonials
node_header -->|"toggles theme"| node_themehook
node_header -->|"reads links"| node_navigationdata
node_header -->|"reads identity"| node_personaldata
node_footer -->|"reads contact"| node_personaldata
node_hero -->|"reads profile"| node_personaldata
node_hero -->|"renders"| node_gradientbutton
node_about -->|"reads profile"| node_personaldata
node_about -->|"renders"| node_glasscard
node_about -->|"renders"| node_sectionheading
node_projects -->|"reads projects"| node_projectsdata
node_projects -->|"renders"| node_sectionheading
node_projectcard -->|"uses"| node_glasscard
node_experiencecard -->|"uses"| node_glasscard
node_skillcard -->|"uses"| node_glasscard
node_contact -.->|"renders"| node_contactform
node_contactform -->|"uses"| node_gradientbutton
node_themehook -.->|"persists preference"| node_visitor

click node_entry "https://github.com/harirao2001/updated_portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/harirao2001/updated_portfolio/blob/main/src/App.jsx"
click node_home "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/Home.jsx"
click node_header "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/Header.jsx"
click node_footer "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/Footer.jsx"
click node_hero "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Hero.jsx"
click node_about "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/About.jsx"
click node_skills "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Skills.jsx"
click node_experience "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Experience.jsx"
click node_projects "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Projects.jsx"
click node_education "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Education.jsx"
click node_achievements "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Achievements.jsx"
click node_testimonials "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Testimonials.jsx"
click node_contact "https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Contact.jsx"
click node_contactform "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ContactForm.jsx"
click node_experiencecard "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ExperienceCard.jsx"
click node_projectcard "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ProjectCard.jsx"
click node_skillcard "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/SkillCard.jsx"
click node_glasscard "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/GlassCard.jsx"
click node_gradientbutton "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/GradientButton.jsx"
click node_sectionheading "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/SectionHeading.jsx"
click node_counter "https://github.com/harirao2001/updated_portfolio/blob/main/src/components/AnimatedCounter.jsx"
click node_personaldata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/personalInfo.js"
click node_navigationdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/navigation.js"
click node_skillsdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/skills.js"
click node_experiencedata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/experience.js"
click node_projectsdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/projects.js"
click node_educationdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/education.js"
click node_achievementsdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/achievements.js"
click node_testimonialsdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/testimonials.js"
click node_socialdata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/socialLinks.js"
click node_seodata "https://github.com/harirao2001/updated_portfolio/blob/main/src/data/seo.js"
click node_themehook "https://github.com/harirao2001/updated_portfolio/blob/main/src/hooks/useTheme.jsx"

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_home toneBlue
class node_hero,node_about,node_skills,node_experience,node_projects,node_education,node_achievements,node_testimonials,node_contact toneAmber
class node_personaldata,node_navigationdata,node_skillsdata,node_experiencedata,node_projectsdata,node_educationdata,node_achievementsdata,node_testimonialsdata,node_socialdata,node_seodata toneMint
class node_header,node_footer,node_contactform,node_experiencecard,node_projectcard,node_skillcard,node_glasscard,node_gradientbutton,node_sectionheading,node_counter toneRose
class node_themehook,node_visitor toneIndigo
```

## Components

### App Runtime

- [React entry](https://github.com/harirao2001/updated_portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [App shell and routing](https://github.com/harirao2001/updated_portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Home page](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`

### Portfolio Sections

- [Introduction](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Hero.jsx): `src/pages/sections/Hero.jsx`
- [About profile](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/About.jsx): `src/pages/sections/About.jsx`
- [Skills](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Skills.jsx): `src/pages/sections/Skills.jsx`
- [Experience](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Experience.jsx): `src/pages/sections/Experience.jsx`
- [Projects](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Projects.jsx): `src/pages/sections/Projects.jsx`
- [Education](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Education.jsx): `src/pages/sections/Education.jsx`
- [Achievements](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Achievements.jsx): `src/pages/sections/Achievements.jsx`
- [Testimonials](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Testimonials.jsx): `src/pages/sections/Testimonials.jsx`
- [Contact section](https://github.com/harirao2001/updated_portfolio/blob/main/src/pages/sections/Contact.jsx): `src/pages/sections/Contact.jsx`

### Portfolio Content

- [Personal profile data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/personalInfo.js): `src/data/personalInfo.js`
- [Navigation data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/navigation.js): `src/data/navigation.js`
- [Skills data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/skills.js): `src/data/skills.js`
- [Experience data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/experience.js): `src/data/experience.js`
- [Projects data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/projects.js): `src/data/projects.js`
- [Education data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/education.js): `src/data/education.js`
- [Achievement data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/achievements.js): `src/data/achievements.js`
- [Testimonials data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/testimonials.js): `src/data/testimonials.js`
- [Social links data](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/socialLinks.js): `src/data/socialLinks.js`
- [SEO metadata](https://github.com/harirao2001/updated_portfolio/blob/main/src/data/seo.js): `src/data/seo.js`

### Reusable UI

- [Navigation header](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/Header.jsx): `src/components/Header.jsx`
- [Contact footer](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Contact form](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ContactForm.jsx): `src/components/ContactForm.jsx`
- [Experience card](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ExperienceCard.jsx): `src/components/ExperienceCard.jsx`
- [Project card](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/ProjectCard.jsx): `src/components/ProjectCard.jsx`
- [Skill card](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/SkillCard.jsx): `src/components/SkillCard.jsx`
- [Glass card](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/GlassCard.jsx): `src/components/GlassCard.jsx`
- [Gradient button](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/GradientButton.jsx): `src/components/GradientButton.jsx`
- [Section heading](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/SectionHeading.jsx): `src/components/SectionHeading.jsx`
- [Animated counter](https://github.com/harirao2001/updated_portfolio/blob/main/src/components/AnimatedCounter.jsx): `src/components/AnimatedCounter.jsx`

### Theme and Behavior

- [Theme context](https://github.com/harirao2001/updated_portfolio/blob/main/src/hooks/useTheme.jsx): `src/hooks/useTheme.jsx`

### Other components

- **Portfolio visitor**

## Connections

- Portfolio visitor → React entry: opens
- React entry → App shell and routing: renders (evidence: `src/main.jsx`)
- React entry → Theme context: wraps with (evidence: `src/main.jsx`)
- App shell and routing → Theme context: reads theme (evidence: `src/App.jsx`)
- App shell and routing → Navigation header: renders (evidence: `src/App.jsx`)
- App shell and routing → Home page: routes to (evidence: `src/App.jsx`)
- App shell and routing → Contact footer: renders (evidence: `src/App.jsx`)
- Home page → Introduction: renders (evidence: `src/pages/Home.jsx`)
- Home page → About profile: renders (evidence: `src/pages/Home.jsx`)
- Home page → Skills: renders (evidence: `src/pages/Home.jsx`)
- Home page → Experience: renders (evidence: `src/pages/Home.jsx`)
- Home page → Projects: renders (evidence: `src/pages/Home.jsx`)
- Home page → Education: renders (evidence: `src/pages/Home.jsx`)
- Home page → Achievements: renders (evidence: `src/pages/Home.jsx`)
- Home page → Contact section: renders (evidence: `src/pages/Home.jsx`)
- Home page → Testimonials: includes commented (evidence: `src/pages/Home.jsx`)
- Navigation header → Theme context: toggles theme (evidence: `src/components/Header.jsx`)
- Navigation header → Navigation data: reads links (evidence: `src/components/Header.jsx`)
- Navigation header → Personal profile data: reads identity (evidence: `src/components/Header.jsx`)
- Contact footer → Personal profile data: reads contact (evidence: `src/components/Footer.jsx`)
- Introduction → Personal profile data: reads profile (evidence: `src/pages/sections/Hero.jsx`)
- Introduction → Gradient button: renders (evidence: `src/pages/sections/Hero.jsx`)
- About profile → Personal profile data: reads profile (evidence: `src/pages/sections/About.jsx`)
- About profile → Glass card: renders (evidence: `src/pages/sections/About.jsx`)
- About profile → Section heading: renders (evidence: `src/pages/sections/About.jsx`)
- Projects → Projects data: reads projects (evidence: `src/pages/sections/Projects.jsx`)
- Projects → Section heading: renders (evidence: `src/pages/sections/Projects.jsx`)
- Project card → Glass card: uses (evidence: `src/components/ProjectCard.jsx`)
- Experience card → Glass card: uses (evidence: `src/components/ExperienceCard.jsx`)
- Skill card → Glass card: uses (evidence: `src/components/SkillCard.jsx`)
- Contact section → Contact form: renders
- Contact form → Gradient button: uses (evidence: `src/components/ContactForm.jsx`)
- Theme context → Portfolio visitor: persists preference
