# emanoelbusson/alurabook architecture

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

- Interactive diagram: https://gitdiagram.com/emanoelbusson/alurabook
- Repository: https://github.com/emanoelbusson/alurabook

## Overview

##### Project type and purpose
- From the README (“Projeto feito durante curso de responsabilidade mobile first da alura”) and the file tree, this is a single‐page, static, mobile‐first front-end website (no backend code).
- Purpose: deliver a responsive landing page (“alurabook”) that adapts across device sizes.

##### File structure
- Top level:
- index.html – entry point
- reset.css – CSS reset
- styles.css – global stylesheet
- img/ – image assets
- styles/ – modular CSS (banner.css, carrossel.css, contato.css, header.css, rodapé.css, topicos.css)
- No server-side code or build scripts: purely static assets.

##### Key insights from the README
- “mobile first” responsiveness.
- Built during a front-end course → emphasis on HTML/CSS layout, media queries.

## Diagram (Mermaid)

```mermaid
flowchart TB
    Client["Client Browser"]:::client
    DNS["DNS Resolution"]:::cdn
    CDN["CDN Edge Cache"]:::cdn
    StaticHost["Static File Host"]:::cdn

    Client -->|DNS Lookup| DNS
    DNS --> CDN
    Client -->|Request index.html| CDN
    CDN -->|Cache miss/fetch| StaticHost
    StaticHost -->|Serve index.html| CDN
    CDN -->|Deliver index.html| Client

    subgraph "Static Assets"
        HTML["index.html"]:::assets
        CSSReset["reset.css"]:::assets
        GlobalCSS["styles.css"]:::assets
        subgraph "Module CSS"
            BannerCSS["banner.css"]:::assets
            CarrosselCSS["carrossel.css"]:::assets
            HeaderCSS["header.css"]:::assets
            TopicosCSS["topicos.css"]:::assets
            ContatoCSS["contato.css"]:::assets
            RodapeCSS["rodapé.css"]:::assets
        end
        Images["img/*"]:::assets
    end

    Client -->|Loads HTML| HTML
    HTML -->|links to reset| CSSReset
    HTML -->|links to global| GlobalCSS
    HTML -->|links to banner| BannerCSS
    HTML -->|links to carrossel| CarrosselCSS
    HTML -->|links to header| HeaderCSS
    HTML -->|links to topics| TopicosCSS
    HTML -->|links to contact| ContatoCSS
    HTML -->|links to footer| RodapeCSS

    Client -->|Fetches CSS| CSSReset
    Client -->|Fetches CSS| GlobalCSS
    Client -->|Fetches CSS| BannerCSS
    Client -->|Fetches CSS| CarrosselCSS
    Client -->|Fetches CSS| HeaderCSS
    Client -->|Fetches CSS| TopicosCSS
    Client -->|Fetches CSS| ContatoCSS
    Client -->|Fetches CSS| RodapeCSS
    Client -->|Fetches Images| Images

    click HTML "https://github.com/emanoelbusson/alurabook/blob/main/index.html"
    click CSSReset "https://github.com/emanoelbusson/alurabook/blob/main/reset.css"
    click GlobalCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles.css"
    click BannerCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/banner.css"
    click CarrosselCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/carrossel.css"
    click HeaderCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/header.css"
    click TopicosCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/topicos.css"
    click ContatoCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/contato.css"
    click RodapeCSS "https://github.com/emanoelbusson/alurabook/blob/main/styles/rodapé.css"
    click Images "https://github.com/emanoelbusson/alurabook/tree/main/img/"

    classDef client fill:#ADD8E6,stroke:#000;
    classDef assets fill:#90EE90,stroke:#000;
    classDef cdn fill:#FFA500,stroke:#000;
```
