# joshuaberkowitzus/gen-ai-sample-pages architecture

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

- Interactive diagram: https://gitdiagram.com/joshuaberkowitzus/gen-ai-sample-pages
- Repository: https://github.com/joshuaberkowitzus/gen-ai-sample-pages

## Overview

##### Project Type & Purpose
- This is essentially a static front-end project built with HTML, CSS, and JavaScript.
- It has two main output pages (chatgpt and deepseek) to compare one-shot programming tasks by different AI prompts, with GitHub Pages as the deployment platform.

##### Analyzing the File Structure
- At the top level, you have key files like README.md and index.html, indicating the repository’s documentation and homepage.
- There are two pairs of files for the two resume creations:
- chatgpt_resume.html and chatgpt_simple_resume (likely an alternate or simplified version created by ChatGPT).
- deepseek_resume.html and deepseek_simple_resume (similarly, a variant produced by DeepSeek).
- The separation of these files implies a design where each generated approach is self-contained, yet part of the same static website.

##### Main Components
a. Frontend Components:
- Homepage (index.html) that acts as the entry point.
- ChatGPT Resume Pages:
- Full featured page (chatgpt_resume.html)
- Optional simplified variant (chatgpt_simple_resume)
- DeepSeek Resume Pages:
- Full featured page (deepseek_resume.html)
- Optional simplified variant (deepseek_simple_resume)
b. Deployment/Hosting:
- GitHub Pages as the hosting platform for static content.
c. Underlying Technologies:
- HTML, CSS, JavaScript used to create interactive elements and animations.
- External tools used for generation:
- ChatGPT (for ChatGPT resume pages).
- DeepSeek.ai (for DeepSeek resume pages).

##### Relationships & Interactions
- The Homepage (index.html) should have navigation or links to both the ChatGPT and DeepSeek resume pages.
- No server-side interactions are required as it’s entirely static; the focus is on client-side rendering and interactivity.

##### Architectural Patterns & Design Principles
- Separation of concerns – each resume version is encapsulated in its file(s), indicating a modular approach.
- Responsive and interactive design principles are evident from the use of scroll animations, sticky navigation, and dark mode.
- The project uses a simple, direct deployment model (GitHub Pages), meaning that the “upload” process is a simple push-to-repo without a complex backend.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Deployment["GitHub Pages Deployment"]:::deployment
    Homepage["Homepage (index.html)"]:::page

    Deployment -->|"deploys"| Homepage

    subgraph "ChatGPT Resume"
        ChatGPTFull["ChatGPT Full Resume (chatgpt_resume.html)"]:::page
        ChatGPTSimple["ChatGPT Simple Resume (chatgpt_simple_resume)"]:::page
    end

    subgraph "DeepSeek Resume"
        DeepSeekFull["DeepSeek Full Resume (deepseek_resume.html)"]:::page
        DeepSeekSimple["DeepSeek Simple Resume (deepseek_simple_resume)"]:::page
    end

    Homepage -->|"navigates"| ChatGPTFull
    Homepage -->|"navigates"| ChatGPTSimple
    Homepage -->|"navigates"| DeepSeekFull
    Homepage -->|"navigates"| DeepSeekSimple

    Note["Note: HTML, CSS, JavaScript with animations, darkmode, & sticky navigation"]:::note
    Homepage --- Note

    click Homepage "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/blob/main/index.html"
    click ChatGPTFull "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/blob/main/chatgpt_resume.html"
    click ChatGPTSimple "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/tree/main/chatgpt_simple_resume"
    click DeepSeekFull "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/blob/main/deepseek_resume.html"
    click DeepSeekSimple "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/tree/main/deepseek_simple_resume"
    click Deployment "https://github.com/joshuaberkowitzus/gen-ai-sample-pages/tree/main/GitHub Pages (hosting the static files pushed to this repository)"

    classDef deployment fill:#fdfd96,stroke:#333,stroke-width:2px;
    classDef page fill:#add8e6,stroke:#333,stroke-width:2px;
    classDef note fill:#e0e0e0,stroke:#333,stroke-dasharray:5,5;
```
