Documentation

Customize the Homepage

Add your product copy, screenshots, and buttons to the existing homepage

Most homepage content lives in src/i18n/landing.content.ts. Start with the opening message, screenshot, and main button. Save, then open / and /zh to preview your product homepage.

1. Change the Title and Button

Find hero.title and replace its English and Chinese text:

hero.title in src/i18n/landing.content.ts
title: t({
  en: "Create product images from a short description.",
  zh: "用一段描述,生成产品图片。",
}),

Update hero.description to explain who the product helps and what they can do. Change hero.buttons.start.text to your button label and hero.buttons.start.url to an existing feature page, such as /generate.

The current homepage sells the ShipStart starter. Also replace hero.announcement, hero.highlights, and the purchase promises in the starter offer section.

2. Add Your Screenshots

  1. Put your screenshot in public/landing/, for example my-product.webp.
  2. Set both language values in hero.image.src to /landing/my-product.webp. You can use different screenshots for each language.
  3. Update hero.image.width, hero.image.height, and the image description in hero.visual.workspace.
  4. Product demo images live under featureDemos.groups[].items[]. Update their images, descriptions, and demo links together.

Save and refresh the page. Check that the screenshots load and their text is readable.

3. Edit the Other Sections

Find the matching fields in the same file:

Content to changeField
Product demos and featuresfeatureDemos, features
Technology and service cardstechStack
Starter offer sectionacquisition
Questions and closing buttonfaq, cta
Header navigation, footer links, and company nameheader, footer

Use existing paths such as /docs, /chat, /generate, and /blog for navigation. The existing navigation keeps the visitor's language.

To hide feature cards, FAQ, or the closing button, set features.display, faq.display, or cta.display to false.

To remove technology cards or the starter offer, or to reorder sections, ask your AI tool to edit src/routes/{-$locale}/_main/_landing/index.tsx. These sections do not share a single visibility setting.

4. Add Your Product Pricing

The current /pricing page sells the ShipStart source code. Changing plan prices alone will not turn it into your product's pricing page.

To sell product plans to your users:

  1. Configure payments using the Stripe or Creem guide.
  2. Set your plans in src/config/payment-config.ts. Plan names and feature descriptions live in src/i18n/pricing/en.json and zh.json.
  3. Edit src/routes/{-$locale}/_main/_landing/pricing.tsx. Replace the source code offer with the existing Pricing component and update the page's English and Chinese titles and descriptions. Import the component from @/shared/components/landing/pricing.
  4. Update the homepage offer, FAQ, and purchase buttons with your product's details and links.

Open /pricing and /zh/pricing to confirm that your plans appear. Then complete a test purchase using the payment guide.

Ask Your AI Tool

Make the homepage about [product name], for [audience] who want to [task].
Update the English and Chinese copy, screenshots, FAQ, and navigation
in landing.content.ts. Link the main button to [existing page], use
[screenshot paths], and remove starter sales content that does not apply.
[If selling plans: replace the source code offer in pricing.tsx with the
existing Pricing component. Update plan settings, copy, and page titles.]
Check both languages and the phone layout. List changed files and preview URLs.

Before publishing, click the main buttons, check images and links, and confirm the page fits a phone screen. Next, choose a theme or publish your product docs.

On this page