# guru173/guru_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/guru173/guru_portfolio
- Repository: https://github.com/guru173/guru_portfolio

## Overview

This is a static personal portfolio. Visitors browse its page and can use the navigation and theme controls; the JavaScript handles those interactions and saves the theme preference in browser storage. The page also presents the documented Skills and project sections. Only script.js was sampled, so links between the page and stylesheet are not asserted beyond the README’s description of the site as HTML, CSS, and JavaScript.

Main entry points: [`script.js`](https://github.com/guru173/guru_portfolio/blob/main/script.js) (Navigation and theme controls), [`index.html`](https://github.com/guru173/guru_portfolio/blob/main/index.html) (Portfolio page, skills and projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio content"]
  node_page["Portfolio page, skills and projects<br/>[index.html]"]
end

subgraph group_presentation["Page presentation"]
  node_styles["Responsive styles<br/>[style.css]"]
end

subgraph group_interaction["Browser interactions"]
  node_behavior["Navigation and theme controls<br/>[script.js]"]
  node_storage[("Theme preference storage")]
end

node_visitor(("Visitor"))

node_visitor -->|"uses controls"| node_behavior
node_behavior -->|"reads and writes"| node_storage
node_behavior -->|"updates DOM"| node_page

click node_page "https://github.com/guru173/guru_portfolio/blob/main/index.html"
click node_styles "https://github.com/guru173/guru_portfolio/blob/main/style.css"
click node_behavior "https://github.com/guru173/guru_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_page toneBlue
class node_styles toneAmber
class node_behavior,node_storage toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio content

- [Portfolio page, skills and projects](https://github.com/guru173/guru_portfolio/blob/main/index.html): `index.html`

### Page presentation

- [Responsive styles](https://github.com/guru173/guru_portfolio/blob/main/style.css): `style.css`

### Browser interactions

- [Navigation and theme controls](https://github.com/guru173/guru_portfolio/blob/main/script.js): `script.js`
- **Theme preference storage**

### Other components

- **Visitor**

## Connections

- Visitor → Navigation and theme controls: uses controls (evidence: `script.js`)
- Navigation and theme controls → Theme preference storage: reads and writes (evidence: `script.js`)
- Navigation and theme controls → Portfolio page, skills and projects: updates DOM (evidence: `script.js`)
