# purna/darlinghydro architecture

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

- Interactive diagram: https://gitdiagram.com/purna/darlinghydro
- Repository: https://github.com/purna/darlinghydro

## Overview

##### Main Components
- Static HTML Pages: The project has various HTML files (index.html, about.html, contact.html, gallery.html, links.html, services.html, etc.) that map out the website’s pages.
- Assets & Resources: There is an extensive assets folder containing several subdirectories:
- CSS libraries (from Mobirise, Bootstrap, animate.css, socicons, etc.)
- JavaScript files (including dropdown scripts, smooth scrolling, vimeo player, etc.)
- Fonts (with their respective stylesheets)
- Images and videos (media files stored in assets/images and media folders)
- PDF documents (presentation and paper files available both in “Potential Photos for Darling Hydro website/Papers” and within assets/files).
- Configuration & Deployment: There are GitHub configuration files (in .github/workflows, e.g., static.yml) and a project file (project.mobirise) that suggest how the site is built and maintained.
- Historical Backups: The “history” folder holds backup or revision files for the Mobirise project, which might be useful to track changes but is ancillary to the site’s runtime architecture.

##### Relationships and Data Flow
- The HTML pages are the entry points for users. They reference CSS and JavaScript files (located in assets/theme, assets/bootstrap, assets/embla, etc.) to style the pages and add interactive functionality.
- Assets such as images, fonts, and media are loaded into pages as needed to display content correctly.
- The GitHub workflow configuration hints that the site might be automatically built or deployed to servers (possibly a static hosting service) when changes are pushed to the repository.
- While traditional back-end components are not present, the “Potential Photos for Darling Hydro website” folder and other documents are organized to provide content resources to be linked or embedded within the static pages.

##### Architectural Patterns
- Client-Side Rendering: Since the project is a static website, all the user interfaces are rendered by the browser by processing the HTML/CSS/JS files.
- Separation of Concerns: The assets (CSS, JavaScript, images, fonts) are organized into separate directories, which illustrates a clear separation between presentation, functionality, and media content.
- External Dependencies: The use of third-party libraries (e.g., Bootstrap for layouts, animate.css for animations, smooth scroll for user experience improvements) should be noted.

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Frontend"
        HTML1["index.html"]:::html
        HTML2["about.html"]:::html
        HTML3["contact.html"]:::html
        HTML4["gallery.html"]:::html
        HTML5["links.html"]:::html
        HTML6["services.html"]:::html
        HTML7["page6.html"]:::html
        HTML8["page7.html"]:::html
        HTML9["presentations.html"]:::html
        HTML10["projects.html"]:::html
        HTML11["thinking.html"]:::html
    end

    subgraph "Assets"
        subgraph "Stylesheets"
            CSS1["assets/animatecss"]:::css
            CSS2["assets/bootstrap/css"]:::css
            CSS3["assets/dropdown/css"]:::css
            CSS4["assets/mobirise/css"]:::css
            CSS5["assets/theme/css"]:::css
            CSS6["assets/parallax (jarallax.css)"]:::css
            CSS7["assets/socicon/css"]:::css
            CSS8["assets/web/assets/mobirise-icons"]:::css
            CSS9["assets/web/assets/mobirise-icons2"]:::css
        end
        subgraph "JavaScript"
            JS1["assets/bootstrap/js"]:::js
            JS2["assets/dropdown/js"]:::js
            JS3["assets/embla"]:::js
            JS4["assets/mbr-switch-arrow"]:::js
            JS5["assets/theme/js"]:::js
            JS6["assets/parallax/jarallax.js"]:::js
            JS7["assets/smoothscroll/smooth-scroll.js"]:::js
            JS8["assets/vimeoplayer"]:::js
            JS9["assets/ytplayer"]:::js
            JS10["assets/web/assets/cookies-alert-plugin"]:::js
        end
        subgraph "Media Assets"
            MEDIA1["assets/images"]:::media
            MEDIA2["assets/files"]:::media
            MEDIA3["Potential Photos for Darling Hydro website"]:::media
        end
        subgraph "Fonts"
            FONT1["fonts/Epilogue/style.css"]:::font
            FONT2["assets/socicon/fonts"]:::font
        end
    end

    subgraph "Deployment & Configuration"
        DEP1[".github/workflows (static.yml)"]:::deploy
        DEP2[".gitignore"]:::deploy
        DEP3["CNAME"]:::deploy
        DEP4["project.mobirise"]:::deploy
        DEP5["robots.txt (sitemap.xml)"]:::deploy
    end

    subgraph "Historical Backups"
        HIST1["history"]:::backup
    end

    %% Relationships
    HTML1 -->|"references"| CSS2
    HTML1 -->|"calls"| JS1
    HTML1 -->|"loads"| MEDIA1
    HTML1 -->|"uses"| FONT1

    DEP1 -->|"deploys"| HTML1
    DEP1 -->|"deploys"| CSS2
    DEP1 -->|"deploys"| JS1
    DEP1 -->|"deploys"| MEDIA1

    HIST1 ---|"backsup"| DEP4

    %% Styles
    classDef html fill:#f4c2c2,stroke:#333,stroke-width:2px;
    classDef css fill:#c2d6f4,stroke:#333,stroke-width:2px;
    classDef js fill:#c2f4d6,stroke:#333,stroke-width:2px;
    classDef media fill:#f4e1c2,stroke:#333,stroke-width:2px;
    classDef font fill:#e1c2f4,stroke:#333,stroke-width:2px;
    classDef deploy fill:#d6c2f4,stroke:#333,stroke-width:2px;
    classDef backup fill:#c2f4e1,stroke:#333,stroke-width:2px;

    %% Click Events for HTML Pages
    click HTML1 "https://github.com/purna/darlinghydro/blob/main/index.html"
    click HTML2 "https://github.com/purna/darlinghydro/blob/main/about.html"
    click HTML3 "https://github.com/purna/darlinghydro/blob/main/contact.html"
    click HTML4 "https://github.com/purna/darlinghydro/blob/main/gallery.html"
    click HTML5 "https://github.com/purna/darlinghydro/blob/main/links.html"
    click HTML6 "https://github.com/purna/darlinghydro/blob/main/services.html"
    click HTML7 "https://github.com/purna/darlinghydro/blob/main/page6.html"
    click HTML8 "https://github.com/purna/darlinghydro/blob/main/page7.html"
    click HTML9 "https://github.com/purna/darlinghydro/blob/main/presentations.html"
    click HTML10 "https://github.com/purna/darlinghydro/blob/main/projects.html"
    click HTML11 "https://github.com/purna/darlinghydro/blob/main/thinking.html"

    %% Click Events for CSS Assets
    click CSS1 "https://github.com/purna/darlinghydro/tree/main/assets/animatecss"
    click CSS2 "https://github.com/purna/darlinghydro/tree/main/assets/bootstrap/css"
    click CSS3 "https://github.com/purna/darlinghydro/tree/main/assets/dropdown/css"
    click CSS4 "https://github.com/purna/darlinghydro/tree/main/assets/mobirise/css"
    click CSS5 "https://github.com/purna/darlinghydro/tree/main/assets/theme/css"
    click CSS6 "https://github.com/purna/darlinghydro/blob/main/assets/parallax (jarallax.css)"
    click CSS7 "https://github.com/purna/darlinghydro/tree/main/assets/socicon/css"
    click CSS8 "https://github.com/purna/darlinghydro/tree/main/assets/web/assets/mobirise-icons"
    click CSS9 "https://github.com/purna/darlinghydro/tree/main/assets/web/assets/mobirise-icons2"

    %% Click Events for JavaScript Libraries
    click JS1 "https://github.com/purna/darlinghydro/tree/main/assets/bootstrap/js"
    click JS2 "https://github.com/purna/darlinghydro/tree/main/assets/dropdown/js"
    click JS3 "https://github.com/purna/darlinghydro/tree/main/assets/embla"
    click JS4 "https://github.com/purna/darlinghydro/tree/main/assets/mbr-switch-arrow"
    click JS5 "https://github.com/purna/darlinghydro/tree/main/assets/theme/js"
    click JS6 "https://github.com/purna/darlinghydro/blob/main/assets/parallax/jarallax.js"
    click JS7 "https://github.com/purna/darlinghydro/blob/main/assets/smoothscroll/smooth-scroll.js"
    click JS8 "https://github.com/purna/darlinghydro/tree/main/assets/vimeoplayer"
    click JS9 "https://github.com/purna/darlinghydro/tree/main/assets/ytplayer"
    click JS10 "https://github.com/purna/darlinghydro/tree/main/assets/web/assets/cookies-alert-plugin"

    %% Click Events for Media Assets
    click MEDIA1 "https://github.com/purna/darlinghydro/tree/main/assets/images"
    click MEDIA2 "https://github.com/purna/darlinghydro/tree/main/assets/files"
    click MEDIA3 "https://github.com/purna/darlinghydro/tree/main/Potential Photos for Darling Hydro website"

    %% Click Events for Fonts
    click FONT1 "https://github.com/purna/darlinghydro/blob/main/fonts/Epilogue/style.css"
    click FONT2 "https://github.com/purna/darlinghydro/tree/main/assets/socicon/fonts"

    %% Click Events for Deployment & Configuration
    click DEP1 "https://github.com/purna/darlinghydro/tree/main/.github/workflows"
    click DEP2 "https://github.com/purna/darlinghydro/blob/main/.gitignore"
    click DEP3 "https://github.com/purna/darlinghydro/tree/main/CNAME"
    click DEP4 "https://github.com/purna/darlinghydro/blob/main/project.mobirise"
    click DEP5 "https://github.com/purna/darlinghydro/blob/main/robots.txt"

    %% Click Event for Historical Backups
    click HIST1 "https://github.com/purna/darlinghydro/tree/main/history"
```
