A modern production-grade static site built with Astro, React, and Tailwind CSS.
- Astro - Static site generator with island architecture
- React - Component framework for interactive UI elements
- Tailwind CSS - Utility-first CSS framework
- TypeScript - Type safety and enhanced developer experience
- Node.js (v18 or higher)
- npm or yarn
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:4321 in your browser
npm run dev- Start development servernpm run build- Build production sitenpm run preview- Preview production build locallynpm run astro- Access Astro CLI commands
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable components
│ ├── layouts/ # Page layouts
│ ├── pages/ # Route pages (.astro, .md, .js, .ts)
│ └── styles/ # Global styles
├── astro.config.mjs # Astro configuration
└── tailwind.config.mjs # Tailwind configuration
This project uses Tailwind CSS for styling. Tailwind classes can be used in both Astro components and React components.
This project follows Astro's island architecture, where React components are only hydrated when needed, resulting in optimal performance and faster loading times.