Skip to Content
GenerateSaaS

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

OrderComponentAnchorShows whenData
1Hero with the tabbed product tour#hero, tour #demoalwayslanding.hero.*
2FeaturesGrid (bento)#featuresalways; each cell has its own gatelib/landing/features-grid-items.ts
3AiAssistantsSection#ai-assistantsconfig.mcpServer.enabledlanding.ai_assistants.*
4BuiltBy-builtBy is setpackages/config/src/landing.ts
5Pricing, PricingComparison, PricingProducts#pricingalways; products need pricingConfig.products.enabledpricingConfig
6FAQ#faqalwayslib/landing/faq-items.ts
7GetTheApp#get-the-appconfig.mobile.enabled and a store URLconfig.mobile
8FinalCta#get-startedalways (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? }.

  • enabled reads 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.
  • docsSlug adds a "Learn more" link into your docs while config.docs.enabled is on.
  • Mockup closes the cell on a 150px strip from components/landing/mockups/mini/. Strips are pure CSS on theme tokens, and their copy lives under demo.bento.*.
  • colSpan sets 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.

packages/config/src/landing.ts
export const builtBy: BuiltBy | null = {
	name: "Ada Lovelace",
	photo: "/images/maker.jpg",
	url: "https://x.com/ada"
};
FieldShows
nameUnder the photo, and as its alt text
photoA 176px round photo; a path under apps/web/public/ or an absolute URL
urlOptional 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:

PropDefault
idnone (the landing page passes get-started)
primaryButtonText, primaryButtonLink, primaryButtonIconcommon.cta, config.routes.pricing, rocket
showSecondaryButtontrue
secondaryButtonText, secondaryButtonLink, secondaryButtonIconcommon.watch_the_demo, #demo, monitor
showTrustBadgestrue

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.

On this page