# crist38/paginaprowin architecture

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

- Interactive diagram: https://gitdiagram.com/crist38/paginaprowin
- Repository: https://github.com/crist38/paginaprowin

## Overview

Prowindows is a static product-and-services website for a Coquimbo window and glazing business. Visitors browse the home page and product pages for aluminum windows, PVC, thermopanel and terrace enclosures; the home page also presents filtered project work, enlarged photos and videos. The project gallery is the clearest runtime flow: script.js filters the OBRAS catalog, renders thumbnail cards and opens full-size images in a lightbox. The README documents the page capabilities; page markup was not sampled, so relationships beyond the JavaScript flow are not asserted.

Main entry points: [`index.html`](https://github.com/crist38/paginaprowin/blob/main/index.html) (Home page), [`script.js`](https://github.com/crist38/paginaprowin/blob/main/script.js) (Works carousel), [`obras`](https://github.com/crist38/paginaprowin/tree/main/obras) (Project photos and videos), [`ventanas-aluminio.html`](https://github.com/crist38/paginaprowin/blob/main/ventanas-aluminio.html) (Aluminum windows)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Product pages"]
  node_home["Home page<br/>[index.html]"]
  node_aluminum["Aluminum windows"]
  node_pvc["PVC windows<br/>[pvc.html]"]
  node_thermopanel["Thermopanel<br/>[termopanel.html]"]
  node_terrace["Terrace enclosures"]
end

subgraph group_gallery["Project gallery"]
  node_gallery_ui["Works carousel<br/>[script.js]"]
  node_works_catalog[("Works catalog<br/>[obras-data.js]")]
  node_project_media["Project photos and videos"]
end

subgraph group_interaction["Site interactions"]
  node_menu["Navigation menu<br/>[script.js]"]
  node_scroll_state["Scroll navigation state<br/>[script.js]"]
  node_lightbox["Photo lightbox<br/>[script.js]"]
  node_video_controls["Video playback<br/>[script.js]"]
  node_styles["Site styling<br/>[style.css]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_aluminum
node_visitor -->|"browses"| node_pvc
node_visitor -->|"browses"| node_thermopanel
node_visitor -->|"browses"| node_terrace
node_home -->|"hosts"| node_gallery_ui
node_gallery_ui -->|"filters and renders"| node_works_catalog
node_gallery_ui -->|"loads thumbnails"| node_project_media
node_gallery_ui -->|"opens full-size"| node_project_media
node_home -->|"hosts videos"| node_video_controls
node_menu -.->|"navigates"| node_home
node_scroll_state -->|"updates active sections"| node_home
node_lightbox -->|"shows selected work"| node_gallery_ui
node_video_controls -->|"pauses other players"| node_video_controls
node_home -.->|"styled by"| node_styles

click node_home "https://github.com/crist38/paginaprowin/blob/main/index.html"
click node_aluminum "https://github.com/crist38/paginaprowin/blob/main/ventanas-aluminio.html"
click node_pvc "https://github.com/crist38/paginaprowin/blob/main/pvc.html"
click node_thermopanel "https://github.com/crist38/paginaprowin/blob/main/termopanel.html"
click node_terrace "https://github.com/crist38/paginaprowin/blob/main/cierre-terrazas.html"
click node_gallery_ui "https://github.com/crist38/paginaprowin/blob/main/script.js"
click node_works_catalog "https://github.com/crist38/paginaprowin/blob/main/obras-data.js"
click node_project_media "https://github.com/crist38/paginaprowin/tree/main/obras"
click node_menu "https://github.com/crist38/paginaprowin/blob/main/script.js"
click node_scroll_state "https://github.com/crist38/paginaprowin/blob/main/script.js"
click node_lightbox "https://github.com/crist38/paginaprowin/blob/main/script.js"
click node_video_controls "https://github.com/crist38/paginaprowin/blob/main/script.js"
click node_styles "https://github.com/crist38/paginaprowin/blob/main/style.css"

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_aluminum,node_pvc,node_thermopanel,node_terrace toneBlue
class node_gallery_ui,node_works_catalog,node_project_media toneAmber
class node_menu,node_scroll_state,node_lightbox,node_video_controls,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Product pages

- [Home page](https://github.com/crist38/paginaprowin/blob/main/index.html): `index.html`
- [Aluminum windows](https://github.com/crist38/paginaprowin/blob/main/ventanas-aluminio.html): `ventanas-aluminio.html`
- [PVC windows](https://github.com/crist38/paginaprowin/blob/main/pvc.html): `pvc.html`
- [Thermopanel](https://github.com/crist38/paginaprowin/blob/main/termopanel.html): `termopanel.html`
- [Terrace enclosures](https://github.com/crist38/paginaprowin/blob/main/cierre-terrazas.html): `cierre-terrazas.html`

### Project gallery

- [Works carousel](https://github.com/crist38/paginaprowin/blob/main/script.js): `script.js`
- [Works catalog](https://github.com/crist38/paginaprowin/blob/main/obras-data.js): `obras-data.js`
- [Project photos and videos](https://github.com/crist38/paginaprowin/tree/main/obras): `obras`

### Site interactions

- [Navigation menu](https://github.com/crist38/paginaprowin/blob/main/script.js): `script.js`
- [Scroll navigation state](https://github.com/crist38/paginaprowin/blob/main/script.js): `script.js`
- [Photo lightbox](https://github.com/crist38/paginaprowin/blob/main/script.js): `script.js`
- [Video playback](https://github.com/crist38/paginaprowin/blob/main/script.js): `script.js`
- [Site styling](https://github.com/crist38/paginaprowin/blob/main/style.css): `style.css`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: browses (evidence: `README.md`)
- Site visitor → Aluminum windows: browses (evidence: `README.md`)
- Site visitor → PVC windows: browses (evidence: `README.md`)
- Site visitor → Thermopanel: browses (evidence: `README.md`)
- Site visitor → Terrace enclosures: browses (evidence: `README.md`)
- Home page → Works carousel: hosts (evidence: `README.md`)
- Works carousel → Works catalog: filters and renders (evidence: `script.js`)
- Works carousel → Project photos and videos: loads thumbnails (evidence: `script.js`)
- Works carousel → Project photos and videos: opens full-size (evidence: `script.js`)
- Home page → Video playback: hosts videos (evidence: `README.md`)
- Navigation menu → Home page: navigates
- Scroll navigation state → Home page: updates active sections (evidence: `script.js`)
- Photo lightbox → Works carousel: shows selected work (evidence: `script.js`)
- Video playback → Video playback: pauses other players (evidence: `script.js`)
- Home page → Site styling: styled by
