On this page
Astro Flightdeck is a free theme for Astro 7: a ready-made website for a software product. It has a homepage, a pricing page, docs, a blog, About, Contact and a privacy page, in one of two colours and one of four languages. Customer stories are at /customers/. You put your product’s name in place of “Astro Flightdeck” and change the text.
The demo’s product, Flightdeck, is made up: it watches websites for uptime, speed and visitors. Its companies, people, quotes, prices and figures are examples.
Astro Flightdeck is built on Astro Rocket, a theme for freelancers, which is built on Velocity by Southwell Media. From Velocity it has 70 components, a strict Content Security Policy, light and dark mode, search with Pagefind, forms with Astro Actions, share images made at build time, structured data and a sitemap.
What you need
- Node 22.23.4 or later
- pnpm 10
Install
git clone https://github.com/hansmartensdev/Astro-Flightdeck.git my-site
cd my-site
pnpm install
cp .env.example .env
pnpm dev
The site opens at http://localhost:4321.
Commands
| Command | What it does |
|---|---|
pnpm dev |
Dev server at http://localhost:4321 |
pnpm build |
Production build, with the Pagefind search index |
pnpm preview |
Serves the build. Search only works here and after deploying |
pnpm lint |
ESLint |
pnpm check |
Astro and TypeScript diagnostics |
pnpm test |
Unit tests |
pnpm test:e2e |
End-to-end and accessibility tests, after a build |
pnpm validate |
Lint, check, unit tests, build and the agent-ready check |
Where to go next
- Settings: the theme’s switches.
- Name, links and menu: your product’s name, email and profiles.
- Colour, fonts and logo: the site’s colour and your own logo.
- Pages and words: where every word on the pages is, and what in the demo is an example.