Personal starter for future Astro projects
|
Astro |
Tailwind CSS |
DaisyUI |
TypeScript |
Biome |
pnpm |
All site-wide settings (name, description, nav links, footer groups, social links, business info, OG image) live in src/config/branding.config.ts. Edit that file to rebrand the starter.
The site deploys to GitHub Pages via the CI workflow on every push to master. The live demo is at kystrel.github.io/astro-starter.
/
βββ public/
β βββ favicon.ico
β βββ favicon.svg
βββ src/
β βββ assets/
β β βββ *.jpg
β βββ components/
β β βββ BaseHead.astro
β β βββ Contact.astro
β β βββ Footer.astro
β β βββ Header.astro
β β βββ Hero.astro
β β βββ Offerings.astro
β β βββ Reviews.astro
β β βββ Story.astro
β βββ config/
β β βββ branding.config.ts
β βββ layouts/
β β βββ Layout.astro
β βββ pages/
β β βββ 404.astro
β β βββ index.astro
β β βββ robots.txt.ts
β βββ styles/
β βββ global.css
βββ package.json
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally |
pnpm check |
Run TypeScript and Astro diagnostics |
pnpm lint |
Lint with Biome (read-only) |
pnpm lint:fix |
Lint and auto-fix with Biome |
pnpm format |
Auto-format entire repo with Biome |