# santhosh0110/portfolio architecture

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

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

## Overview

This is a static developer portfolio: visitors browse the profile and project showcase, explore interactive details, and can download a résumé. The main runtime layers are the HTML document, styling, and JavaScript interactions. Documented capabilities also include theme persistence, a 3D canvas, skill tabs, and SEO metadata. The source excerpts do not show the full page markup or all event wiring, so links between those areas rely on README statements; no contact-service destination is inferred.

Main entry points: [`index.html`](https://github.com/santhosh0110/portfolio/blob/main/index.html) (Portfolio content), [`js/main.js`](https://github.com/santhosh0110/portfolio/blob/main/js/main.js) (Theme manager), [`css/style.css`](https://github.com/santhosh0110/portfolio/blob/main/css/style.css) (Responsive styling), [`Santhosh Resume.pdf`](https://github.com/santhosh0110/portfolio/blob/main/Santhosh%20Resume.pdf) (Résumé download)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio page"]
  node_document["Portfolio content<br/>[index.html]"]
  node_styles["Responsive styling<br/>[style.css]"]
  node_seo["SEO metadata<br/>[index.html]"]
end

subgraph group_interaction["Interactive features"]
  node_theme["Theme manager<br/>[main.js]"]
  node_theme_state[("Theme preference")]
  node_canvas["3D architecture canvas<br/>[main.js]"]
  node_navigation["Navigation and scroll<br/>[main.js]"]
  node_typing["Role typing effect<br/>[main.js]"]
  node_skills["Skill tabs<br/>[main.js]"]
  node_projects["Project details modal<br/>[main.js]"]
end

subgraph group_assets["Portfolio assets"]
  node_resume["Résumé download"]
  node_images["Profile imagery"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_document
node_document -->|"uses styling"| node_styles
node_visitor -->|"toggles theme"| node_theme
node_theme -->|"persists preference"| node_theme_state
node_visitor -->|"moves pointer"| node_canvas
node_visitor -->|"scrolls page"| node_navigation
node_visitor -->|"views role text"| node_typing
node_visitor -->|"selects skills"| node_skills
node_visitor -->|"opens details"| node_projects
node_visitor -->|"downloads"| node_resume
node_document -->|"shows imagery"| node_images
node_visitor -->|"shares page"| node_seo

click node_document "https://github.com/santhosh0110/portfolio/blob/main/index.html"
click node_styles "https://github.com/santhosh0110/portfolio/blob/main/css/style.css"
click node_resume "https://github.com/santhosh0110/portfolio/blob/main/Santhosh%20Resume.pdf"
click node_images "https://github.com/santhosh0110/portfolio/tree/main/img"
click node_theme "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_canvas "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_navigation "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_typing "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_skills "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_projects "https://github.com/santhosh0110/portfolio/blob/main/js/main.js"
click node_seo "https://github.com/santhosh0110/portfolio/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_document,node_styles,node_seo toneBlue
class node_theme,node_theme_state,node_canvas,node_navigation,node_typing,node_skills,node_projects toneAmber
class node_resume,node_images toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio page

- [Portfolio content](https://github.com/santhosh0110/portfolio/blob/main/index.html): `index.html`
- [Responsive styling](https://github.com/santhosh0110/portfolio/blob/main/css/style.css): `css/style.css`
- [SEO metadata](https://github.com/santhosh0110/portfolio/blob/main/index.html): `index.html`

### Interactive features

- [Theme manager](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`
- **Theme preference**
- [3D architecture canvas](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`
- [Navigation and scroll](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`
- [Role typing effect](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`
- [Skill tabs](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`
- [Project details modal](https://github.com/santhosh0110/portfolio/blob/main/js/main.js): `js/main.js`

### Portfolio assets

- [Résumé download](https://github.com/santhosh0110/portfolio/blob/main/Santhosh%20Resume.pdf): `Santhosh Resume.pdf`
- [Profile imagery](https://github.com/santhosh0110/portfolio/tree/main/img): `img`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio content: browses (evidence: `README.md`)
- Portfolio content → Responsive styling: uses styling (evidence: `README.md`)
- Visitor → Theme manager: toggles theme (evidence: `README.md`)
- Theme manager → Theme preference: persists preference (evidence: `js/main.js`)
- Visitor → 3D architecture canvas: moves pointer (evidence: `js/main.js`)
- Visitor → Navigation and scroll: scrolls page (evidence: `js/main.js`)
- Visitor → Role typing effect: views role text (evidence: `README.md`)
- Visitor → Skill tabs: selects skills (evidence: `README.md`)
- Visitor → Project details modal: opens details (evidence: `README.md`)
- Visitor → Résumé download: downloads (evidence: `README.md`)
- Portfolio content → Profile imagery: shows imagery (evidence: `README.md`)
- Visitor → SEO metadata: shares page (evidence: `README.md`)
