Build

Marketing, storage and analytics

Public pages, languages, file storage, analytics, monitoring and feature flags.

01Marketing pages and languages

Landing and pricing pages, an MDX blog in content/blog, legal pages in content/legal, a sitemap, robots and social images are included. The homepage has Product and Resources menus with a phone menu, a newsletter band, testimonials (labelled samples in development, hidden in production until you add real ones) and a footer with socials, cookie preferences and an optional status link. The app ships in English and Spanish; see Languages and Blog and SEO.

02File storage

.env.local
S3_ENDPOINT=...
S3_REGION=auto
S3_BUCKET=...
S3_ACCESS_KEY_ID=...
S3_SECRET_ACCESS_KEY=...
S3_PUBLIC_URL=...

03Analytics and monitoring

PostHog loads after cookie consent (NEXT_PUBLIC_POSTHOG_KEY), Sentry reports errors (SENTRY_DSN, NEXT_PUBLIC_SENTRY_DSN). New third-party origins must be added to the CSP in next.config.ts.

04Feature flags

Define flags in features/flags/config.ts and read them with await isEnabled("name") on the server or useFlag("name") in dashboard components. An env override (FLAG_NAME=true) beats allowlists, which beat percentage rollout, which beats the default.