Personal portfolio website built with Next.js, TypeScript, Tailwind CSS, shadcn/ui conventions, and Markdown content.
Install dependencies:
yarn installRun the local dev server:
yarn devOpen http://localhost:3000.
Build the static site:
yarn buildServe the exported output locally:
yarn previewOpen http://127.0.0.1:8001.
Portfolio projects live in content/portfolio. Each project has an index.md file and optional image assets in the same folder.
Each project frontmatter should keep the existing thumbnail and cover fields:
---
title: My Project
coverImage: ./thumb/cover.jpg
thumbImage: ./thumb/thumb.jpg
---Project item pages are generated from the optional items frontmatter list. Images referenced by markdown and frontmatter are copied into public/portfolio during yarn dev and yarn build.
Static pages such as About, Contact, and 404 live in app/.
Build and publish the static export to the gh-pages branch:
yarn deployThe GitHub Actions workflow also runs this command on pushes to master.
We use Markdown for project content. Read the Markdown cheat sheet for syntax help.
The original visual theme was derived from gatsby-starter-blog; the Gatsby implementation has been removed.
