# o-leandro/desafio-9 architecture

> Architecture diagram of the GitHub repository o-leandro/desafio-9, 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/o-leandro/desafio-9
- Repository: https://github.com/o-leandro/desafio-9

## Overview

##### Project type and purpose
- This is a simple, static, front-end–only web project: a portfolio layout challenge built with plain HTML5 and CSS3. There is no backend, no database, nor build pipeline—just a single `index.html` entry point and supporting asset directories.

##### File structure
- Top-level:
- README.md – project description
- index.html – entry point
- src/
├─ css/style.css – styling
└─ img/ – images and animated GIFs
- No scripts folder, no server code, no config files beyond what you might add for hosting.

##### README for additional insights
- Confirms the tech stack: HTML5/CSS3 only.
- Provides a Figma link showing intended design and layout.
- Displays a preview GIF in `src/img`.

##### Elements
- Client (Browser)
- Hosting/CDN
- Static Asset Store (file system or object storage)
- “GET /index.html”
- “GET /style.css”
- “GET /images/desafio-9-codelandia.gif”
- Blue for client
- Green for server/CDN
- Orange for storage/assets
- Rounded rectangle for the browser
- Rectangle for the server/CDN

##### Detail, but avoid overcomplication
- Don’t try to invent microservices or databases—this is a static site.

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Client"
        Browser["Browser"]:::client
    end

    subgraph "Hosting / CDN"
        CDN["Server / CDN"]:::server
    end

    subgraph "Static Asset Store"
        AssetStore[(File System / Object Storage)]:::storage
        HTML["index.html"]:::storage
        CSS["style.css"]:::storage
        IMGS["src/img/"]:::storage
        README["README.md"]:::storage
    end

    Browser -->|"GET /index.html"| CDN
    CDN -->|"GET /index.html"| AssetStore
    AssetStore -->|"index.html"| CDN
    CDN -->|"200 OK"| Browser

    Browser -->|"GET /src/css/style.css"| CDN
    CDN -->|"GET style.css"| AssetStore
    AssetStore -->|"style.css"| CDN
    CDN -->|"200 OK"| Browser

    Browser -->|"GET /src/img/desafio-9-codelandia.gif"| CDN
    CDN -->|"GET desafio-9-codelandia.gif"| AssetStore
    AssetStore -->|"desafio-9-codelandia.gif"| CDN
    CDN -->|"200 OK"| Browser

    click HTML "https://github.com/o-leandro/desafio-9/blob/main/index.html"
    click CSS "https://github.com/o-leandro/desafio-9/blob/main/src/css/style.css"
    click IMGS "https://github.com/o-leandro/desafio-9/tree/main/src/img/"
    click README "https://github.com/o-leandro/desafio-9/blob/main/README.md"

    classDef client fill:#ADD8E6,stroke:#333,stroke-width:1px
    classDef server fill:#90EE90,stroke:#333,stroke-width:1px
    classDef storage fill:#FFA500,stroke:#333,stroke-width:1px
```
