# gaurish676/portfolio architecture

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

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

## Overview

This is a static personal engineering portfolio. Visitors browse its profile and projects, use category filters or the interactive terminal, and can access contact actions and the resume PDF. The README documents the portfolio’s major capabilities; the sampled JavaScript shows the terminal, filtering, navigation, and contact behavior. The HTML and CSS roles follow the repository tree and README, but their source was not sampled, so their internal wiring is not mapped.

Main entry points: [`script.js`](https://github.com/gaurish676/portfolio/blob/main/script.js) (Interaction setup), [`index.html`](https://github.com/gaurish676/portfolio/blob/main/index.html) (Portfolio page), [`Gaurish_Bangera_NNM23CS078.pdf`](https://github.com/gaurish676/portfolio/blob/main/Gaurish_Bangera_NNM23CS078.pdf) (Resume PDF), [`styles.css`](https://github.com/gaurish676/portfolio/blob/main/styles.css) (Responsive styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_portfolio["Portfolio page<br/>[index.html]"]
  node_visual_design["Responsive styling<br/>[styles.css]"]
end

subgraph group_interactions["Visitor interactions"]
  node_interaction_setup["Interaction setup<br/>[script.js]"]
  node_project_filter["Project filtering<br/>[script.js]"]
  node_developer_console["Developer console<br/>[script.js]"]
  node_navigation["Navigation and scroll spy<br/>[script.js]"]
end

subgraph group_contact["Contact and resume"]
  node_email_actions["Email and copy actions<br/>[script.js]"]
  node_resume["Resume PDF"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_portfolio
node_portfolio -->|"uses styling"| node_visual_design
node_portfolio -->|"enables interactions"| node_interaction_setup
node_interaction_setup -->|"initializes"| node_project_filter
node_interaction_setup -->|"initializes"| node_developer_console
node_interaction_setup -->|"initializes"| node_email_actions
node_interaction_setup -->|"initializes"| node_navigation
node_visitor -->|"filters projects"| node_project_filter
node_visitor -->|"runs commands"| node_developer_console
node_visitor -->|"navigates sections"| node_navigation
node_visitor -->|"uses contact actions"| node_email_actions
node_developer_console -->|"opens PDF"| node_resume
node_visitor -->|"downloads resume"| node_resume

click node_portfolio "https://github.com/gaurish676/portfolio/blob/main/index.html"
click node_visual_design "https://github.com/gaurish676/portfolio/blob/main/styles.css"
click node_interaction_setup "https://github.com/gaurish676/portfolio/blob/main/script.js"
click node_project_filter "https://github.com/gaurish676/portfolio/blob/main/script.js"
click node_developer_console "https://github.com/gaurish676/portfolio/blob/main/script.js"
click node_navigation "https://github.com/gaurish676/portfolio/blob/main/script.js"
click node_email_actions "https://github.com/gaurish676/portfolio/blob/main/script.js"
click node_resume "https://github.com/gaurish676/portfolio/blob/main/Gaurish_Bangera_NNM23CS078.pdf"

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_portfolio,node_visual_design toneBlue
class node_interaction_setup,node_project_filter,node_developer_console,node_navigation toneAmber
class node_email_actions,node_resume toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Portfolio page](https://github.com/gaurish676/portfolio/blob/main/index.html): `index.html`
- [Responsive styling](https://github.com/gaurish676/portfolio/blob/main/styles.css): `styles.css`

### Visitor interactions

- [Interaction setup](https://github.com/gaurish676/portfolio/blob/main/script.js): `script.js`
- [Project filtering](https://github.com/gaurish676/portfolio/blob/main/script.js): `script.js`
- [Developer console](https://github.com/gaurish676/portfolio/blob/main/script.js): `script.js`
- [Navigation and scroll spy](https://github.com/gaurish676/portfolio/blob/main/script.js): `script.js`

### Contact and resume

- [Email and copy actions](https://github.com/gaurish676/portfolio/blob/main/script.js): `script.js`
- [Resume PDF](https://github.com/gaurish676/portfolio/blob/main/Gaurish_Bangera_NNM23CS078.pdf): `Gaurish_Bangera_NNM23CS078.pdf`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: browses (evidence: `README.md`)
- Portfolio page → Responsive styling: uses styling (evidence: `README.md`)
- Portfolio page → Interaction setup: enables interactions (evidence: `README.md`)
- Interaction setup → Project filtering: initializes (evidence: `script.js`)
- Interaction setup → Developer console: initializes (evidence: `script.js`)
- Interaction setup → Email and copy actions: initializes (evidence: `script.js`)
- Interaction setup → Navigation and scroll spy: initializes (evidence: `script.js`)
- Visitor → Project filtering: filters projects (evidence: `README.md`)
- Visitor → Developer console: runs commands (evidence: `README.md`)
- Visitor → Navigation and scroll spy: navigates sections (evidence: `README.md`)
- Visitor → Email and copy actions: uses contact actions (evidence: `README.md`)
- Developer console → Resume PDF: opens PDF (evidence: `script.js`)
- Visitor → Resume PDF: downloads resume (evidence: `README.md`)
