# rishika-1802/portfolio architecture

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

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

## Overview

This repository is a personal portfolio site built with Next.js. Visitors start at the home page, browse profile, experience, skills, research, achievements, and project listings, then open project case studies or contact information. Page content is represented by typed data modules and rendered through page routes and reusable section components; the shared layout supplies navigation and footer. The source index supports the listed imports and calls, but several page and component excerpts are incomplete, so the graph does not infer additional routing or rendering links.

Main entry points: [`components/ui/AnimatedSection.tsx`](https://github.com/rishika-1802/portfolio/blob/main/components/ui/AnimatedSection.tsx) (Animated section), [`components/ui/SectionHeader.tsx`](https://github.com/rishika-1802/portfolio/blob/main/components/ui/SectionHeader.tsx) (Section header), [`components/ui/Tag.tsx`](https://github.com/rishika-1802/portfolio/blob/main/components/ui/Tag.tsx) (Technology tag), [`app/experience/page.tsx`](https://github.com/rishika-1802/portfolio/blob/main/app/experience/page.tsx) (Experience page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio Pages"]
  node_home["Home page<br/>[page.tsx]"]
  node_about_page["About page<br/>[page.tsx]"]
  node_achievements_page["Achievements page<br/>[page.tsx]"]
  node_contact_page["Contact page<br/>[page.tsx]"]
  node_experience_page["Experience page<br/>[page.tsx]"]
  node_projects_page["Projects archive<br/>[page.tsx]"]
  node_project_detail["Project case study<br/>[page.tsx]"]
  node_research_page["Research page<br/>[page.tsx]"]
  node_skills_page["Skills page<br/>[page.tsx]"]
end

subgraph group_sections["Content Sections"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_about_section["About section<br/>[About.tsx]"]
  node_achievements_section["Achievements section<br/>[Achievements.tsx]"]
  node_contact_section["Contact section<br/>[Contact.tsx]"]
  node_exploring_section["Exploring section"]
  node_experience_section["Experience section<br/>[Experience.tsx]"]
  node_projects_section["Projects section<br/>[Projects.tsx]"]
  node_research_section["Research section<br/>[Research.tsx]"]
  node_skills_section["Skills section<br/>[Skills.tsx]"]
end

subgraph group_data["Portfolio Data"]
  node_achievement_data["Achievement records<br/>[achievements.ts]"]
  node_education_data["Education records<br/>[education.ts]"]
  node_experience_data["Experience records<br/>[experience.ts]"]
  node_project_data["Project catalog<br/>[projects.ts]"]
  node_research_data["Research records<br/>[research.ts]"]
  node_skill_data["Skill categories<br/>[skills.ts]"]
end

subgraph group_shared["Shared UI"]
  node_site_layout["Site layout<br/>[layout.tsx]"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_animated["Animated section"]
  node_section_header["Section header<br/>[SectionHeader.tsx]"]
  node_tag["Technology tag<br/>[Tag.tsx]"]
end

node_visitor(("Portfolio visitor"))

node_visitor -->|"opens"| node_home
node_site_layout -->|"renders"| node_navbar
node_site_layout -->|"renders"| node_footer
node_home -->|"renders"| node_hero
node_home -->|"uses"| node_animated
node_home -->|"reads"| node_project_data
node_about_page -->|"reads"| node_education_data
node_about_page -->|"uses"| node_animated
node_about_page -->|"uses"| node_section_header
node_achievements_page -->|"reads"| node_achievement_data
node_achievements_page -->|"uses"| node_animated
node_achievements_page -->|"uses"| node_section_header
node_contact_page -->|"uses"| node_animated
node_experience_page -->|"reads"| node_experience_data
node_experience_page -->|"uses"| node_animated
node_experience_page -->|"uses"| node_section_header
node_experience_page -->|"uses"| node_tag
node_projects_page -->|"reads"| node_project_data
node_projects_page -->|"uses"| node_animated
node_projects_page -->|"uses"| node_section_header
node_projects_page -->|"uses"| node_tag
node_project_detail -->|"reads"| node_project_data
node_project_detail -->|"uses"| node_tag
node_research_page -->|"reads"| node_research_data
node_research_page -->|"uses"| node_animated
node_research_page -->|"uses"| node_section_header
node_skills_page -->|"reads"| node_skill_data
node_skills_page -->|"uses"| node_animated
node_skills_page -->|"uses"| node_section_header
node_about_section -->|"reads"| node_education_data
node_about_section -->|"uses"| node_animated
node_about_section -->|"uses"| node_section_header
node_achievements_section -->|"reads"| node_achievement_data
node_achievements_section -->|"uses"| node_animated
node_achievements_section -->|"uses"| node_section_header
node_contact_section -->|"uses"| node_animated
node_exploring_section -->|"uses"| node_animated
node_exploring_section -->|"uses"| node_section_header
node_experience_section -->|"reads"| node_experience_data
node_experience_section -->|"uses"| node_animated
node_experience_section -->|"uses"| node_section_header
node_experience_section -->|"uses"| node_tag
node_projects_section -->|"reads"| node_project_data
node_projects_section -->|"uses"| node_animated
node_projects_section -->|"uses"| node_section_header
node_projects_section -->|"uses"| node_tag
node_research_section -->|"reads"| node_research_data
node_research_section -->|"uses"| node_animated

click node_home "https://github.com/rishika-1802/portfolio/blob/main/app/page.tsx"
click node_about_page "https://github.com/rishika-1802/portfolio/blob/main/app/about/page.tsx"
click node_achievements_page "https://github.com/rishika-1802/portfolio/blob/main/app/achievements/page.tsx"
click node_contact_page "https://github.com/rishika-1802/portfolio/blob/main/app/contact/page.tsx"
click node_experience_page "https://github.com/rishika-1802/portfolio/blob/main/app/experience/page.tsx"
click node_projects_page "https://github.com/rishika-1802/portfolio/blob/main/app/projects/page.tsx"
click node_project_detail "https://github.com/rishika-1802/portfolio/blob/main/app/projects/%5Bslug%5D/page.tsx"
click node_research_page "https://github.com/rishika-1802/portfolio/blob/main/app/research/page.tsx"
click node_skills_page "https://github.com/rishika-1802/portfolio/blob/main/app/skills/page.tsx"
click node_hero "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Hero.tsx"
click node_about_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/About.tsx"
click node_achievements_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Achievements.tsx"
click node_contact_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Contact.tsx"
click node_exploring_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/CurrentlyExploring.tsx"
click node_experience_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Experience.tsx"
click node_projects_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Projects.tsx"
click node_research_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Research.tsx"
click node_skills_section "https://github.com/rishika-1802/portfolio/blob/main/components/sections/Skills.tsx"
click node_achievement_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/achievements.ts"
click node_education_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/education.ts"
click node_experience_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/experience.ts"
click node_project_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/projects.ts"
click node_research_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/research.ts"
click node_skill_data "https://github.com/rishika-1802/portfolio/blob/main/lib/data/skills.ts"
click node_site_layout "https://github.com/rishika-1802/portfolio/blob/main/app/layout.tsx"
click node_navbar "https://github.com/rishika-1802/portfolio/blob/main/components/ui/Navbar.tsx"
click node_footer "https://github.com/rishika-1802/portfolio/blob/main/components/ui/Footer.tsx"
click node_animated "https://github.com/rishika-1802/portfolio/blob/main/components/ui/AnimatedSection.tsx"
click node_section_header "https://github.com/rishika-1802/portfolio/blob/main/components/ui/SectionHeader.tsx"
click node_tag "https://github.com/rishika-1802/portfolio/blob/main/components/ui/Tag.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_about_page,node_achievements_page,node_contact_page,node_experience_page,node_projects_page,node_project_detail,node_research_page,node_skills_page toneBlue
class node_hero,node_about_section,node_achievements_section,node_contact_section,node_exploring_section,node_experience_section,node_projects_section,node_research_section,node_skills_section toneAmber
class node_achievement_data,node_education_data,node_experience_data,node_project_data,node_research_data,node_skill_data toneMint
class node_site_layout,node_navbar,node_footer,node_animated,node_section_header,node_tag toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio Pages

- [Home page](https://github.com/rishika-1802/portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [About page](https://github.com/rishika-1802/portfolio/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [Achievements page](https://github.com/rishika-1802/portfolio/blob/main/app/achievements/page.tsx): `app/achievements/page.tsx`
- [Contact page](https://github.com/rishika-1802/portfolio/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [Experience page](https://github.com/rishika-1802/portfolio/blob/main/app/experience/page.tsx): `app/experience/page.tsx`
- [Projects archive](https://github.com/rishika-1802/portfolio/blob/main/app/projects/page.tsx): `app/projects/page.tsx`
- [Project case study](https://github.com/rishika-1802/portfolio/blob/main/app/projects/%5Bslug%5D/page.tsx): `app/projects/[slug]/page.tsx`
- [Research page](https://github.com/rishika-1802/portfolio/blob/main/app/research/page.tsx): `app/research/page.tsx`
- [Skills page](https://github.com/rishika-1802/portfolio/blob/main/app/skills/page.tsx): `app/skills/page.tsx`

### Content Sections

- [Hero section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Hero.tsx): `components/sections/Hero.tsx`
- [About section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/About.tsx): `components/sections/About.tsx`
- [Achievements section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Achievements.tsx): `components/sections/Achievements.tsx`
- [Contact section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Contact.tsx): `components/sections/Contact.tsx`
- [Exploring section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/CurrentlyExploring.tsx): `components/sections/CurrentlyExploring.tsx`
- [Experience section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Experience.tsx): `components/sections/Experience.tsx`
- [Projects section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Projects.tsx): `components/sections/Projects.tsx`
- [Research section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Research.tsx): `components/sections/Research.tsx`
- [Skills section](https://github.com/rishika-1802/portfolio/blob/main/components/sections/Skills.tsx): `components/sections/Skills.tsx`

### Portfolio Data

- [Achievement records](https://github.com/rishika-1802/portfolio/blob/main/lib/data/achievements.ts): `lib/data/achievements.ts`
- [Education records](https://github.com/rishika-1802/portfolio/blob/main/lib/data/education.ts): `lib/data/education.ts`
- [Experience records](https://github.com/rishika-1802/portfolio/blob/main/lib/data/experience.ts): `lib/data/experience.ts`
- [Project catalog](https://github.com/rishika-1802/portfolio/blob/main/lib/data/projects.ts): `lib/data/projects.ts`
- [Research records](https://github.com/rishika-1802/portfolio/blob/main/lib/data/research.ts): `lib/data/research.ts`
- [Skill categories](https://github.com/rishika-1802/portfolio/blob/main/lib/data/skills.ts): `lib/data/skills.ts`

### Shared UI

- [Site layout](https://github.com/rishika-1802/portfolio/blob/main/app/layout.tsx): `app/layout.tsx`
- [Navigation bar](https://github.com/rishika-1802/portfolio/blob/main/components/ui/Navbar.tsx): `components/ui/Navbar.tsx`
- [Footer](https://github.com/rishika-1802/portfolio/blob/main/components/ui/Footer.tsx): `components/ui/Footer.tsx`
- [Animated section](https://github.com/rishika-1802/portfolio/blob/main/components/ui/AnimatedSection.tsx): `components/ui/AnimatedSection.tsx`
- [Section header](https://github.com/rishika-1802/portfolio/blob/main/components/ui/SectionHeader.tsx): `components/ui/SectionHeader.tsx`
- [Technology tag](https://github.com/rishika-1802/portfolio/blob/main/components/ui/Tag.tsx): `components/ui/Tag.tsx`

### Other components

- **Portfolio visitor**

## Connections

- Portfolio visitor → Home page: opens
- Site layout → Navigation bar: renders (evidence: `app/layout.tsx`)
- Site layout → Footer: renders (evidence: `app/layout.tsx`)
- Home page → Hero section: renders (evidence: `app/page.tsx`)
- Home page → Animated section: uses (evidence: `app/page.tsx`)
- Home page → Project catalog: reads (evidence: `app/page.tsx`)
- About page → Education records: reads (evidence: `app/about/page.tsx`)
- About page → Animated section: uses (evidence: `app/about/page.tsx`)
- About page → Section header: uses (evidence: `app/about/page.tsx`)
- Achievements page → Achievement records: reads (evidence: `app/achievements/page.tsx`)
- Achievements page → Animated section: uses (evidence: `app/achievements/page.tsx`)
- Achievements page → Section header: uses (evidence: `app/achievements/page.tsx`)
- Contact page → Animated section: uses (evidence: `app/contact/page.tsx`)
- Experience page → Experience records: reads (evidence: `app/experience/page.tsx`)
- Experience page → Animated section: uses (evidence: `app/experience/page.tsx`)
- Experience page → Section header: uses (evidence: `app/experience/page.tsx`)
- Experience page → Technology tag: uses (evidence: `app/experience/page.tsx`)
- Projects archive → Project catalog: reads (evidence: `app/projects/page.tsx`)
- Projects archive → Animated section: uses (evidence: `app/projects/page.tsx`)
- Projects archive → Section header: uses (evidence: `app/projects/page.tsx`)
- Projects archive → Technology tag: uses (evidence: `app/projects/page.tsx`)
- Project case study → Project catalog: reads (evidence: `app/projects/[slug]/page.tsx`)
- Project case study → Technology tag: uses (evidence: `app/projects/[slug]/page.tsx`)
- Research page → Research records: reads (evidence: `app/research/page.tsx`)
- Research page → Animated section: uses (evidence: `app/research/page.tsx`)
- Research page → Section header: uses (evidence: `app/research/page.tsx`)
- Skills page → Skill categories: reads (evidence: `app/skills/page.tsx`)
- Skills page → Animated section: uses (evidence: `app/skills/page.tsx`)
- Skills page → Section header: uses (evidence: `app/skills/page.tsx`)
- About section → Education records: reads (evidence: `components/sections/About.tsx`)
- About section → Animated section: uses (evidence: `components/sections/About.tsx`)
- About section → Section header: uses (evidence: `components/sections/About.tsx`)
- Achievements section → Achievement records: reads (evidence: `components/sections/Achievements.tsx`)
- Achievements section → Animated section: uses (evidence: `components/sections/Achievements.tsx`)
- Achievements section → Section header: uses (evidence: `components/sections/Achievements.tsx`)
- Contact section → Animated section: uses (evidence: `components/sections/Contact.tsx`)
- Exploring section → Animated section: uses (evidence: `components/sections/CurrentlyExploring.tsx`)
- Exploring section → Section header: uses (evidence: `components/sections/CurrentlyExploring.tsx`)
- Experience section → Experience records: reads (evidence: `components/sections/Experience.tsx`)
- Experience section → Animated section: uses (evidence: `components/sections/Experience.tsx`)
- Experience section → Section header: uses (evidence: `components/sections/Experience.tsx`)
- Experience section → Technology tag: uses (evidence: `components/sections/Experience.tsx`)
- Projects section → Project catalog: reads (evidence: `components/sections/Projects.tsx`)
- Projects section → Animated section: uses (evidence: `components/sections/Projects.tsx`)
- Projects section → Section header: uses (evidence: `components/sections/Projects.tsx`)
- Projects section → Technology tag: uses (evidence: `components/sections/Projects.tsx`)
- Research section → Research records: reads (evidence: `components/sections/Research.tsx`)
- Research section → Animated section: uses (evidence: `components/sections/Research.tsx`)
