Developer Guide
For developers maintaining the codebase: architecture, local setup, the content and data layer, components, integrations, the CMS configuration, and deployment.
Architecture Overview
Stack Concern Choice Framework Next.js 16.2 (App Router), React 19.2, TypeScript 5 (strict) Styli...
Local Development Setup
Prerequisites Node.js 20 or newer. The project has been run on Node 24. npm (bundled with Node) G...
Repository Structure
fortadamswebsite/ ├── AGENTS.md / CLAUDE.md # AI-assistant notes (Next 16 warning) ├── READM...
Routes and Pages
All routes are statically exported with trailing slashes ( /visit/ → out/visit/index.html). Each...
Content and Data Layer
The site has two kinds of data. Both are read at build time only. Kind Location Edited by Loaded ...
Component Library
Components are grouped by feature under src/components/. Server components are the default. Only...
Styling and Design Tokens
Tailwind v4, CSS-first There's no tailwind.config.js. Tokens are declared with @theme in src/a...
Images and Media
Where media lives Media Location Served from Photos, logos, icons, placeholders public/images/** ...
FareHarbor Integration
FareHarbor is the source of truth for tours, availability, pricing, checkout, and confirmations. ...
HighLevel Integrations
HighLevel (LeadConnector; white-labelled at crm.fortadams.org) is the CRM. The site integrates w...
Decap CMS Configuration
Files File Purpose public/admin/index.html Staff workspace ( /admin/): a static task dashboard. E...
Build and Deployment
Cloudflare Pages project settings Setting Value Source GitHub pmgasset/fortadamswebsite, product...
SEO and Accessibility
SEO Metadata: every page exports title, description, and alternates.canonical. The root layout...
Conventions and Workflow
Code style TypeScript strict. Import via the @/ alias ( @/lib/..., @/components/...). Prettier:...
Common Development Tasks
Short recipes for the most frequent requests. After each one, run npm run build and check the pa...