# jayreddin/jamieairtowater architecture

> Architecture diagram of the GitHub repository jayreddin/jamieairtowater, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jayreddin/jamieairtowater
- Repository: https://github.com/jayreddin/jamieairtowater

## Overview

##### Main Components

a) Frontend Structure:
- Static Website Component
- Documentation Pages Layer
- Resource Viewers/Handlers

b) Content Organization:
- Heat Pump Documentation Section
- PDF Documentation Repository
- JSON Data Storage
- Image Assets
- Ventilation Systems Section

##### Component Grouping

- Heat Pump Documentation (group all brand-specific pages)
- Technical Resources (PDFs and JSON)
- Media Resources (images and videos)
- Ventilation Systems (separate section)

##### Additional Details

Annotations for:
- GitHub Pages hosting environment
- Static site architecture
- PDF.js implementation
- JSON data structure relationships

- The static nature of the site
- Content organization by brand/manufacturer
- Resource management system
- Clear separation between documentation types

This approach will provide a clear visualization of how the documentation system is structured and how its various components interact, while maintaining the appropriate level of detail for a technical documentation website.

## Diagram (Mermaid)

```mermaid
flowchart TB
    title[Air to Water Heat Pump Documentation System Architecture]
    
    subgraph UI["User Interface Layer"]
        MainPage["index.html"]:::page
        CSS["styles.css"]:::page
        JS["script.js"]:::page
        README["README.md"]:::page
    end

    subgraph HeatPumps["Heat Pumps"]
        Hitachi["hitachi-yutaki.html"]:::doc
        Panasonic["panasonic-aquarea.html"]:::doc
        LG["lg-thermia.html"]:::doc
    end

    subgraph Ventilation["Ventilation"]
        Ventaxia["ventaxia-sentinel.html"]:::doc
    end

    subgraph Assets["Assets"]
        subgraph PDFs["PDF Files"]
            HitachiPDF["hitachi.pdf"]:::storage
            PanasonicPDF["panasonic.pdf"]:::storage
            LGPDF["lg.pdf"]:::storage
        end
        
        subgraph Images["Image Files"]
            Logo["logo.png"]:::storage
            HeatPumpImg["heatpump.jpg"]:::storage
            VentImg["ventilation.jpg"]:::storage
        end
        
        subgraph JSONFiles["JSON Files"]
            SpecsJSON["specs.json"]:::storage
            ConfigJSON["config.json"]:::storage
        end
    end

    subgraph GH[".github"]
        Workflows["workflows/deploy.yml"]:::deploy
    end

    MainPage --> HeatPumps
    MainPage --> Ventilation
    HeatPumps --> PDFs
    Ventilation --> PDFs
    UI --> Assets

    %% Click Events
    click MainPage "https://github.com/jayreddin/JamieAirToWater/blob/main/index.html"
    click PDFs "https://github.com/jayreddin/JamieAirToWater/tree/main/PDF"
    click JSONFiles "https://github.com/jayreddin/JamieAirToWater/tree/main/JSON"
    click Images "https://github.com/jayreddin/JamieAirToWater/tree/main/images"
    click Hitachi "https://github.com/jayreddin/JamieAirToWater/blob/main/Heat Pumps/hitachi-yutaki.html"
    click Panasonic "https://github.com/jayreddin/JamieAirToWater/blob/main/Heat Pumps/panasonic-aquarea.html"
    click LG "https://github.com/jayreddin/JamieAirToWater/blob/main/Heat Pumps/lg-thermia.html"
    click Ventaxia "https://github.com/jayreddin/JamieAirToWater/blob/main/ventalation/ventaxia-sentinel.html"
    click Workflows "https://github.com/jayreddin/JamieAirToWater/tree/main/.github/workflows"

    %% Styles
    classDef page fill:#e1f5fe,stroke:#01579b
    classDef doc fill:#f5f5f5,stroke:#616161
    classDef storage fill:#ffe0b2,stroke:#ef6c00
    classDef deploy fill:#e1bee7,stroke:#6a1b9a

    %% Legend
    subgraph Legend
        PageFile["Page Files"]:::page
        DocFile["Documentation Files"]:::doc
        StorageFile["Asset Files"]:::storage
        DeployFile["Deployment Files"]:::deploy
    end
```
