# subscapularis/homage-index architecture

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

- Interactive diagram: https://gitdiagram.com/subscapularis/homage-index
- Repository: https://github.com/subscapularis/homage-index

## Overview

This appears to be a small Astro site for browsing watch-homage comparisons. The likely user flow is discovering a pair, inspecting its luxury and homage watches and match score, then following purchase links; filenames and the content schema suggest these capabilities, but page and component implementations were not sampled. The documented Astro routing convention supports the route nodes; other connections are dashed where the source evidence is incomplete.

Main entry points: [`src/pages/[slug].astro`](https://github.com/subscapularis/homage-index/blob/main/src/pages/%5Bslug%5D.astro) (Pair detail), [`src/pages/index.astro`](https://github.com/subscapularis/homage-index/blob/main/src/pages/index.astro) (Home page), [`src/layouts/BaseLayout.astro`](https://github.com/subscapularis/homage-index/blob/main/src/layouts/BaseLayout.astro) (Base layout), [`src/components/PairCard.astro`](https://github.com/subscapularis/homage-index/blob/main/src/components/PairCard.astro) (Pair card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Discovery"]
  node_home["Home page<br/>[index.astro]"]
  node_search["Search bar<br/>[SearchBar.astro]"]
  node_about["About page<br/>[about.astro]"]
  node_notfound["404 page<br/>[404.astro]"]
end

subgraph group_comparisons["Comparisons"]
  node_pairpage["Pair detail<br/>[&#91;slug&#93;.astro]"]
  node_paircard["Pair card<br/>[PairCard.astro]"]
  node_score["Score bridge<br/>[ScoreBridge.astro]"]
  node_watchcard["Watch card<br/>[WatchCard.astro]"]
  node_paircollection["Pair collection<br/>[content.config.ts]"]
  node_pairdata["Pair records"]
end

subgraph group_shared["Shared presentation"]
  node_layout["Base layout<br/>[BaseLayout.astro]"]
  node_styles["Global styles<br/>[global.css]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"opens route"| node_home
node_visitor -.->|"opens route"| node_pairpage
node_home -.->|"likely renders"| node_search
node_home -.->|"likely renders"| node_paircard
node_pairpage -.->|"likely renders"| node_paircard
node_pairpage -.->|"likely renders"| node_watchcard
node_pairpage -.->|"likely renders"| node_score
node_paircollection -->|"loads JSON"| node_pairdata
node_home -.->|"likely uses"| node_layout
node_pairpage -.->|"likely uses"| node_layout
node_layout -.->|"likely applies"| node_styles

click node_home "https://github.com/subscapularis/homage-index/blob/main/src/pages/index.astro"
click node_search "https://github.com/subscapularis/homage-index/blob/main/src/components/SearchBar.astro"
click node_about "https://github.com/subscapularis/homage-index/blob/main/src/pages/about.astro"
click node_notfound "https://github.com/subscapularis/homage-index/blob/main/src/pages/404.astro"
click node_pairpage "https://github.com/subscapularis/homage-index/blob/main/src/pages/%5Bslug%5D.astro"
click node_paircard "https://github.com/subscapularis/homage-index/blob/main/src/components/PairCard.astro"
click node_score "https://github.com/subscapularis/homage-index/blob/main/src/components/ScoreBridge.astro"
click node_watchcard "https://github.com/subscapularis/homage-index/blob/main/src/components/WatchCard.astro"
click node_paircollection "https://github.com/subscapularis/homage-index/blob/main/src/content.config.ts"
click node_pairdata "https://github.com/subscapularis/homage-index/tree/main/src/content/pairs"
click node_layout "https://github.com/subscapularis/homage-index/blob/main/src/layouts/BaseLayout.astro"
click node_styles "https://github.com/subscapularis/homage-index/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_search,node_about,node_notfound toneBlue
class node_pairpage,node_paircard,node_score,node_watchcard,node_paircollection,node_pairdata toneAmber
class node_layout,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Discovery

- [Home page](https://github.com/subscapularis/homage-index/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Search bar](https://github.com/subscapularis/homage-index/blob/main/src/components/SearchBar.astro): `src/components/SearchBar.astro`
- [About page](https://github.com/subscapularis/homage-index/blob/main/src/pages/about.astro): `src/pages/about.astro`
- [404 page](https://github.com/subscapularis/homage-index/blob/main/src/pages/404.astro): `src/pages/404.astro`

### Comparisons

- [Pair detail](https://github.com/subscapularis/homage-index/blob/main/src/pages/%5Bslug%5D.astro): `src/pages/[slug].astro`
- [Pair card](https://github.com/subscapularis/homage-index/blob/main/src/components/PairCard.astro): `src/components/PairCard.astro`
- [Score bridge](https://github.com/subscapularis/homage-index/blob/main/src/components/ScoreBridge.astro): `src/components/ScoreBridge.astro`
- [Watch card](https://github.com/subscapularis/homage-index/blob/main/src/components/WatchCard.astro): `src/components/WatchCard.astro`
- [Pair collection](https://github.com/subscapularis/homage-index/blob/main/src/content.config.ts): `src/content.config.ts`
- [Pair records](https://github.com/subscapularis/homage-index/tree/main/src/content/pairs): `src/content/pairs`

### Shared presentation

- [Base layout](https://github.com/subscapularis/homage-index/blob/main/src/layouts/BaseLayout.astro): `src/layouts/BaseLayout.astro`
- [Global styles](https://github.com/subscapularis/homage-index/blob/main/src/styles/global.css): `src/styles/global.css`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: opens route (evidence: `README.md`)
- Site visitor → Pair detail: opens route (evidence: `README.md`)
- Home page → Search bar: likely renders
- Home page → Pair card: likely renders
- Pair detail → Pair card: likely renders
- Pair detail → Watch card: likely renders
- Pair detail → Score bridge: likely renders
- Pair collection → Pair records: loads JSON (evidence: `src/content.config.ts`)
- Home page → Base layout: likely uses
- Pair detail → Base layout: likely uses
- Base layout → Global styles: likely applies
