# cubelemon/advanced-e-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/cubelemon/advanced-e-portfolio
- Repository: https://github.com/cubelemon/advanced-e-portfolio

## Overview

##### Project type and purpose
- From the file tree and README (“My Portfolio”), this is a static, client-side portfolio website. It consists entirely of HTML pages, a CSS stylesheet, a JS script, and static assets (PDF resumes and possibly images under assets/).

##### File structure
- Top-level HTML files: index.html (home), about.html (about page), herculabs.html (project/case study page).
- style.css: global stylesheet.
- script.js: any client-side behavior.
- assets/: contains resumes (PDFs) and may hold images or other media.
- No server-side code, build scripts, or configuration files—this is purely static.

##### README for additional insights
- README simply says “My Portfolio.” There are no build instructions or architectural notes, confirming that this is intended to be served as a static site (e.g., via GitHub Pages, Netlify, or any static file host).

##### Detailed breakdown to capture essential elements
- Divide “Static Content” into four sub-domains:
1. Pages (index.html, about.html, herculabs.html)
2. Stylesheet (style.css)
3. Script (script.js)
4. Assets (assets folder→PDFs/images)
- Optionally, illustrate caching behavior:
- Browser cache
- CDN cache
- Origin server

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Clients and Servers
    Browser["Web Browser (Client)"]:::client
    CDN["Static Web Server / CDN"]:::server

    Browser -->|"HTTP GET"| CDN
    CDN -->|"HTTP Response (HTML/CSS/JS/Assets)"| Browser

    %% Static Content Group
    subgraph "Static Content"
        subgraph "Pages"
            Index["index.html"]:::content
            About["about.html"]:::content
            Hercu["herculabs.html"]:::content
        end
        Styles["style.css"]:::content
        Script["script.js"]:::content
        subgraph "Assets"
            HLab["Herculab/"]:::content
            AboutAssets["about/"]:::content
            Lang["language/"]:::content
            PDF1["Natasha_Resume_August_2024 copy.pdf"]:::content
            PDF2["Natasha_Resume_February_2025.pdf"]:::content
            PDF3["natasha_resume.pdf"]:::content
        end
    end

    %% Resource Dependencies
    Index -->|"references"| Styles
    Index -->|"references"| Script
    Index -->|"references"| HLab
    Index -->|"references"| AboutAssets
    Index -->|"references"| Lang
    Index -->|"references"| PDF1
    Index -->|"references"| PDF2
    Index -->|"references"| PDF3

    About -->|"references"| Styles
    About -->|"references"| Script
    About -->|"references"| HLab
    About -->|"references"| AboutAssets
    About -->|"references"| Lang
    About -->|"references"| PDF1
    About -->|"references"| PDF2
    About -->|"references"| PDF3

    Hercu -->|"references"| Styles
    Hercu -->|"references"| Script
    Hercu -->|"references"| HLab
    Hercu -->|"references"| AboutAssets
    Hercu -->|"references"| Lang
    Hercu -->|"references"| PDF1
    Hercu -->|"references"| PDF2
    Hercu -->|"references"| PDF3

    %% Click Events
    click Index "https://github.com/cubelemon/advanced-e-portfolio/blob/main/index.html"
    click About "https://github.com/cubelemon/advanced-e-portfolio/blob/main/about.html"
    click Hercu "https://github.com/cubelemon/advanced-e-portfolio/blob/main/herculabs.html"
    click Styles "https://github.com/cubelemon/advanced-e-portfolio/blob/main/style.css"
    click Script "https://github.com/cubelemon/advanced-e-portfolio/blob/main/script.js"
    click HLab "https://github.com/cubelemon/advanced-e-portfolio/tree/main/assets/Herculab/"
    click AboutAssets "https://github.com/cubelemon/advanced-e-portfolio/tree/main/assets/about/"
    click Lang "https://github.com/cubelemon/advanced-e-portfolio/tree/main/assets/language/"
    click PDF1 "https://github.com/cubelemon/advanced-e-portfolio/blob/main/assets/Natasha_Resume_August_2024 copy.pdf"
    click PDF2 "https://github.com/cubelemon/advanced-e-portfolio/blob/main/assets/Natasha_Resume_February_2025.pdf"
    click PDF3 "https://github.com/cubelemon/advanced-e-portfolio/blob/main/assets/natasha_resume.pdf"

    %% Styles
    classDef client fill:#ADD8E6,stroke:#333,stroke-width:1px
    classDef server fill:#98FB98,stroke:#333,stroke-width:1px
    classDef content fill:#FFFACD,stroke:#333,stroke-width:1px
```
