# rammcodes/wowfolio architecture

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

- Interactive diagram: https://gitdiagram.com/rammcodes/wowfolio
- Repository: https://github.com/rammcodes/wowfolio

## Overview

##### Main Components

A. Client-Side Components:
- HTML Structure (index.html)
- Styling Layer (style.css)
- Interactive Logic (script.js)
- Static Assets (assets folder)

B. Key Features:
- Portfolio Content Display
- Responsive Design System

**┌─────────────────────────────────────────┐**
- Browser Environment           │
- ┘
- ↓
**┌─────────────────────────────────────────┐**
- Static Web Files             │
- ┘

**┌─────────────────────────────────────────┐**
- index.html                 │
- ┌───────────┐    ┌───────────┐       │

- style.css│◄───│ script.js │       │

- ┘    └───────────┘       │
- ▲              ▲              │

- ┌───────────────────────────┐      │
- assets            │      │
- ┘      │
- ┘

##### Component Relationships to Highlight

a. Primary Flow:
- HTML loads CSS and JavaScript
- JavaScript interacts with DOM elements
- CSS applies styles based on theme variables
- Assets are referenced by HTML/CSS

b. Theme Customization Flow:
- User input → JavaScript
- JavaScript → CSS Variable Update
- CSS → Visual Updates

##### Important Details

- CSS variable structure
- Asset management
- Browser compatibility considerations
- Responsive design implementation

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph Client["Client Browser"]
        direction TB
        HTML["HTML Structure"]:::html
        CSS["Styling Layer"]:::css
        JS["Interactive Layer"]:::js
        
        HTML --> CSS
        CSS --> JS
    end

    subgraph Assets["Asset Management"]
        direction TB
        StaticAssets["Static Assets"]:::assets
    end

    subgraph ThemeSystem["Theme Management System"]
        direction TB
        ColorVars["CSS Variables"]:::theme
        ColorPicker["Color Picker"]:::theme
        ThemeLogic["Theme Logic"]:::theme
        
        ColorPicker --> ThemeLogic
        ThemeLogic --> ColorVars
    end

    StaticAssets --> HTML
    ColorVars --> CSS
    ThemeLogic --> JS

    %% Click Events
    click HTML "https://github.com/rammcodes/WowFolio/blob/main/index.html"
    click CSS "https://github.com/rammcodes/WowFolio/blob/main/style.css"
    click JS "https://github.com/rammcodes/WowFolio/blob/main/script.js"
    click StaticAssets "https://github.com/rammcodes/WowFolio/tree/main/assets"

    %% Styling
    classDef html fill:#2196F3,stroke:#1565C0,color:white
    classDef css fill:#9C27B0,stroke:#7B1FA2,color:white
    classDef js fill:#FFC107,stroke:#FFA000,color:black
    classDef assets fill:#4CAF50,stroke:#388E3C,color:white
    classDef theme fill:#FF9800,stroke:#F57C00,color:white

    %% Legend
    subgraph Legend
        L_HTML["HTML Component"]:::html
        L_CSS["CSS Component"]:::css
        L_JS["JS Component"]:::js
        L_Assets["Asset Component"]:::assets
        L_Theme["Theme Component"]:::theme
    end
```
