# vinay-ops/portfolio-website architecture

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

- Interactive diagram: https://gitdiagram.com/vinay-ops/portfolio-website
- Repository: https://github.com/vinay-ops/portfolio-website

## Overview

This is a personal developer portfolio built as a Next.js site, with an accompanying project-editing page. Visitors browse an assembled profile, skills, projects, résumé, GitHub activity, and contact sections; résumé controls generate a printable/previewable document, while the contact form sends submissions to an external service. Project and résumé content is held in local TypeScript data modules. The available excerpts show page composition and several component-to-data calls; links not established by those excerpts or the source index are omitted.

Main entry points: [`app/page.tsx`](https://github.com/vinay-ops/portfolio-website/blob/main/app/page.tsx) (Home Page), [`components/resume.tsx`](https://github.com/vinay-ops/portfolio-website/blob/main/components/resume.tsx) (Résumé Display), [`components/section.tsx`](https://github.com/vinay-ops/portfolio-website/blob/main/components/section.tsx) (Section Layout), [`components/section-heading.tsx`](https://github.com/vinay-ops/portfolio-website/blob/main/components/section-heading.tsx) (Section Heading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio Site"]
  node_homepage["Home Page<br/>[page.tsx]"]
  node_navbar["Navigation<br/>[navbar.tsx]"]
  node_hero["Introduction<br/>[hero.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_section["Section Layout<br/>[section.tsx]"]
  node_heading["Section Heading"]
  node_theme_provider["Theme Provider<br/>[theme-provider.tsx]"]
  node_theme_toggle["Theme Toggle<br/>[theme-toggle.tsx]"]
end

subgraph group_content["Portfolio Content"]
  node_about["About Profile<br/>[about.tsx]"]
  node_skills["Skills<br/>[skills.tsx]"]
  node_projects_view["Project Gallery<br/>[projects.tsx]"]
  node_github_activity["GitHub Activity"]
  node_contact["Contact Form<br/>[contact.tsx]"]
  node_project_data["Project Data<br/>[projects.ts]"]
end

subgraph group_resume["Résumé"]
  node_resume_view["Résumé Display<br/>[resume.tsx]"]
  node_resume_data["Résumé Data<br/>[resume.ts]"]
  node_resume_html["HTML Generator"]
end

subgraph group_admin["Project Editing"]
  node_admin_page["Admin Editor<br/>[page.tsx]"]
end

node_visitor(("Visitor"))
node_formsubmit["FormSubmit Service"]

node_visitor -->|"opens"| node_homepage
node_homepage -->|"renders"| node_navbar
node_homepage -->|"renders"| node_hero
node_homepage -->|"renders"| node_about
node_homepage -->|"renders"| node_skills
node_homepage -->|"renders"| node_projects_view
node_homepage -->|"renders"| node_resume_view
node_homepage -->|"renders"| node_github_activity
node_homepage -->|"renders"| node_contact
node_homepage -->|"renders"| node_footer
node_about -->|"uses layout"| node_section
node_about -->|"uses heading"| node_heading
node_about -->|"reads profile"| node_resume_data
node_about -->|"counts projects"| node_project_data
node_skills -->|"uses layout"| node_section
node_skills -->|"uses heading"| node_heading
node_skills -->|"reads skills"| node_resume_data
node_projects_view -->|"uses layout"| node_section
node_projects_view -->|"uses heading"| node_heading
node_projects_view -->|"reads projects"| node_project_data
node_github_activity -->|"uses layout"| node_section
node_github_activity -->|"uses heading"| node_heading
node_contact -->|"uses layout"| node_section
node_contact -->|"uses heading"| node_heading
node_contact -->|"reads contacts"| node_resume_data
node_contact -->|"submits form"| node_formsubmit
node_resume_view -->|"uses layout"| node_section
node_resume_view -->|"uses heading"| node_heading
node_resume_view -->|"reads résumé"| node_resume_data
node_resume_view -->|"reads projects"| node_project_data
node_resume_view -->|"requests HTML"| node_resume_html
node_resume_html -->|"reads résumé"| node_resume_data
node_resume_html -->|"reads projects"| node_project_data
node_admin_page -->|"loads projects"| node_project_data
node_navbar -->|"renders toggle"| node_theme_toggle

click node_homepage "https://github.com/vinay-ops/portfolio-website/blob/main/app/page.tsx"
click node_navbar "https://github.com/vinay-ops/portfolio-website/blob/main/components/navbar.tsx"
click node_hero "https://github.com/vinay-ops/portfolio-website/blob/main/components/hero.tsx"
click node_about "https://github.com/vinay-ops/portfolio-website/blob/main/components/about.tsx"
click node_skills "https://github.com/vinay-ops/portfolio-website/blob/main/components/skills.tsx"
click node_projects_view "https://github.com/vinay-ops/portfolio-website/blob/main/components/projects.tsx"
click node_github_activity "https://github.com/vinay-ops/portfolio-website/blob/main/components/github-activity.tsx"
click node_contact "https://github.com/vinay-ops/portfolio-website/blob/main/components/contact.tsx"
click node_footer "https://github.com/vinay-ops/portfolio-website/blob/main/components/footer.tsx"
click node_section "https://github.com/vinay-ops/portfolio-website/blob/main/components/section.tsx"
click node_heading "https://github.com/vinay-ops/portfolio-website/blob/main/components/section-heading.tsx"
click node_theme_provider "https://github.com/vinay-ops/portfolio-website/blob/main/components/theme-provider.tsx"
click node_theme_toggle "https://github.com/vinay-ops/portfolio-website/blob/main/components/theme-toggle.tsx"
click node_resume_view "https://github.com/vinay-ops/portfolio-website/blob/main/components/resume.tsx"
click node_resume_data "https://github.com/vinay-ops/portfolio-website/blob/main/lib/resume.ts"
click node_project_data "https://github.com/vinay-ops/portfolio-website/blob/main/lib/projects.ts"
click node_resume_html "https://github.com/vinay-ops/portfolio-website/blob/main/lib/generate-resume-html.ts"
click node_admin_page "https://github.com/vinay-ops/portfolio-website/blob/main/app/admin/page.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_homepage,node_navbar,node_hero,node_footer,node_section,node_heading,node_theme_provider,node_theme_toggle toneBlue
class node_about,node_skills,node_projects_view,node_github_activity,node_contact,node_project_data toneAmber
class node_resume_view,node_resume_data,node_resume_html toneMint
class node_admin_page toneRose
class node_visitor,node_formsubmit toneIndigo
```

## Components

### Portfolio Site

- [Home Page](https://github.com/vinay-ops/portfolio-website/blob/main/app/page.tsx): `app/page.tsx`
- [Navigation](https://github.com/vinay-ops/portfolio-website/blob/main/components/navbar.tsx): `components/navbar.tsx`
- [Introduction](https://github.com/vinay-ops/portfolio-website/blob/main/components/hero.tsx): `components/hero.tsx`
- [Footer](https://github.com/vinay-ops/portfolio-website/blob/main/components/footer.tsx): `components/footer.tsx`
- [Section Layout](https://github.com/vinay-ops/portfolio-website/blob/main/components/section.tsx): `components/section.tsx`
- [Section Heading](https://github.com/vinay-ops/portfolio-website/blob/main/components/section-heading.tsx): `components/section-heading.tsx`
- [Theme Provider](https://github.com/vinay-ops/portfolio-website/blob/main/components/theme-provider.tsx): `components/theme-provider.tsx`
- [Theme Toggle](https://github.com/vinay-ops/portfolio-website/blob/main/components/theme-toggle.tsx): `components/theme-toggle.tsx`

### Portfolio Content

- [About Profile](https://github.com/vinay-ops/portfolio-website/blob/main/components/about.tsx): `components/about.tsx`
- [Skills](https://github.com/vinay-ops/portfolio-website/blob/main/components/skills.tsx): `components/skills.tsx`
- [Project Gallery](https://github.com/vinay-ops/portfolio-website/blob/main/components/projects.tsx): `components/projects.tsx`
- [GitHub Activity](https://github.com/vinay-ops/portfolio-website/blob/main/components/github-activity.tsx): `components/github-activity.tsx`
- [Contact Form](https://github.com/vinay-ops/portfolio-website/blob/main/components/contact.tsx): `components/contact.tsx`
- [Project Data](https://github.com/vinay-ops/portfolio-website/blob/main/lib/projects.ts): `lib/projects.ts`

### Résumé

- [Résumé Display](https://github.com/vinay-ops/portfolio-website/blob/main/components/resume.tsx): `components/resume.tsx`
- [Résumé Data](https://github.com/vinay-ops/portfolio-website/blob/main/lib/resume.ts): `lib/resume.ts`
- [HTML Generator](https://github.com/vinay-ops/portfolio-website/blob/main/lib/generate-resume-html.ts): `lib/generate-resume-html.ts`

### Project Editing

- [Admin Editor](https://github.com/vinay-ops/portfolio-website/blob/main/app/admin/page.tsx): `app/admin/page.tsx`

### Other components

- **Visitor**
- **FormSubmit Service**

## Connections

- Visitor → Home Page: opens (evidence: `app/page.tsx`)
- Home Page → Navigation: renders (evidence: `app/page.tsx`)
- Home Page → Introduction: renders (evidence: `app/page.tsx`)
- Home Page → About Profile: renders (evidence: `app/page.tsx`)
- Home Page → Skills: renders (evidence: `app/page.tsx`)
- Home Page → Project Gallery: renders (evidence: `app/page.tsx`)
- Home Page → Résumé Display: renders (evidence: `app/page.tsx`)
- Home Page → GitHub Activity: renders (evidence: `app/page.tsx`)
- Home Page → Contact Form: renders (evidence: `app/page.tsx`)
- Home Page → Footer: renders (evidence: `app/page.tsx`)
- About Profile → Section Layout: uses layout (evidence: `components/about.tsx`)
- About Profile → Section Heading: uses heading (evidence: `components/about.tsx`)
- About Profile → Résumé Data: reads profile (evidence: `components/about.tsx`)
- About Profile → Project Data: counts projects (evidence: `components/about.tsx`)
- Skills → Section Layout: uses layout (evidence: `components/skills.tsx`)
- Skills → Section Heading: uses heading (evidence: `components/skills.tsx`)
- Skills → Résumé Data: reads skills (evidence: `components/skills.tsx`)
- Project Gallery → Section Layout: uses layout (evidence: `components/projects.tsx`)
- Project Gallery → Section Heading: uses heading (evidence: `components/projects.tsx`)
- Project Gallery → Project Data: reads projects (evidence: `components/projects.tsx`)
- GitHub Activity → Section Layout: uses layout (evidence: `components/github-activity.tsx`)
- GitHub Activity → Section Heading: uses heading (evidence: `components/github-activity.tsx`)
- Contact Form → Section Layout: uses layout (evidence: `components/contact.tsx`)
- Contact Form → Section Heading: uses heading (evidence: `components/contact.tsx`)
- Contact Form → Résumé Data: reads contacts (evidence: `components/contact.tsx`)
- Contact Form → FormSubmit Service: submits form (evidence: `components/contact.tsx`)
- Résumé Display → Section Layout: uses layout (evidence: `components/resume.tsx`)
- Résumé Display → Section Heading: uses heading (evidence: `components/resume.tsx`)
- Résumé Display → Résumé Data: reads résumé (evidence: `components/resume.tsx`)
- Résumé Display → Project Data: reads projects (evidence: `components/resume.tsx`)
- Résumé Display → HTML Generator: requests HTML (evidence: `components/resume.tsx`)
- HTML Generator → Résumé Data: reads résumé (evidence: `lib/generate-resume-html.ts`)
- HTML Generator → Project Data: reads projects (evidence: `lib/generate-resume-html.ts`)
- Admin Editor → Project Data: loads projects (evidence: `app/admin/page.tsx`)
- Navigation → Theme Toggle: renders toggle (evidence: `components/navbar.tsx`)
