# akiffazal/my-portfolio-website architecture

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

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

## Overview

##### Project type and purpose
- This is a **static portfolio website**, built purely with HTML, CSS, and JavaScript.
- No dynamic backend or database; assets include a PDF resume and site styling/behavior files.
- CI/CD pipeline via GitHub Actions (static.yml) likely deploys to a static-hosting service (e.g., GitHub Pages, Netlify).

##### File structure
- Top-level:
- `.github/workflows/static.yml` → continuous integration/deployment config
- `index.html` → entry point
- CSS files (`style.css`, `hamburger.css`, `mobile-menu.css`, `profile-adjust.css`) → styling concerns
- JS files (`script.js`, `mobile-menu.js`, `profile-adjust.js`) → interactive behavior
- `assets/` → static assets (resume PDF)
- No server or API directories—this is purely front-end.

##### README
- Very brief: just the project title. No additional architecture notes, so we infer common static-site CI/CD.

##### Required elements
- **Clear labels**: e.g., “User Browser,” “Static Host,” “GitHub Repo,” “CI/CD.”
– Code push → CI/CD
– CI/CD → Deploy to Host
– Browser → Host → fetch files
– Another for hosting infrastructure
– A third for the client

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "GitHub Repository"
        direction TB
        README["README.md"]:::file
        HTML["index.html"]:::file
        CSS1["style.css"]:::file
        CSS2["hamburger.css"]:::file
        CSS3["mobile-menu.css"]:::file
        CSS4["profile-adjust.css"]:::file
        JS1["script.js"]:::file
        JS2["mobile-menu.js"]:::file
        JS3["profile-adjust.js"]:::file
        ASSET["assets/Akif_Fazal_Resume.pdf"]:::file
        CIConfig[".github/workflows/static.yml"]:::file
    end

    CI["CI/CD Pipeline (GitHub Actions)"]:::ci
    HOST["Static Hosting Service"]:::hosting
    BROWSER["User Browser"]:::client

    CIConfig -->|"triggers build & deploy"| CI
    CI -->|"deploy"| HOST
    BROWSER -->|"Request index.html, CSS, JS, PDF"| HOST
    HOST -->|"Serve files"| BROWSER

    click README "https://github.com/akiffazal/my-portfolio-website/blob/main/README.md"
    click HTML "https://github.com/akiffazal/my-portfolio-website/blob/main/index.html"
    click CSS1 "https://github.com/akiffazal/my-portfolio-website/blob/main/style.css"
    click CSS2 "https://github.com/akiffazal/my-portfolio-website/blob/main/hamburger.css"
    click CSS3 "https://github.com/akiffazal/my-portfolio-website/blob/main/mobile-menu.css"
    click CSS4 "https://github.com/akiffazal/my-portfolio-website/blob/main/profile-adjust.css"
    click JS1 "https://github.com/akiffazal/my-portfolio-website/blob/main/script.js"
    click JS2 "https://github.com/akiffazal/my-portfolio-website/blob/main/mobile-menu.js"
    click JS3 "https://github.com/akiffazal/my-portfolio-website/blob/main/profile-adjust.js"
    click ASSET "https://github.com/akiffazal/my-portfolio-website/blob/main/assets/Akif_Fazal_Resume.pdf"
    click CIConfig "https://github.com/akiffazal/my-portfolio-website/blob/main/.github/workflows/static.yml"

    classDef file fill:#cfe2f3,stroke:#0b5394,color:#0b5394;
    classDef ci fill:#d9ead3,stroke:#6aa84f,color:#274e13;
    classDef hosting fill:#fce5cd,stroke:#e69138,color:#7f6000;
    classDef client fill:#d9d2e9,stroke:#8e7cc3,color:#4a235a;
```
