# sultan645nadaf/my_profile_website architecture

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

- Interactive diagram: https://gitdiagram.com/sultan645nadaf/my_profile_website
- Repository: https://github.com/sultan645nadaf/my_profile_website

## Overview

##### Main Components
- Web Pages: Mark the primary HTML files (index.html, about.html, contact.html, projects.html) which form the user-visible parts of the site.
- CSS Assets: Include the CSS directory with its stylesheets (for about, contact, projects, and overall style) that define the presentation layer.
- JavaScript Assets: Represent the JS folder containing scripts (about.js, contact.js, particles.js, projects.js, script.js) that add interactivity and dynamic behavior.
- Images: Represent the images folder which supplies visual content.
- Static Hosting/Client Browser: Although not present in the source tree as a code component, do represent the fact that the website is served to a browser. You may also include a “static server” component if desired, which is typically a basic HTTP server delivering the static files.

##### Relationships and Interactions
- How each HTML file dynamically incorporates images. For example, any images embedded in “about.html” should be connected to the images folder.
- If applicable, show that interactive functionality (like the particles effect in particles.js) is initiated when a user navigates to a particular page.

##### Architectural Patterns and Design Principles
- The design employs separation of concerns: HTML for content, CSS for styling, and JavaScript for behavior.
- There’s a simple dependency structure with clear static asset loading. This can be shown as a layered design: at the bottom, the static hosting layer (if included), then the HTML layer, and on top, the CSS/JS and images as supporting files.

##### Relevant Technologies and Frameworks
- Do note that additional build scripts or dependency configurations are not present, which informs that this is a fully client-side application.

## Diagram (Mermaid)

```mermaid
graph TD
    Browser["Client Browser"]:::browser
    StaticServer["Static Server"]:::server
    Browser -->|"requests"| StaticServer

    subgraph "HTML Pages"
        Index["Home Page (index.html)"]:::html
        About["About Page (about.html)"]:::html
        Contact["Contact Page (contact.html)"]:::html
        Projects["Projects Page (projects.html)"]:::html
    end

    StaticServer -->|"serves"| Index
    StaticServer -->|"serves"| About
    StaticServer -->|"serves"| Contact
    StaticServer -->|"serves"| Projects

    Index -->|"nav_to"| About
    Index -->|"nav_to"| Contact
    Index -->|"nav_to"| Projects

    Index -->|"loads"| CSS
    Index -->|"loads"| JS
    Index -->|"loads"| IMG

    About -->|"loads"| CSS
    About -->|"loads"| JS
    About -->|"loads"| IMG

    Contact -->|"loads"| CSS
    Contact -->|"loads"| JS
    Contact -->|"loads"| IMG

    Projects -->|"loads"| CSS
    Projects -->|"loads"| JS
    Projects -->|"loads"| IMG

    subgraph "Assets"
        CSS["CSS Assets Directory"]:::css
        JS["JavaScript Assets Directory"]:::js
        IMG["Images Assets Directory"]:::img
    end

    StaticServer -->|"serves"| CSS
    StaticServer -->|"serves"| JS
    StaticServer -->|"serves"| IMG

    click Index "https://github.com/sultan645nadaf/my_profile_website/blob/master/index.html"
    click About "https://github.com/sultan645nadaf/my_profile_website/blob/master/about.html"
    click Contact "https://github.com/sultan645nadaf/my_profile_website/blob/master/contact.html"
    click Projects "https://github.com/sultan645nadaf/my_profile_website/blob/master/projects.html"
    click CSS "https://github.com/sultan645nadaf/my_profile_website/tree/master/css"
    click JS "https://github.com/sultan645nadaf/my_profile_website/tree/master/js"
    click IMG "https://github.com/sultan645nadaf/my_profile_website/tree/master/images"

    classDef browser fill:#e0f7fa,stroke:#006064,stroke-width:2px;
    classDef server fill:#f1f8e9,stroke:#558b2f,stroke-width:2px;
    classDef html fill:#e3f2fd,stroke:#0d47a1,stroke-width:2px;
    classDef css fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px;
    classDef js fill:#fff3e0,stroke:#ef6c00,stroke-width:2px;
    classDef img fill:#fce4ec,stroke:#c2185b,stroke-width:2px;
```
