# matisinho2210/montanadept-web architecture

> Architecture diagram of the GitHub repository matisinho2210/montanadept-web, 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/matisinho2210/montanadept-web
- Repository: https://github.com/matisinho2210/montanadept-web

## Overview

Montaña Dept is a static portfolio and agency website. A visitor opens the site, browses its project index or project listing, filters projects, and opens a project ficha whose content is driven by the central project data. Fichas present design work and photo sessions, with galleries and media viewing. The site also provides services, about, and contact pages. The README documents these responsibilities, but no source excerpts were available, so relationships below rely only on README statements.

Main entry points: [`assets/js/main.js`](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js) (Project rendering), [`index.html`](https://github.com/matisinho2210/montanadept-web/blob/main/index.html) (Home and index), [`assets/js/proyectos.js`](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/proyectos.js) (Project data), [`proyectos`](https://github.com/matisinho2210/montanadept-web/tree/main/proyectos) (Project fichas)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site pages"]
  node_home["Home and index<br/>[index.html]"]
  node_projects["Project listing<br/>[proyectos.html]"]
  node_services["Services page<br/>[servicios.html]"]
  node_about["About page<br/>[nosotros.html]"]
  node_contact["Contact page<br/>[contacto.html]"]
  node_notfound["Not found page<br/>[404.html]"]
end

subgraph group_runtime["Browser runtime"]
  node_runtime["Site interactions<br/>[main.js]"]
  node_project_runtime["Project rendering<br/>[main.js]"]
  node_project_browsing["Index, grid, filters<br/>[main.js]"]
  node_contact_form["Contact form<br/>[main.js]"]
end

subgraph group_portfolio["Project portfolio"]
  node_project_templates["Project fichas"]
  node_project_data[("Project data<br/>[proyectos.js]")]
  node_session_gallery["Session galleries<br/>[main.js]"]
  node_design_gallery["Design galleries<br/>[main.js]"]
end

subgraph group_presentation["Media and styling"]
  node_project_media["Project images and video"]
  node_viewer["Image viewer<br/>[main.js]"]
  node_styles["Site styles<br/>[styles.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"browses"| node_projects
node_visitor -->|"views"| node_services
node_visitor -->|"views"| node_about
node_visitor -->|"opens"| node_contact
node_home -->|"shows index"| node_project_browsing
node_projects -->|"shows grid"| node_project_browsing
node_project_browsing -->|"reads projects"| node_project_data
node_project_templates -->|"renders ficha"| node_project_runtime
node_project_runtime -->|"reads project"| node_project_data
node_project_data -->|"references media"| node_project_media
node_project_runtime -->|"renders sessions"| node_session_gallery
node_project_runtime -->|"renders design"| node_design_gallery
node_session_gallery -->|"opens images"| node_viewer
node_design_gallery -->|"opens images"| node_viewer
node_contact -->|"provides form"| node_contact_form
node_runtime -->|"handles form"| node_contact_form
node_home -.->|"uses interactions"| node_runtime
node_project_templates -.->|"uses styles"| node_styles

click node_home "https://github.com/matisinho2210/montanadept-web/blob/main/index.html"
click node_projects "https://github.com/matisinho2210/montanadept-web/blob/main/proyectos.html"
click node_services "https://github.com/matisinho2210/montanadept-web/blob/main/servicios.html"
click node_about "https://github.com/matisinho2210/montanadept-web/blob/main/nosotros.html"
click node_contact "https://github.com/matisinho2210/montanadept-web/blob/main/contacto.html"
click node_notfound "https://github.com/matisinho2210/montanadept-web/blob/main/404.html"
click node_project_templates "https://github.com/matisinho2210/montanadept-web/tree/main/proyectos"
click node_project_data "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/proyectos.js"
click node_project_media "https://github.com/matisinho2210/montanadept-web/tree/main/assets/img/proyectos"
click node_runtime "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_project_runtime "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_project_browsing "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_session_gallery "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_design_gallery "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_viewer "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_contact_form "https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js"
click node_styles "https://github.com/matisinho2210/montanadept-web/blob/main/assets/css/styles.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_projects,node_services,node_about,node_contact,node_notfound toneBlue
class node_runtime,node_project_runtime,node_project_browsing,node_contact_form toneAmber
class node_project_templates,node_project_data,node_session_gallery,node_design_gallery toneMint
class node_project_media,node_viewer,node_styles toneRose
class node_visitor toneIndigo
```

## Components

### Site pages

- [Home and index](https://github.com/matisinho2210/montanadept-web/blob/main/index.html): `index.html`
- [Project listing](https://github.com/matisinho2210/montanadept-web/blob/main/proyectos.html): `proyectos.html`
- [Services page](https://github.com/matisinho2210/montanadept-web/blob/main/servicios.html): `servicios.html`
- [About page](https://github.com/matisinho2210/montanadept-web/blob/main/nosotros.html): `nosotros.html`
- [Contact page](https://github.com/matisinho2210/montanadept-web/blob/main/contacto.html): `contacto.html`
- [Not found page](https://github.com/matisinho2210/montanadept-web/blob/main/404.html): `404.html`

### Browser runtime

- [Site interactions](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`
- [Project rendering](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`
- [Index, grid, filters](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`
- [Contact form](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`

### Project portfolio

- [Project fichas](https://github.com/matisinho2210/montanadept-web/tree/main/proyectos): `proyectos`
- [Project data](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/proyectos.js): `assets/js/proyectos.js`
- [Session galleries](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`
- [Design galleries](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`

### Media and styling

- [Project images and video](https://github.com/matisinho2210/montanadept-web/tree/main/assets/img/proyectos): `assets/img/proyectos`
- [Image viewer](https://github.com/matisinho2210/montanadept-web/blob/main/assets/js/main.js): `assets/js/main.js`
- [Site styles](https://github.com/matisinho2210/montanadept-web/blob/main/assets/css/styles.css): `assets/css/styles.css`

### Other components

- **Visitor**

## Connections

- Visitor → Home and index: opens (evidence: `README.md`)
- Visitor → Project listing: browses (evidence: `README.md`)
- Visitor → Services page: views (evidence: `README.md`)
- Visitor → About page: views (evidence: `README.md`)
- Visitor → Contact page: opens (evidence: `README.md`)
- Home and index → Index, grid, filters: shows index (evidence: `README.md`)
- Project listing → Index, grid, filters: shows grid (evidence: `README.md`)
- Index, grid, filters → Project data: reads projects (evidence: `README.md`)
- Project fichas → Project rendering: renders ficha (evidence: `README.md`)
- Project rendering → Project data: reads project (evidence: `README.md`)
- Project data → Project images and video: references media (evidence: `README.md`)
- Project rendering → Session galleries: renders sessions (evidence: `README.md`)
- Project rendering → Design galleries: renders design (evidence: `README.md`)
- Session galleries → Image viewer: opens images (evidence: `README.md`)
- Design galleries → Image viewer: opens images (evidence: `README.md`)
- Contact page → Contact form: provides form (evidence: `README.md`)
- Site interactions → Contact form: handles form (evidence: `README.md`)
- Home and index → Site interactions: uses interactions
- Project fichas → Site styles: uses styles
