Personal site powered by Next.js App Router + MDX.
First, run the development server:
bun devOpen http://localhost:3000 with your browser to see the result.
Posts and projects live in src/content/{posts|projects}/{slug}/index.mdx with images in the same folder.
Example:
src/content/posts/my-post/
index.mdx
cover.jpg
image-1.png
Use relative image paths in MDX/frontmatter:
coverImage: "./cover.jpg"
Before building, media files are copied to public/content/... via:
bun run sync:content
The build script runs this automatically.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
An on-demand revalidation endpoint is available at POST /api/revalidate.
Provide { "secret": "<REVALIDATE_SECRET>", "path": "/posts/my-post" }.