# jozacolab/front_end architecture

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

- Interactive diagram: https://gitdiagram.com/jozacolab/front_end
- Repository: https://github.com/jozacolab/front_end

## Overview

JozaTech is an academic sustainability-focused website developed in stages. Its main interactive workflow is a visitor using the Phase 02 page to explore and filter solutions, inspect details, try the ESG simulator, and submit a validated contact form; the form provides feedback and adds successful submissions to the recent-activity display. Phase 01 documents the earlier accessible, responsive foundation. The README describes several capabilities whose detailed implementation was not sampled, so those links are based on documentation rather than inspected source.

Main entry points: [`Site_Fase_02/js/script.js`](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js) (DOM interactions), [`Site_Fase_02/index.html`](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/index.html) (Phase 02 page), [`Site_Fase_01/index.html`](https://github.com/jozacolab/front_end/blob/main/Site_Fase_01/index.html) (Phase 01 page), [`Site_Fase_02/css/style.css`](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/css/style.css) (Responsive styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Web experience"]
  node_phase1["Phase 01 page<br/>[index.html]"]
  node_phase2["Phase 02 page<br/>[index.html]"]
  node_interaction["DOM interactions<br/>[script.js]"]
  node_theme["Theme and display controls<br/>[script.js]"]
  node_theme_storage[("Theme preference")]
end

subgraph group_discovery["Solution discovery"]
  node_catalog["Solution catalog<br/>[script.js]"]
  node_catalog_filter["Search and category filters<br/>[script.js]"]
  node_details["Solution details modal<br/>[script.js]"]
end

subgraph group_engagement["Interactive engagement"]
  node_simulator["ESG impact simulator<br/>[script.js]"]
  node_insights["Sustainability insights<br/>[script.js]"]
  node_contact["Contact form validation<br/>[script.js]"]
  node_feedback["Toast and form feedback<br/>[script.js]"]
  node_recent["Recent submissions<br/>[script.js]"]
end

subgraph group_presentation["Presentation"]
  node_styles["Responsive styles<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_phase1
node_visitor -->|"opens"| node_phase2
node_phase2 -->|"runs interactions"| node_interaction
node_visitor -->|"triggers events"| node_interaction
node_interaction -->|"handles controls"| node_theme
node_theme -->|"reads preference"| node_theme_storage
node_theme -->|"stores preference"| node_theme_storage
node_interaction -->|"renders catalog"| node_catalog
node_interaction -->|"filters catalog"| node_catalog_filter
node_catalog -->|"opens details"| node_details
node_interaction -->|"recalculates metrics"| node_simulator
node_interaction -->|"updates insight"| node_insights
node_interaction -->|"validates submission"| node_contact
node_contact -->|"shows feedback"| node_feedback
node_contact -->|"adds submission"| node_recent
node_phase1 -.->|"shares design goals"| node_styles
node_phase2 -->|"uses styles"| node_styles

click node_phase1 "https://github.com/jozacolab/front_end/blob/main/Site_Fase_01/index.html"
click node_phase2 "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/index.html"
click node_interaction "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_theme "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_catalog "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_catalog_filter "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_details "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_simulator "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_insights "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_contact "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_feedback "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_recent "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js"
click node_styles "https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/css/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_phase1,node_phase2,node_interaction,node_theme,node_theme_storage toneBlue
class node_catalog,node_catalog_filter,node_details toneAmber
class node_simulator,node_insights,node_contact,node_feedback,node_recent toneMint
class node_styles toneRose
class node_visitor toneIndigo
```

## Components

### Web experience

- [Phase 01 page](https://github.com/jozacolab/front_end/blob/main/Site_Fase_01/index.html): `Site_Fase_01/index.html`
- [Phase 02 page](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/index.html): `Site_Fase_02/index.html`
- [DOM interactions](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Theme and display controls](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- **Theme preference**

### Solution discovery

- [Solution catalog](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Search and category filters](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Solution details modal](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`

### Interactive engagement

- [ESG impact simulator](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Sustainability insights](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Contact form validation](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Toast and form feedback](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`
- [Recent submissions](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/js/script.js): `Site_Fase_02/js/script.js`

### Presentation

- [Responsive styles](https://github.com/jozacolab/front_end/blob/main/Site_Fase_02/css/style.css): `Site_Fase_02/css/style.css`

### Other components

- **Visitor**

## Connections

- Visitor → Phase 01 page: opens (evidence: `README.md`)
- Visitor → Phase 02 page: opens (evidence: `README.md`)
- Phase 02 page → DOM interactions: runs interactions (evidence: `README.md`)
- Visitor → DOM interactions: triggers events (evidence: `Site_Fase_02/js/script.js`)
- DOM interactions → Theme and display controls: handles controls (evidence: `Site_Fase_02/js/script.js`)
- Theme and display controls → Theme preference: reads preference (evidence: `Site_Fase_02/js/script.js`)
- Theme and display controls → Theme preference: stores preference (evidence: `README.md`)
- DOM interactions → Solution catalog: renders catalog (evidence: `Site_Fase_02/js/script.js`)
- DOM interactions → Search and category filters: filters catalog (evidence: `README.md`)
- Solution catalog → Solution details modal: opens details (evidence: `Site_Fase_02/js/script.js`)
- DOM interactions → ESG impact simulator: recalculates metrics (evidence: `Site_Fase_02/js/script.js`)
- DOM interactions → Sustainability insights: updates insight (evidence: `README.md`)
- DOM interactions → Contact form validation: validates submission (evidence: `Site_Fase_02/js/script.js`)
- Contact form validation → Toast and form feedback: shows feedback (evidence: `README.md`)
- Contact form validation → Recent submissions: adds submission (evidence: `Site_Fase_02/js/script.js`)
- Phase 01 page → Responsive styles: shares design goals (evidence: `README.md`)
- Phase 02 page → Responsive styles: uses styles (evidence: `README.md`)
