# alonsogza/tg architecture

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

- Interactive diagram: https://gitdiagram.com/alonsogza/tg
- Repository: https://github.com/alonsogza/tg

## Overview

##### Project type and purpose
- This is a simple, single-page static “Landing Page” delivered entirely from a static host (e.g. GitHub Pages under the docs folder).
- There is no traditional backend or database; all business logic runs in the browser via HTML, CSS, and JavaScript (including Vue).

##### File structure
- Top-level: README.md and a docs directory.
- docs/index.html: the only HTML entry point.
- docs/css/: estilos.css (custom styles) + normalize.css.
- docs/js/: script.js (custom code) + vue.js.
- docs/img/: image assets (.txt named but really image content).
- No server-side code, build scripts, or config files—pure static site.

##### README for additional insights
- Technologies used:
- HTML5 for markup
- CSS3 + Normalize + Bootstrap 4.5.2 for layout & reset
- JavaScript + jQuery 3.5.1 for DOM manipulation
- Vue 2.6.12 for reactive UI components
- Hosted via GitHub Pages (docs folder).

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client
    Browser["Client Browser"]:::client

    %% Hosting
    StaticHost["GitHub Pages (docs)"]:::host

    %% Local Static Assets
    subgraph "Local Static Assets"
        HTML["index.html"]:::client
        CSS_Custom["estilos.css"]:::client
        CSS_Normalize["normalize.css"]:::client
        JS_Custom["script.js"]:::client
        JS_Vue["vue.js"]:::client
        Img_Taco1["taco-03.txt"]:::client
        Img_Taco2["taco.txt"]:::client
    end

    %% External CDNs & APIs
    Bootstrap_CSS["Bootstrap CSS CDN"]:::external
    Bootstrap_JS["Bootstrap JS CDN"]:::external
    jQuery_CDN["jQuery CDN"]:::external
    Vue_CDN["Vue.js CDN"]:::external
    Normalize_CDN["Normalize.css CDN"]:::external
    FontAwesome["Font Awesome CDN"]:::external
    Pexels["Pexels API"]:::external
    uiGradients["uiGradients API"]:::external
    FreeSVG["FreeSVG API"]:::external
    TinyPNG["TinyPNG Optimizer"]:::external

    %% README
    README["README.md"]:::host

    %% Relationships
    Browser -->|GET index.html| StaticHost
    StaticHost -->|serves| HTML
    StaticHost -->|serves| CSS_Custom
    StaticHost -->|serves| CSS_Normalize
    StaticHost -->|serves| JS_Custom
    StaticHost -->|serves| JS_Vue
    StaticHost -->|serves| Img_Taco1
    StaticHost -->|serves| Img_Taco2

    HTML -->|loads stylesheet| CSS_Normalize
    HTML -->|loads stylesheet| CSS_Custom
    HTML -->|loads script| JS_Vue
    HTML -->|loads script| jQuery_CDN
    HTML -->|loads script| Bootstrap_JS
    HTML -->|loads stylesheet| Bootstrap_CSS
    HTML -->|loads script| JS_Custom
    HTML -->|loads stylesheet| FontAwesome

    JS_Custom -->|fetches assets| Pexels
    JS_Custom -->|fetches assets| uiGradients
    JS_Custom -->|fetches assets| FreeSVG
    JS_Custom -->|optimizes images via| TinyPNG

    %% Click events
    click HTML "https://github.com/alonsogza/tg/blob/main/docs/index.html"
    click CSS_Custom "https://github.com/alonsogza/tg/blob/main/docs/css/estilos.css"
    click CSS_Normalize "https://github.com/alonsogza/tg/blob/main/docs/css/normalize.css"
    click JS_Custom "https://github.com/alonsogza/tg/blob/main/docs/js/script.js"
    click JS_Vue "https://github.com/alonsogza/tg/blob/main/docs/js/vue.js"
    click Img_Taco1 "https://github.com/alonsogza/tg/blob/main/docs/img/taco-03.txt"
    click Img_Taco2 "https://github.com/alonsogza/tg/blob/main/docs/img/taco.txt"
    click StaticHost "https://github.com/alonsogza/tg/tree/main/docs/"
    click README "https://github.com/alonsogza/tg/blob/main/README.md"

    %% Styles
    classDef client fill:#ccffcc,stroke:#333,stroke-width:1px
    classDef host fill:#cce5ff,stroke:#333,stroke-width:1px
    classDef external fill:#ffe5cc,stroke:#333,stroke-width:1px
```
