Skip to content

jethromayuk/jethromay.com

Repository files navigation

jethromay.com

Personal portfolio and blog built with Next.js and MDX.

Tech Stack

Getting Started

Copy the environment file and set your site URL:

cp .env.example .env.local

Install dependencies and start the development server:

bun install
bun dev

The site will be available at http://localhost:3000.

Commands

Command Description
bun dev Start development server
bun run build Build for production
bun run lint Run ESLint
bun run start Start production server

Writing Articles

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} />

About

Personal website.

Topics

Resources

License

Stars

Watchers

Forks

Contributors