# 03aey/niccolo-miranda-clone architecture

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

- Interactive diagram: https://gitdiagram.com/03aey/niccolo-miranda-clone
- Repository: https://github.com/03aey/niccolo-miranda-clone

## Overview

This repository is a static clone of the Niccolo Miranda website. A visitor opens the page in a browser; the site presents the replicated design, adds smooth scrolling and a GSAP page animation, and displays a width warning on smaller screens. The README documents the design, animation, and scrolling capabilities; the JavaScript excerpt confirms the scrolling, animation, and warning behavior. HTML, CSS, and asset wiring was not shown, so those connections are omitted.

Main entry points: [`js/script.js`](https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js) (Smooth scrolling), [`index.html`](https://github.com/03aey/niccolo-miranda-clone/blob/main/index.html) (Website page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website"]
  node_page["Website page<br/>[index.html]"]
  node_styles["Page styling<br/>[style.css]"]
  node_images["Image assets"]
  node_fonts["Font assets"]
end

subgraph group_interaction["Interaction"]
  node_scroll["Smooth scrolling<br/>[script.js]"]
  node_animation["Page animation<br/>[script.js]"]
  node_width_warning["Width warning<br/>[script.js]"]
end

subgraph group_integrations["Libraries"]
  node_locomotive["Locomotive Scroll"]
  node_gsap["GSAP"]
end

node_visitor(("Visitor"))
node_browser["Browser"]

node_visitor -->|"opens site"| node_browser
node_browser -->|"loads"| node_page
node_scroll -->|"initializes"| node_locomotive
node_animation -->|"creates timeline"| node_gsap

click node_page "https://github.com/03aey/niccolo-miranda-clone/blob/main/index.html"
click node_styles "https://github.com/03aey/niccolo-miranda-clone/blob/main/css/style.css"
click node_images "https://github.com/03aey/niccolo-miranda-clone/tree/main/Images"
click node_fonts "https://github.com/03aey/niccolo-miranda-clone/tree/main/Font"
click node_scroll "https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js"
click node_animation "https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js"
click node_width_warning "https://github.com/03aey/niccolo-miranda-clone/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_page,node_styles,node_images,node_fonts,node_browser toneBlue
class node_scroll,node_animation,node_width_warning toneAmber
class node_locomotive,node_gsap toneMint
class node_visitor toneIndigo
```

## Components

### Website

- [Website page](https://github.com/03aey/niccolo-miranda-clone/blob/main/index.html): `index.html`
- [Page styling](https://github.com/03aey/niccolo-miranda-clone/blob/main/css/style.css): `css/style.css`
- [Image assets](https://github.com/03aey/niccolo-miranda-clone/tree/main/Images): `Images`
- [Font assets](https://github.com/03aey/niccolo-miranda-clone/tree/main/Font): `Font`

### Interaction

- [Smooth scrolling](https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js): `js/script.js`
- [Page animation](https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js): `js/script.js`
- [Width warning](https://github.com/03aey/niccolo-miranda-clone/blob/main/js/script.js): `js/script.js`

### Libraries

- **Locomotive Scroll**
- **GSAP**

### Other components

- **Visitor**
- **Browser**

## Connections

- Visitor → Browser: opens site (evidence: `README.md`)
- Browser → Website page: loads (evidence: `README.md`)
- Smooth scrolling → Locomotive Scroll: initializes (evidence: `js/script.js`)
- Page animation → GSAP: creates timeline (evidence: `js/script.js`)
