Advanced Search
Search Results
89 total results found
Content and Data Layer
The site has two kinds of data. Both are read at build time only. Kind Location Edited by Loaded via CMS content content/*.json Staff via Decap, or developers Static JSON imports in src/lib/* loaders Structured code content src/lib/*.ts exports Developers Dir...
Component Library
Components are grouped by feature under src/components/. Server components are the default. Only components that need browser state are marked "use client". UI primitives ( components/ui) Component Purpose / API Button / buttonClasses(variant, size, extra?)...
Styling and Design Tokens
Tailwind v4, CSS-first There's no tailwind.config.js. Tokens are declared with @theme in src/app/globals.css, which also holds base-layer styles. PostCSS uses @tailwindcss/postcss. Prettier sorts classes via prettier-plugin-tailwindcss (configured with t...
Images and Media
Where media lives Media Location Served from Photos, logos, icons, placeholders public/images/** (committed) Site origin CMS uploads public/images/events, public/images/staff, public/images/sponsors Site origin Explore the Fort videos (and optional posters/c...
FareHarbor Integration
FareHarbor is the source of truth for tours, availability, pricing, checkout, and confirmations. The site doesn't use the FareHarbor API and doesn't store item IDs. How it works layout.tsx renders <FareharborScript /> (a next/script with afterInteractive) o...
HighLevel Integrations
HighLevel (LeadConnector; white-labelled at crm.fortadams.org) is the CRM. The site integrates with it in four independent ways: Integration Mechanism Code Event inquiries Server-side API calls from a Pages Function functions/api/event-inquiry.ts, components...
Decap CMS Configuration
Files File Purpose public/admin/index.html Staff workspace ( /admin/): a static task dashboard. Each card deep-links into the editor (for example /admin/edit/#/collections/events/entries/event_list). Includes a publishing explainer and a help section. No Deca...
Build and Deployment
Cloudflare Pages project settings Setting Value Source GitHub pmgasset/fortadamswebsite, production branch main Framework preset None / Next.js (Static HTML Export) Build command npm run build Build output directory out Node version 20+ (set NODE_VERSION if...
SEO and Accessibility
SEO Metadata: every page exports title, description, and alternates.canonical. The root layout sets metadataBase from siteConfig.url, the title template %s · Fort Adams Trust, Open Graph defaults, and twitter.card: summary_large_image. OG image: current...
Conventions and Workflow
Code style TypeScript strict. Import via the @/ alias ( @/lib/..., @/components/...). Prettier: 100-character lines, double quotes, semicolons, trailing commas, Tailwind class sorting. Run npm run format. ESLint: eslint-config-next core-web-vitals + TypeSc...
Common Development Tasks
Short recipes for the most frequent requests. After each one, run npm run build and check the page locally before pushing. Update hours, season, or tour times Visit page: the dl rows in the Hours & Season section of src/app/visit/page.tsx, and the intro sen...
Environment Variables
Set these in Cloudflare → Workers & Pages → project → Settings → Variables and Secrets, for both Production and Preview. For local development, copy .env.example to .env.local. NEXT_PUBLIC_* variables are public. They're compiled into the browser JavaScript ...
Known Issues and Open Items
Issues and gaps found in a review of the code on 28 September 2026. Update the status column as items are resolved, and add new ones as they're found. Issues # Severity Issue Impact Suggested fix Status 1 High Volunteer, corporate, and newsletter forms show "T...
Launch Checklist
Work through this before pointing fortadams.org at the new site, and again after any major change. Use BookStack's edit mode to tick items off. Content All [PLACEHOLDER: …] items resolved (see Known Issues and Open Items) Phone, email, address, and social ...
Maintaining This Book
The master copy of this book is in the website repository at docs/bookstack/, next to the code it describes. It's written as Markdown, one file per page, and packaged into a BookStack import file. docs/bookstack/ ├── book.json # book/chapter names,...
Enter a Check Gift
Enter a Check Gift Use the Manual Gift Entry Form to record every Annual Appeal 2026 check donation. You don't need to log in to the CRM to use the form. Open it in any browser: https://crm.fortadams.org/widget/form/ssJZyqa3ilpRD0ls3tE5 Submit one form per che...
What Happens After You Submit
What Happens After You Submit When you submit the Manual Gift Entry Form, the CRM does all of the following automatically, usually within a minute. You don't need to do anything else. 1. The donor's contact is found or created The CRM matches the donor by emai...