636d07bcbaaf93132e9d9c7d318e03b95a6b654c
Jimmy Gan Blog
Personal website and blog built with Astro and deployed on Cloudflare Pages.
🚀 Features
- Astro 5: Modern web framework for content-driven websites.
- TypeScript: Typed JavaScript for better developer experience.
- Cloudflare Pages: High-performance hosting with SSR support.
- MDX Support: Use React components in Markdown.
- Sitemap & RSS: Built-in support for SEO and feed readers.
🛠️ Development
Prerequisites
- Node.js (Latest LTS recommended)
- npm
Setup
npm install
Commands
| Command | Action |
|---|---|
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 with Wrangler |
npm run deploy |
Build and deploy to Cloudflare Pages |
npm run check |
Run type-checks and dry-run deployment |
📁 Project Structure
src/content/: Blog posts and other content collections.src/pages/: File-based routing for your pages.src/components/: Reusable Astro components.src/layouts/: Page layouts.public/: Static assets like images and favicons.
📄 License
All rights reserved.
Description
Languages
Astro
62.7%
CSS
18%
MDX
9.5%
TypeScript
4.9%
JavaScript
4.9%