Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Portfolio (One Page)

One-page portfolio built with Next.js, TypeScript, Tailwind, and MDX notes.

Getting started

npm install
npm run dev

Build for static hosting

npm run build

Static files are generated in out/.

Deploy to GitHub Pages

  1. Push this project to a GitHub repository.
  2. In GitHub, enable Pages and set source to GitHub Actions.
  3. The included workflow (.github/workflows/deploy-pages.yml) deploys on pushes to main.

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=/repo

Site structure

The homepage (src/app/page.tsx) contains all primary sections:

  • #about
  • #projects
  • #notes
  • #links

Header nav links jump to these sections.

Content editing

Projects (simple outbound links)

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 (lightweight MDX blog)

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...

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages