# valameet99/love- architecture

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

- Interactive diagram: https://gitdiagram.com/valameet99/love-
- Repository: https://github.com/valameet99/love-

## Overview

##### Project type and purpose
- This is a static, multi‐page front-end “Love Proposal” website. There is no backend or database layer: just HTML pages, CSS stylesheets, JavaScript behavior, and an external font service. Its purpose is to serve a simple, charming presentation across two pages (index.html and pg2.html).

##### File structure
- Top-level files:
- index.html – the landing page
- pg2.html – secondary page (the proposal continuation)
- style.css and pg2css.css – global and page-specific style rules
- script.js and pg2js.js – global and page-specific scripts
- A Google Fonts import (css2?family=…)
- No server config, build scripts, or back-end directories → purely client-side.

##### README
- Title “Love Proposal” with no further technical details. Confirms a very small, static presentation project.

a. Main components:
- Web Browser (client)
- Static assets:
– HTML pages (index.html, pg2.html)
– CSS files (style.css, pg2css.css)
– JS files (script.js, pg2js.js)
- External service: Google Fonts CDN
b. Relationships and interactions:
- User’s browser requests index.html → HTML parser loads linked CSS and JS → browser renders UI.
- Navigation from index.html to pg2.html triggers a new HTML download and its CSS/JS.
- Both pages fetch font files from Google Fonts.
c. Architectural patterns/design principles:
- Separation of concerns: HTML for structure, CSS for styling, JS for behavior.
- Multi-page model (not single-page app).
- CDN usage for third-party font assets.
d. Key technologies:
- HTML5
- CSS3 (external and page-specific styles)
- Vanilla JavaScript
- Google Fonts

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["Web Browser"]:::browser
    Browser -->|GET index.html| Index["index.html"]:::html
    Browser -->|GET pg2.html| PG2["pg2.html"]:::html
    Index -->|load CSS| Style["style.css"]:::css
    Index -->|load JS| Script["script.js"]:::js
    PG2 -->|load CSS| PG2CSS["pg2css.css"]:::css
    PG2 -->|load JS| PG2JS["pg2js.js"]:::js
    Browser <-->|font fetch| Fonts["Google Fonts CDN"]:::external

    classDef browser fill:#f9f,stroke:#333,stroke-width:1px
    classDef html fill:#cce5ff,stroke:#333,stroke-width:1px
    classDef css fill:#d4edda,stroke:#333,stroke-width:1px
    classDef js fill:#ffe5b4,stroke:#333,stroke-width:1px
    classDef external fill:#e2e3e5,stroke:#333,stroke-width:1px

    click Index "https://github.com/valameet99/love-/blob/main/index.html"
    click PG2 "https://github.com/valameet99/love-/blob/main/pg2.html"
    click Style "https://github.com/valameet99/love-/blob/main/style.css"
    click PG2CSS "https://github.com/valameet99/love-/blob/main/pg2css.css"
    click Script "https://github.com/valameet99/love-/blob/main/script.js"
    click PG2JS "https://github.com/valameet99/love-/blob/main/pg2js.js"
```
