# truuue/personalportfolio architecture

> Architecture diagram of the GitHub repository truuue/personalportfolio, 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/truuue/personalportfolio
- Repository: https://github.com/truuue/personalportfolio

## Overview

##### Project Type Analysis
This is a single-page React application serving as a personal portfolio website. The structure indicates a frontend-only application with no backend services, focusing on presentation and interaction.

##### Main Components

A. Client-Side Layer:
- React Application Container
- Component Structure (organize in hierarchical layout):
- Header Component
- Main Content Sections:
- Home Section
- About Section
- Project Section
- Contact Section
- Footer Component
- Utility Components:
- Modal
- Sliding Text
- Mouse Interaction Handler

B. Build/Static Assets:
- CSS Styling (Tailwind CSS)

- [Browser/Client Layer]
- ↓
- [React Application Layer]
- ↓
- [Asset/Resource Layer]

##### Technical Stack Indicators

- React
- JavaScript
- Tailwind CSS
- Other development tools (Prettier, Git)

This approach will give other developers a clear understanding of how the portfolio website is structured and how its various components interact with each other.

## Diagram (Mermaid)

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

    subgraph ReactApp["React Application Layer"]
        Entry["Entry Point"]:::entry
        App["App Container"]:::app
        
        subgraph CoreComponents["Core Components"]
            Header["Header"]:::core
            Main["Main Content"]:::core
            Footer["Footer"]:::core
        end
        
        subgraph Sections["Content Sections"]
            Home["Home Section"]:::section
            About["About Section"]:::section
            Project["Project Section"]:::section
            Contact["Contact Section"]:::section
            Form["Form Component"]:::section
        end
        
        subgraph Utils["Utility Components"]
            Modal["Modal"]:::util
            ScrollIcons["Infinite Scrolling Icons"]:::util
            SlidingText["Sliding Text"]:::util
            MouseHandler["Mouse Interaction Handler"]:::util
        end
    end
    
    subgraph Assets["Assets & Resources"]
        HTML["index.html"]:::asset
        CSS["Global Styles"]:::asset
        TailwindConfig["Tailwind Config"]:::asset
        StaticAssets["Static Assets"]:::asset
    end

    %% Relationships
    Browser --> Entry
    Entry --> App
    App --> CoreComponents
    Main --> Sections
    Contact --> Form
    
    %% Utility connections
    App -.-> Utils
    Sections -.-> Utils
    
    %% Asset connections
    App --> CSS
    App --> StaticAssets
    Entry --> HTML
    CSS --> TailwindConfig

    %% Click events
    click Entry "https://github.com/truuue/personalPortfolio/blob/main/src/index.js"
    click App "https://github.com/truuue/personalPortfolio/blob/main/src/App.js"
    click Header "https://github.com/truuue/personalPortfolio/blob/main/src/components/Header/Header.js"
    click Main "https://github.com/truuue/personalPortfolio/blob/main/src/components/Main/Main.js"
    click Footer "https://github.com/truuue/personalPortfolio/blob/main/src/components/Footer/Footer.js"
    click Home "https://github.com/truuue/personalPortfolio/blob/main/src/components/HomeSection/homeSection.js"
    click About "https://github.com/truuue/personalPortfolio/blob/main/src/components/AboutSection/aboutSection.js"
    click Project "https://github.com/truuue/personalPortfolio/blob/main/src/components/ProjectSection/projectSection.js"
    click Contact "https://github.com/truuue/personalPortfolio/blob/main/src/components/ContactSection/contactSection.js"
    click Modal "https://github.com/truuue/personalPortfolio/blob/main/src/components/Modal/Modal.js"
    click ScrollIcons "https://github.com/truuue/personalPortfolio/blob/main/src/components/infiniteScrollingIcons/Scroll.js"
    click SlidingText "https://github.com/truuue/personalPortfolio/blob/main/src/components/slidingText/slidingText.js"
    click MouseHandler "https://github.com/truuue/personalPortfolio/blob/main/src/components/disableMouseInteractions/disableMouseInteractions.js"
    click Form "https://github.com/truuue/personalPortfolio/blob/main/src/components/ContactSection/formComponent.js"
    click TailwindConfig "https://github.com/truuue/personalPortfolio/blob/main/tailwind.config.js"
    click CSS "https://github.com/truuue/personalPortfolio/blob/main/src/index.css"
    click StaticAssets "https://github.com/truuue/personalPortfolio/tree/main/public"
    click HTML "https://github.com/truuue/personalPortfolio/blob/main/public/index.html"

    %% Styling
    classDef entry fill:#ff9900
    classDef app fill:#ff6b6b
    classDef core fill:#4ecdc4
    classDef section fill:#45b7d1
    classDef util fill:#96ceb4
    classDef asset fill:#ffeead

    %% Legend
    subgraph Legend
        L1["Entry Point"]:::entry
        L2["App Container"]:::app
        L3["Core Components"]:::core
        L4["Section Components"]:::section
        L5["Utility Components"]:::util
        L6["Assets"]:::asset
    end
```
