Personal portfolio and blog built with Next.js and MDX.
- Next.js 15 (pages router)
- Tailwind CSS
- MDX for blog articles
Copy the environment file and set your site URL:
cp .env.example .env.localInstall dependencies and start the development server:
bun install
bun devThe site will be available at http://localhost:3000.
| Command | Description |
|---|---|
bun dev |
Start development server |
bun run build |
Build for production |
bun run lint |
Run ESLint |
bun run start |
Start production server |
Articles are MDX files in src/pages/articles/. Each file must export a meta object:
export const meta = {
author: 'Jethro May',
date: '2024-01-01',
updated: '2024-02-15', // optional — used for dateModified in structured data
title: 'Article Title',
description: 'Short description',
tags: ['webdev', 'AI'], // optional
hook: 'Teaser copy for social sharing', // optional
}Wrap the content with ArticleLayout:
export default (props) => <ArticleLayout meta={meta} {...props} />