# davideccia/aboutme architecture

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

- Interactive diagram: https://gitdiagram.com/davideccia/aboutme
- Repository: https://github.com/davideccia/aboutme

## Overview

##### Main Components

a. Frontend Architecture (Primary Focus)
- Static Site Generation Layer (Astro)
- Component Layer
- Content Layer
- Internationalization System
- Interactive Components (Mixed Technology Stack)

##### Core Application Layer
- [Astro Build System] → [Static Site Output]

##### Component Architecture
- [Base Layouts] → [Page Components] → [Reusable Components]
- ↘ [Language Specific Components]

##### Content Management
- [Blog Content (Markdown)] → [Content Pipeline] → [Rendered Pages]

##### Technology Integration Points
- [Svelte Components] → [Interactive Elements]
- [React/TSX Components] → [Dynamic Features]
- [Astro Components] → [Static Elements]

Specific Implementation Details to Include:

##### Component Structure
- Branching for language-specific components (en/, it/)
- Shared components vs. localized components

##### Content Flow
- Content pipeline from `/src/content/blog` to final rendered pages
- How the blog post routing works through `[...slug].astro`

##### Interactive Features
- A section for playground components
- Integration of Rive animations
- Globe component and other interactive elements

##### Build Process
- Configuration files (astro.config.mjs, uno.config.ts)
- How static assets are handled (public directory)

Use these visual elements:

- Blue: Core Astro components
- Green: Content-related elements
- Orange: Interactive/dynamic components
- Purple: Build/configuration elements

##### Labels
- Clear component names
- Technology indicators (Astro, Svelte, React)
- File paths where relevant

Special Considerations:

##### Internationalization
- How the English and Italian versions are structured
- Shared components vs. language-specific components

##### Performance Optimization
- Static vs. dynamic components
- How assets are handled

##### Content Management
- Blog post workflow
- Integration with RSS feed generation

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph Build
        AST[Astro Build System]
        SSO[Static Site Output]
        BC[Build Configuration]
    end

    subgraph Components
        BL[Base Layouts]
        PC[Page Components]
        RC[Reusable Components]
        LSC[Language Specific Components]
    end

    subgraph Content
        BCP[Blog Content Pipeline]
        CMS[Content Management System]
        RSS[RSS Feed System]
        CPU[Content Pipeline Utilities]
    end

    subgraph Interactive
        SVL[Svelte Components]
        RCT[React/TSX Components]
        ASC[Astro Components]
        PG[Playground]
        GLB[Globe Component]
        RVA[Rive Animations]
    end

    subgraph I18N
        EN[English Components]
        IT[Italian Components]
    end

    %% Core Relationships
    AST --> SSO
    BC --> AST
    BL --> PC
    PC --> RC
    PC --> LSC

    %% Content Flow
    CMS --> BCP
    BCP --> PC
    BCP --> RSS

    %% Interactive Elements
    SVL --> PC
    RCT --> PC
    ASC --> PC
    PG --> Interactive
    GLB --> Interactive
    RVA --> Interactive

    %% I18N Relations
    LSC --> EN
    LSC --> IT

    %% Styling
    classDef config fill:#9370DB
    classDef component fill:#4169E1
    classDef content fill:#3CB371
    classDef interactive fill:#FFA500

    class AST,SSO component
    class BC config
    class BL,PC,RC,LSC component
    class CMS,BCP,RSS,CPU content
    class SVL,RCT,ASC,PG,GLB,RVA interactive
    class EN,IT component

    %% Click Events
    click AST "https://github.com/davideccia/aboutme/blob/main/astro.config.mjs"
    click BL "https://github.com/davideccia/aboutme/tree/main/src/layouts/"
    click CMS "https://github.com/davideccia/aboutme/blob/main/src/content/config.ts"
    click EN "https://github.com/davideccia/aboutme/tree/main/src/components/en/"
    click IT "https://github.com/davideccia/aboutme/tree/main/src/components/it/"
    click PG "https://github.com/davideccia/aboutme/tree/main/src/components/playground/"
    click GLB "https://github.com/davideccia/aboutme/blob/main/src/components/Globe.tsx"
    click RVA "https://github.com/davideccia/aboutme/tree/main/src/riveAnimations/"
    click RC "https://github.com/davideccia/aboutme/tree/main/src/components/Card/"
    click CPU "https://github.com/davideccia/aboutme/blob/main/src/lib/helpers.ts"
    click RSS "https://github.com/davideccia/aboutme/blob/main/src/pages/rss.xml.js"
    click BC "https://github.com/davideccia/aboutme/blob/main/uno.config.ts"
```
