Files
5b6443862b feat(go): white background on aws-reinvent schedule page (#53438)
## What

Adds an optional `theme: 'light'` setting for go pages. When set, the
page switches the root theme to light (`data-theme="light"` on `<html>`,
restored on unmount) and renders on a white background, so the white
HubSpot meetings embed no longer contrasts with a dark page. Pages that
don't set it are unchanged.

The root element has to be switched because the semantic color tokens
are derived at `:root`, so a wrapper class alone leaves text
light-on-white.

Turns it on for `/go/aws-reinvent/schedule`. Also loads HubSpot's embed
script as a plain `<script>` tag right after the container (as in
HubSpot's snippet) instead of `next/script`, which loads after page
load.

Files changed:
- `packages/marketing/src/go/schemas.ts`: optional `theme` field on the
page schema
- `apps/www/components/Go/ForceLightTheme.tsx`: sets the light theme on
`<html>` while mounted
- `apps/www/components/Go/GoPageRenderer.tsx`: uses it when `theme` is
`'light'`
- `apps/www/_go/events/aws-reinvent-2026/schedule.tsx`: sets `theme:
'light'`, plain embed script tag

## Review instructions

Open `/go/aws-reinvent/schedule`: the page should be white with readable
text, and the HubSpot calendar should load below the Growth Leads cards.
Open another go page and confirm it is unchanged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 15:45:02 +11:00
..