How andrew--r/frontend-case-studies works
Frontend Case Studies is a curated catalog of real-world frontend talks and articles, presented through a website for browsing. The main content model separates companies from case studies: Astro loads TOML data through parsers, validates entries with schemas, and exposes collections to pages and RSS routes. The tree also shows company and case-study pages and reusable display components, but their source was not sampled, so their specific calls and rendering relationships are not asserted. RSS route relationships are based on the sampled route implementations.
Main entry points: content.config.ts Content collections · [company]/rss.xml.ts Company feed · pages/rss.xml.ts Catalog feed · index.ts Company parser
Components 16
Catalog content
- Company data
website/src/domain/company/data.toml - Case study data
website/src/domain/caseStudy/data.toml - Content collections
website/src/content.config.ts
Content domain
- Company parser
website/src/domain/company/lib/index.ts - Company schema
website/src/domain/company/schema.ts - Case study parser
website/src/domain/caseStudy/lib/index.ts - Case study schema
website/src/domain/caseStudy/schema.ts
Website experience
- Site metadata
website/src/config.ts - Catalog page
website/src/pages/index.astro - Company directory
website/src/pages/companies/index.astro - Company detail
website/src/pages/companies/[company]/index.astro - Display components
website/src/components - Base layout
website/src/layouts/BaseLayout.astro
RSS feeds
- Catalog feed
website/src/pages/rss.xml.ts - Company feed
website/src/pages/companies/[company]/rss.xml.ts
Other components
- Reader
Connections 12
- Company data → Content collections: loaded by
website/src/content.config.ts - Case study data → Content collections: loaded by
website/src/content.config.ts - Content collections → Company parser: uses parser
website/src/content.config.ts - Content collections → Case study parser: uses parser
website/src/content.config.ts - Content collections → Company schema: validates with
website/src/content.config.ts - Content collections → Case study schema: validates with
website/src/content.config.ts - Catalog feed → Content collections: queries collections
website/src/pages/rss.xml.ts - Company feed → Company parser: queries companies
website/src/pages/companies/[company]/rss.xml.ts - Company feed → Case study parser: queries studies
website/src/pages/companies/[company]/rss.xml.ts - Catalog feed → Site metadata: uses metadata
website/src/pages/rss.xml.ts - Company feed → Site metadata: uses metadata
website/src/pages/companies/[company]/rss.xml.ts - Reader → Catalog page: browses
readme.md