mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-12 00:05:09 +00:00
site/src/pages/index.astro imports { animate, inView, stagger } from
'motion' for its scroll/entrance animations, but the package was never
declared in site/package.json. astro build (Site CI) therefore failed to
resolve the import (Rollup: failed to resolve import "motion"). Add
motion@^12.34.0 (matching web/) and sync site/pnpm-lock.yaml so the
frozen-lockfile install + build pass.
site
Warmbly's public marketing site. Astro 5 + Tailwind v4, separate from the
in-product dashboard at web/ and the admin app at admin/.
Run it locally
pnpm install
pnpm dev # boots on http://localhost:4321
pnpm build # static output into ./dist
pnpm preview # serve the production build locally
From the repo root you can also use make site, which is a shortcut for
cd site && pnpm dev. make app does not start this site — it lives
outside the docker compose stack and ships on its own cadence.
Layout
site/
├── astro.config.mjs # sitemap integration + Tailwind v4 Vite plugin
├── public/ # static assets served as-is
├── scripts/ # build-time helpers
└── src/ # pages, layouts, components, content