# mohamedmedhatnabil/simone-portofolio architecture

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

- Interactive diagram: https://gitdiagram.com/mohamedmedhatnabil/simone-portofolio
- Repository: https://github.com/mohamedmedhatnabil/simone-portofolio

## Overview

##### Project type and purpose
- This is a simple, static portfolio website built with HTML, CSS and images.
- The presence of GitHub Actions workflows named “jekyll-dockjer.yml” and “jekyll-gh-pages.yml” indicates that you’re using GitHub Pages (with Jekyll) as a static site generator and deployment platform.
- Purpose: Serve a personal portfolio (index.html, assets under css/ and img/) via GitHub Pages.

##### File structure
- Top level:
- .github/workflows/ – CI/CD definitions
- index.html – entry point
- css/ – styling
- img/ – static media assets
- README.md – project description/link
- No backend or dynamic code; it’s purely static.
- Workflows:
- jekyll-gh-pages.yml – builds with Jekyll, pushes to gh-pages branch
- jekyll-dockjer.yml – likely a Docker-based build step
- stathic.yml & static.yml – alternative static-site deploys

##### README for additional insights
- Only contains the published site URL.

##### Elements
- Code → push → Repo
- Repo → triggers → CI/CD
- CI/CD → builds → Static Artifacts
- CI/CD → deploys → GitHub Pages
- User Browser → HTTP request → GitHub Pages → static assets
- Blue for code/Repo
- Green for CI/CD and build
- Orange for hosting/CDN
- Yellow for end user
- Rectangles for processes (build, deploy)
- Clouds for external services (GitHub Pages)

##### Detailed but not over-engineered
- Even though it’s a modest static site, capture all seven steps (dev → push → CI → build → deploy → host → serve).

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Local Development
    Developer["Developer\n(IDE / Git)"]:::codeRepo
    Developer -->|"git push"| Repo["GitHub Repo"]:::codeRepo

    %% CI/CD Workflows
    Repo -->|"triggers workflows"| GHWorkflows["Workflows\n(.github/workflows/)"]:::ci
    subgraph "GitHub Actions CI/CD"
        GHWorkflows
        Dockjer["jekyll-dockjer.yml"]:::ci
        GHPages["jekyll-gh-pages.yml"]:::ci
        Stathic["stathic.yml"]:::ci
        StaticYML["static.yml"]:::ci
    end
    GHWorkflows --> Dockjer
    GHWorkflows --> GHPages
    GHWorkflows --> Stathic
    GHWorkflows --> StaticYML

    %% Build Process
    Dockjer --> Build["Jekyll Build\n(+ Docker)"]:::process
    GHPages --> Build
    Build --> Artifacts["Static Artifacts"]:::process

    %% Static Artifacts Content
    subgraph "Artifacts"
        index["index.html"]:::process
        cssDir["css/"]:::process
        imgDir["img/"]:::process
        readme["README.md"]:::process
    end
    Artifacts --> index
    Artifacts --> cssDir
    Artifacts --> imgDir
    Artifacts --> readme

    %% Deployment and Hosting
    Artifacts --> Deploy["Deploy to GitHub Pages"]:::process
    Deploy --> Hosting["GitHub Pages\n(CDN Hosting)"]:::hosting

    %% End User Interaction
    Browser["End User Browser"]:::user
    Browser -->|"HTTP GET"| Hosting
    Hosting -->|"serves static files"| Browser

    %% Click Events
    click GHWorkflows "https://github.com/mohamedmedhatnabil/simone-portofolio/tree/services-and-about/.github/workflows/"
    click Dockjer "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/.github/workflows/jekyll-dockjer.yml"
    click GHPages "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/.github/workflows/jekyll-gh-pages.yml"
    click Stathic "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/.github/workflows/stathic.yml"
    click StaticYML "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/.github/workflows/static.yml"
    click index "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/index.html"
    click cssDir "https://github.com/mohamedmedhatnabil/simone-portofolio/tree/services-and-about/css/"
    click imgDir "https://github.com/mohamedmedhatnabil/simone-portofolio/tree/services-and-about/img/"
    click readme "https://github.com/mohamedmedhatnabil/simone-portofolio/blob/services-and-about/README.md"

    %% Styles
    classDef codeRepo fill:#DCEEFB,stroke:#3B82F6,color:#1E40AF;
    classDef ci fill:#DCFCE7,stroke:#10B981,color:#065F46;
    classDef process fill:#FEF3C7,stroke:#F59E0B,color:#78350F;
    classDef hosting fill:#FFEDD5,stroke:#FB923C,color:#9A3412;
    classDef user fill:#FCE7F3,stroke:#EC4899,color:#831843;
```
