Cooper Logo Cooper

Release v2.0.0

Upgraded the core stack to Astro 7, added four selectable hero section designs with live demo pages, and fixed a terminal rendering bug.

v2.0.0
Feature

Astro 7 & Multiple Hero Variants

This release upgrades the framework to Astro 7 and introduces a set of visual variants for the homepage hero, so you can pick the style that fits your project best.

✨ New Features

  • 4 Hero Variants: centered (default), split, cinematic, and terminal — switch between them with a single variant prop on <Hero />.
  • Live Demo Pages: /demo/home-centered, /demo/home-split, /demo/home-cinematic, and /demo/home-terminal render the full homepage with each variant, linked from a new Demos menu in the navigation.
  • Shared Homepage Content: Extracted the homepage body into a reusable HomeContent component so the real homepage and all demo pages stay in sync.

⬆️ Upgrades

  • Astro 7: Upgraded astro and all @astrojs/* integrations to their Astro 7-compatible releases.
  • Wrangler 4.107: Updated to satisfy the new Cloudflare adapter’s peer dependency.

🐛 Fixes

  • Developer Experience Terminal: Fixed a markup bug where the install command’s tool name (npx) rendered on its own line instead of alongside its arguments, making the terminal mockup on the Features page hard to read.
  • Adapter Selection: Fixed a regression where the site always built with the Vercel adapter regardless of the target deployment platform.

🌍 Internationalization (i18n)

  • Added translation keys for the new hero stats and “Demos” navigation entries across English, French, German, and Arabic.