# tobias-agustin-pardal/proyecto-final architecture

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

- Interactive diagram: https://gitdiagram.com/tobias-agustin-pardal/proyecto-final
- Repository: https://github.com/tobias-agustin-pardal/proyecto-final

## Overview

This is a small Spanish-language website with entry, login, reservations, services, and movements pages. The only sampled runtime behavior listens for scrolling and toggles a compact class on the left navigation elements after the page passes a scroll threshold. The README does not describe the pages’ workflows, and their contents were not sampled, so their relationships and styling are not inferred.

Main entry points: [`js/main.js`](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/js/main.js) (Scroll handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Website pages"]
  node_home["Home page<br/>[index.html]"]
  node_login["Login page<br/>[login.html]"]
  node_reservations["Reservations page<br/>[reservas.html]"]
  node_services["Services page<br/>[servicios.html]"]
  node_movements["Movements page<br/>[movimientos.html]"]
end

subgraph group_behavior["Page behavior"]
  node_scroll["Scroll handler<br/>[main.js]"]
  node_navcompact["Compact navigation<br/>[main.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"scrolls page"| node_scroll
node_scroll -->|"toggles classes"| node_navcompact

click node_home "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/index.html"
click node_login "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/login.html"
click node_reservations "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/reservas.html"
click node_services "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/servicios.html"
click node_movements "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/movimientos.html"
click node_scroll "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/js/main.js"
click node_navcompact "https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/js/main.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_login,node_reservations,node_services,node_movements toneBlue
class node_scroll,node_navcompact toneAmber
class node_visitor toneIndigo
```

## Components

### Website pages

- [Home page](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/index.html): `index.html`
- [Login page](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/login.html): `html/login.html`
- [Reservations page](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/reservas.html): `html/reservas.html`
- [Services page](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/servicios.html): `html/servicios.html`
- [Movements page](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/html/movimientos.html): `html/movimientos.html`

### Page behavior

- [Scroll handler](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/js/main.js): `js/main.js`
- [Compact navigation](https://github.com/tobias-agustin-pardal/proyecto-final/blob/main/js/main.js): `js/main.js`

### Other components

- **Visitor**

## Connections

- Visitor → Scroll handler: scrolls page (evidence: `js/main.js`)
- Scroll handler → Compact navigation: toggles classes (evidence: `js/main.js`)
