# stahlwalker/lucasstahl architecture

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

- Interactive diagram: https://gitdiagram.com/stahlwalker/lucasstahl
- Repository: https://github.com/stahlwalker/lucasstahl

## Overview

Project Type: Static Personal Portfolio Website with Contact Form Integration

##### Main Components

a. Client-Side Components (Frontend):
- Static HTML Pages
- Asset Management
- Client-Side JavaScript
- Firebase integration for contact form

b. External Services:
- Firebase (for contact form handling)
- GitHub Pages (hosting platform, implied by CNAME presence)
- Blog Platform (external integration mentioned in README)

##### Key Relationships to Highlight

- Client browser requests to static pages
- Asset loading paths
- Contact form submission flow through Firebase
- PDF resume download paths
- External blog integration

##### Specific Elements

a. Frontend Layer:
- HTML Pages (index, about, portfolio, contact)
- CSS Styling (assets/css/style.css)
- JavaScript (assets/js/contactFirebase.js)
- Resume PDFs
- Image Assets

b. External Services Layer:
- Firebase Contact Form Handler
- GitHub Pages Hosting
- External Blog Integration

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph Client
        Browser["Web Browser"]
    end

    subgraph "Static Content Layer"
        direction TB
        Pages["Static HTML Pages"]
        Assets["Asset Management"]
        JavaScript["Client-Side JavaScript"]
    end

    subgraph "HTML Pages"
        direction TB
        Home["Home Page"]:::page
        About["About Page"]:::page
        Contact["Contact Form Page"]:::page
        Portfolio["Portfolio Pages"]:::page
    end

    subgraph "Asset Storage"
        direction TB
        CSS["Stylesheets"]:::asset
        Images["Image Files"]:::asset
        PDFs["Resume PDFs"]:::asset
    end

    subgraph "JavaScript Components"
        direction TB
        FirebaseJS["Firebase Integration"]:::js
    end

    subgraph "External Services"
        direction TB
        Firebase["Firebase Service"]:::external
        GitHubPages["GitHub Pages"]:::external
        BlogPlatform["External Blog"]:::external
    end

    Browser --> Pages
    Pages --> Home
    Pages --> About
    Pages --> Contact
    Pages --> Portfolio
    
    Assets --> CSS
    Assets --> Images
    Assets --> PDFs
    
    JavaScript --> FirebaseJS
    Contact --> FirebaseJS
    FirebaseJS --> Firebase
    
    Browser --> GitHubPages
    Browser --> BlogPlatform

    %% Click Events
    click Home "https://github.com/Stahlwalker/lucasstahl/blob/master/index.html"
    click About "https://github.com/Stahlwalker/lucasstahl/blob/master/about.html"
    click Contact "https://github.com/Stahlwalker/lucasstahl/blob/master/contact.html"
    click Portfolio "https://github.com/Stahlwalker/lucasstahl/blob/master/portfolio.html"
    click CSS "https://github.com/Stahlwalker/lucasstahl/tree/master/assets/css/"
    click FirebaseJS "https://github.com/Stahlwalker/lucasstahl/blob/master/assets/js/contactFirebase.js"
    click Images "https://github.com/Stahlwalker/lucasstahl/tree/master/assets/images/"
    click PDFs "https://github.com/Stahlwalker/lucasstahl/tree/master/assets/"
    click GitHubPages "https://github.com/Stahlwalker/lucasstahl/tree/master/CNAME"

    %% Styling
    classDef page fill:#blue,stroke:#333,stroke-width:2px
    classDef asset fill:#gray,stroke:#333,stroke-width:2px
    classDef js fill:#green,stroke:#333,stroke-width:2px
    classDef external fill:#orange,stroke:#333,stroke-width:2px

    %% Legend
    subgraph Legend
        direction TB
        L1["Static Pages"]:::page
        L2["Assets"]:::asset
        L3["JavaScript"]:::js
        L4["External Services"]:::external
    end
```
