# kshenouda/portfolio architecture

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

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

## Overview

Massively is a static, article-oriented website template. A visitor’s main experience is reading its page content, presented with a large background image and scroll effects; the repository also includes generic and element-reference pages. The tree identifies HTML, styling, and JavaScript assets, but no source excerpts show how they are wired together, so those connections are left unverified. The README explicitly attributes scroll effects to Scrollex; it does not establish which local module invokes it.

Main entry points: [`assets/js/main.js`](https://github.com/kshenouda/portfolio/blob/main/assets/js/main.js) (Page interactions), [`index.html`](https://github.com/kshenouda/portfolio/blob/main/index.html) (Article homepage), [`generic.html`](https://github.com/kshenouda/portfolio/blob/main/generic.html) (Generic page), [`elements.html`](https://github.com/kshenouda/portfolio/blob/main/elements.html) (Elements page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Article homepage<br/>[index.html]"]
  node_generic["Generic page<br/>[generic.html]"]
  node_elements["Elements page<br/>[elements.html]"]
end

subgraph group_presentation["Visual design"]
  node_styles["Compiled styles<br/>[main.css]"]
  node_nojsstyles["No-script styles<br/>[noscript.css]"]
  node_sass["Style sources"]
end

subgraph group_interaction["Interactions"]
  node_sitejs["Page interactions<br/>[main.js]"]
  node_utiljs["Interaction utilities<br/>[util.js]"]
end

node_visitor(("Visitor"))
node_scrollex["Scrollex"]

node_visitor -.->|"views"| node_home
node_visitor -.->|"views"| node_generic
node_visitor -.->|"views"| node_elements
node_sitejs -.->|"powers scroll effects"| node_scrollex

click node_home "https://github.com/kshenouda/portfolio/blob/main/index.html"
click node_generic "https://github.com/kshenouda/portfolio/blob/main/generic.html"
click node_elements "https://github.com/kshenouda/portfolio/blob/main/elements.html"
click node_styles "https://github.com/kshenouda/portfolio/blob/main/assets/css/main.css"
click node_nojsstyles "https://github.com/kshenouda/portfolio/blob/main/assets/css/noscript.css"
click node_sass "https://github.com/kshenouda/portfolio/tree/main/assets/sass"
click node_sitejs "https://github.com/kshenouda/portfolio/blob/main/assets/js/main.js"
click node_utiljs "https://github.com/kshenouda/portfolio/blob/main/assets/js/util.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_home,node_generic,node_elements toneBlue
class node_styles,node_nojsstyles,node_sass toneAmber
class node_sitejs,node_utiljs toneMint
class node_visitor,node_scrollex toneIndigo
```

## Components

### Site pages

- [Article homepage](https://github.com/kshenouda/portfolio/blob/main/index.html): `index.html`
- [Generic page](https://github.com/kshenouda/portfolio/blob/main/generic.html): `generic.html`
- [Elements page](https://github.com/kshenouda/portfolio/blob/main/elements.html): `elements.html`

### Visual design

- [Compiled styles](https://github.com/kshenouda/portfolio/blob/main/assets/css/main.css): `assets/css/main.css`
- [No-script styles](https://github.com/kshenouda/portfolio/blob/main/assets/css/noscript.css): `assets/css/noscript.css`
- [Style sources](https://github.com/kshenouda/portfolio/tree/main/assets/sass): `assets/sass`

### Interactions

- [Page interactions](https://github.com/kshenouda/portfolio/blob/main/assets/js/main.js): `assets/js/main.js`
- [Interaction utilities](https://github.com/kshenouda/portfolio/blob/main/assets/js/util.js): `assets/js/util.js`

### Other components

- **Visitor**
- **Scrollex**

## Connections

- Visitor → Article homepage: views
- Visitor → Generic page: views
- Visitor → Elements page: views
- Page interactions → Scrollex: powers scroll effects (evidence: `README.txt`)
