# mdzameercse/portfolio architecture

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

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

## Overview

##### Project type and purpose
- This is a **static, single-page/multi-page portfolio website** built purely with HTML, CSS, and JavaScript.
- Its goal is to showcase a developer’s work, be fully responsive, SEO-optimized, and lightweight for fast load times.

##### File structure
- Top level:
- `index.html`, `about.html`, `404.html` – primary HTML entry points.
- `assets/` – all static assets:
– `img/` (images)
– `style/` (SCSS & compiled CSS + sourcemap)
– `script/` (modular JS files: `main.js`, `projects.js`, `send.js`, `expertise.js`, `typing.js`)
- Configuration and meta: `robots.txt`, `sitemap.xml`, `google7…html`, `LICENSE`, `README.md`
- No backend code—no server‐side components—only static files.

##### README for additional insights
- Emphasizes **responsive design**, **SEO optimization**, **dynamic requests**, and **theme customization**.
- Mentions “dynamic requests” (likely JS fetching JSON or posting to a third-party form handler/API).

##### Detail
- Build step (SCSS → CSS, bundling) if part of the deployment pipeline
- Don’t omit SEO files (`sitemap.xml`, `robots.txt`) since SEO is a core feature.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    Browser["Browser (Client)"]:::client

    %% CI/CD Pipeline
    subgraph "CI/CD Pipeline" 
        BuildSCSS["Compile SCSS → CSS"]:::pipeline
        BundleJS["Bundle JS Modules"]:::pipeline
        GenerateSitemap["Generate sitemap.xml"]:::pipeline
    end

    CI["GitHub Actions / Netlify Build"]:::pipeline -->|triggers| BuildSCSS
    CI -->|triggers| BundleJS
    CI -->|triggers| GenerateSitemap
    GenerateSitemap -->|outputs| SEOFiles

    %% Static Hosting Layer
    subgraph "Static Host / CDN" 
        HTML["HTML Entry Points"]:::static
        subgraph "Assets" 
            ImgDir["Images"]:::static
            StyleDir["Styles"]:::static
            ScriptDir["Scripts"]:::static
        end
        subgraph "SEO & Verification"
            Robots["robots.txt"]:::static
            Sitemap["sitemap.xml"]:::static
            GoogleVerif["google7e3ab5bd97768157.html"]:::static
        end
    end

    %% External Services
    ThirdPartyFormAPI["Third-Party Form API"]:::external
    Analytics["Analytics / Monitoring"]:::external
    SearchBot["Search Engine Bots"]:::external

    %% Flows
    Browser -->|"GET *.html, CSS, JS, Images"| StaticHost["Static Host / CDN"]
    StaticHost -->|serves assets| Browser
    Browser -->|"AJAX Fetch / POST"| ThirdPartyFormAPI
    Browser -->|"sends pageview"| Analytics
    SearchBot -->|"crawl sitemap.xml & HTML"| StaticHost

    CI -->|deploy build artifacts| StaticHost

    %% Click Events for HTML
    click HTML "https://github.com/mdzameercse/portfolio/blob/master/index.html"
    click HTML "https://github.com/mdzameercse/portfolio/blob/master/about.html"
    click HTML "https://github.com/mdzameercse/portfolio/blob/master/404.html"

    %% Click Events for Assets
    click ImgDir "https://github.com/mdzameercse/portfolio/tree/master/assets/img/"
    click StyleDir "https://github.com/mdzameercse/portfolio/blob/master/assets/style/_style.scss"
    click StyleDir "https://github.com/mdzameercse/portfolio/blob/master/assets/style/style.css"
    click StyleDir "https://github.com/mdzameercse/portfolio/blob/master/assets/style/style.css.map"
    click ScriptDir "https://github.com/mdzameercse/portfolio/blob/master/assets/script/main.js"
    click ScriptDir "https://github.com/mdzameercse/portfolio/blob/master/assets/script/projects.js"
    click ScriptDir "https://github.com/mdzameercse/portfolio/blob/master/assets/script/send.js"
    click ScriptDir "https://github.com/mdzameercse/portfolio/blob/master/assets/script/experties.js"
    click ScriptDir "https://github.com/mdzameercse/portfolio/blob/master/assets/script/typeing.js"

    %% Click Events for SEO & Verification
    click Robots "https://github.com/mdzameercse/portfolio/blob/master/robots.txt"
    click Sitemap "https://github.com/mdzameercse/portfolio/blob/master/sitemap.xml"
    click GoogleVerif "https://github.com/mdzameercse/portfolio/blob/master/google7e3ab5bd97768157.html"

    %% Click Events for Documentation
    click README "https://github.com/mdzameercse/portfolio/blob/master/README.md"
    click LICENSE "https://github.com/mdzameercse/portfolio/tree/master/LICENSE"

    %% Styles
    classDef client fill:#9f6,stroke:#080,stroke-width:2px
    classDef static fill:#6af,stroke:#048,stroke-width:2px
    classDef external fill:#fa0,stroke:#a50,stroke-width:2px
    classDef pipeline fill:#b9f,stroke:#60f,stroke-width:2px

    class Browser client
    class HTML,ImgDir,StyleDir,ScriptDir,Robots,Sitemap,GoogleVerif static
    class ThirdPartyFormAPI,Analytics,SearchBot external
    class BuildSCSS,BundleJS,GenerateSitemap,CI pipeline

    %% Anchors
    Browser --> StaticHost
    StaticHost --> Browser
    CI --> StaticHost
```
