# dentednerd/luna architecture

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

- Interactive diagram: https://gitdiagram.com/dentednerd/luna
- Repository: https://github.com/dentednerd/luna

## Overview

Luna is a personal portfolio and journal site built with Astro. Visitors can browse a home page presenting the author, work and experience, read journal entries, explore entries by tag, and access an RSS feed. The portfolio and timeline content live in separate data modules; sampled components show how experience, contact details and footer content are assembled. Journal routes, layouts and content are represented in the tree, but their wiring was not sampled, so those connections are marked unverified rather than asserted.

Main entry points: [`src/pages/index.astro`](https://github.com/dentednerd/luna/blob/main/src/pages/index.astro) (Home route), [`src/components/organisms/Experience/index.js`](https://github.com/dentednerd/luna/blob/main/src/components/organisms/Experience/index.js) (Experience section), [`src/pages/journal`](https://github.com/dentednerd/luna/tree/main/src/pages/journal) (Journal entry routes), [`src/components/organisms/Footer/index.js`](https://github.com/dentednerd/luna/blob/main/src/components/organisms/Footer/index.js) (Site footer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_home["Home route<br/>[index.astro]"]
  node_home_layout["Home layout"]
  node_intro["Profile intro<br/>[index.jsx]"]
  node_experience["Experience section<br/>[index.js]"]
  node_timeline["Timeline display<br/>[index.js]"]
  node_brands["Brand logos<br/>[index.js]"]
end

subgraph group_journal["Journal publishing"]
  node_journal_list["Journal list route<br/>[journal.astro]"]
  node_journal_entry["Journal entry routes"]
  node_journal_layout["Entry layout"]
  node_journal_header["Entry header<br/>[index.js]"]
  node_tags["Tag routes"]
  node_rss["RSS feed<br/>[rss.xml.js]"]
end

subgraph group_content["Site content"]
  node_portfolio_data["Portfolio data<br/>[portfolioData.js]"]
  node_timeline_data["Career timeline data<br/>[timelineData.js]"]
end

subgraph group_shared["Shared components"]
  node_contact_icons["Contact links<br/>[index.jsx]"]
  node_signature["Signature<br/>[index.js]"]
  node_footer["Site footer<br/>[index.js]"]
  node_headed_section["Section wrapper<br/>[index.js]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_journal_list
node_visitor -.->|"reads"| node_journal_entry
node_visitor -.->|"filters by"| node_tags
node_visitor -.->|"subscribes"| node_rss
node_home -.->|"uses"| node_home_layout
node_home -.->|"renders"| node_intro
node_home -.->|"renders"| node_experience
node_experience -->|"renders"| node_brands
node_experience -->|"renders"| node_timeline
node_timeline -->|"reads"| node_timeline_data
node_journal_list -.->|"lists"| node_journal_entry
node_journal_entry -.->|"uses"| node_journal_layout
node_journal_layout -.->|"renders"| node_journal_header
node_footer -->|"renders"| node_headed_section
node_footer -->|"renders"| node_signature
node_signature -->|"renders"| node_contact_icons
node_intro -->|"renders"| node_contact_icons

click node_home "https://github.com/dentednerd/luna/blob/main/src/pages/index.astro"
click node_home_layout "https://github.com/dentednerd/luna/blob/main/src/layouts/HomePageLayout.scss"
click node_intro "https://github.com/dentednerd/luna/blob/main/src/components/organisms/Intro/index.jsx"
click node_experience "https://github.com/dentednerd/luna/blob/main/src/components/organisms/Experience/index.js"
click node_portfolio_data "https://github.com/dentednerd/luna/blob/main/src/data/portfolioData.js"
click node_timeline_data "https://github.com/dentednerd/luna/blob/main/src/data/timelineData.js"
click node_timeline "https://github.com/dentednerd/luna/blob/main/src/components/molecules/Timeline/index.js"
click node_brands "https://github.com/dentednerd/luna/blob/main/src/components/molecules/Brands/index.js"
click node_journal_list "https://github.com/dentednerd/luna/blob/main/src/pages/journal.astro"
click node_journal_entry "https://github.com/dentednerd/luna/tree/main/src/pages/journal"
click node_journal_layout "https://github.com/dentednerd/luna/blob/main/src/layouts/JournalEntryLayout.astro"
click node_journal_header "https://github.com/dentednerd/luna/blob/main/src/components/organisms/JournalEntryHeader/index.js"
click node_tags "https://github.com/dentednerd/luna/tree/main/src/pages/tags"
click node_rss "https://github.com/dentednerd/luna/blob/main/src/pages/rss.xml.js"
click node_contact_icons "https://github.com/dentednerd/luna/blob/main/src/components/molecules/ContactIcons/index.jsx"
click node_signature "https://github.com/dentednerd/luna/blob/main/src/components/molecules/Signature/index.js"
click node_footer "https://github.com/dentednerd/luna/blob/main/src/components/organisms/Footer/index.js"
click node_headed_section "https://github.com/dentednerd/luna/blob/main/src/components/atoms/HeadedSection/index.js"

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_home_layout,node_intro,node_experience,node_timeline,node_brands toneBlue
class node_journal_list,node_journal_entry,node_journal_layout,node_journal_header,node_tags,node_rss toneAmber
class node_portfolio_data,node_timeline_data toneMint
class node_contact_icons,node_signature,node_footer,node_headed_section toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Home route](https://github.com/dentednerd/luna/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Home layout](https://github.com/dentednerd/luna/blob/main/src/layouts/HomePageLayout.scss): `src/layouts/HomePageLayout.scss`
- [Profile intro](https://github.com/dentednerd/luna/blob/main/src/components/organisms/Intro/index.jsx): `src/components/organisms/Intro/index.jsx`
- [Experience section](https://github.com/dentednerd/luna/blob/main/src/components/organisms/Experience/index.js): `src/components/organisms/Experience/index.js`
- [Timeline display](https://github.com/dentednerd/luna/blob/main/src/components/molecules/Timeline/index.js): `src/components/molecules/Timeline/index.js`
- [Brand logos](https://github.com/dentednerd/luna/blob/main/src/components/molecules/Brands/index.js): `src/components/molecules/Brands/index.js`

### Journal publishing

- [Journal list route](https://github.com/dentednerd/luna/blob/main/src/pages/journal.astro): `src/pages/journal.astro`
- [Journal entry routes](https://github.com/dentednerd/luna/tree/main/src/pages/journal): `src/pages/journal`
- [Entry layout](https://github.com/dentednerd/luna/blob/main/src/layouts/JournalEntryLayout.astro): `src/layouts/JournalEntryLayout.astro`
- [Entry header](https://github.com/dentednerd/luna/blob/main/src/components/organisms/JournalEntryHeader/index.js): `src/components/organisms/JournalEntryHeader/index.js`
- [Tag routes](https://github.com/dentednerd/luna/tree/main/src/pages/tags): `src/pages/tags`
- [RSS feed](https://github.com/dentednerd/luna/blob/main/src/pages/rss.xml.js): `src/pages/rss.xml.js`

### Site content

- [Portfolio data](https://github.com/dentednerd/luna/blob/main/src/data/portfolioData.js): `src/data/portfolioData.js`
- [Career timeline data](https://github.com/dentednerd/luna/blob/main/src/data/timelineData.js): `src/data/timelineData.js`

### Shared components

- [Contact links](https://github.com/dentednerd/luna/blob/main/src/components/molecules/ContactIcons/index.jsx): `src/components/molecules/ContactIcons/index.jsx`
- [Signature](https://github.com/dentednerd/luna/blob/main/src/components/molecules/Signature/index.js): `src/components/molecules/Signature/index.js`
- [Site footer](https://github.com/dentednerd/luna/blob/main/src/components/organisms/Footer/index.js): `src/components/organisms/Footer/index.js`
- [Section wrapper](https://github.com/dentednerd/luna/blob/main/src/components/atoms/HeadedSection/index.js): `src/components/atoms/HeadedSection/index.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home route: opens
- Site visitor → Journal list route: browses
- Site visitor → Journal entry routes: reads
- Site visitor → Tag routes: filters by
- Site visitor → RSS feed: subscribes
- Home route → Home layout: uses
- Home route → Profile intro: renders
- Home route → Experience section: renders
- Experience section → Brand logos: renders (evidence: `src/components/organisms/Experience/index.js`)
- Experience section → Timeline display: renders (evidence: `src/components/organisms/Experience/index.js`)
- Timeline display → Career timeline data: reads (evidence: `src/components/molecules/Timeline/index.js`)
- Journal list route → Journal entry routes: lists
- Journal entry routes → Entry layout: uses
- Entry layout → Entry header: renders
- Site footer → Section wrapper: renders (evidence: `src/components/organisms/Footer/index.js`)
- Site footer → Signature: renders (evidence: `src/components/organisms/Footer/index.js`)
- Signature → Contact links: renders (evidence: `src/components/molecules/Signature/index.js`)
- Profile intro → Contact links: renders (evidence: `src/components/organisms/Intro/index.jsx`)
