# kodokunaxx/ha_chi_wedding architecture

> Architecture diagram of the GitHub repository kodokunaxx/ha_chi_wedding, 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/kodokunaxx/ha_chi_wedding
- Repository: https://github.com/kodokunaxx/ha_chi_wedding

## Overview

##### Main Components
- Webpage/HTML: The index.html file is the entry point of the website.
- Script Layer (JS): The “js/” directory has various JavaScript files for added interactivity (for instance, AOS for animations, bootstrap components, swiper for sliding effects, and other custom scripts).
- Assets:
- Fonts: The “fonts/” directory contains various font files that set typography.
- Images: The “images/” directory includes static image assets.
- Media: The “media/” folder holds audio files (e.g., an mp3) likely used to complement the wedding experience.

##### Relationships & Interactions
- The index.html file is loaded by the user’s browser and in turn links to all the CSS and JS needed for the website’s functionality and design.
- CSS files are loaded to style the interface according to the wedding theme.
- JavaScript files add interactive elements (animations, carousels, custom behaviors).
- Assets (fonts, images, media) are referenced either within the HTML or within the CSS/JS to deliver a rich, multimedia wedding experience.

##### Architectural Patterns
- Although not following a traditional MVC or microservices pattern, the application is modular in terms of asset organization. Each directory neatly categorizes presentation (CSS), behavior (JS), and supplementary assets (fonts, images, media).

## Diagram (Mermaid)

```mermaid
flowchart TD
    A["index.html"]:::html
    B["CSS Assets"]:::css
    C["JavaScript Components"]:::js

    subgraph "Assets"
        D["Fonts"]:::asset
        E["Images"]:::asset
        F["Media"]:::asset
    end

    A -->|"loads"| B
    A -->|"loads"| C

    B -->|"references"| D
    B -->|"references"| E
    B -->|"references"| F

    C -->|"references"| D
    C -->|"references"| E
    C -->|"references"| F

    click A "https://github.com/kodokunaxx/ha_chi_wedding/blob/main/index.html"
    click B "https://github.com/kodokunaxx/ha_chi_wedding/tree/main/css/"
    click C "https://github.com/kodokunaxx/ha_chi_wedding/tree/main/js/"
    click D "https://github.com/kodokunaxx/ha_chi_wedding/tree/main/fonts/"
    click E "https://github.com/kodokunaxx/ha_chi_wedding/tree/main/images/"
    click F "https://github.com/kodokunaxx/ha_chi_wedding/tree/main/media/"

    classDef html fill:#add8e6,stroke:#000,stroke-width:1px;
    classDef css fill:#90ee90,stroke:#000,stroke-width:1px;
    classDef js fill:#ffa500,stroke:#000,stroke-width:1px;
    classDef asset fill:#d3d3d3,stroke:#000,stroke-width:1px;
```
