# gtazz/ralsei-prototype architecture

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

- Interactive diagram: https://gitdiagram.com/gtazz/ralsei-prototype
- Repository: https://github.com/gtazz/ralsei-prototype

## Overview

##### Project type and purpose
- This is a purely front-end, static “Interactive Portfolio Prototype.”
- There is no backend or database; it’s delivered as static HTML, CSS, JS, and image assets.

a. Client (Browser)
b. Static Web Host / CDN (e.g., GitHub Pages, S3 + CloudFront)
c. Index.html (entry point)
d. Styling layer (CSS files under assets/css/)
e. Scripting layer (assets/js/script.js)

##### Architectural patterns & design principles
- Client-side rendering only
- Separation of concerns:
- Structure: index.html
- Presentation: CSS in assets/css/
- Behavior: JS in assets/js/
- Asset organization: grouping by type (css, js, images, sprites)

##### Technologies / frameworks
- HTML5 (index.html)
- CSS3 (assets/css/style.css, language.css, colorTheme.css)
- Vanilla JavaScript (assets/js/script.js)
- Piskel spriteSheet for any custom animations
- Static site hosting service (e.g., GitHub Pages)

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Client (Browser)"
        direction TB
        Index["index.html"]:::html
        subgraph "CSS (assets/css)"
            Style["style.css"]:::css
            Language["language.css"]:::css
            Color["colorTheme.css"]:::css
        end
        JS["script.js"]:::js
        subgraph "Media Assets"
            subgraph "Images (assets/image)"
                Img["Image Assets"]:::media
            end
            subgraph "Icons (assets/icon)"
                Icon["Icon Assets"]:::media
            end
            subgraph "Edit-Art (assets/edit-art)"
                Sprite["spriteSheet.piskel"]:::media
            end
        end
        DOM["DOM Rendering"]:::dom
        Index -->|"loads style.css"| Style
        Index -->|"loads language.css"| Language
        Index -->|"loads colorTheme.css"| Color
        Index -->|"loads script.js"| JS
        JS -->|"manipulates"| DOM
    end

    Host["Static Web Host/CDN"]:::host

    Index -->|"HTTP GET index.html"| Host
    Style -->|"HTTP GET CSS"| Host
    Language -->|"HTTP GET CSS"| Host
    Color -->|"HTTP GET CSS"| Host
    JS -->|"HTTP GET JS"| Host
    Img -->|"HTTP GET Image"| Host
    Icon -->|"HTTP GET Icon"| Host
    Sprite -->|"HTTP GET Sprite"| Host

    click Index "https://github.com/gtazz/ralsei-prototype/blob/main/index.html"
    click Style "https://github.com/gtazz/ralsei-prototype/blob/main/assets/css/style.css"
    click Language "https://github.com/gtazz/ralsei-prototype/blob/main/assets/css/language.css"
    click Color "https://github.com/gtazz/ralsei-prototype/blob/main/assets/css/colorTheme.css"
    click JS "https://github.com/gtazz/ralsei-prototype/blob/main/assets/js/script.js"
    click Img "https://github.com/gtazz/ralsei-prototype/tree/main/assets/image/"
    click Icon "https://github.com/gtazz/ralsei-prototype/tree/main/assets/icon/"
    click Sprite "https://github.com/gtazz/ralsei-prototype/blob/main/assets/edit-art/spriteSheet.piskel"

    classDef html fill:#D0E8FF,stroke:#0366d6,color:#0366d6
    classDef css fill:#E8F4FF,stroke:#0366d6,color:#0366d6
    classDef js fill:#FFE8D0,stroke:#d97706,color:#d97706
    classDef media fill:#F0F0F0,stroke:#555,color:#555
    classDef host fill:#E0FFE0,stroke:#2d8d2d,color:#2d8d2d
    classDef dom fill:#FFF4E0,stroke:#d97706,color:#d97706
    classDef client fill:#F5E8FF,stroke:#6b21a8,color:#6b21a8
```
