# Website Overview

For everyone. What the website is, what each page does, which outside services it relies on, and where each kind of content is managed.

# About This Book

This book documents the Fort Adams Trust public website: what it does, how staff keep it up to date, and how developers maintain and deploy it.

## Who this book is for

| If you are… | Read |
| --- | --- |
| **Anyone new to the website** | This chapter, *Website Overview* |
| **Staff who update website content** (events, alerts, staff list, sponsors, tour links) | *Administrator Guide* |
| **A developer** changing code, integrations, or hosting | *Developer Guide*, then *Reference* |
| **Planning the launch or an audit** | *Reference → Known Issues and Open Items* and *Launch Checklist* |

You do not need any technical knowledge to follow the *Administrator Guide*. The *Developer Guide* assumes familiarity with Git, Node.js, React, and TypeScript.

## The website in one paragraph

The site at **www.fortadams.org** is the public home of Fort Adams Trust, the nonprofit that operates and preserves Fort Adams in Newport, Rhode Island. It helps people plan a visit and book tours, find events, explore the fort's history, inquire about hosting a wedding or private event, and support the Trust with a donation, membership, volunteering, or sponsorship. It replaced the Trust's older WordPress site.

## How the content is split

Most of the website's content falls into one of three buckets:

1. **Content staff edit themselves** in the Content Manager at `/admin`: the alert banner, tour booking links, special events and categories, the staff and board directory, and corporate sponsors.
2. **Content managed in other systems.** Tours, prices, and checkout live in **FareHarbor**. Donations, memberships, and lead follow-up live in **HighLevel** (crm.fortadams.org).
3. **Content built into the site's code**, such as page text, hours, FAQs, venues, history chapters, and membership tier descriptions. A developer changes these on request.

*Where Everything Is Managed* lists each item and which bucket it belongs to.

## Conventions used in this book

- `Code style` marks something you type or see exactly as written: a file name, a web address, or a button label.
- **Bold** marks a menu, button, or field name in an app.
- Paths such as `content/events.json` are locations in the website's code repository.
- Coloured boxes highlight important information:

<p class="callout info">Info boxes give helpful context.</p>

<p class="callout warning">Warning boxes flag things that can cause problems if missed.</p>

<p class="callout danger">Danger boxes flag things that can break the site or lose data.</p>

# The Website at a Glance

A tour of every public page and what visitors can do there.

## Site-wide elements

These appear on every page:

- **Alert banner.** An optional one-line announcement across the top of the page, such as a closure or a season opening. Visitors can dismiss it. Staff control it in the Content Manager.
- **Header.** The logo, the main menu, and two buttons that always stay visible: **Donate** (goes to Support Us) and **Buy Tickets** (opens the FareHarbor booking window). On phones and small tablets, the menu collapses into a menu button.
- **Main menu.** Visit · Events · Explore the Fort · History · Host an Event · Support Us · About.
- **Footer.** Address, phone, email, social links, quick links, the copyright line, and links to the Privacy Policy and sitemap.

## Pages

| Page | Address | What it's for |
| --- | --- | --- |
| **Home** | `/` | The front door. Hero photo with *Buy Tickets* and *Plan your visit* buttons; a quick-facts strip (hours, directions, admission, parking); the **Explore the Fort** interactive video map; the next six upcoming events; "choose your path" cards (visit, host, support); a venue teaser; and fortress-story cards. |
| **Visit** | `/visit/` | Everything for planning a trip, in four tabs: **Tours & Tickets** (guided, self-guided, and private/group tour cards with *Book now* buttons), **Hours & Season**, **Getting Here** (Google map, car, water shuttle, bike, address), and **FAQ** (about 30 questions in three groups). |
| **Events** | `/events/` | Public special events. List or calendar view, category filter buttons, one optional featured event, events grouped by month, an email sign-up box, and a link to host your own event. |
| **Explore the Fort** | `/#explore-the-fort` | A section of the Home page: six short videos placed on an illustrated fort map (East Gate, Officers' Quarters, Overlook, Southeast Demi-Bastion, Tunnels, West Wall). |
| **Architecture & Terminology** | `/architecture-and-terminology/` | How the fort was built to defend, plus an A-to-Z glossary of about 100 fortification terms. |
| **History** | `/history/` | An interactive story in chapters, from the 1799 origins to today, linked to hotspots on the fort map. Also covers the Trust's history and a timeline of restoration projects since 1995. |
| **Host an Event** | `/host-an-event/` | Weddings and private events. Event types, three venues (Parade Field, North Casemates, North Lawn) with capacities and photos, what's included, and an inquiry form that goes straight into HighLevel. |
| **Support Us** | `/support-us/` | Ways to give, in tabs: **Donate** (link to the secure donation form, impact examples, donor-advised fund details), **Membership** (four annual tiers with *Join* buttons), **Corporate Giving** (sponsor logo wall), and **Volunteer**/corporate inquiry forms. |
| **About** | `/about/` | Mission and vision, links to the Strategic Plan and FY25 Annual Report (PDFs), the staff directory, and the board list. |
| **Content Manager** | `/admin/` | The staff editing area. `/admin/` is the Staff workspace (task list and help); the editor itself is at `/admin/edit/` and requires sign-in. Hidden from search engines. |

## What visitors can *do* on the site

| Action | Where | What happens behind the scenes |
| --- | --- | --- |
| Book a tour | *Buy Tickets*, *Book now* buttons | FareHarbor's booking window opens over the page. Payment and confirmation are handled entirely by FareHarbor. |
| Donate | Support Us → Donate | The visitor goes to the HighLevel donation form on `crm.fortadams.org`. |
| Become a member | Support Us → Membership | The visitor goes to a HighLevel checkout for that tier. HighLevel creates the contact and an annual subscription. |
| Inquire about an event | Host an Event → Inquire | The site creates a contact and an opportunity in the HighLevel events pipeline. |
| Volunteer / corporate inquiry | Support Us | The submission is sent to a HighLevel inbound webhook. |
| Newsletter sign-up | Events sidebar | The submission is sent to a HighLevel inbound webhook. |
| Get directions | Visit → Getting Here, Home quick facts | Opens Google Maps. |

# How the Website Works

A plain-language picture of the moving parts. Developers will find the technical version in *Developer Guide → Architecture Overview*.

## The short version

The website is a set of **pre-built pages**. It has no database and no web server running code for each visitor. Whenever the site's content changes, the whole site is rebuilt automatically and copied to Cloudflare's worldwide network. That makes it fast, secure, and nearly free to host.

The trade-off: **nothing on the site changes until a rebuild happens.** Every edit, whether a staff change in the Content Manager or a developer's code change, triggers a rebuild that usually takes a few minutes.

## The pieces

```
     Staff editor                                    Developer
          │                                              │
          ▼                                              ▼
  Content Manager (/admin) ── saves to ──▶  GitHub repository  ◀── pushes code
     (Decap CMS)                        (pmgasset/fortadamswebsite)
                                                 │
                                                 │ every change to "main"
                                                 ▼
                                       Cloudflare Pages
                                  builds the site (~ a few minutes)
                                  and serves it worldwide
                                                 │
                                                 ▼
                                   Visitors at www.fortadams.org
                                                 │
       ┌───────────────────┬─────────────────────┼────────────────────┐
       ▼                   ▼                     ▼                    ▼
   FareHarbor          HighLevel            Cloudflare R2         Google Maps
  tour booking   donations, memberships,   videos, PDFs,          map + directions
   & payment      event inquiries, leads   large media
```

| Piece | What it does |
| --- | --- |
| **GitHub** | Stores the website's code and content files, with a full history of every change. It is the single source of truth. |
| **Content Manager (Decap CMS)** | A friendly editing screen at `/admin`. When you save, it writes your change to GitHub for you. |
| **Cloudflare Pages** | Watches GitHub. On every change, it builds the site and publishes it. It also runs the one small piece of server code the site has, the event-inquiry handler. |
| **Cloudflare R2** | File storage for large media at `cdn.r2.fortadams.org`: the Explore the Fort videos, and the Strategic Plan and Annual Report PDFs. |
| **FareHarbor** | The tour catalogue, availability, pricing, checkout, and confirmations. The site only opens FareHarbor's booking window. |
| **HighLevel** (crm.fortadams.org) | The CRM. It holds contacts, event-inquiry opportunities, donations, membership subscriptions, and follow-up automations. |

## What this means day to day

- **Edits take a few minutes to appear.** See *How Your Changes Get Published*.
- **The site never touches card details.** All payments happen on FareHarbor or HighLevel pages.
- **"Upcoming" is decided at build time.** The site works out which events are upcoming when it is rebuilt, not when someone visits. A past event stays listed until the next rebuild. *Managing Special Events* explains how to handle this.
- **If a partner service is down, only that feature is affected.** For example, if FareHarbor is down, booking fails but the rest of the site works.

# Where Everything Is Managed

Use this table to find where a piece of content is changed and who can change it.

- **Staff (CMS)**: edit it yourself at `/admin`. See the *Administrator Guide*.
- **Staff (FareHarbor / HighLevel)**: edit it in that service's own dashboard.
- **Developer**: the content is part of the site's code. Send a change request (see *Requesting Changes the CMS Can't Make*).

## Content on the website

| Content | Managed in | Who |
| --- | --- | --- |
| Site alert banner (on/off and message) | Content Manager → Alerts & Booking → Update the announcement banner | Staff (CMS) |
| Tour booking link and Guided Tour link | Content Manager → Alerts & Booking → Update tour booking links | Staff (CMS) |
| Special events | Content Manager → Special Events → Add or update events | Staff (CMS) |
| Event categories (filter buttons) | Content Manager → Special Events → Event Categories | Staff (CMS) |
| Staff directory and board list | Content Manager → Staff & Board → Update staff & board | Staff (CMS) |
| Corporate sponsor logos | Content Manager → Sponsors & Partners → Update sponsor recognition | Staff (CMS) |
| Tours, prices, availability, and checkout | FareHarbor dashboard | Staff (FareHarbor) |
| Donation form fields, receipts, and funds | HighLevel → Payments / Forms | Staff (HighLevel) |
| Membership checkout pages and renewals | HighLevel → Payments → Products / Payment Links / Subscriptions | Staff (HighLevel) |
| Follow-up emails and pipelines for inquiries | HighLevel → Automation / Opportunities | Staff (HighLevel) |
| Tour descriptions on the Visit page (names, durations, "From $…") | Code: `src/lib/tours.ts` | Developer |
| Hours, season, and tour times | Code: `src/app/visit/page.tsx` | Developer |
| Visit FAQ | Code: `src/lib/faq.ts` | Developer |
| Address, phone, email, EIN, social links | Code: `src/lib/site-config.ts` | Developer |
| Main menu and footer links | Code: `src/lib/site-config.ts` | Developer |
| Venues (names, capacities, photos) | Code: `src/lib/venues.ts` | Developer |
| Event types, inquiry form options, "What's included" | Code: `src/lib/host-content.ts` | Developer |
| Membership tier names, prices, benefits, and checkout links | Code: `src/lib/support-content.ts` | Developer |
| Donation "impact" examples | Code: `src/lib/support-content.ts` | Developer |
| Donation form link | Code: `src/components/support/DonateWidget.tsx` | Developer |
| History chapters, map hotspots, restoration timeline | Code: `src/lib/history.ts` | Developer |
| Architecture features and glossary | Code: `src/lib/fort-terminology.ts` | Developer |
| Explore the Fort videos and map markers | Code: `src/lib/explore-fort.ts`; videos in Cloudflare R2 | Developer |
| Mission, vision, report PDFs (About page) | Code: `src/app/about/page.tsx`; PDFs in Cloudflare R2 | Developer |
| Page headlines and body text | Code: `src/app/<page>/page.tsx` and `src/components/` | Developer |
| URL redirects from the old website | Code: `public/_redirects` | Developer |
| Form destinations (webhook URLs), HighLevel credentials | Cloudflare Pages → Settings → Variables | Developer |

<p class="callout info">Why isn't everything editable in the CMS? The editable areas were deliberately kept small so that staff can't accidentally break page layouts. Content that rarely changes lives in code, where changes are reviewed first.</p>

# Accounts and Services

The outside accounts the website depends on. Keep the ownership details current. If the only person with access to an account leaves, the Trust can lose control of part of the website.

<p class="callout warning">Record who holds the owner or admin login for each service below, and make sure at least two Trust staff members have access. Store passwords in the Trust's password manager, never in this book.</p>

| Service | Used for | Address | Owner / admin (fill in) |
| --- | --- | --- | --- |
| **GitHub** | Code and content repository `pmgasset/fortadamswebsite`. Content Manager sign-in. | github.com/pmgasset/fortadamswebsite | |
| **Cloudflare** (Pages) | Builds and hosts the website. Stores secret settings. | dash.cloudflare.com → Workers & Pages | |
| **Cloudflare** (R2) | Video and PDF storage behind `cdn.r2.fortadams.org` | dash.cloudflare.com → R2 | |
| **Cloudflare** (DNS) | Domain records for `fortadams.org` | dash.cloudflare.com → DNS | |
| **Decap OAuth proxy** | Lets the Content Manager sign in with GitHub | `decap-oauth.fortadams.org` | |
| **GitHub OAuth App** | The app the proxy uses for sign-in | GitHub → Settings → Developer settings → OAuth Apps | |
| **FareHarbor** | Tour catalogue, booking, payments | fareharbor.com (company `fortadamstrust`) | |
| **HighLevel** | CRM, donations, memberships, inquiry pipelines, automations | crm.fortadams.org | |
| **Domain registrar** | Registration of `fortadams.org` | | |

## Access for staff editors

To use the Content Manager, a staff member needs:

1. A personal **GitHub account**. It's free, and you sign up at github.com.
2. **Write access** to the `pmgasset/fortadamswebsite` repository, granted by a repository admin under **Settings → Collaborators** on GitHub.

Remove access promptly when someone leaves the Trust.

## Access for developers

A developer typically needs:

- Write access to the GitHub repository.
- Access to the Cloudflare Pages project to view builds and manage environment variables.
- Read access to HighLevel to check pipelines, custom field IDs, and webhooks.
- Optionally, access to Cloudflare R2 to upload media.

# Glossary

Terms used throughout this book. For the fortification terms (bastion, casemate, and so on), see the website's own Architecture & Terminology page.

| Term | Meaning |
| --- | --- |
| **/admin** | The address of the Content Manager, for example `https://www.fortadams.org/admin/`. |
| **Build** | The automatic process that turns the code and content into the finished website. It runs after every change and takes a few minutes. |
| **Cloudflare Pages** | The service that builds and hosts the website. |
| **Cloudflare R2** | Cloudflare's file storage, used for videos and PDFs (`cdn.r2.fortadams.org`). |
| **CMS / Content Manager / Decap** | The staff editing tool at `/admin`. Decap CMS is the name of the open-source software. |
| **Commit** | A saved change in GitHub. Every Content Manager save creates one. |
| **Deploy** | Publishing a finished build so that visitors see it. |
| **Environment variable** | A setting stored in Cloudflare rather than in the code, such as a secret key or a webhook address. |
| **FareHarbor** | The tour booking and ticketing service. |
| **Featured event** | The one event highlighted in a large band at the top of the Events page. |
| **GitHub** | The service that stores the website's code and content, with history. |
| **HighLevel / GHL / LeadConnector** | The Trust's CRM at `crm.fortadams.org`. The website sends inquiries there and links to its donation and membership checkouts. |
| **Inbound webhook** | An address in HighLevel that accepts form data and starts a workflow. |
| **Lightframe** | FareHarbor's pop-up booking window that opens over the website. |
| **Main branch** | The version of the code on GitHub that is live on the website. |
| **Opportunity** | A HighLevel deal record in a pipeline, such as an event inquiry. |
| **Pages Function** | A small piece of server code hosted by Cloudflare. The site has one: `/api/event-inquiry`. |
| **Payment link** | A HighLevel hosted checkout page. Each membership tier has one. |
| **Pipeline / stage** | HighLevel's way of tracking leads through steps, such as New Inquiry → Tour Booked → Contract. |
| **Placeholder** | Temporary content marked `[PLACEHOLDER: …]` in the code that still needs real content. |
| **Preview deployment** | A private test version of the site that Cloudflare builds for proposed changes before they go live. |
| **Repository (repo)** | The project's folder of code and content on GitHub. |
| **Static site** | A website made of pre-built pages rather than pages generated for each visitor. |
| **Subscription** | A HighLevel recurring billing record, such as an annual membership. |