# belugerz/portfolio architecture

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

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

## Overview

This is a browser-based personal portfolio, implemented as a single JavaScript interaction layer with HTML, CSS, and local media assets. The principal visitor workflow is to load the home page, navigate or scroll to portfolio sections, open panels such as Skills, and explore project imagery and animated content. The source excerpt supports the interactions shown; the empty README and absent HTML/CSS excerpts limit confirmation of content structure and asset wiring.

Main entry points: [`src/app.js`](https://github.com/belugerz/portfolio/blob/main/src/app.js) (Interaction controller), [`index.html`](https://github.com/belugerz/portfolio/blob/main/index.html) (Portfolio page), [`src/style.css`](https://github.com/belugerz/portfolio/blob/main/src/style.css) (Page styling), [`assets/background1.mp4`](https://github.com/belugerz/portfolio/blob/main/assets/background1.mp4) (Hero video)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_page["Portfolio page<br/>[index.html]"]
  node_styles["Page styling<br/>[style.css]"]
end

subgraph group_interaction["Visitor interactions"]
  node_app["Interaction controller<br/>[app.js]"]
  node_panels["Navigation panels<br/>[app.js]"]
  node_skills["Skills scroller<br/>[app.js]"]
  node_projects["Project galleries<br/>[app.js]"]
  node_reveal["Reveal animations<br/>[app.js]"]
end

subgraph group_media["Local media"]
  node_hero["Hero video<br/>[background1.mp4]"]
  node_backgrounds["Background video<br/>[backgrounds.mp4]"]
  node_projectimages["Project images"]
  node_profileimage["Profile image"]
  node_font["Display font<br/>[FOT.otf]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_page
node_page -->|"loads"| node_app
node_page -.->|"uses"| node_styles
node_app -.->|"plays"| node_hero
node_app -.->|"plays"| node_backgrounds
node_visitor -->|"interacts"| node_app
node_app -->|"opens"| node_panels
node_app -->|"updates"| node_skills
node_app -->|"initializes"| node_projects
node_app -->|"observes"| node_reveal
node_projects -.->|"repositions"| node_projectimages
node_page -.->|"displays"| node_profileimage
node_styles -.->|"uses"| node_font

click node_page "https://github.com/belugerz/portfolio/blob/main/index.html"
click node_styles "https://github.com/belugerz/portfolio/blob/main/src/style.css"
click node_app "https://github.com/belugerz/portfolio/blob/main/src/app.js"
click node_panels "https://github.com/belugerz/portfolio/blob/main/src/app.js"
click node_skills "https://github.com/belugerz/portfolio/blob/main/src/app.js"
click node_projects "https://github.com/belugerz/portfolio/blob/main/src/app.js"
click node_reveal "https://github.com/belugerz/portfolio/blob/main/src/app.js"
click node_hero "https://github.com/belugerz/portfolio/blob/main/assets/background1.mp4"
click node_backgrounds "https://github.com/belugerz/portfolio/blob/main/assets/backgrounds.mp4"
click node_projectimages "https://github.com/belugerz/portfolio/tree/main/assets/pjct-2"
click node_profileimage "https://github.com/belugerz/portfolio/tree/main/assets/aboutme"
click node_font "https://github.com/belugerz/portfolio/blob/main/fonts/FOT.otf"

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,node_styles toneBlue
class node_app,node_panels,node_skills,node_projects,node_reveal toneAmber
class node_hero,node_backgrounds,node_projectimages,node_profileimage,node_font toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Portfolio page](https://github.com/belugerz/portfolio/blob/main/index.html): `index.html`
- [Page styling](https://github.com/belugerz/portfolio/blob/main/src/style.css): `src/style.css`

### Visitor interactions

- [Interaction controller](https://github.com/belugerz/portfolio/blob/main/src/app.js): `src/app.js`
- [Navigation panels](https://github.com/belugerz/portfolio/blob/main/src/app.js): `src/app.js`
- [Skills scroller](https://github.com/belugerz/portfolio/blob/main/src/app.js): `src/app.js`
- [Project galleries](https://github.com/belugerz/portfolio/blob/main/src/app.js): `src/app.js`
- [Reveal animations](https://github.com/belugerz/portfolio/blob/main/src/app.js): `src/app.js`

### Local media

- [Hero video](https://github.com/belugerz/portfolio/blob/main/assets/background1.mp4): `assets/background1.mp4`
- [Background video](https://github.com/belugerz/portfolio/blob/main/assets/backgrounds.mp4): `assets/backgrounds.mp4`
- [Project images](https://github.com/belugerz/portfolio/tree/main/assets/pjct-2): `assets/pjct-2`
- [Profile image](https://github.com/belugerz/portfolio/tree/main/assets/aboutme): `assets/aboutme`
- [Display font](https://github.com/belugerz/portfolio/blob/main/fonts/FOT.otf): `fonts/FOT.otf`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: visits
- Portfolio page → Interaction controller: loads (evidence: `src/app.js`)
- Portfolio page → Page styling: uses
- Interaction controller → Hero video: plays
- Interaction controller → Background video: plays
- Visitor → Interaction controller: interacts (evidence: `src/app.js`)
- Interaction controller → Navigation panels: opens (evidence: `src/app.js`)
- Interaction controller → Skills scroller: updates (evidence: `src/app.js`)
- Interaction controller → Project galleries: initializes (evidence: `src/app.js`)
- Interaction controller → Reveal animations: observes (evidence: `src/app.js`)
- Project galleries → Project images: repositions
- Portfolio page → Profile image: displays
- Page styling → Display font: uses
