# shubudeveloper/my-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/shubudeveloper/my-portfolio
- Repository: https://github.com/shubudeveloper/my-portfolio

## Overview

##### Project type and purpose
- This is a small, static portfolio website. It consists solely of HTML pages (index.html, project.html, certificate.html), CSS stylesheets under the css/ directory, a single JavaScript file (common.js), plus assets (images/) and static documents (documents/Resume.pdf, documents/nda).
- There’s no backend code or API layer—this project is meant to be hosted on a static‐site host or CDN.

##### File structure
- Top level:
- index.html, project.html, certificate.html → distinct pages for home, projects, certificates
- common.js → site‐wide JavaScript functionality (e.g., menu toggle, analytics)
- css/ → per‐page stylesheets (about.css, contact.css, etc.)
- images/ → all image assets
- documents/ → downloadable files (resume, NDA)
- No build scripts or server code. Everything is prebuilt and served as static content.

##### Relevant README insights
- The README simply says “My Portfolio.” That confirms this is a personal showcase site with no dynamic server components.

##### Detail
- That each HTML page links to its specific CSS file under css/
- Common.js as a single shared asset.
- Images/ and documents/ as static buckets.

Sample high‐level layout:
[User Browser] → (HTTP GET index.html) → [Hosting/CDN] → (200 OK + index.html) → [User Browser]
[User Browser] → (GET /css/index.css) → [Hosting/CDN] → (200 OK + index.css) → [User Browser]
[User Browser] → (GET /common.js) → … and so on for images/ and documents/

## Diagram (Mermaid)

```mermaid
flowchart TB
    UserBrowser["User Browser"]:::browser
    subgraph "Hosting/CDN"
        Hosting["Hosting/CDN"]:::hosting
        subgraph "Static Assets"
            indexHtml["index.html"]:::html
            projectHtml["project.html"]:::html
            certificateHtml["certificate.html"]:::html
            cssFolder["css/"]:::css
            commonJs["common.js"]:::js
            imagesFolder["images/"]:::img
            documentsFolder["documents/"]:::doc
        end
    end

    UserBrowser -->|GET index.html, CSS, JS, images, documents| Hosting
    Hosting -->|200 OK + requested asset| UserBrowser

    click indexHtml "https://github.com/shubudeveloper/my-portfolio/blob/main/index.html"
    click projectHtml "https://github.com/shubudeveloper/my-portfolio/blob/main/project.html"
    click certificateHtml "https://github.com/shubudeveloper/my-portfolio/blob/main/certificate.html"
    click cssFolder "https://github.com/shubudeveloper/my-portfolio/tree/main/css/"
    click commonJs "https://github.com/shubudeveloper/my-portfolio/blob/main/common.js"
    click imagesFolder "https://github.com/shubudeveloper/my-portfolio/tree/main/images/"
    click documentsFolder "https://github.com/shubudeveloper/my-portfolio/tree/main/documents/"

    classDef browser fill:#D0E6FF,stroke:#0366d6,color:#0366d6;
    classDef hosting fill:#F0F0F0,stroke:#999999,color:#333333;
    classDef html fill:#FFF4E5,stroke:#FFA500,color:#A65B00;
    classDef css fill:#E8F5E9,stroke:#4CAF50,color:#2E7D32;
    classDef js fill:#FFFDE7,stroke:#FFD600,color:#FF8F00;
    classDef img fill:#E3F2FD,stroke:#2196F3,color:#0D47A1;
    classDef doc fill:#F3E5F5,stroke:#9C27B0,color:#6A1B9A;
```
