# itsdhanushg02/dpportfolio architecture

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

## Overview

This repository is a small automation-engineer portfolio website. Its visible runtime behavior is client-side interaction: browser events drive navigation helpers, animated text and elements, and cursor effects. The README gives no feature details, and the HTML, CSS, and audio contents were not sampled, so the graph focuses on the behavior evidenced in script.js rather than assuming how the page is assembled or what the audio is used for.

Main entry points: [`script.js`](https://github.com/itsdhanushg02/dpportfolio/blob/main/script.js) (Page interactions), [`index.html`](https://github.com/itsdhanushg02/dpportfolio/blob/main/index.html) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Visitor"))
node_browser["Browser"]
node_interactions["Page interactions<br/>[script.js]"]
node_portfolio["Portfolio page<br/>[index.html]"]

node_browser -->|"dispatches events"| node_interactions
node_interactions -->|"updates DOM"| node_browser
node_visitor -.->|"uses"| node_browser
node_browser -.->|"displays"| node_portfolio

click node_interactions "https://github.com/itsdhanushg02/dpportfolio/blob/main/script.js"
click node_portfolio "https://github.com/itsdhanushg02/dpportfolio/blob/main/index.html"

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_visitor toneIndigo
class node_browser toneBlue
class node_interactions,node_portfolio toneTeal
```

## Components

### Other components

- **Visitor**
- **Browser**
- [Page interactions](https://github.com/itsdhanushg02/dpportfolio/blob/main/script.js): `script.js`
- [Portfolio page](https://github.com/itsdhanushg02/dpportfolio/blob/main/index.html): `index.html`

## Connections

- Browser → Page interactions: dispatches events (evidence: `script.js`)
- Page interactions → Browser: updates DOM (evidence: `script.js`)
- Visitor → Browser: uses
- Browser → Portfolio page: displays
