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:
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
- Put your screenshot in
public/landing/, for examplemy-product.webp. - Set both language values in
hero.image.srcto/landing/my-product.webp. You can use different screenshots for each language. - Update
hero.image.width,hero.image.height, and the image description inhero.visual.workspace. - 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 change | Field |
|---|---|
| Product demos and features | featureDemos, features |
| Technology and service cards | techStack |
| Starter offer section | acquisition |
| Questions and closing button | faq, cta |
| Header navigation, footer links, and company name | header, 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:
- Configure payments using the Stripe or Creem guide.
- Set your plans in
src/config/payment-config.ts. Plan names and feature descriptions live insrc/i18n/pricing/en.jsonandzh.json. - Edit
src/routes/{-$locale}/_main/_landing/pricing.tsx. Replace the source code offer with the existingPricingcomponent and update the page's English and Chinese titles and descriptions. Import the component from@/shared/components/landing/pricing. - 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.