landing-client
Astro marketing site and landing pages deployed on Cloudflare Workers via the Astro Cloudflare adapter. The public-facing website for the CROW platform.
Worker name: crow-landing-client
Domain (prod): crowai.dev
Domain (dev): dev.crowai.dev
Technology
- Framework: Astro 5 with Preact islands
- Deployment: Cloudflare Workers via
@astrojs/cloudflare - Styling: Tailwind CSS v4 with
@b3-crow/ui-kit
Bindings
| Binding | Type | Name |
|---|---|---|
| ASSETS | Static assets | dist output bundle |
| DB_MAIN | D1 | crow-landing-client-db |
| R2_BUCKET | R2 | crow-landing-client-assets |
The site is primarily static, but the worker is provisioned with D1 and R2 bindings for content and asset workflows.
Environment Variables
| Variable | Example |
|---|---|
| ENVIRONMENT | dev |
| PUBLIC_API_URL | https://dev.api.crowai.dev |
| PUBLIC_CROW_APP_URL | https://dev.app.crowai.dev |
| PUBLIC_R2_PUBLIC_URL | https://dev-assets.crowai.dev |
Key Pages
- Home -- Product overview and value proposition
- Ask -- Public-facing ask flow under
/ask/[id] - Component pages -- Landing content for web, CCTV, and social product areas
- Navigation CTAs -- Routes into auth and dashboard surfaces
Dependencies
- Outbound: core API gateway (
PUBLIC_API_URL), auth and dashboard clients (CTA links),@b3-crow/ui-kitfor shared UI components
Build and Deploy
cd landing-client
bun run build
npx wrangler deploy --env dev