# maigcorrea/proyecto_goiko architecture

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

- Interactive diagram: https://gitdiagram.com/maigcorrea/proyecto_goiko
- Repository: https://github.com/maigcorrea/proyecto_goiko

## Overview

##### Project type and purpose
- This is a static, front-end-only landing page that replicates Goiko’s homepage.
- Built using pure HTML, CSS and JavaScript, it delivers a responsive user interface with animations, language selection and banner-scrolling functionality.

##### File structure
- Top-level files:
- index.html (entry point)
- style.css (styles/animations)
- style.js (DOM manipulation, event handlers)
- Asset directories:
- fuentes/ (fonts)
- No backend code or API integrations—everything runs in the browser.

##### README for additional insights
- Functionality highlights:
1. Scroll back to first banner via footer button
2. Toggle language-selection dropdown
- Animations done in CSS and some combined CSS+JS.
- Emphasis on responsive design at 100% zoom.

##### Detail without over-complexity
- Split the front-end into as many logical components as makes sense (HTML, CSS, JS, assets).
- HTTP requests and client-side processing steps.
- Every component and data flow is labeled.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% User interaction
    User((User)):::user
    User -->|"interacts with"| Browser

    %% Browser and its runtime components
    Browser((Browser)):::runtime
    subgraph "Browser Runtime"
        DOM((DOM)):::runtime
        JSE((JS Engine)):::runtime
        CSSE((CSS Engine)):::runtime
    end

    %% Web Server / CDN
    subgraph "Web Server / CDN"
        Server[(Web Server / CDN)]:::server
    end

    %% Static Layers
    subgraph "Content Layer"
        HTML["index.html"]:::static
    end

    subgraph "Presentation Layer"
        CSS["style.css"]:::static
    end

    subgraph "Behavior Layer"
        JS["style.js"]:::static
    end

    %% Asset Storage
    subgraph "Asset Storage"
        Assets[(Assets Storage)]:::assets
        IMG_DIR["img/"]:::assets
        ICONS["ICONS"]:::assets
        VIDEOS["Vídeos"]:::assets
        IMAGENES["imagenes"]:::assets
        LOGO["logoRaro"]:::assets
        NUMEROS["numeros"]:::assets
        FONTS["fuentes/"]:::assets
    end

    %% HTTP Requests and Responses
    Browser -->|"HTTP GET index.html"| Server
    Server -->|"index.html"| Browser
    Browser -->|"HTTP GET style.css"| Server
    Server -->|"style.css"| Browser
    Browser -->|"HTTP GET style.js"| Server
    Server -->|"style.js"| Browser
    Browser -->|"HTTP GET assets"| Server
    Server -->|"img/, fuentes"| Browser

    %% Loading into Browser Runtime
    Browser -->|"parse HTML"| DOM
    Browser -->|"load CSS"| CSSE
    Browser -->|"load JS"| JSE

    %% In-browser interactions
    JSE -->|"manipulate DOM"| DOM
    DOM -->|"trigger animations"| CSSE

    %% Asset retrieval detail
    Browser -->|"request images/icons"| IMG_DIR
    Browser -->|"request fonts"| FONTS

    %% Asset Storage hierarchy
    Assets --> IMG_DIR
    IMG_DIR --> ICONS
    IMG_DIR --> VIDEOS
    IMG_DIR --> IMAGENES
    IMG_DIR --> LOGO
    IMG_DIR --> NUMEROS

    %% Click Events
    click HTML "https://github.com/maigcorrea/proyecto_goiko/blob/main/index.html"
    click CSS "https://github.com/maigcorrea/proyecto_goiko/blob/main/style.css"
    click JS "https://github.com/maigcorrea/proyecto_goiko/blob/main/style.js"
    click IMG_DIR "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/"
    click ICONS "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/ICONS"
    click VIDEOS "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/Vídeos"
    click IMAGENES "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/imagenes"
    click LOGO "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/logoRaro"
    click NUMEROS "https://github.com/maigcorrea/proyecto_goiko/tree/main/img/numeros"
    click FONTS "https://github.com/maigcorrea/proyecto_goiko/tree/main/fuentes/"

    %% Styles
    classDef user fill:#ffe599,stroke:#bf9000,color:#000
    classDef runtime fill:#f9cb9c,stroke:#b45f06,color:#000
    classDef server fill:#b6d7a8,stroke:#38761d,color:#000
    classDef static fill:#9fc5e8,stroke:#0b5394,color:#000
    classDef assets fill:#c9c9ff,stroke:#3f3fff,color:#000
```
