Welcome to Topiqu! 👋
Landing page and onboarding flow for Topiqu - Your AI Blog Platform.
Includes:
- Marketing landing page - workspace preview, editorial workflow, comparison, pricing and FAQ
- 6-step onboarding - site setup, design, plan, account, email verification, summary
- Successful registration clears the saved wizard draft before leaving for the app. Interrupted requests retain it for retry; passwords and verification proof are never persisted.
- Optional company website - with processing confirmation, prepares blog settings and knowledge in the background; suggestions are reviewed in the app
- Legal pages - Terms of Service; the app hosts the one Privacy Policy, which the landing links and redirects to
- PWA support, SEO/OG meta, structured data (schema.org)
- i18n - Multi-language localization
The landing shares Nuxt UI primitives and the visual language of the app. See the design system notes for component reuse, CSS conventions and logo synchronization.
Requirements
- 📦 Bun - package manager & runtime
- 🔑 A configured
.env(see.env.example)
Install & run in dev mode
bun install # installs deps + runs nuxt prepare
bun dev # start Nuxt dev serverBuild & preview
bun run build # production server build (Bun preset)
bun generate # static marketing export only; registration still needs a server
bun preview # preview production build locallyDocker builds Nuxt and runs the standalone server with Bun 1.4.4. Node 26.13.0 is pinned for local and CI type checking. Nuxt Content uses the built-in SQLite driver in both stages.
Check the packaged production server with the same image used for deployment:
docker build --tag topiqu-landing:smoke .
docker run --detach --rm --name topiqu-landing-smoke --publish 127.0.0.1:3000:3000 topiqu-landing:smoke
bun run test:production
docker stop topiqu-landing-smokeThe smoke test checks server rendering of all six onboarding steps in English and Czech,
documentation, changelog, the 404 page and the integrity of homepage JavaScript assets.
Each build places assets under its own /_nuxt/<build-id>/ directory to prevent stale CDN chunks
from blocking hydration after deployment. Set PRODUCTION_TEST_URL to test a different local
port. CI runs it against the final Docker image so development dependencies cannot mask missing
runtime dependencies.
Copy .env.example and fill in:
| Variable | Description |
|---|---|
NUXT_PUBLIC_CDN_URL |
CDN base URL for assets |
NUXT_TURNSTILE_SECRET_KEY |
Cloudflare Turnstile secret (onboarding bot protection) |
NUXT_PUBLIC_TURNSTILE_SITE_KEY |
Cloudflare Turnstile site key |
NUXT_AUTH_SECRET |
HMAC signing secret shared with the platform |
NUXT_PLATFORM_API_URL |
Main Topiqu platform URL (receives checkout data) |
SES_REGION |
Amazon SES region (eu-central-1 for Frankfurt) |
SES_ACCESS_KEY_ID |
IAM access key with permission to send through SES |
SES_SECRET_ACCESS_KEY |
IAM secret access key for SES |
NUXT_EMAIL_FROM |
Sender address for verification emails |
NUXT_CRM_URL |
Leadgen CRM origin (landing leads and registrations) |
NUXT_CRM_API_KEY |
Write-scoped Leadgen CRM API key |
NUXT_PUBLIC_GTAG_ID |
Google Analytics measurement ID (G-XXXXXXXXXX) |
AdSense uses NUXT_PUBLIC_ADSENSE_PUBLISHER_ID (default: ca-pub-9731440718321055), the Meta Pixel
NUXT_PUBLIC_META_PIXEL_ID (default: 3051588728517585; empty disables it).
For an already-built image use the native NUXT_ runtime overrides described in
production operations, which also documents retries, logging and release checks.
After SES accepts a verification email, the server emits a JSON email.accepted event
with the SES messageId, sending region and request correlation. The /api/send-code response includes
delivery: "ses" and messageId; this confirms SES acceptance, not inbox delivery.
In local development without SES credentials, the code is printed to the terminal
as [DEV EMAIL] instead of being sent,
and the response explicitly reports delivery: "development".
The verification screen distinguishes security checking, sending, confirmed acceptance and errors, and
includes spam-folder guidance. It loads the public Turnstile key from the running server instead of relying
on the configuration embedded in prerendered marketing pages. Runtime/container logs are available in Dokploy;
Better Stack ingestion requires a separately configured log collector.
AdSense publishes its account meta tag during server rendering. The script loads once after
hydration and cookie consent; withdrawing consent reloads the page to stop the advertising runtime.
Google advertising consent still requires a published Google CMP message for topiqu.com
(AdSense → Privacy & messaging). There is deliberately no ads.txt: tenant blogs on *.topiqu.com
inherit the apex file, and listing only this publisher would mark their own GAM sellers unauthorized.
The Meta Pixel follows the same consent: it loads after acceptance, sends PageView on every route,
Lead once the onboarding email is verified and CompleteRegistration before the checkout redirect.
Declining removes its _fbp/_fbc cookies and reloads a page where it already ran. Checkout forwards those
cookies and the user agent to the platform as X-Landing-* headers for its Conversions API, and
CompleteRegistration carries the same event id (metaRegistrationId), so Meta counts the sign-up once.
ESLint (@nuxt/eslint) + Prettier enforced project-wide.
bun lint # check
bun lint:fix # auto-fix
bun prettier # check formatting
bun prettier:fix # apply formatting
bun fmt # lint:fix + prettier:fix combined
bun typecheck # vue-tsc strict typecheckMade with ❤️ by @bigjohnn1 & @germondai