Routes and Pages All routes are statically exported with trailing slashes ( /visit/ → out/visit/index.html). Each page exports metadata with title, description, and alternates.canonical. The root layout applies the title template %s · Fort Adams Trust. Route File Data sources Notes / src/app/page.tsx getUpcomingEvents(6), explore-fort.ts Sections: HomeHero → QuickInfoStrip → ExploreFort ( #explore-the-fort) → UpcomingEvents → AudienceRouter → VenueTeaser → FortressStory. UpcomingEvents renders nothing when there are no events. /visit/ src/app/visit/page.tsx tours.ts, faq.ts, getTourBooking(), site-config StickyTabNav anchors: #tours, #hours, #getting-here, #faq. Hours and tour times are hard-coded in this file. The Google Maps embed uses a place cid. The Guided card uses guidedBookingUrl; other cards use bookingUrl. /events/ src/app/events/page.tsx getUpcomingEvents(), getFeaturedEvent() EventsExplorer (client) handles the list/calendar toggle and category filter. The calendar's initial month is the build month. /history/ src/app/history/page.tsx history.ts HistoryExperience (chapters ↔ map hotspots, mobile Story/Map toggle), #the-trust, #restoration-projects ( RestorationTimeline). /architecture-and-terminology/ src/app/architecture-and-terminology/page.tsx fort-terminology.ts Glossary grouped by first letter, with a #terms-X index. /host-an-event/ src/app/host-an-event/page.tsx venues.ts, host-content.ts Anchors: #venues, #whats-included, #inquire. EventInquiryForm posts to /api/event-inquiry. /support-us/ src/app/support-us/page.tsx support-content.ts, getSponsorDirectory(), env webhooks Anchors: #donate, #membership, #corporate (sponsors), #volunteer. /about/ src/app/about/page.tsx getStaff(), getBoard() Mission and vision copy and report PDF links (R2) are hard-coded here. /admin/ public/admin/index.html Staff workspace (static task dashboard and help). noindex, disallowed in robots. /admin/edit/ public/admin/edit/index.html public/admin/config.yml Decap editor, loaded by editor-loader.js. /sitemap.xml src/app/sitemap.ts route list in file Update the routes array when adding a page. /robots.txt src/app/robots.ts Disallows /admin. POST /api/event-inquiry functions/api/event-inquiry.ts Pages secrets See HighLevel Integrations. Navigation src/lib/site-config.ts defines: primaryNav: header links. They collapse to a hamburger menu below the lg breakpoint. cta.buyTickets ( /visit/#tours) and cta.donate ( /support-us/#donate): always visible. When a valid FareHarbor URL exists, the header's Buy Tickets becomes a direct FareHarbor link and opens the Lightframe. footerLinks.explore | connect | legal footerLinks.legal links to /privacy, but no src/app/privacy/page.tsx exists, so that link returns a 404. See Known Issues and Open Items. Adding a page See Common Development Tasks → Add a new page.