Node.js 22.12 or newer, and npm. A Strapi instance is optional.
Instructions
Getting the theme running, and pointing it at your own content.
- npm install — install dependencies.
- npm run dev — start the dev server on localhost:4321.
- npm run build — produce the static site in dist/.
- npm run preview — serve the production build locally.
Name, description, canonical URL, navigation, and social links all live insrc/config/site.ts. Changing them updates the header, footer, and every page's metadata at once.
Services, projects, and blog posts come from src/lib/cms.ts. With no environment variables set it reads the bundled JSON in src/data/, so the theme builds offline. Set STRAPI_URL(and STRAPI_TOKEN for private content) in .env to pull from Strapi instead. Seestrapi/README.md for standing the backend up and seeding it.
The compiled design system lives in public/css/. Layout and colour tokens are defined at the top ofnovaform-astro-theme.webflow.css. Page-level animations are driven by GSAP and the Webflow interactions runtime loaded from src/components/SiteScripts.astro.
The build is fully static, so any host works — Netlify, Vercel, Cloudflare Pages, or plain object storage. Publish the dist/ directory. If you build from Strapi, run the build wherever Strapi is reachable.