# fph-dev89/cap-sur-valencia architecture

> Architecture diagram of the GitHub repository fph-dev89/cap-sur-valencia, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fph-dev89/cap-sur-valencia
- Repository: https://github.com/fph-dev89/cap-sur-valencia

## Overview

Cap sur Valencia is a static relocation-information site for people moving to Valencia. The main user journey is browsing practical guides and local information; the tree also shows news, blog articles, and focused resources for budgeting, neighborhoods, schools, administration, and other relocation needs. Its sampled JavaScript adds client-side interactions, including a budget calculator, neighborhood filtering, and persistent checklists. The source excerpt is partial, so links between pages and unsampled capabilities are not asserted as verified runtime calls.

Main entry points: [`js/main.js`](https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js) (Shared interactions), [`index.html`](https://github.com/fph-dev89/cap-sur-valencia/blob/main/index.html) (Home page), [`pages/ressources.html`](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/ressources.html) (Resources), [`pages/actualites.html`](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/actualites.html) (News index)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site entry"]
  node_home["Home page<br/>[index.html]"]
end

subgraph group_guides["Relocation guides"]
  node_resource_hub["Resources<br/>[ressources.html]"]
  node_budget_page["Budget guide<br/>[budget.html]"]
  node_neighborhood_page["Neighborhood guide<br/>[quartiers.html]"]
  node_checklists_page["Checklists<br/>[checklists.html]"]
  node_admin_page["Administration"]
  node_schools_page["Schools<br/>[ecoles.html]"]
  node_schooling_page["Schooling<br/>[scolarite.html]"]
  node_health_page["Health guide<br/>[sante.html]"]
  node_bank_page["Banking guide<br/>[banque.html]"]
  node_insurance_page["Insurance guide<br/>[assurance.html]"]
  node_jobs_page["Employment guide<br/>[emploi.html]"]
  node_moving_page["Moving kit"]
end

subgraph group_editorial["Editorial content"]
  node_news_page["News index<br/>[actualites.html]"]
  node_news_articles["News articles"]
  node_blog_page["Blog index<br/>[blog.html]"]
  node_blog_articles["Blog articles"]
end

subgraph group_interaction["Page interactions"]
  node_site_ui["Shared interactions<br/>[main.js]"]
  node_budget_calc["Budget calculator<br/>[main.js]"]
  node_area_filter["Neighborhood filter<br/>[main.js]"]
  node_checklist_state["Checklist persistence<br/>[main.js]"]
end

node_visitor(("Visitor"))
node_browser_storage[("Local storage")]

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_resource_hub
node_visitor -.->|"browses"| node_news_page
node_visitor -.->|"browses"| node_blog_page
node_site_ui -->|"initializes"| node_budget_calc
node_site_ui -->|"initializes"| node_area_filter
node_site_ui -.->|"initializes"| node_checklist_state
node_checklist_state -->|"persists state"| node_browser_storage

click node_home "https://github.com/fph-dev89/cap-sur-valencia/blob/main/index.html"
click node_resource_hub "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/ressources.html"
click node_budget_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/budget.html"
click node_neighborhood_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/quartiers.html"
click node_checklists_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/checklists.html"
click node_admin_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/administration.html"
click node_schools_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/ecoles.html"
click node_schooling_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/scolarite.html"
click node_health_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/sante.html"
click node_bank_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/banque.html"
click node_insurance_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/assurance.html"
click node_jobs_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/emploi.html"
click node_moving_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/kit-demenagement-avion.html"
click node_news_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/actualites.html"
click node_news_articles "https://github.com/fph-dev89/cap-sur-valencia/tree/main/actualites"
click node_blog_page "https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/blog.html"
click node_blog_articles "https://github.com/fph-dev89/cap-sur-valencia/tree/main/blog"
click node_site_ui "https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js"
click node_budget_calc "https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js"
click node_area_filter "https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js"
click node_checklist_state "https://github.com/fph-dev89/cap-sur-valencia/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 toneBlue
class node_resource_hub,node_budget_page,node_neighborhood_page,node_checklists_page,node_admin_page,node_schools_page,node_schooling_page,node_health_page,node_bank_page,node_insurance_page,node_jobs_page,node_moving_page,node_browser_storage toneAmber
class node_news_page,node_news_articles,node_blog_page,node_blog_articles toneMint
class node_site_ui,node_budget_calc,node_area_filter,node_checklist_state toneRose
class node_visitor toneIndigo
```

## Components

### Site entry

- [Home page](https://github.com/fph-dev89/cap-sur-valencia/blob/main/index.html): `index.html`

### Relocation guides

- [Resources](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/ressources.html): `pages/ressources.html`
- [Budget guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/budget.html): `pages/budget.html`
- [Neighborhood guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/quartiers.html): `pages/quartiers.html`
- [Checklists](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/checklists.html): `pages/checklists.html`
- [Administration](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/administration.html): `pages/administration.html`
- [Schools](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/ecoles.html): `pages/ecoles.html`
- [Schooling](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/scolarite.html): `pages/scolarite.html`
- [Health guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/sante.html): `pages/sante.html`
- [Banking guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/banque.html): `pages/banque.html`
- [Insurance guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/assurance.html): `pages/assurance.html`
- [Employment guide](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/emploi.html): `pages/emploi.html`
- [Moving kit](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/kit-demenagement-avion.html): `pages/kit-demenagement-avion.html`

### Editorial content

- [News index](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/actualites.html): `pages/actualites.html`
- [News articles](https://github.com/fph-dev89/cap-sur-valencia/tree/main/actualites): `actualites`
- [Blog index](https://github.com/fph-dev89/cap-sur-valencia/blob/main/pages/blog.html): `pages/blog.html`
- [Blog articles](https://github.com/fph-dev89/cap-sur-valencia/tree/main/blog): `blog`

### Page interactions

- [Shared interactions](https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js): `js/main.js`
- [Budget calculator](https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js): `js/main.js`
- [Neighborhood filter](https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js): `js/main.js`
- [Checklist persistence](https://github.com/fph-dev89/cap-sur-valencia/blob/main/js/main.js): `js/main.js`

### Other components

- **Visitor**
- **Local storage**

## Connections

- Visitor → Home page: opens
- Visitor → Resources: browses
- Visitor → News index: browses
- Visitor → Blog index: browses
- Shared interactions → Budget calculator: initializes (evidence: `js/main.js`)
- Shared interactions → Neighborhood filter: initializes (evidence: `js/main.js`)
- Shared interactions → Checklist persistence: initializes (evidence: `js/main.js`)
- Checklist persistence → Local storage: persists state (evidence: `js/main.js`)
