# kierjb/kjbt-vercel architecture

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

## Overview

This is a browser-based portfolio site. Visitors view its page and interact with theme and navigation controls; the script also provides scroll-linked effects and animated visual elements. The runtime behavior is concentrated in script.js, so the component nodes represent distinct responsibilities within that file. The HTML and CSS are present in the tree but were not sampled, so their structure and styling details are not mapped.

Main entry points: [`script.js`](https://github.com/kierjb/kjbt-vercel/blob/main/script.js) (Page interactions), [`index.html`](https://github.com/kierjb/kjbt-vercel/blob/main/index.html) (Portfolio site)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio page"]
  node_site["Portfolio site<br/>[index.html]"]
end

subgraph group_interaction["Visitor interactions"]
  node_runtime["Page interactions<br/>[script.js]"]
  node_theme["Theme toggle<br/>[script.js]"]
  node_navigation["Mobile navigation<br/>[script.js]"]
  node_active_nav["Active nav tracking<br/>[script.js]"]
  node_footer_year["Footer year<br/>[script.js]"]
end

subgraph group_motion["Visual effects"]
  node_signal_field["Signal field<br/>[script.js]"]
  node_parallax["Parallax motion<br/>[script.js]"]
  node_scroll_reveal["Scroll reveal<br/>[script.js]"]
  node_tech_marquee["Tech marquee<br/>[script.js]"]
  node_tech_list["Tech list reveal<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"views"| node_site
node_site -->|"runs script"| node_runtime
node_runtime -->|"handles clicks"| node_theme
node_runtime -->|"handles clicks"| node_navigation
node_runtime -->|"tracks scroll"| node_active_nav
node_runtime -->|"sets year"| node_footer_year
node_runtime -->|"draws canvas"| node_signal_field
node_runtime -->|"updates scroll"| node_parallax
node_runtime -->|"reveals sections"| node_scroll_reveal
node_runtime -->|"initializes marquee"| node_tech_marquee
node_runtime -->|"initializes list"| node_tech_list

click node_site "https://github.com/kierjb/kjbt-vercel/blob/main/index.html"
click node_runtime "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_theme "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_navigation "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_active_nav "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_footer_year "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_signal_field "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_parallax "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_scroll_reveal "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_tech_marquee "https://github.com/kierjb/kjbt-vercel/blob/main/script.js"
click node_tech_list "https://github.com/kierjb/kjbt-vercel/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_site toneBlue
class node_runtime,node_theme,node_navigation,node_active_nav,node_footer_year toneAmber
class node_signal_field,node_parallax,node_scroll_reveal,node_tech_marquee,node_tech_list toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio page

- [Portfolio site](https://github.com/kierjb/kjbt-vercel/blob/main/index.html): `index.html`

### Visitor interactions

- [Page interactions](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Theme toggle](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Mobile navigation](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Active nav tracking](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Footer year](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`

### Visual effects

- [Signal field](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Parallax motion](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Scroll reveal](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Tech marquee](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`
- [Tech list reveal](https://github.com/kierjb/kjbt-vercel/blob/main/script.js): `script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio site: views
- Portfolio site → Page interactions: runs script (evidence: `script.js`)
- Page interactions → Theme toggle: handles clicks (evidence: `script.js`)
- Page interactions → Mobile navigation: handles clicks (evidence: `script.js`)
- Page interactions → Active nav tracking: tracks scroll (evidence: `script.js`)
- Page interactions → Footer year: sets year (evidence: `script.js`)
- Page interactions → Signal field: draws canvas (evidence: `script.js`)
- Page interactions → Parallax motion: updates scroll (evidence: `script.js`)
- Page interactions → Scroll reveal: reveals sections (evidence: `script.js`)
- Page interactions → Tech marquee: initializes marquee (evidence: `script.js`)
- Page interactions → Tech list reveal: initializes list (evidence: `script.js`)
