# kmfouda/iec-website architecture

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

- Interactive diagram: https://gitdiagram.com/kmfouda/iec-website
- Repository: https://github.com/kmfouda/iec-website

## Overview

Energy Concepts is an engineering-company website redesign with a standalone CHP Savings Calculator. Visitors can enter the Netlify test site and choose either design direction; the repository also includes shareable previews and an older standalone site. The Data Centers page offers a Plato5X deck, and the calculator opens directly in a browser. The README documents these product surfaces and links, but no source excerpts were provided, so relationships beyond those documented are omitted.

Main entry points: [`public/index.html`](https://github.com/kmfouda/iec-website/blob/main/public/index.html) (Test landing), [`public/direction-a.html`](https://github.com/kmfouda/iec-website/blob/main/public/direction-a.html) (Direction A), [`public/direction-b.html`](https://github.com/kmfouda/iec-website/blob/main/public/direction-b.html) (Direction B), [`site/index.html`](https://github.com/kmfouda/iec-website/blob/main/site/index.html) (Earlier Direction A site)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_test_site["Test site"]
  node_landing["Test landing<br/>[index.html]"]
  node_direction_a["Direction A<br/>[direction-a.html]"]
  node_direction_b["Direction B<br/>[direction-b.html]"]
  node_public_assets["Images and deck"]
end

subgraph group_design["Design directions"]
  node_design_a_home["Direction A home<br/>[Main.dc.html]"]
  node_design_a_pages["Direction A pages"]
  node_design_b_home["Direction B home<br/>[Light.dc.html]"]
  node_design_b_pages["Direction B pages"]
  node_data_centers["Data Centers page"]
  node_plato_deck["Plato5X deck"]
end

subgraph group_standalone["Standalone versions"]
  node_preview_a["Direction A preview"]
  node_preview_b["Direction B preview"]
  node_calculator["CHP Savings Calculator<br/>[index.html]"]
  node_legacy_site["Earlier Direction A site<br/>[index.html]"]
  node_legacy_pages["Earlier site pages"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_landing
node_landing -->|"links to"| node_direction_a
node_landing -->|"links to"| node_direction_b
node_direction_a -->|"loads assets"| node_public_assets
node_direction_b -->|"loads assets"| node_public_assets
node_visitor -->|"opens directly"| node_calculator
node_data_centers -->|"opens deck"| node_plato_deck
node_visitor -->|"views shared preview"| node_preview_a
node_visitor -->|"views shared preview"| node_preview_b
node_visitor -->|"opens"| node_legacy_site
node_legacy_site -->|"links pages"| node_legacy_pages

click node_landing "https://github.com/kmfouda/iec-website/blob/main/public/index.html"
click node_direction_a "https://github.com/kmfouda/iec-website/blob/main/public/direction-a.html"
click node_direction_b "https://github.com/kmfouda/iec-website/blob/main/public/direction-b.html"
click node_public_assets "https://github.com/kmfouda/iec-website/tree/main/public/assets"
click node_design_a_home "https://github.com/kmfouda/iec-website/blob/main/design/Main.dc.html"
click node_design_a_pages "https://github.com/kmfouda/iec-website/tree/main/design"
click node_design_b_home "https://github.com/kmfouda/iec-website/blob/main/design/Light.dc.html"
click node_design_b_pages "https://github.com/kmfouda/iec-website/tree/main/design"
click node_data_centers "https://github.com/kmfouda/iec-website/blob/main/design/A-DataCenters.dc.html"
click node_plato_deck "https://github.com/kmfouda/iec-website/blob/main/design/assets/Plato5X-System-Deck.pdf"
click node_preview_a "https://github.com/kmfouda/iec-website/blob/main/previews/Energy%20Concepts%20website%20-%20Direction%20A.html"
click node_preview_b "https://github.com/kmfouda/iec-website/blob/main/previews/Energy%20Concepts%20website%20-%20Direction%20B.html"
click node_calculator "https://github.com/kmfouda/iec-website/blob/main/chp-calculator/index.html"
click node_legacy_site "https://github.com/kmfouda/iec-website/blob/main/site/index.html"
click node_legacy_pages "https://github.com/kmfouda/iec-website/tree/main/site"

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_landing,node_direction_a,node_direction_b,node_public_assets toneBlue
class node_design_a_home,node_design_a_pages,node_design_b_home,node_design_b_pages,node_data_centers,node_plato_deck toneAmber
class node_preview_a,node_preview_b,node_calculator,node_legacy_site,node_legacy_pages toneMint
class node_visitor toneIndigo
```

## Components

### Test site

- [Test landing](https://github.com/kmfouda/iec-website/blob/main/public/index.html): `public/index.html`
- [Direction A](https://github.com/kmfouda/iec-website/blob/main/public/direction-a.html): `public/direction-a.html`
- [Direction B](https://github.com/kmfouda/iec-website/blob/main/public/direction-b.html): `public/direction-b.html`
- [Images and deck](https://github.com/kmfouda/iec-website/tree/main/public/assets): `public/assets`

### Design directions

- [Direction A home](https://github.com/kmfouda/iec-website/blob/main/design/Main.dc.html): `design/Main.dc.html`
- [Direction A pages](https://github.com/kmfouda/iec-website/tree/main/design): `design`
- [Direction B home](https://github.com/kmfouda/iec-website/blob/main/design/Light.dc.html): `design/Light.dc.html`
- [Direction B pages](https://github.com/kmfouda/iec-website/tree/main/design): `design`
- [Data Centers page](https://github.com/kmfouda/iec-website/blob/main/design/A-DataCenters.dc.html): `design/A-DataCenters.dc.html`
- [Plato5X deck](https://github.com/kmfouda/iec-website/blob/main/design/assets/Plato5X-System-Deck.pdf): `design/assets/Plato5X-System-Deck.pdf`

### Standalone versions

- [Direction A preview](https://github.com/kmfouda/iec-website/blob/main/previews/Energy%20Concepts%20website%20-%20Direction%20A.html): `previews/Energy Concepts website - Direction A.html`
- [Direction B preview](https://github.com/kmfouda/iec-website/blob/main/previews/Energy%20Concepts%20website%20-%20Direction%20B.html): `previews/Energy Concepts website - Direction B.html`
- [CHP Savings Calculator](https://github.com/kmfouda/iec-website/blob/main/chp-calculator/index.html): `chp-calculator/index.html`
- [Earlier Direction A site](https://github.com/kmfouda/iec-website/blob/main/site/index.html): `site/index.html`
- [Earlier site pages](https://github.com/kmfouda/iec-website/tree/main/site): `site`

### Other components

- **Site visitor**

## Connections

- Site visitor → Test landing: opens (evidence: `README.md`)
- Test landing → Direction A: links to (evidence: `README.md`)
- Test landing → Direction B: links to (evidence: `README.md`)
- Direction A → Images and deck: loads assets (evidence: `README.md`)
- Direction B → Images and deck: loads assets (evidence: `README.md`)
- Site visitor → CHP Savings Calculator: opens directly (evidence: `README.md`)
- Data Centers page → Plato5X deck: opens deck (evidence: `README.md`)
- Site visitor → Direction A preview: views shared preview (evidence: `README.md`)
- Site visitor → Direction B preview: views shared preview (evidence: `README.md`)
- Site visitor → Earlier Direction A site: opens (evidence: `README.md`)
- Earlier Direction A site → Earlier site pages: links pages (evidence: `README.md`)
