# parasrajguru01/portfolio architecture

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

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

## Overview

This is a data-driven developer portfolio built as a single Next.js page. Visitors browse the hero, profile, skills, projects, experience, achievements, education, and contact sections; the page composes those sections, while portfolio data supplies their content. Project cards expose project details and links, and the contact form opens the visitor’s email client. The graph reflects the documented page composition and sampled imports; unsampled section implementations are represented by their source paths, without inferring additional behavior.

Main entry points: [`app/page.tsx`](https://github.com/parasrajguru01/portfolio/blob/main/app/page.tsx) (Home page), [`data/portfolio.ts`](https://github.com/parasrajguru01/portfolio/blob/main/data/portfolio.ts) (Portfolio data), [`components/ProjectCard.tsx`](https://github.com/parasrajguru01/portfolio/blob/main/components/ProjectCard.tsx) (Project card), [`components/Contact.tsx`](https://github.com/parasrajguru01/portfolio/blob/main/components/Contact.tsx) (Contact)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["Page composition"]
  node_home["Home page<br/>[page.tsx]"]
end

subgraph group_sections["Portfolio sections"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_projectcard["Project card<br/>[ProjectCard.tsx]"]
  node_experience["Experience<br/>[Experience.tsx]"]
  node_achievements["Achievements<br/>[Achievements.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_portfolio["Portfolio data<br/>[portfolio.ts]"]
end

subgraph group_interaction["Shared interactions"]
  node_reveal["Reveal animation<br/>[Reveal.tsx]"]
  node_placeholder["Placeholder box<br/>[PlaceholderBox.tsx]"]
  node_utils["Class utilities<br/>[utils.ts]"]
  node_typewriter["Typewriter hook<br/>[useTypewriter.ts]"]
  node_toast_hook["Toast hook<br/>[useToast.ts]"]
  node_toast["Toast display<br/>[Toast.tsx]"]
end

node_visitor(("Visitor"))
node_email_client(("Email client"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_achievements
node_home -->|"renders"| node_education
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_navbar -->|"reads links and identity"| node_portfolio
node_hero -->|"reads profile and links"| node_portfolio
node_about -->|"reads biography"| node_portfolio
node_skills -->|"reads skills"| node_portfolio
node_projects -->|"reads projects"| node_portfolio
node_experience -->|"reads experience"| node_portfolio
node_achievements -->|"reads statistics"| node_portfolio
node_education -->|"reads education"| node_portfolio
node_contact -->|"reads contact details"| node_portfolio
node_footer -->|"reads portfolio data"| node_portfolio
node_projects -->|"renders cards"| node_projectcard
node_projectcard -->|"renders when image absent"| node_placeholder
node_projectcard -->|"uses project type"| node_portfolio
node_hero -->|"calls"| node_typewriter
node_contact -->|"calls"| node_toast_hook
node_contact -->|"renders"| node_toast
node_contact -->|"opens mailto"| node_email_client
node_about -->|"uses"| node_reveal
node_skills -->|"uses"| node_reveal
node_projects -->|"uses"| node_reveal
node_projectcard -->|"uses"| node_reveal
node_experience -->|"uses"| node_reveal
node_projectcard -->|"calls"| node_utils
node_experience -->|"calls"| node_utils

click node_home "https://github.com/parasrajguru01/portfolio/blob/main/app/page.tsx"
click node_navbar "https://github.com/parasrajguru01/portfolio/blob/main/components/Navbar.tsx"
click node_hero "https://github.com/parasrajguru01/portfolio/blob/main/components/Hero.tsx"
click node_about "https://github.com/parasrajguru01/portfolio/blob/main/components/About.tsx"
click node_skills "https://github.com/parasrajguru01/portfolio/blob/main/components/Skills.tsx"
click node_projects "https://github.com/parasrajguru01/portfolio/blob/main/components/Projects.tsx"
click node_projectcard "https://github.com/parasrajguru01/portfolio/blob/main/components/ProjectCard.tsx"
click node_experience "https://github.com/parasrajguru01/portfolio/blob/main/components/Experience.tsx"
click node_achievements "https://github.com/parasrajguru01/portfolio/blob/main/components/Achievements.tsx"
click node_education "https://github.com/parasrajguru01/portfolio/blob/main/components/Education.tsx"
click node_contact "https://github.com/parasrajguru01/portfolio/blob/main/components/Contact.tsx"
click node_footer "https://github.com/parasrajguru01/portfolio/blob/main/components/Footer.tsx"
click node_portfolio "https://github.com/parasrajguru01/portfolio/blob/main/data/portfolio.ts"
click node_reveal "https://github.com/parasrajguru01/portfolio/blob/main/components/Reveal.tsx"
click node_placeholder "https://github.com/parasrajguru01/portfolio/blob/main/components/PlaceholderBox.tsx"
click node_utils "https://github.com/parasrajguru01/portfolio/blob/main/lib/utils.ts"
click node_typewriter "https://github.com/parasrajguru01/portfolio/blob/main/lib/useTypewriter.ts"
click node_toast_hook "https://github.com/parasrajguru01/portfolio/blob/main/lib/useToast.ts"
click node_toast "https://github.com/parasrajguru01/portfolio/blob/main/components/Toast.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_home,node_email_client toneBlue
class node_navbar,node_hero,node_about,node_skills,node_projects,node_projectcard,node_experience,node_achievements,node_education,node_contact,node_footer toneAmber
class node_portfolio toneMint
class node_reveal,node_placeholder,node_utils,node_typewriter,node_toast_hook,node_toast toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [Home page](https://github.com/parasrajguru01/portfolio/blob/main/app/page.tsx): `app/page.tsx`

### Portfolio sections

- [Navigation](https://github.com/parasrajguru01/portfolio/blob/main/components/Navbar.tsx): `components/Navbar.tsx`
- [Hero](https://github.com/parasrajguru01/portfolio/blob/main/components/Hero.tsx): `components/Hero.tsx`
- [About](https://github.com/parasrajguru01/portfolio/blob/main/components/About.tsx): `components/About.tsx`
- [Skills](https://github.com/parasrajguru01/portfolio/blob/main/components/Skills.tsx): `components/Skills.tsx`
- [Projects](https://github.com/parasrajguru01/portfolio/blob/main/components/Projects.tsx): `components/Projects.tsx`
- [Project card](https://github.com/parasrajguru01/portfolio/blob/main/components/ProjectCard.tsx): `components/ProjectCard.tsx`
- [Experience](https://github.com/parasrajguru01/portfolio/blob/main/components/Experience.tsx): `components/Experience.tsx`
- [Achievements](https://github.com/parasrajguru01/portfolio/blob/main/components/Achievements.tsx): `components/Achievements.tsx`
- [Education](https://github.com/parasrajguru01/portfolio/blob/main/components/Education.tsx): `components/Education.tsx`
- [Contact](https://github.com/parasrajguru01/portfolio/blob/main/components/Contact.tsx): `components/Contact.tsx`
- [Footer](https://github.com/parasrajguru01/portfolio/blob/main/components/Footer.tsx): `components/Footer.tsx`

### Portfolio content

- [Portfolio data](https://github.com/parasrajguru01/portfolio/blob/main/data/portfolio.ts): `data/portfolio.ts`

### Shared interactions

- [Reveal animation](https://github.com/parasrajguru01/portfolio/blob/main/components/Reveal.tsx): `components/Reveal.tsx`
- [Placeholder box](https://github.com/parasrajguru01/portfolio/blob/main/components/PlaceholderBox.tsx): `components/PlaceholderBox.tsx`
- [Class utilities](https://github.com/parasrajguru01/portfolio/blob/main/lib/utils.ts): `lib/utils.ts`
- [Typewriter hook](https://github.com/parasrajguru01/portfolio/blob/main/lib/useTypewriter.ts): `lib/useTypewriter.ts`
- [Toast hook](https://github.com/parasrajguru01/portfolio/blob/main/lib/useToast.ts): `lib/useToast.ts`
- [Toast display](https://github.com/parasrajguru01/portfolio/blob/main/components/Toast.tsx): `components/Toast.tsx`

### Other components

- **Visitor**
- **Email client**

## Connections

- Visitor → Home page: opens
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero: renders (evidence: `app/page.tsx`)
- Home page → About: renders (evidence: `app/page.tsx`)
- Home page → Skills: renders (evidence: `app/page.tsx`)
- Home page → Projects: renders (evidence: `app/page.tsx`)
- Home page → Experience: renders (evidence: `app/page.tsx`)
- Home page → Achievements: renders (evidence: `app/page.tsx`)
- Home page → Education: renders (evidence: `app/page.tsx`)
- Home page → Contact: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Navigation → Portfolio data: reads links and identity (evidence: `components/Navbar.tsx`)
- Hero → Portfolio data: reads profile and links (evidence: `components/Hero.tsx`)
- About → Portfolio data: reads biography (evidence: `components/About.tsx`)
- Skills → Portfolio data: reads skills (evidence: `components/Skills.tsx`)
- Projects → Portfolio data: reads projects (evidence: `components/Projects.tsx`)
- Experience → Portfolio data: reads experience (evidence: `components/Experience.tsx`)
- Achievements → Portfolio data: reads statistics (evidence: `components/Achievements.tsx`)
- Education → Portfolio data: reads education (evidence: `components/Education.tsx`)
- Contact → Portfolio data: reads contact details (evidence: `components/Contact.tsx`)
- Footer → Portfolio data: reads portfolio data (evidence: `components/Footer.tsx`)
- Projects → Project card: renders cards (evidence: `components/Projects.tsx`)
- Project card → Placeholder box: renders when image absent (evidence: `components/ProjectCard.tsx`)
- Project card → Portfolio data: uses project type (evidence: `components/ProjectCard.tsx`)
- Hero → Typewriter hook: calls (evidence: `components/Hero.tsx`)
- Contact → Toast hook: calls (evidence: `components/Contact.tsx`)
- Contact → Toast display: renders (evidence: `components/Contact.tsx`)
- Contact → Email client: opens mailto (evidence: `components/Contact.tsx`)
- About → Reveal animation: uses (evidence: `components/About.tsx`)
- Skills → Reveal animation: uses (evidence: `components/Skills.tsx`)
- Projects → Reveal animation: uses (evidence: `components/Projects.tsx`)
- Project card → Reveal animation: uses (evidence: `components/ProjectCard.tsx`)
- Experience → Reveal animation: uses (evidence: `components/Experience.tsx`)
- Project card → Class utilities: calls (evidence: `components/ProjectCard.tsx`)
- Experience → Class utilities: calls (evidence: `components/Experience.tsx`)
