Landing page
The sections the marketing landing page renders, the data and config behind each, and how to change, gate or remove them.
The landing page (app/[locale]/(marketing)/page.tsx) is a list of section components from components/landing/. Reorder or delete a line there to change the page; every section's copy is i18n and every list it renders is a data file under lib/landing/.
Sections
| Order | Component | Anchor | Shows when | Data |
|---|---|---|---|---|
| 1 | Hero with the tabbed product tour | #hero, tour #demo | always | landing.hero.* |
| 2 | FeaturesGrid (bento) | #features | always; each cell has its own gate | lib/landing/features-grid-items.ts |
| 3 | AiAssistantsSection | #ai-assistants | config.mcpServer.enabled | landing.ai_assistants.* |
| 4 | BuiltBy | - | builtBy is set | packages/config/src/landing.ts |
| 5 | Pricing, PricingComparison, PricingProducts | #pricing | always; products need pricingConfig.products.enabled | pricingConfig |
| 6 | FAQ | #faq | always | lib/landing/faq-items.ts |
| 7 | GetTheApp | #get-the-app | config.mobile.enabled and a store URL | config.mobile |
| 8 | FinalCta | #get-started | always (a waitlist build shows the signup form) | landing.cta.* |
The navbar's Product dropdown links the anchors above, and its AI assistants link follows the same MCP gate as the section. The hero and its tabbed product tour have their own page: Hero tour.
Features grid
Each cell is { icon, titleKey, descriptionKey, docsSlug?, colSpan?, Mockup?, enabled? }.
enabledreads the same flag the app does (projects, API keys, notifications, storage, AI, a blog section, the cookie banner), so a build never advertises a feature it switched off. The grid packs densely, so a hidden cell leaves no hole.docsSlugadds a "Learn more" link into your docs whileconfig.docs.enabledis on.Mockupcloses the cell on a 150px strip fromcomponents/landing/mockups/mini/. Strips are pure CSS on theme tokens, and their copy lives underdemo.bento.*.colSpansets the width on the 3-column grid (1-3).
Strips rise into view as the card scrolls in (components/landing/bento.css): add className="bento-beat" and style={bentoLag("12%")} to stagger members. The entrance is scroll-driven CSS behind @supports and prefers-reduced-motion, so the resting frame is always the finished picture.
AI assistants
Shown only while the MCP server is on. It offers a copyable setup prompt, step lists for the Claude and ChatGPT apps, and the same agent connect panel the MCP settings screen renders. The server URL is NEXT_PUBLIC_API_URL plus /mcp.
Built by
A maker section between the product sections and pricing. It is hidden until you configure it, so no placeholder person ever ships.
export const builtBy: BuiltBy | null = {
name: "Ada Lovelace",
photo: "/images/maker.jpg",
url: "https://x.com/ada"
};| Field | Shows |
|---|---|
name | Under the photo, and as its alt text |
photo | A 176px round photo; a path under apps/web/public/ or an absolute URL |
url | Optional profile link; an X link draws the X mark |
The line under the name is the landing.built_by.line message, so it is translated with the rest of the page.
Final call to action
FinalCta takes every action as a prop with a default:
| Prop | Default |
|---|---|
id | none (the landing page passes get-started) |
primaryButtonText, primaryButtonLink, primaryButtonIcon | common.cta, config.routes.pricing, rocket |
showSecondaryButton | true |
secondaryButtonText, secondaryButtonLink, secondaryButtonIcon | common.watch_the_demo, #demo, monitor |
showTrustBadges | true |
The second action is always the secondary button variant, and an absolute secondaryButtonLink opens in a new tab.
Section headlines carry no pill or eyebrow above them, on the landing page and on the contact, legal and content pages.
Marketing & SEO
Assemble the prerendered landing surface and emit structured data, canonical and hreflang links, sitemap, and robots from config.
Hero tour
The landing hero - a centred headline over an animated, tabbed tour of the real app - and how to change its copy, gate its scenes, and add or replace a scene.