# emanueleragusi/emanueleragusi.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/emanueleragusi/emanueleragusi.github.io
- Repository: https://github.com/emanueleragusi/emanueleragusi.github.io

## Overview

This is a static personal portfolio: visitors read the profile and its project, education, skills, and community sections, then can request a CV. JavaScript provides theme, scroll, reveal, and contact-link behavior; separate pages provide legal and privacy information. The README documents the main capabilities and file roles, but source excerpts for the HTML and JavaScript were not provided, so relationships are limited to those documented there.

Main entry points: [`index.html`](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/index.html) (Portfolio page), [`assets/js/main.js`](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/js/main.js) (Site interactions), [`assets/css/styles.css`](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/css/styles.css) (Compiled styles), [`legal-notice.html`](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/legal-notice.html) (Legal notice)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio content"]
  node_portfolio_page["Portfolio page<br/>[index.html]"]
  node_cv_request["CV request links<br/>[index.html]"]
end

subgraph group_interactions["Interactive features"]
  node_site_script["Site interactions<br/>[main.js]"]
  node_browser_storage[("Local storage")]
end

subgraph group_resources["Policies and assets"]
  node_legal_page["Legal notice<br/>[legal-notice.html]"]
  node_privacy_page["Privacy policy<br/>[privacy.html]"]
  node_site_styles["Compiled styles<br/>[styles.css]"]
  node_source_styles["Custom styles<br/>[input.css]"]
  node_site_fonts["Self-hosted fonts"]
end

node_visitor(("Visitor"))
node_email(("Email client"))
node_whatsapp(("WhatsApp"))

node_visitor -->|"views"| node_portfolio_page
node_visitor -->|"views"| node_legal_page
node_visitor -->|"views"| node_privacy_page
node_portfolio_page -->|"uses interactions"| node_site_script
node_site_script -->|"remembers theme"| node_browser_storage
node_portfolio_page -->|"uses styles"| node_site_styles
node_portfolio_page -->|"uses fonts"| node_site_fonts
node_site_styles -->|"compiled from"| node_source_styles
node_visitor -->|"requests CV"| node_cv_request
node_cv_request -->|"opens prefilled email"| node_email
node_cv_request -->|"opens prefilled message"| node_whatsapp

click node_portfolio_page "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/index.html"
click node_cv_request "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/index.html"
click node_legal_page "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/legal-notice.html"
click node_privacy_page "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/privacy.html"
click node_site_script "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/js/main.js"
click node_site_styles "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/css/styles.css"
click node_source_styles "https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/src/input.css"
click node_site_fonts "https://github.com/emanueleragusi/emanueleragusi.github.io/tree/main/assets/fonts"

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_portfolio_page,node_cv_request,node_email toneBlue
class node_site_script,node_browser_storage toneAmber
class node_legal_page,node_privacy_page,node_site_styles,node_source_styles,node_site_fonts toneMint
class node_visitor,node_whatsapp toneIndigo
```

## Components

### Portfolio content

- [Portfolio page](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/index.html): `index.html`
- [CV request links](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/index.html): `index.html`

### Interactive features

- [Site interactions](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/js/main.js): `assets/js/main.js`
- **Local storage**

### Policies and assets

- [Legal notice](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/legal-notice.html): `legal-notice.html`
- [Privacy policy](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/privacy.html): `privacy.html`
- [Compiled styles](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/assets/css/styles.css): `assets/css/styles.css`
- [Custom styles](https://github.com/emanueleragusi/emanueleragusi.github.io/blob/main/src/input.css): `src/input.css`
- [Self-hosted fonts](https://github.com/emanueleragusi/emanueleragusi.github.io/tree/main/assets/fonts): `assets/fonts`

### Other components

- **Visitor**
- **Email client**
- **WhatsApp**

## Connections

- Visitor → Portfolio page: views (evidence: `README.md`)
- Visitor → Legal notice: views (evidence: `README.md`)
- Visitor → Privacy policy: views (evidence: `README.md`)
- Portfolio page → Site interactions: uses interactions (evidence: `README.md`)
- Site interactions → Local storage: remembers theme (evidence: `README.md`)
- Portfolio page → Compiled styles: uses styles (evidence: `README.md`)
- Portfolio page → Self-hosted fonts: uses fonts (evidence: `README.md`)
- Compiled styles → Custom styles: compiled from (evidence: `README.md`)
- Visitor → CV request links: requests CV (evidence: `README.md`)
- CV request links → Email client: opens prefilled email (evidence: `README.md`)
- CV request links → WhatsApp: opens prefilled message (evidence: `README.md`)
