# laurentcasagrande/casagrande.de architecture

> Architecture diagram of the GitHub repository laurentcasagrande/casagrande.de, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/laurentcasagrande/casagrande.de
- Repository: https://github.com/laurentcasagrande/casagrande.de

## Overview

casagrande.de is a personal website and blog built with Astro. Its visible product surface includes a home page, blog listing and posts, shared layouts and presentation components, and JSON plot assets. The tree suggests theme controls and math/plot presentation, but the sampled source does not show how pages compose components or load plot data. Those connections are therefore omitted or marked unverified; the README confirms the product type, not detailed runtime wiring.

Main entry points: [`src/pages/index.md`](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/index.md) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Pages and content"]
  node_home["Home page<br/>[index.md]"]
  node_blog["Blog listing<br/>[blog.astro]"]
  node_empty["Empty page<br/>[empty.astro]"]
  node_diet["Minimum Cost Diet"]
  node_stirlingpost["Stirling post<br/>[Stirling.mdx]"]
  node_devtest["DevTest post<br/>[DevTest.mdx]"]
end

subgraph group_presentation["Layouts and components"]
  node_base["Base layout<br/>[BaseLayout.astro]"]
  node_postlayout["Post layout"]
  node_header["Header<br/>[Header.astro]"]
  node_navigation["Navigation<br/>[Navigation.astro]"]
  node_footer["Footer<br/>[Footer.astro]"]
  node_theme["Theme toggle<br/>[ThemeToggle.astro]"]
  node_details["Details<br/>[Details.astro]"]
  node_figure["Figure box<br/>[FigureBox.astro]"]
  node_jsonplot["JSON plot<br/>[JSONPlot.astro]"]
  node_stirling["Stirling component<br/>[Stirling.astro]"]
end

subgraph group_assets["Visual assets"]
  node_plots["Plot data"]
  node_globalstyles["Global styles<br/>[global.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home

click node_home "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/index.md"
click node_blog "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/blog.astro"
click node_empty "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/empty.astro"
click node_diet "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/Minimum-Cost-Diet.mdx"
click node_stirlingpost "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/Stirling.mdx"
click node_devtest "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/DevTest.mdx"
click node_base "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/layouts/BaseLayout.astro"
click node_postlayout "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/layouts/MarkdownPostLayout.astro"
click node_header "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Header.astro"
click node_navigation "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Navigation.astro"
click node_footer "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Footer.astro"
click node_theme "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/ThemeToggle.astro"
click node_details "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Details.astro"
click node_figure "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/FigureBox.astro"
click node_jsonplot "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/JSONPlot.astro"
click node_stirling "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Stirling.astro"
click node_plots "https://github.com/laurentcasagrande/casagrande.de/tree/main/public/plots"
click node_globalstyles "https://github.com/laurentcasagrande/casagrande.de/blob/main/src/styles/global.css"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_blog,node_empty,node_diet,node_stirlingpost,node_devtest toneBlue
class node_base,node_postlayout,node_header,node_navigation,node_footer,node_theme,node_details,node_figure,node_jsonplot,node_stirling toneAmber
class node_plots,node_globalstyles toneMint
class node_visitor toneIndigo
```

## Components

### Pages and content

- [Home page](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/index.md): `src/pages/index.md`
- [Blog listing](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/blog.astro): `src/pages/blog.astro`
- [Empty page](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/empty.astro): `src/pages/empty.astro`
- [Minimum Cost Diet](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/Minimum-Cost-Diet.mdx): `src/pages/posts/Minimum-Cost-Diet.mdx`
- [Stirling post](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/Stirling.mdx): `src/pages/posts/Stirling.mdx`
- [DevTest post](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/pages/posts/DevTest.mdx): `src/pages/posts/DevTest.mdx`

### Layouts and components

- [Base layout](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/layouts/BaseLayout.astro): `src/layouts/BaseLayout.astro`
- [Post layout](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/layouts/MarkdownPostLayout.astro): `src/layouts/MarkdownPostLayout.astro`
- [Header](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Header.astro): `src/components/Header.astro`
- [Navigation](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Navigation.astro): `src/components/Navigation.astro`
- [Footer](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Footer.astro): `src/components/Footer.astro`
- [Theme toggle](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/ThemeToggle.astro): `src/components/ThemeToggle.astro`
- [Details](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Details.astro): `src/components/Details.astro`
- [Figure box](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/FigureBox.astro): `src/components/FigureBox.astro`
- [JSON plot](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/JSONPlot.astro): `src/components/JSONPlot.astro`
- [Stirling component](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/components/Stirling.astro): `src/components/Stirling.astro`

### Visual assets

- [Plot data](https://github.com/laurentcasagrande/casagrande.de/tree/main/public/plots): `public/plots`
- [Global styles](https://github.com/laurentcasagrande/casagrande.de/blob/main/src/styles/global.css): `src/styles/global.css`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: visits (evidence: `README.md`)
