One-page portfolio built with Next.js, TypeScript, Tailwind, and MDX notes.
npm install
npm run devnpm run buildStatic files are generated in out/.
- Push this project to a GitHub repository.
- In GitHub, enable Pages and set source to GitHub Actions.
- The included workflow (
.github/workflows/deploy-pages.yml) deploys on pushes tomain.
For a custom domain, add public/CNAME with your domain (for example portfolio.example.com).
If deploying under a repo subpath (for example username.github.io/repo), set:
NEXT_PUBLIC_BASE_PATH=/repoThe homepage (src/app/page.tsx) contains all primary sections:
#about#projects#notes#links
Header nav links jump to these sections.
Project entries live in src/content/projects/*.mdx and use frontmatter only:
---
title: "Project Title"
summary: "One-line summary"
stack:
- Next.js
- TypeScript
date: "2026-02-18"
href: "https://github.com/your-handle/project"
---Notes live in src/content/notes/*.mdx and are listed on the homepage.
Each note also has a generated page at /notes/[slug]/.
---
title: "Note Title"
summary: "Short excerpt shown on homepage"
date: "2026-02-12"
---
Note body in MDX...