Skip to content

cjoyau/blast

Repository files navigation

Blast · Blue astro theme

Production-ready theme specially designed for Business, Marketing, SaaS and Startup websites.

Key Features

  • Built with Astro 7, Tailwind CSS v4 & Alpine.js
  • 7+ Pages
  • 17+ Sections
  • Multi-language support
  • Static site generation (SSG) optimized
  • Content Security Policy (CSP) enabled by default
  • Automatic sha256 hashing of inline scripts and styles
  • Clean & Modern Design
  • Fully Responsive
  • Dark & Light Mode
  • Fast & Performant
  • Super Lightweight
  • Client Router
  • Vitest Unit Tests
  • Prettier Code Formatter
  • Google Fonts
  • Remix Icons
  • Basin Contact Form
  • Turnstile Spam Protection

Getting Started

Requirements

  • Basic knowledge of Astro, HTML and CSS.
  • Text editor (We recommend Visual Studio Code)
  • Node.js 22 or higher.

Environment variables

Before you start, make sure to create a .env file in the root of your project and add the following environment variables:

BASIN_FORM_ID=<your-form-id> ①
TURNSTILE_SITEKEY=<your-sitekey> ②
  1. Your Basin Form ID. You can find it in your Basin dashboard.
  2. Your Cloudflare Turnstile Site Key. You can find it in your Cloudflare dashboard.

Install dependencies

Navigate to your project folder and install its dependencies:

npm install

Start

Once the installation is done, you can now run your app:

npm run dev

This runs the app in development mode. Open http://localhost:4321 to view it in the browser.

Build

npm run build

This builds the app for production to the ./dist/ folder.

Project Structure

Inside the project, you’ll see the following folders and files:

/ 📒
├── 📂 src/ ①
│   ├── 📂 assets/ ②
│   │   └── 📂 icons/ ③
│   ├── 📂 components/ ④
│   ├── 📂 i18n/ ⑤
│   ├── 📂 layouts/ ⑥
│   ├── 📂 pages/ ⑦
│   ├── 📂 scripts/
│   │   └── 📄 entrypoint.ts ⑧
│   ├── 📂 styles/
│   │   └── 📄 global.css ⑨
│   └── 📂 tests/ ⑩
├── 📂 public/ ⑪
├── 📄 .prettierrc ⑫
├── 📄 astro.config.mjs ⑬
├── 📄 package-lock.json
├── 📄 package.json ⑭
├── 📄 README.md
├── 📄 tsconfig.json ⑮
└── 📄 vitest.config.ts ⑯
  1. Project source code (components, pages, …)
  2. Any processed assets (images, svgs, …)
  3. Remix icons used as SVG components.
  4. Reusable Astro components used to build pages.
  5. Internationalization files that contain the translations of the textual content of the site.
  6. Astro components that define the UI structure shared by one or more pages.
  7. Astro components used to create new pages on your site. Each page is exposed as a route based on its file name.
  8. Alpine.js entrypoint.
  9. Tailwind configuration file. The theme section is where you define your color palette and fonts.
  10. Tests (Vitest unit tests for components, …)
  11. Any static assets (images, fonts, icons, …)
  12. Prettier configuration file.
  13. Astro configuration file.
  14. File used by JavaScript package managers to manage your dependencies. It also defines the scripts that are commonly used to run Astro.
  15. TypeScript configuration file.
  16. Vitest configuration file.

Deployment

Ready to build and deploy your site? Follow the official documentation.

License

This project is licensed under the terms of the MIT license.

About

Blue astro theme specially designed for Business, Marketing, SaaS and Startup websites. ⭐️ Star to support the project!

Topics

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors