# sabari7868/static-website architecture

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

- Interactive diagram: https://gitdiagram.com/sabari7868/static-website
- Repository: https://github.com/sabari7868/static-website

## Overview

##### Main Components Identification
- Repository Source Code: Represent the repository that holds all project assets. This includes:
- The static-design directory containing:
- HTML documents (e.g., index.html, about.html, portfolio.html, contact.html, and do.html)
- CSS assets (including bootstrap.css, responsive.css, style.css, and associated SCSS source files)
- JavaScript files (bootstrap.js)
- Images and any additional media content.
- Deployment Pipeline: Emphasize the GitHub Actions workflow (deploy.yml) under the .github/workflows directory. This indicates that there is an automated process (CI/CD) for deploying the static site.

##### Highlighted Technologies and Design Principles
- Frameworks/Libraries: Clearly mention Bootstrap because you see bootstrap.css and bootstrap.js in the project.
- Version Control and CI/CD: The inclusion of a GitHub directory for workflows highlights the use of GitHub Actions. Indicate that continuous integration and automatic deployment are part of the design.
- Static Asset Management: Explain that the project separates its static files (HTML, CSS, JavaScript, images) in a dedicated directory, following modular organization principles.
- Architectural Pattern: This is essentially a static site architecture with automated deployment. Emphasize that the separation is between the development (static assets) and the deployment/hosting layer.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Repository with Source Code
    subgraph "Repository with Source Code"
        S["static-design/"]:::repo
        subgraph "Static Assets"
            direction TB
            subgraph "HTML Documents"
                A1["index.html"]:::asset
                A2["about.html"]:::asset
                A3["portfolio.html"]:::asset
                A4["contact.html"]:::asset
                A5["do.html"]:::asset
            end
            CSS["CSS Assets & SCSS Files"]:::asset
            JS["JavaScript Files"]:::asset
            IMG["Images & Media"]:::asset
        end
    end

    %% CI/CD Pipeline
    P["CI/CD Pipeline (GitHub Actions)"]:::pipeline

    %% Hosting Environment
    H["Static Website Hosting"]:::hosting

    %% Client / Browser
    Cli["Client / Browser"]:::client

    %% Connections
    S -->|triggers| P
    P -->|deploys to| H
    H -->|serves content to| Cli

    %% Click Events
    click S "https://github.com/sabari7868/static-website/tree/main/static-design/"
    click A1 "https://github.com/sabari7868/static-website/blob/main/static-design/index.html"
    click A2 "https://github.com/sabari7868/static-website/blob/main/static-design/about.html"
    click A3 "https://github.com/sabari7868/static-website/blob/main/static-design/portfolio.html"
    click A4 "https://github.com/sabari7868/static-website/blob/main/static-design/contact.html"
    click A5 "https://github.com/sabari7868/static-website/blob/main/static-design/do.html"
    click CSS "https://github.com/sabari7868/static-website/tree/main/static-design/css/"
    click JS "https://github.com/sabari7868/static-website/blob/main/static-design/js/bootstrap.js"
    click P "https://github.com/sabari7868/static-website/blob/main/.github/workflows/deploy.yml"

    %% Styles
    classDef repo fill:#AED6F1,stroke:#1B4F72,stroke-width:2px;
    classDef pipeline fill:#ABEBC6,stroke:#145A32,stroke-width:2px;
    classDef hosting fill:#F9E79F,stroke:#B7950B,stroke-width:2px;
    classDef client fill:#F5B7B1,stroke:#922B21,stroke-width:2px;
    classDef asset fill:#D2B4DE,stroke:#6C3483,stroke-width:1px;
```
