# otniel113/otnielsupport architecture

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

- Interactive diagram: https://gitdiagram.com/otniel113/otnielsupport
- Repository: https://github.com/otniel113/otnielsupport

## Overview

##### Project type and purpose
- This is a simple, static “link-tree” landing page built with HTML, CSS, and JavaScript.
- Its sole purpose is to provide donation/support links (Trakteer, Saweria, Ko-fi, Patreon) for “Otniel.”

##### File structure
- index.html – the entry point, contains the markup and link elements.
- style.css – styling rules for layout, typography, responsive breakpoints.
- script.js – any DOM interactions or link-opening logic.
- README.md – project description, screenshots, and deployment info (Netlify).

##### Extract README insights
- Hosted on Netlify (static-hosting/CDN).
- Screenshots demonstrate responsive design for desktop and mobile.
- No backend components, databases, or build pipelines are mentioned.

##### Components and relationships
a. Main components
- User’s Web Browser (desktop/mobile)
- CDN/Static-Site Host (Netlify)
- Static Assets – HTML, CSS, JS, images (assets/)
- External Services – Trakteer, Saweria, Ko-fi, Patreon (simple external URLs)
b. Data-flow relationships
1. Browser requests index.html, style.css, script.js, images from Netlify.
2. Netlify serves static files via CDN.
3. User clicks a donation button (in the browser), JS may handle UI feedback, then browser navigates directly to an external service URL.
c. Architectural patterns/design principles
- Purely client-side, no server logic in your codebase.
- CDN for performance (global edge delivery).
- Responsive design asset flow: CSS media queries, image sizing.
d. Key technologies
- HTML5, CSS3, vanilla JavaScript
- Netlify (CI/CD + CDN)
- Optional: GitHub for source control / Netlify integration

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["User Web Browser\n(Desktop/Mobile)"]:::frontend
    CDN["Netlify CDN"]:::hosting

    subgraph "Static Assets"
        HTML["index.html"]:::frontend
        CSS["style.css"]:::frontend
        JS["script.js"]:::frontend
        Assets["assets/"]:::frontend
    end

    subgraph "External Donation Services"
        Trakteer["Trakteer"]:::external
        Saweria["Saweria"]:::external
        Kofi["Ko-fi"]:::external
        Patreon["Patreon"]:::external
    end

    subgraph "Documentation"
        README["README.md"]:::docs
    end

    Browser -->|"GET files"| CDN
    CDN -->|"Serves static files"| Browser
    CDN --> HTML
    CDN --> CSS
    CDN --> JS
    CDN --> Assets

    Browser -->|"Click donation link"| Trakteer
    Browser -->|"Click donation link"| Saweria
    Browser -->|"Click donation link"| Kofi
    Browser -->|"Click donation link"| Patreon

    click HTML "https://github.com/otniel113/otnielsupport/blob/main/index.html"
    click CSS "https://github.com/otniel113/otnielsupport/blob/main/style.css"
    click JS "https://github.com/otniel113/otnielsupport/blob/main/script.js"
    click Assets "https://github.com/otniel113/otnielsupport/tree/main/assets/"
    click README "https://github.com/otniel113/otnielsupport/blob/main/README.md"

    classDef frontend fill:#D6EAF8,stroke:#1B4F72
    classDef hosting fill:#D5F5E3,stroke:#196F3D
    classDef external fill:#FEF5E7,stroke:#B9770E
    classDef docs fill:#F5EEF8,stroke:#7D3C98
```
