# mrpenguinm/gravity-team architecture

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

- Interactive diagram: https://gitdiagram.com/mrpenguinm/gravity-team
- Repository: https://github.com/mrpenguinm/gravity-team

## Overview

##### Project type and purpose
- This is a lightweight, responsive **static website** showcasing “Gravity-Team,” built purely with **HTML**, **CSS**, and **JavaScript**. There is no backend or database—everything runs client-side in the browser.

##### File structure
- Top level:
- `index.html` – the single entry point, defines the page structure and content sections.
- `Css/` – contains `Style.css` (main styling) and `normalize.css` (CSS reset).
- `js/` – contains `main.js`, which drives client-side interactivity.
- `Imge/` – holds all image assets referenced in the HTML/CSS.
- No server scripts, config files, or build pipelines—purely static.

##### README for additional insights
- Confirms it’s a **2024** Figma-designed static landing page.
- Sections: Header, About, Crypto Market Making.
- Tools: Figma, HTML, CSS, JavaScript.
- Assets folder (named “assets/” in README, here “Imge/”) holds media files.

a. Main components:
- **Client Browser**: Renders HTML/CSS/JS.
- **Web Server (Static File Host)**: Serves `index.html`, CSS, JS, and image files.
- **Assets**: CSS files, JavaScript file, images.
b. Relationships & interactions:
- Browser issues **HTTP GET** to the server for `index.html`.
- On parsing, the browser requests linked CSS and JS.
- CSS and JS files load, apply styles and interactivity.
- Images are fetched as the HTML/CSS references them.
c. Architectural patterns/design principles:
- **Separation of Concerns**:
- Structure: HTML
- Presentation: CSS
- Behavior: JavaScript
- **Responsive Design**: CSS media queries (in `Style.css`) adapt layout.
d. Key technologies:
- HTML5 (semantic tags)
- normalize.css (CSS reset)
- Custom CSS in `Style.css`
- Vanilla JavaScript in `main.js`

##### Detail without overcomplicating
- Break the system into discrete components (Browser, Server, Assets).
- Public-facing files and their interactions with the browser.
- Responsiveness and client-only behavior.

## Diagram (Mermaid)

```mermaid
graph TB
    %% Client
    Browser["Client Browser"]:::client

    %% Server and Assets
    subgraph "Static File Server"
        direction TB
        subgraph "Static Assets"
            direction TB
            HTML["index.html"]:::assets_html
            CSSReset["normalize.css"]:::assets_css
            MainCSS["Style.css"]:::assets_css
            JS["main.js"]:::assets_js
            Images["Imge/ (Images)"]:::assets_img
        end
        Documentation["README.md"]:::doc
    end

    %% Requests and Responses
    Browser -->|"GET /index.html"| HTML
    HTML -->|"200 OK + index.html"| Browser

    Browser -->|"GET /Css/normalize.css"| CSSReset
    CSSReset -->|"200 OK + normalize.css"| Browser

    Browser -->|"GET /Css/Style.css"| MainCSS
    MainCSS -->|"200 OK + Style.css"| Browser

    Browser -->|"GET /js/main.js"| JS
    JS -->|"200 OK + main.js"| Browser

    Browser -->|"GET /Imge/... "| Images
    Images -->|"200 OK + image files"| Browser

    %% Click Events
    click HTML "https://github.com/mrpenguinm/gravity-team/blob/master/index.html"
    click CSSReset "https://github.com/mrpenguinm/gravity-team/blob/master/Css/normalize.css"
    click MainCSS "https://github.com/mrpenguinm/gravity-team/blob/master/Css/Style.css"
    click JS "https://github.com/mrpenguinm/gravity-team/blob/master/js/main.js"
    click Images "https://github.com/mrpenguinm/gravity-team/tree/master/Imge/"
    click Documentation "https://github.com/mrpenguinm/gravity-team/blob/master/README.md"

    %% Styles
    classDef client fill:#B3E5FC,stroke:#0288D1,stroke-width:2px
    classDef server fill:#C8E6C9,stroke:#388E3C,stroke-width:2px
    classDef assets_html fill:#FFE0B2,stroke:#FB8C00,stroke-width:1px
    classDef assets_css fill:#FFF9C4,stroke:#FBC02D,stroke-width:1px
    classDef assets_js fill:#F8BBD0,stroke:#D81B60,stroke-width:1px
    classDef assets_img fill:#E0E0E0,stroke:#757575,stroke-width:1px
    classDef doc fill:#CFD8DC,stroke:#455A64,stroke-width:1px
```
