Skip to content

Content Sections

Build your event homepage with customizable content blocks — descriptions, activity highlights, add-on showcases, and custom sections.

Quick outcome

Content sections are the building blocks of your event's homepage. Each section has a type, title, body text, optional images, and links. You control the order and visibility from the admin dashboard.

Setup

Creating sections

Navigate to /admin/content/new to create a section:

FieldDescription
Typedescription, things-to-do, add-ons, or custom
TitleSection heading
BodyMarkdown-formatted content
Hero imageFeatured image for the section
Gallery imagesMultiple images in a grid
Link URLOptional call-to-action link
Link labelText for the link button
VisibleToggle section visibility

Section types

TypePurpose
descriptionGeneral event information block
things-to-doActivity highlights and local attractions
add-onsShowcases purchasable add-ons (links to specific add-on IDs)
customFree-form content block

The add-ons type has an additional field:

  • Linked add-on IDs: Select which add-ons to display in this section. Attendees can see pricing and click through to purchase.

Access controls

Sections can be restricted:

FieldDescription
Requires authOnly visible to signed-in users
PermissionsEmail or group-based access (via content section permissions)

This is useful for members-only content or information that should only be visible to specific groups.

Day-to-day management

Reordering

From /admin/content, drag sections to change their display order on the homepage. Sort order is saved automatically.

Editing

Click any section to open /admin/content/[id] for editing. The Markdown body supports:

  • Headers, bold, italic, lists
  • Links and images
  • Code blocks
  • Tables

Toggling visibility

Use the visibility toggle to show/hide sections without deleting them. Hidden sections are preserved with their content for future use.

Attendee experience

On the homepage (/), content sections display in order below the hero area:

  • Each section shows its title and rendered Markdown body
  • Hero images display as section banners
  • Gallery images show in a responsive grid
  • Link buttons provide navigation to related pages or external URLs
  • add-ons type sections show pricing cards for the linked add-ons
  • Auth-restricted sections only appear for signed-in users

Troubleshooting

SymptomFix
Markdown not rendering correctlyCheck syntax — ensure proper spacing around headers and lists
Section hidden unintentionallyVerify the isVisible toggle is on
Images not displayingConfirm images were uploaded and R2 keys are correct
Wrong section orderRe-drag sections in the admin list view
Add-on section emptyVerify linked add-on IDs match existing add-ons
Auth-restricted section visible to everyoneCheck the requiresAuth flag

Next steps

Released under the MIT License.