This is the codebase for redarclabs.com, built with Astro and Tailwind CSS v4.
/
├── public/
│ ├── logo.svg
│ └── robots.txt
├── src/
│ ├── components/
│ │ ├── AnimatedLogo.astro
│ │ ├── Nav.astro
│ │ └── ThemeToggle.astro
│ ├── pages/
│ │ └── index.astro
│ ├── App.css
│ └── index.css
└── astro.config.mjs
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
This site is statically generated (SSG) and does not require an adapter.
To deploy on Cloudflare Pages:
- Connect your GitHub repository to Cloudflare Pages.
- Set the framework preset to Astro.
- Build command:
npm run build - Build output directory:
dist