# andrewgeorgemitchell/amwebdev architecture

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

- Interactive diagram: https://gitdiagram.com/andrewgeorgemitchell/amwebdev
- Repository: https://github.com/andrewgeorgemitchell/amwebdev

## Overview

##### Main System Components

a) Static Site Generator Layer
- Gatsby as the core framework
- Build process components
- Data sourcing system

b) Theme Layer
- Nehalem theme customization
- Component overrides
- Styling system

c) Content Management Layer
- Markdown content structure
- Asset management
- Content organization

##### Specific Component Relationships

a) Content Sources
**content/**
- posts/
- pages/
- assets/
- tags.yml

b) Theme Customization
**src/@nehalist/gatsby-theme-nehalem/**
- components/
- styles/

c) Custom Components
**src/components/**
**src/pages/**
**src/styles/**

##### Integration Points

Integration points:

- GitHub Actions workflow
- Netlify deployment
- Commento comments system
- Asset processing pipeline

- Build Process     |

- Theme System       |

- Content Management   |

- Runtime Delivery    |

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Build Process"
        GatsbyCore["Gatsby Core"]:::core
        BuildProcess["Build System"]:::core
        GatsbyConfig["Gatsby Config"]:::config
    end

    subgraph "Theme System"
        ThemeComponents["Theme Components"]:::theme
        ThemeStyling["Theme Styling"]:::theme
        CustomThemeOverrides["Theme Overrides"]:::theme
        Avatar["Avatar Component"]:::theme
        Logo["Logo Component"]:::theme
    end

    subgraph "Content Management"
        Posts["Blog Posts"]:::content
        Pages["Static Pages"]:::content
        Assets["Assets"]:::content
        Tags["Content Tags"]:::content
    end

    subgraph "Custom Implementation"
        CustomComponents["Custom Components"]:::custom
        CustomPages["Custom Pages"]:::custom
        CustomStyling["Custom Styling"]:::custom
        ContactSystem["Contact System"]:::custom
    end

    subgraph "Runtime Layer"
        StaticSite["Static Site"]:::runtime
        CommentoSystem["Commento Comments"]:::runtime
    end

    subgraph "Deployment"
        GitHubActions["GitHub Actions"]:::deploy
        Netlify["Netlify"]:::deploy
    end

    %% Relationships
    GatsbyCore --> BuildProcess
    GatsbyConfig --> BuildProcess
    BuildProcess --> StaticSite

    %% Content Flow
    Posts --> BuildProcess
    Pages --> BuildProcess
    Assets --> BuildProcess
    Tags --> BuildProcess

    %% Theme System
    ThemeComponents --> CustomThemeOverrides
    ThemeStyling --> CustomThemeOverrides
    CustomThemeOverrides --> BuildProcess
    Avatar --> CustomThemeOverrides
    Logo --> CustomThemeOverrides

    %% Custom Implementation
    CustomComponents --> BuildProcess
    CustomPages --> BuildProcess
    CustomStyling --> BuildProcess
    ContactSystem --> BuildProcess

    %% Runtime
    CommentoSystem --> StaticSite
    StaticSite --> Netlify
    GitHubActions --> Netlify

    %% Click Events
    click GatsbyConfig "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/gatsby-config.js"
    click ThemeComponents "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/src/@nehalist/gatsby-theme-nehalem/components/"
    click ThemeStyling "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/src/@nehalist/gatsby-theme-nehalem/styles/theme.ts"
    click Posts "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/content/posts/"
    click Pages "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/content/pages/"
    click Assets "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/content/assets/"
    click Tags "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/content/tags.yml"
    click CustomComponents "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/src/components/"
    click CustomPages "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/src/pages/"
    click CustomStyling "https://github.com/andrewgeorgemitchell/amwebdev/tree/master/src/styles/"
    click CommentoSystem "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/src/components/Commento/Commento.tsx"
    click GitHubActions "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/.github/workflows/eslint.yml"
    click Netlify "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/netlify.toml"
    click Avatar "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/src/@nehalist/gatsby-theme-nehalem/components/avatar/index.tsx"
    click Logo "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/src/@nehalist/gatsby-theme-nehalem/components/logo/index.tsx"
    click ContactSystem "https://github.com/andrewgeorgemitchell/amwebdev/blob/master/src/pages/contact.tsx"

    %% Styles
    classDef core fill:#3498db,color:white
    classDef theme fill:#e67e22,color:white
    classDef content fill:#2ecc71,color:white
    classDef custom fill:#9b59b6,color:white
    classDef runtime fill:#34495e,color:white
    classDef deploy fill:#e74c3c,color:white
    classDef config fill:#f1c40f,color:white
```
