# tarundr28/portfolio architecture

> Architecture diagram of the GitHub repository tarundr28/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/tarundr28/portfolio
- Repository: https://github.com/tarundr28/portfolio

## Overview

This repository is a personal portfolio website. Visitors browse the owner’s profile, skills, projects and work, then use contact and external-profile links; script.js adds interactive navigation and presentation features. The source excerpts show the browser-side interactions, but README is empty and index.html was not sampled, so page structure and some feature wiring cannot be verified.

Main entry points: [`script.js`](https://github.com/tarundr28/portfolio/blob/main/script.js) (Interaction controller), [`index.html`](https://github.com/tarundr28/portfolio/blob/main/index.html) (Projects and work), [`resume.pdf`](https://github.com/tarundr28/portfolio/blob/main/resume.pdf) (Resume PDFs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio experience"]
  node_site["Portfolio page<br/>[index.html]"]
  node_profile["Profile content<br/>[index.html]"]
  node_projects["Projects and work<br/>[index.html]"]
  node_skills["Skills content<br/>[index.html]"]
  node_contact["Contact links<br/>[index.html]"]
  node_resume["Resume PDFs<br/>[resume.pdf]"]
end

subgraph group_interaction["Browser interactions"]
  node_script["Interaction controller<br/>[script.js]"]
  node_navigation["Navigation and scroll<br/>[script.js]"]
  node_motion["Motion and counters<br/>[script.js]"]
  node_project_details["Project details<br/>[script.js]"]
  node_command_palette["Command palette<br/>[script.js]"]
  node_terminal["Portfolio terminal<br/>[script.js]"]
  node_lightbox["Image lightbox<br/>[script.js]"]
  node_clipboard["Email copy<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_browser{{"Browser APIs"}}

node_visitor -.->|"browses"| node_site
node_script -->|"registers"| node_navigation
node_script -->|"registers"| node_motion
node_script -->|"registers"| node_project_details
node_script -->|"registers"| node_command_palette
node_script -->|"registers"| node_terminal
node_script -->|"registers"| node_lightbox
node_script -->|"registers"| node_clipboard
node_navigation -->|"reads scroll"| node_browser
node_motion -->|"uses animation"| node_browser
node_clipboard -->|"writes clipboard"| node_browser
node_project_details -->|"updates details"| node_projects
node_command_palette -.->|"opens links"| node_browser
node_terminal -->|"navigates sections"| node_browser
node_visitor -.->|"views"| node_profile
node_visitor -.->|"views"| node_projects
node_visitor -.->|"views"| node_skills
node_visitor -.->|"uses"| node_contact
node_visitor -.->|"opens"| node_resume

click node_site "https://github.com/tarundr28/portfolio/blob/main/index.html"
click node_profile "https://github.com/tarundr28/portfolio/blob/main/index.html"
click node_projects "https://github.com/tarundr28/portfolio/blob/main/index.html"
click node_skills "https://github.com/tarundr28/portfolio/blob/main/index.html"
click node_contact "https://github.com/tarundr28/portfolio/blob/main/index.html"
click node_resume "https://github.com/tarundr28/portfolio/blob/main/resume.pdf"
click node_script "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_navigation "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_motion "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_project_details "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_command_palette "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_terminal "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_lightbox "https://github.com/tarundr28/portfolio/blob/main/script.js"
click node_clipboard "https://github.com/tarundr28/portfolio/blob/main/script.js"

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_site,node_profile,node_projects,node_skills,node_contact,node_resume,node_browser toneBlue
class node_script,node_navigation,node_motion,node_project_details,node_command_palette,node_terminal,node_lightbox,node_clipboard toneAmber
class node_visitor toneIndigo
```

## Components

### Portfolio experience

- [Portfolio page](https://github.com/tarundr28/portfolio/blob/main/index.html): `index.html`
- [Profile content](https://github.com/tarundr28/portfolio/blob/main/index.html): `index.html`
- [Projects and work](https://github.com/tarundr28/portfolio/blob/main/index.html): `index.html`
- [Skills content](https://github.com/tarundr28/portfolio/blob/main/index.html): `index.html`
- [Contact links](https://github.com/tarundr28/portfolio/blob/main/index.html): `index.html`
- [Resume PDFs](https://github.com/tarundr28/portfolio/blob/main/resume.pdf): `resume.pdf`

### Browser interactions

- [Interaction controller](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Navigation and scroll](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Motion and counters](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Project details](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Command palette](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Portfolio terminal](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Image lightbox](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`
- [Email copy](https://github.com/tarundr28/portfolio/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **Browser APIs**

## Connections

- Visitor → Portfolio page: browses
- Interaction controller → Navigation and scroll: registers (evidence: `script.js`)
- Interaction controller → Motion and counters: registers (evidence: `script.js`)
- Interaction controller → Project details: registers (evidence: `script.js`)
- Interaction controller → Command palette: registers (evidence: `script.js`)
- Interaction controller → Portfolio terminal: registers (evidence: `script.js`)
- Interaction controller → Image lightbox: registers (evidence: `script.js`)
- Interaction controller → Email copy: registers (evidence: `script.js`)
- Navigation and scroll → Browser APIs: reads scroll (evidence: `script.js`)
- Motion and counters → Browser APIs: uses animation (evidence: `script.js`)
- Email copy → Browser APIs: writes clipboard (evidence: `script.js`)
- Project details → Projects and work: updates details (evidence: `script.js`)
- Command palette → Browser APIs: opens links
- Portfolio terminal → Browser APIs: navigates sections (evidence: `script.js`)
- Visitor → Profile content: views
- Visitor → Projects and work: views
- Visitor → Skills content: views
- Visitor → Contact links: uses
- Visitor → Resume PDFs: opens
