Docs
Protocol Verified

White Label Guide

Transform this scaffold into your product in 15 minutes.

PRID: 1103
VERIFIED
4 min read

🏷️ White Label & Customization Guide (Start Here)

Goal: Transform the "Instant Ship™" scaffold into YOUR Product. Time Estimate: 15-30 Minutes.

This guide provides a step-by-step checklist to strip the original branding, apply your identity, and prepare the architecture for your specific business logic.


Phase 1: Brand Injection (The "Skin")

Step 1: Global Configuration (site.config.ts)

This file is the "Brain" of your site's identity.

  • Change Name & Domain: Update name, domain (your production URL).
  • Update Socials: Replace the author object with your name and social links.
  • Analytics: Clear or replace the IDs in analytics (or use .env).
  • Clean Routes: If you don't need /manifesto or /pricing, remove them from the routes array.

Step 2: Visual Identity (tailwind.config.js)

Change the look and feel instantly by updating the color palette.

  • Primary Color: Locate theme.extend.colors.primary. Change #135bec to your brand color.
    • Tip: Also update primary.dark for hover states.
  • Fonts: If you want to change Inter, update index.html (Google Fonts) and font-family in tailwind.config.js.

Step 3: Text & Copy (i18n.ts)

This is where "Instant Ship" text lives.

  • Find & Replace: Search for "Instant Ship" and replace with your product name.
  • Nav Links: Update nav object if you changed routes in Step 1.
  • Landing Page: Rewrite welcome, audience, and workflow sections to match your product's value proposition.
  • Remove Founder Story: Locate identity and manifesto keys. Rewrite them to tell your story, or remove the sections from the homepage component.

Step 4: App Manifest (public/manifest.json)

Ensure your PWA looks like your app on mobile.

  • Update Name: Change name and short_name.
  • Update Icons: Replace the picsum.photos links with your actual logo paths (e.g., /assets/icon-192.png).
  • Theme Color: Match this to your new Tailwind primary color.

Phase 2: Structural Cleanup (The "Body")

The default scaffold includes sections specific to the "100 Product Challenge". You likely want to remove them.

Step 1: Clean the Homepage (routes/$lang.index.tsx)

  • Remove Components: Delete <FounderIdentity />, <ShippingRitual />, or <Manifesto /> if they don't fit your narrative.
  • Update Hero: Ensure <Hero /> is passing the correct translation keys for your new product.
  • Remove "Challenge" Link: In the <footer>, remove the section linking to the "100 Product Challenge" unless you are participating.
  • Copyright: Verify the dynamic year and brand name updates automatically (it reads from siteConfig).

Phase 3: Adding New Features (The "Expansion")

Now that the site looks like yours, here is how to add a new functional page (e.g., a "Tools" page).

Step 1: Create the Route

Create a file: routes/$lang.tools.tsx.

tsx
import { createFileRoute } from '@tanstack/react-router'; import { useTranslation } from 'react-i18next'; export const Route = createFileRoute('/$lang/tools')({ component: ToolsPage, }); function ToolsPage() { const { t } = useTranslation(); return ( <div class="py-20 animate-fade-in"> <h1>{t('tools.title')}</h1> {/* Your Feature Components Here */} </div> ); }

Step 2: Register for SEO (site.config.ts)

Crucial: If you don't do this, the page won't have a title tag or sitemap entry.

typescript
routes: [ // ... existing { path: "/tools", titleKey: "tools.title", descriptionKey: "tools.desc" } ]

Step 3: Add Translations (i18n.ts)

typescript
{ translation: { tools: { title: "AI Tools Suite", desc: "Powerful generators for your workflow." } } }

Step 4: Add to Navigation (routes/__root.tsx)

Find the <nav> section and add your link:

tsx
<Link to={getLocalizedPath('/tools')} ... > {t('tools.title')} </Link>

Phase 4: Launch Prep (The "Ignition")

Step 1: Environment Variables

Create a .env file (locally) or configure in Cloudflare Pages:

  • VITE_GA_ID (Your Google Analytics)
  • VITE_CLARITY_ID (Your Clarity Project)
  • API_KEY (Gemini API for the SEO optimizer script, optional)

Step 2: GitHub Actions

  • Ensure github/workflows/ci-suite.yml has write permissions enabled in your repo settings (Settings > Actions > General > Read and write permissions).

Step 3: Build & Test

Run npm run build.

  • Check dist/sitemap.xml: Does it have your new routes?
  • Check dist/index.html: Is the title tag correct?

🎉 You are ready. Slay the delay.

Authority Distribution

Share this technical artifact