# jayanth-bp/portfolio architecture

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

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

## Overview

This is a small browser-based portfolio site: visitors view its page and can interact with theme, cursor, and mobile-warning behaviors. The sampled JavaScript reads and writes browser storage for the theme setting and updates page elements in response to browser events. The HTML, CSS, and asset contents were not provided, so their specific roles and connections cannot be verified.

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

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Site visitor"))
node_page["Portfolio page<br/>[index.html]"]
node_behavior["Page interactions<br/>[script.js]"]
node_theme_storage[("Browser storage")]
node_styles["Page styles<br/>[style.css]"]
node_icons["Icon assets"]
node_pictures["Picture assets"]

node_visitor -->|"triggers events"| node_behavior
node_behavior -->|"updates elements"| node_page
node_behavior -->|"reads and writes"| node_theme_storage

click node_page "https://github.com/jayanth-bp/portfolio/blob/main/index.html"
click node_behavior "https://github.com/jayanth-bp/portfolio/blob/main/script.js"
click node_styles "https://github.com/jayanth-bp/portfolio/blob/main/style.css"
click node_icons "https://github.com/jayanth-bp/portfolio/tree/main/ICONS"
click node_pictures "https://github.com/jayanth-bp/portfolio/tree/main/PICTURES"

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_page,node_behavior,node_styles,node_icons,node_pictures toneTeal
class node_theme_storage toneAmber
```

## Components

### Other components

- **Site visitor**
- [Portfolio page](https://github.com/jayanth-bp/portfolio/blob/main/index.html): `index.html`
- [Page interactions](https://github.com/jayanth-bp/portfolio/blob/main/script.js): `script.js`
- **Browser storage**
- [Page styles](https://github.com/jayanth-bp/portfolio/blob/main/style.css): `style.css`
- [Icon assets](https://github.com/jayanth-bp/portfolio/tree/main/ICONS): `ICONS`
- [Picture assets](https://github.com/jayanth-bp/portfolio/tree/main/PICTURES): `PICTURES`

## Connections

- Site visitor → Page interactions: triggers events (evidence: `script.js`)
- Page interactions → Portfolio page: updates elements (evidence: `script.js`)
- Page interactions → Browser storage: reads and writes (evidence: `script.js`)
