# anup-sawant12/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/anup-sawant12/portfolio
- Repository: https://github.com/anup-sawant12/portfolio

## Overview

This is a React portfolio website presenting a software engineer’s profile, projects, skills, architecture, achievements, education, and contact details. The visitor enters the page, sees an animated loading state, then explores the landing section and scrollable portfolio sections, with navigation and links to project demos, code, social profiles, and a resume. The graph focuses on the rendered experience and its component composition. README provides no further architecture detail; some section implementations were not sampled, so their internal behavior is not expanded.

Main entry points: [`src/App.jsx`](https://github.com/anup-sawant12/portfolio/blob/master/src/App.jsx) (App composition), [`src/data/portfolioData.js`](https://github.com/anup-sawant12/portfolio/blob/master/src/data/portfolioData.js) (Portfolio content data), [`src/components/Hero.jsx`](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Hero.jsx) (Hero introduction), [`src/components/MagneticButton.jsx`](https://github.com/anup-sawant12/portfolio/blob/master/src/components/MagneticButton.jsx) (Magnetic button)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Page shell"]
  node_app["App composition<br/>[App.jsx]"]
  node_loader["Page loader<br/>[PageLoader.jsx]"]
  node_cursor["Custom cursor<br/>[CustomCursor.jsx]"]
  node_scroll["Scroll progress<br/>[ScrollProgress.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_easteregg["Terminal easter egg<br/>[EasterEgg.jsx]"]
end

subgraph group_profile["Profile sections"]
  node_hero["Hero introduction<br/>[Hero.jsx]"]
  node_about["About section<br/>[About.jsx]"]
  node_contact["Contact section<br/>[Contact.jsx]"]
  node_achievements["Achievements<br/>[Achievements.jsx]"]
  node_education["Education<br/>[Education.jsx]"]
  node_heroscene["Hero scene<br/>[HeroScene.jsx]"]
end

subgraph group_work["Work and skills"]
  node_projects["Project showcase"]
  node_projectcard["Project card<br/>[ProjectCard.jsx]"]
  node_projectvisual["Project visual<br/>[ProjectVisual.jsx]"]
  node_skills["Skill constellation"]
  node_architecture["Architecture diagram"]
end

subgraph group_shared["Shared UI and hooks"]
  node_data["Portfolio content data<br/>[portfolioData.js]"]
  node_sectionheader["Section header<br/>[SectionHeader.jsx]"]
  node_magnetic["Magnetic button<br/>[MagneticButton.jsx]"]
  node_magnetichook["Magnetic effect hook"]
  node_scrollhook["Scroll progress hook"]
  node_reducedmotion["Reduced-motion hook"]
  node_socialicons["Social icons<br/>[SocialIcons.jsx]"]
end

node_visitor(("Portfolio visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_loader
node_app -->|"renders"| node_cursor
node_app -->|"renders"| node_easteregg
node_app -->|"renders"| node_scroll
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_architecture
node_app -->|"renders"| node_achievements
node_app -->|"renders"| node_education
node_app -->|"renders"| node_contact
node_hero -->|"renders"| node_heroscene
node_hero -->|"renders"| node_socialicons
node_hero -->|"uses"| node_magnetic
node_navbar -->|"uses"| node_magnetic
node_projects -->|"renders"| node_projectcard
node_projectcard -->|"renders"| node_projectvisual
node_projectcard -->|"uses"| node_magnetic
node_projectcard -->|"renders"| node_socialicons
node_magnetic -->|"uses"| node_magnetichook
node_scroll -->|"reads progress"| node_scrollhook
node_heroscene -->|"checks preference"| node_reducedmotion
node_about -->|"renders"| node_sectionheader
node_contact -->|"renders"| node_sectionheader
node_contact -->|"uses"| node_magnetic
node_education -->|"renders"| node_sectionheader
node_skills -->|"renders"| node_sectionheader
node_hero -->|"reads profile"| node_data
node_navbar -->|"reads resume link"| node_data
node_projects -->|"reads projects"| node_data
node_about -->|"reads content"| node_data
node_achievements -->|"reads metrics"| node_data
node_education -->|"reads education"| node_data
node_skills -->|"reads skills"| node_data
node_contact -->|"reads contact details"| node_data
node_easteregg -->|"reads content"| node_data

click node_app "https://github.com/anup-sawant12/portfolio/blob/master/src/App.jsx"
click node_loader "https://github.com/anup-sawant12/portfolio/blob/master/src/components/PageLoader.jsx"
click node_cursor "https://github.com/anup-sawant12/portfolio/blob/master/src/components/CustomCursor.jsx"
click node_scroll "https://github.com/anup-sawant12/portfolio/blob/master/src/components/ScrollProgress.jsx"
click node_navbar "https://github.com/anup-sawant12/portfolio/blob/master/src/components/Navbar.jsx"
click node_hero "https://github.com/anup-sawant12/portfolio/blob/master/src/components/Hero.jsx"
click node_about "https://github.com/anup-sawant12/portfolio/blob/master/src/components/About.jsx"
click node_contact "https://github.com/anup-sawant12/portfolio/blob/master/src/components/Contact.jsx"
click node_projects "https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectShowcase.jsx"
click node_projectcard "https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectCard.jsx"
click node_projectvisual "https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectVisual.jsx"
click node_skills "https://github.com/anup-sawant12/portfolio/blob/master/src/components/SkillConstellation.jsx"
click node_architecture "https://github.com/anup-sawant12/portfolio/blob/master/src/components/ArchitectureDiagram.jsx"
click node_achievements "https://github.com/anup-sawant12/portfolio/blob/master/src/components/Achievements.jsx"
click node_education "https://github.com/anup-sawant12/portfolio/blob/master/src/components/Education.jsx"
click node_easteregg "https://github.com/anup-sawant12/portfolio/blob/master/src/components/EasterEgg.jsx"
click node_data "https://github.com/anup-sawant12/portfolio/blob/master/src/data/portfolioData.js"
click node_sectionheader "https://github.com/anup-sawant12/portfolio/blob/master/src/components/SectionHeader.jsx"
click node_magnetic "https://github.com/anup-sawant12/portfolio/blob/master/src/components/MagneticButton.jsx"
click node_magnetichook "https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/useMagneticEffect.js"
click node_scrollhook "https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/useScrollProgress.js"
click node_heroscene "https://github.com/anup-sawant12/portfolio/blob/master/src/components/HeroScene.jsx"
click node_reducedmotion "https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/usePrefersReducedMotion.js"
click node_socialicons "https://github.com/anup-sawant12/portfolio/blob/master/src/components/SocialIcons.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_app,node_loader,node_cursor,node_scroll,node_navbar,node_easteregg toneBlue
class node_hero,node_about,node_contact,node_achievements,node_education,node_heroscene toneAmber
class node_projects,node_projectcard,node_projectvisual,node_skills,node_architecture toneMint
class node_data,node_sectionheader,node_magnetic,node_magnetichook,node_scrollhook,node_reducedmotion,node_socialicons toneRose
class node_visitor toneIndigo
```

## Components

### Page shell

- [App composition](https://github.com/anup-sawant12/portfolio/blob/master/src/App.jsx): `src/App.jsx`
- [Page loader](https://github.com/anup-sawant12/portfolio/blob/master/src/components/PageLoader.jsx): `src/components/PageLoader.jsx`
- [Custom cursor](https://github.com/anup-sawant12/portfolio/blob/master/src/components/CustomCursor.jsx): `src/components/CustomCursor.jsx`
- [Scroll progress](https://github.com/anup-sawant12/portfolio/blob/master/src/components/ScrollProgress.jsx): `src/components/ScrollProgress.jsx`
- [Navigation](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Terminal easter egg](https://github.com/anup-sawant12/portfolio/blob/master/src/components/EasterEgg.jsx): `src/components/EasterEgg.jsx`

### Profile sections

- [Hero introduction](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Hero.jsx): `src/components/Hero.jsx`
- [About section](https://github.com/anup-sawant12/portfolio/blob/master/src/components/About.jsx): `src/components/About.jsx`
- [Contact section](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Achievements](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Achievements.jsx): `src/components/Achievements.jsx`
- [Education](https://github.com/anup-sawant12/portfolio/blob/master/src/components/Education.jsx): `src/components/Education.jsx`
- [Hero scene](https://github.com/anup-sawant12/portfolio/blob/master/src/components/HeroScene.jsx): `src/components/HeroScene.jsx`

### Work and skills

- [Project showcase](https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectShowcase.jsx): `src/components/ProjectShowcase.jsx`
- [Project card](https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectCard.jsx): `src/components/ProjectCard.jsx`
- [Project visual](https://github.com/anup-sawant12/portfolio/blob/master/src/components/ProjectVisual.jsx): `src/components/ProjectVisual.jsx`
- [Skill constellation](https://github.com/anup-sawant12/portfolio/blob/master/src/components/SkillConstellation.jsx): `src/components/SkillConstellation.jsx`
- [Architecture diagram](https://github.com/anup-sawant12/portfolio/blob/master/src/components/ArchitectureDiagram.jsx): `src/components/ArchitectureDiagram.jsx`

### Shared UI and hooks

- [Portfolio content data](https://github.com/anup-sawant12/portfolio/blob/master/src/data/portfolioData.js): `src/data/portfolioData.js`
- [Section header](https://github.com/anup-sawant12/portfolio/blob/master/src/components/SectionHeader.jsx): `src/components/SectionHeader.jsx`
- [Magnetic button](https://github.com/anup-sawant12/portfolio/blob/master/src/components/MagneticButton.jsx): `src/components/MagneticButton.jsx`
- [Magnetic effect hook](https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/useMagneticEffect.js): `src/hooks/useMagneticEffect.js`
- [Scroll progress hook](https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/useScrollProgress.js): `src/hooks/useScrollProgress.js`
- [Reduced-motion hook](https://github.com/anup-sawant12/portfolio/blob/master/src/hooks/usePrefersReducedMotion.js): `src/hooks/usePrefersReducedMotion.js`
- [Social icons](https://github.com/anup-sawant12/portfolio/blob/master/src/components/SocialIcons.jsx): `src/components/SocialIcons.jsx`

### Other components

- **Portfolio visitor**

## Connections

- Portfolio visitor → App composition: opens
- App composition → Page loader: renders (evidence: `src/App.jsx`)
- App composition → Custom cursor: renders (evidence: `src/App.jsx`)
- App composition → Terminal easter egg: renders (evidence: `src/App.jsx`)
- App composition → Scroll progress: renders (evidence: `src/App.jsx`)
- App composition → Navigation: renders (evidence: `src/App.jsx`)
- App composition → Hero introduction: renders (evidence: `src/App.jsx`)
- App composition → About section: renders (evidence: `src/App.jsx`)
- App composition → Project showcase: renders (evidence: `src/App.jsx`)
- App composition → Skill constellation: renders (evidence: `src/App.jsx`)
- App composition → Architecture diagram: renders (evidence: `src/App.jsx`)
- App composition → Achievements: renders (evidence: `src/App.jsx`)
- App composition → Education: renders (evidence: `src/App.jsx`)
- App composition → Contact section: renders (evidence: `src/App.jsx`)
- Hero introduction → Hero scene: renders (evidence: `src/components/Hero.jsx`)
- Hero introduction → Social icons: renders (evidence: `src/components/Hero.jsx`)
- Hero introduction → Magnetic button: uses (evidence: `src/components/Hero.jsx`)
- Navigation → Magnetic button: uses (evidence: `src/components/Navbar.jsx`)
- Project showcase → Project card: renders (evidence: `src/components/ProjectShowcase.jsx`)
- Project card → Project visual: renders (evidence: `src/components/ProjectCard.jsx`)
- Project card → Magnetic button: uses (evidence: `src/components/ProjectCard.jsx`)
- Project card → Social icons: renders (evidence: `src/components/ProjectCard.jsx`)
- Magnetic button → Magnetic effect hook: uses (evidence: `src/components/MagneticButton.jsx`)
- Scroll progress → Scroll progress hook: reads progress (evidence: `src/components/ScrollProgress.jsx`)
- Hero scene → Reduced-motion hook: checks preference (evidence: `src/components/HeroScene.jsx`)
- About section → Section header: renders (evidence: `src/components/About.jsx`)
- Contact section → Section header: renders (evidence: `src/components/Contact.jsx`)
- Contact section → Magnetic button: uses (evidence: `src/components/Contact.jsx`)
- Education → Section header: renders (evidence: `src/components/Education.jsx`)
- Skill constellation → Section header: renders (evidence: `src/components/SkillConstellation.jsx`)
- Hero introduction → Portfolio content data: reads profile (evidence: `src/components/Hero.jsx`)
- Navigation → Portfolio content data: reads resume link (evidence: `src/components/Navbar.jsx`)
- Project showcase → Portfolio content data: reads projects (evidence: `src/components/ProjectShowcase.jsx`)
- About section → Portfolio content data: reads content (evidence: `src/components/About.jsx`)
- Achievements → Portfolio content data: reads metrics (evidence: `src/components/Achievements.jsx`)
- Education → Portfolio content data: reads education (evidence: `src/components/Education.jsx`)
- Skill constellation → Portfolio content data: reads skills (evidence: `src/components/SkillConstellation.jsx`)
- Contact section → Portfolio content data: reads contact details (evidence: `src/components/Contact.jsx`)
- Terminal easter egg → Portfolio content data: reads content (evidence: `src/components/EasterEgg.jsx`)
