# programminghero1/b11a1--assignment-1 architecture

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

- Interactive diagram: https://gitdiagram.com/programminghero1/b11a1--assignment-1
- Repository: https://github.com/programminghero1/b11a1--assignment-1

## Overview

##### Project type and purpose
- This is a pure HTML & CSS static website assignment (“BANGLADESH 2.0”) designed to showcase a multipage or single-page layout with several UI sections (banner, vision cards, news cards, donate section, newsletter, quote).
- No backend, no dynamic data – it’s a front-end–only deliverable.

##### File structure
- Top-level files/directories:
- B11-A01-Bangladesh2-0.fig – the Figma design source
- UI/ – folder of exported images for each section (banner.png, vision.png, etc.)
- assets/ – likely contains HTML, CSS, and any additional static assets
- readme.md – assignment instructions
- There are no server‐side scripts, build pipelines, or config files (e.g., package.json), confirming it’s a simple static site.

##### README for additional insights
- Outlines seven UI sections (banner, vision, news, donate, newsletter, hover effects, quote)
- Stipulates HTML & CSS only, no frameworks
- References Figma images in UI/ to faithfully reproduce styling

##### Detailed capture of architectural elements
- Banner Section (HTML + banner.png)
- Vision Section (three cards + vision images)
- News Section (two cards + news images)
- Donate Section (four cards + donate images)
- Newsletter Section (form)
- Hover effects as CSS styling on card/button components
- Single stylesheet file applied across all sections
- That there is no backend or database – all data is hard-coded in HTML

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Browser
    subgraph "Browser (Client)" 
        style Browser fill:#e0f7fa,stroke:#006064,stroke-width:2px
        Banner["Banner Section"]:::section
        Vision["Vision Cards Section"]:::section
        News["News Cards Section"]:::section
        Donate["Donate Section"]:::section
        Newsletter["Newsletter Section"]:::section
        Quote["Quote Section"]:::section
    end

    %% Static Host
    Host["Static File Host"]:::host

    %% File Repositories
    assets["assets/ (HTML, CSS)"]:::code
    UI["UI/ (Media Assets)"]:::media
    Figma["Figma Design Source"]:::design
    Readme["readme.md"]:::code

    %% Requests & Responses
    Banner -->|renders with HTML/CSS| Browser
    Vision -->|renders with HTML/CSS| Browser
    News -->|renders with HTML/CSS| Browser
    Donate -->|renders with HTML/CSS| Browser
    Newsletter -->|renders with HTML/CSS| Browser
    Quote -->|renders with HTML/CSS| Browser

    Browser -->|"GET index.html"| Host
    Browser -->|"GET style.css"| Host
    Browser -->|"GET images"| Host
    Host -->|"200 OK: index.html\nstyle.css"| Browser

    %% Host file serving
    Host --> assets
    Host --> UI
    Host --> Readme

    %% Browser loads resources from assets/UI
    assets -->|provides HTML/CSS| Banner
    assets -->|provides HTML/CSS| Vision
    assets -->|provides HTML/CSS| News
    assets -->|provides HTML/CSS| Donate
    assets -->|provides CSS| Newsletter
    assets -->|provides HTML| Quote

    UI -->|provides banner.png| Banner
    UI -->|provides vision images| Vision
    UI -->|provides news images| News
    UI -->|provides donate images| Donate
    UI -->|provides quote.png| Quote

    %% Design source to media export
    Figma -->|exports images| UI

    %% Click Events
    click Figma "https://github.com/programminghero1/b11a1--assignment-1/blob/main/B11-A01-Bangladesh2-0.fig"
    click UI "https://github.com/programminghero1/b11a1--assignment-1/tree/main/UI/"
    click assets "https://github.com/programminghero1/b11a1--assignment-1/tree/main/assets/"
    click Readme "https://github.com/programminghero1/b11a1--assignment-1/blob/main/readme.md"
    click Banner "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/index.html"
    click Vision "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/index.html"
    click News "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/index.html"
    click Donate "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/index.html"
    click Newsletter "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/style.css"
    click Quote "https://github.com/programminghero1/b11a1--assignment-1/blob/main/assets/index.html"

    %% Styles
    classDef client fill:#e0f7fa,stroke:#006064,stroke-width:2px
    classDef host fill:#eceff1,stroke:#37474f,stroke-width:2px
    classDef code fill:#bbdefb,stroke:#0d47a1,stroke-width:1px
    classDef media fill:#c8e6c9,stroke:#1b5e20,stroke-width:1px
    classDef design fill:#eeeeee,stroke:#616161,stroke-width:1px
    classDef section fill:#ffffff,stroke:#0288d1,stroke-width:1px,stroke-dasharray: 5 5
```
