# nicnic27/personal-portfolio architecture

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

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

## Overview

This tree contains a Bootstrap 5.3.3 browser distribution alongside a small, otherwise undocumented web page and a CV PDF. The likely visitor workflow is viewing the page and optionally opening the CV, but the HTML and page scripts were not sampled, so their wiring cannot be established. The graph therefore focuses on Bootstrap’s JavaScript interaction capabilities and shared base behavior; the three distribution files are separate entry formats, not sequential stages.

Main entry points: [`js/bootstrap.js`](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js) (Component base), [`js/bootstrap.esm.js`](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js) (Offcanvas)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["JavaScript runtime"]
  node_umd["UMD distribution<br/>[bootstrap.js]"]
  node_bundle["Bundled distribution"]
  node_esm["ES module distribution<br/>[bootstrap.esm.js]"]
  node_base["Component base<br/>[bootstrap.js]"]
end

subgraph group_interaction["Page interactions"]
  node_carousel["Carousel and swipe<br/>[bootstrap.js]"]
  node_collapse["Collapse<br/>[bootstrap.js]"]
  node_dropdown["Dropdown<br/>[bootstrap.js]"]
  node_scrollspy["Scroll spy<br/>[bootstrap.js]"]
  node_tabs["Tabs<br/>[bootstrap.js]"]
  node_toast["Toast<br/>[bootstrap.js]"]
end

subgraph group_overlays["Overlays and positioning"]
  node_modal["Modal<br/>[bootstrap.js]"]
  node_offcanvas["Offcanvas<br/>[bootstrap.esm.js]"]
  node_tooltip["Tooltip<br/>[bootstrap.js]"]
  node_template["Template factory<br/>[bootstrap.js]"]
  node_backdrop["Backdrop<br/>[bootstrap.js]"]
  node_focus["Focus trap<br/>[bootstrap.esm.js]"]
  node_scrollbar["Scrollbar helper<br/>[bootstrap.js]"]
end

node_visitor(("Page visitor"))
node_page["Web page<br/>[index.html]"]
node_cv["CV document<br/>[cv.pdf]"]
node_styles["Bootstrap styles<br/>[bootstrap.css]"]
node_popper["Popper library"]

node_carousel -->|"extends"| node_base
node_collapse -->|"extends"| node_base
node_dropdown -->|"extends"| node_base
node_scrollspy -->|"extends"| node_base
node_tabs -->|"extends"| node_base
node_toast -->|"extends"| node_base
node_modal -->|"extends"| node_base
node_offcanvas -->|"extends"| node_base
node_tooltip -->|"extends"| node_base
node_modal -->|"creates"| node_backdrop
node_modal -->|"creates"| node_focus
node_modal -->|"creates"| node_scrollbar
node_offcanvas -->|"creates"| node_backdrop
node_offcanvas -->|"creates"| node_focus
node_tooltip -->|"uses"| node_template
node_umd -->|"imports"| node_popper

click node_page "https://github.com/nicnic27/personal-portfolio/blob/main/index.html"
click node_cv "https://github.com/nicnic27/personal-portfolio/blob/main/images/cv.pdf"
click node_styles "https://github.com/nicnic27/personal-portfolio/blob/main/css/bootstrap.css"
click node_umd "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_bundle "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.bundle.js"
click node_esm "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js"
click node_base "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_carousel "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_collapse "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_dropdown "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_scrollspy "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_tabs "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_toast "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_modal "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_offcanvas "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js"
click node_tooltip "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_template "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_backdrop "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js"
click node_focus "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js"
click node_scrollbar "https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.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_umd,node_bundle,node_esm,node_base toneBlue
class node_carousel,node_collapse,node_dropdown,node_scrollspy,node_tabs,node_toast toneAmber
class node_modal,node_offcanvas,node_tooltip,node_template,node_backdrop,node_focus,node_scrollbar toneMint
class node_visitor,node_popper toneIndigo
class node_page,node_cv,node_styles toneTeal
```

## Components

### JavaScript runtime

- [UMD distribution](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Bundled distribution](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.bundle.js): `js/bootstrap.bundle.js`
- [ES module distribution](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js): `js/bootstrap.esm.js`
- [Component base](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`

### Page interactions

- [Carousel and swipe](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Collapse](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Dropdown](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Scroll spy](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Tabs](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Toast](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`

### Overlays and positioning

- [Modal](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Offcanvas](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js): `js/bootstrap.esm.js`
- [Tooltip](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Template factory](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Backdrop](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`
- [Focus trap](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.esm.js): `js/bootstrap.esm.js`
- [Scrollbar helper](https://github.com/nicnic27/personal-portfolio/blob/main/js/bootstrap.js): `js/bootstrap.js`

### Other components

- **Page visitor**
- [Web page](https://github.com/nicnic27/personal-portfolio/blob/main/index.html): `index.html`
- [CV document](https://github.com/nicnic27/personal-portfolio/blob/main/images/cv.pdf): `images/cv.pdf`
- [Bootstrap styles](https://github.com/nicnic27/personal-portfolio/blob/main/css/bootstrap.css): `css/bootstrap.css`
- **Popper library**

## Connections

- Carousel and swipe → Component base: extends (evidence: `js/bootstrap.js`)
- Collapse → Component base: extends (evidence: `js/bootstrap.js`)
- Dropdown → Component base: extends (evidence: `js/bootstrap.js`)
- Scroll spy → Component base: extends (evidence: `js/bootstrap.js`)
- Tabs → Component base: extends (evidence: `js/bootstrap.js`)
- Toast → Component base: extends (evidence: `js/bootstrap.js`)
- Modal → Component base: extends (evidence: `js/bootstrap.js`)
- Offcanvas → Component base: extends (evidence: `js/bootstrap.esm.js`)
- Tooltip → Component base: extends (evidence: `js/bootstrap.js`)
- Modal → Backdrop: creates (evidence: `js/bootstrap.js`)
- Modal → Focus trap: creates (evidence: `js/bootstrap.esm.js`)
- Modal → Scrollbar helper: creates (evidence: `js/bootstrap.js`)
- Offcanvas → Backdrop: creates (evidence: `js/bootstrap.esm.js`)
- Offcanvas → Focus trap: creates (evidence: `js/bootstrap.esm.js`)
- Tooltip → Template factory: uses (evidence: `js/bootstrap.js`)
- UMD distribution → Popper library: imports (evidence: `js/bootstrap.js`)
