# mora-project-ui/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/mora-project-ui/portfolio
- Repository: https://github.com/mora-project-ui/portfolio

## Overview

This repository is a personal portfolio website, presented as a learning project. Its user-facing workflow is browsing the portfolio and its About, Projects, Technologies, and Contact pages. The sampled JavaScript implements shared page interactions: navigation-menu toggling, scroll effects, and background-music controls. The README and file tree establish the portfolio and page set, but page markup and routing were not sampled, so relationships between pages are not asserted.

Main entry points: [`js/script.js`](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js) (Scroll reveal), [`index.html`](https://github.com/mora-project-ui/portfolio/blob/main/index.html) (Home page), [`pages/projects.html`](https://github.com/mora-project-ui/portfolio/blob/main/pages/projects.html) (Projects page), [`pages/technologies.html`](https://github.com/mora-project-ui/portfolio/blob/main/pages/technologies.html) (Technologies page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio pages"]
  node_home["Home page<br/>[index.html]"]
  node_about["About page<br/>[about.html]"]
  node_projects["Projects page<br/>[projects.html]"]
  node_technologies["Technologies page<br/>[technologies.html]"]
  node_contact["Contact page<br/>[contact.html]"]
end

subgraph group_interaction["Shared interactions"]
  node_scroll_reveal["Scroll reveal<br/>[script.js]"]
  node_sticky_header["Sticky header<br/>[script.js]"]
  node_background_music["Background music<br/>[script.js]"]
  node_navigation_menu["Navigation menu<br/>[script.js]"]
  node_scroll_progress["Scroll progress<br/>[script.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_scroll_reveal -->|"reveals cards"| node_projects
node_scroll_reveal -->|"reveals items"| node_technologies
node_scroll_reveal -->|"reveals links"| node_contact

click node_home "https://github.com/mora-project-ui/portfolio/blob/main/index.html"
click node_about "https://github.com/mora-project-ui/portfolio/blob/main/pages/about.html"
click node_projects "https://github.com/mora-project-ui/portfolio/blob/main/pages/projects.html"
click node_technologies "https://github.com/mora-project-ui/portfolio/blob/main/pages/technologies.html"
click node_contact "https://github.com/mora-project-ui/portfolio/blob/main/pages/contact.html"
click node_scroll_reveal "https://github.com/mora-project-ui/portfolio/blob/main/js/script.js"
click node_sticky_header "https://github.com/mora-project-ui/portfolio/blob/main/js/script.js"
click node_background_music "https://github.com/mora-project-ui/portfolio/blob/main/js/script.js"
click node_navigation_menu "https://github.com/mora-project-ui/portfolio/blob/main/js/script.js"
click node_scroll_progress "https://github.com/mora-project-ui/portfolio/blob/main/js/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_home,node_about,node_projects,node_technologies,node_contact toneBlue
class node_scroll_reveal,node_sticky_header,node_background_music,node_navigation_menu,node_scroll_progress toneAmber
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Home page](https://github.com/mora-project-ui/portfolio/blob/main/index.html): `index.html`
- [About page](https://github.com/mora-project-ui/portfolio/blob/main/pages/about.html): `pages/about.html`
- [Projects page](https://github.com/mora-project-ui/portfolio/blob/main/pages/projects.html): `pages/projects.html`
- [Technologies page](https://github.com/mora-project-ui/portfolio/blob/main/pages/technologies.html): `pages/technologies.html`
- [Contact page](https://github.com/mora-project-ui/portfolio/blob/main/pages/contact.html): `pages/contact.html`

### Shared interactions

- [Scroll reveal](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js): `js/script.js`
- [Sticky header](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js): `js/script.js`
- [Background music](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js): `js/script.js`
- [Navigation menu](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js): `js/script.js`
- [Scroll progress](https://github.com/mora-project-ui/portfolio/blob/main/js/script.js): `js/script.js`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: browses (evidence: `README.md`)
- Scroll reveal → Projects page: reveals cards (evidence: `js/script.js`)
- Scroll reveal → Technologies page: reveals items (evidence: `js/script.js`)
- Scroll reveal → Contact page: reveals links (evidence: `js/script.js`)
