# iain-crowe/resume-website architecture

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

- Interactive diagram: https://gitdiagram.com/iain-crowe/resume-website
- Repository: https://github.com/iain-crowe/resume-website

## Overview

##### Main System Components

a) Client-Side Application
- React Frontend (Vite-powered)
- Component Structure
- Routing System
- Terminal Interface

b) Static Assets
- Resume PDF
- Other public assets

##### Component Architecture Breakdown

a) Core Application Layer
- Entry points (main.jsx, App.jsx)
- Page Router

b) Feature Modules
- Terminal Interface System
- Dashboard System
- Content Sections

##### Detailed Component Relationships

a) Terminal Interface Flow:
**TerminalHeader → CommandInput → TerminalOutput**
- ↓
- Command Processing
- ↓
- Navigation/Actions

b) Content Organization:
**PageGrid → Tile → Content Sections**
- BioSection
- ProjectSection
- SkillSection

##### Technical Stack Indicators

A tech stack sidebar showing:
- React.js
- Vite
- Tailwind CSS
- AWS EC2

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Entry Layer"
        Main["Main Entry Point"]
        App["App Component"]
    end

    subgraph "Routing Layer"
        Terminal["Terminal Page"]
        About["About Page"]
        NotFound["404 Page"]
    end

    subgraph "Feature Components"
        subgraph "Terminal Interface"
            THeader["Terminal Header"]
            CInput["Command Input"]
            TOutput["Terminal Output"]
            CMenu["Context Menu"]
            TCmds["Terminal Commands"]
        end

        subgraph "Dashboard System"
            PGrid["Page Grid"]
            Tile["Tile Component"]
            GridStyle["Grid Styles"]
            TileStyle["Tile Styles"]
        end

        subgraph "Content Sections"
            Bio["Bio Section"]
            Project["Project Section"]
            Skill["Skill Section"]
        end
    end

    subgraph "Utility Layer"
        PromptUtils["Prompt Utilities"]
        WindowUtils["Window Size Utils"]
    end

    subgraph "Static Assets"
        Resume["Resume PDF"]
    end

    subgraph "Tech Stack"
        React["React.js"]
        Vite["Vite"]
        Tailwind["Tailwind CSS"]
        AWS["AWS EC2"]
    end

    %% Relationships
    Main --> App
    App --> Terminal
    App --> About
    App --> NotFound

    Terminal --> THeader
    Terminal --> CInput
    Terminal --> TOutput
    Terminal --> CMenu
    CInput --> TCmds
    TCmds --> PromptUtils

    About --> PGrid
    PGrid --> Tile
    Tile --> Bio
    Tile --> Project
    Tile --> Skill
    PGrid --> GridStyle
    Tile --> TileStyle

    %% Click Events
    click Main "https://github.com/Iain-Crowe/resume-website/blob/main/src/main.jsx"
    click App "https://github.com/Iain-Crowe/resume-website/blob/main/src/App.jsx"
    click Terminal "https://github.com/Iain-Crowe/resume-website/blob/main/src/pages/Terminal.jsx"
    click About "https://github.com/Iain-Crowe/resume-website/blob/main/src/pages/About.jsx"
    click NotFound "https://github.com/Iain-Crowe/resume-website/blob/main/src/pages/PageNotFound.jsx"
    click THeader "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/terminal/TerminalHeader.jsx"
    click CInput "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/terminal/CommandInput.jsx"
    click TOutput "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/terminal/TerminalOutput.jsx"
    click CMenu "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/terminal/ContextMenu.jsx"
    click TCmds "https://github.com/Iain-Crowe/resume-website/blob/main/src/commands/terminalCommands.js"
    click PGrid "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/dashboard/PageGrid.jsx"
    click Tile "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/dashboard/Tile.jsx"
    click GridStyle "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/dashboard/styles/grid.css"
    click TileStyle "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/dashboard/styles/tile.css"
    click Bio "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/content/BioSection.jsx"
    click Project "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/content/ProjectSection.jsx"
    click Skill "https://github.com/Iain-Crowe/resume-website/blob/main/src/components/content/SkillSection.jsx"
    click PromptUtils "https://github.com/Iain-Crowe/resume-website/blob/main/src/utils/promptUtils.js"
    click WindowUtils "https://github.com/Iain-Crowe/resume-website/blob/main/src/utils/windowSize.js"
    click Resume "https://github.com/Iain-Crowe/resume-website/blob/main/public/resume.pdf"

    %% Styling
    classDef core fill:#2680a6,color:white
    classDef feature fill:#109648,color:white
    classDef utility fill:#141414,color:white
    classDef ui fill:#70f1ff,color:black
    classDef tech fill:#4a4a4a,color:white

    class Main,App core
    class Terminal,About,NotFound feature
    class THeader,CInput,TOutput,CMenu,TCmds ui
    class PGrid,Tile,GridStyle,TileStyle ui
    class Bio,Project,Skill ui
    class PromptUtils,WindowUtils utility
    class React,Vite,Tailwind,AWS tech
```
