Personal portfolio website built with Astro.
nvm use 18
npm install
npm run devnpm run build
npm run previewDeployed to GitHub Pages via GitHub Actions on push to main.
To set up:
- Push this repo to GitHub
- Go to repo Settings > Pages > Source > select "GitHub Actions"
- Configure DNS: point
yonasstephen.comto GitHub Pages (docs)
content/
about/ # About page markdown
blog/ # Blog posts
projects/ # Project pages
src/
components/ # Nav, Footer, ProjectCard
layouts/ # BaseLayout, MarkdownLayout
pages/ # Route pages
styles/ # global.css (design tokens)
public/ # Static assets, favicon, CNAME
Add markdown files to content/blog/ or content/projects/ with the appropriate frontmatter:
Blog post:
---
title: "Post Title"
description: "Short description"
date: 2024-01-01
tags: [tag1, tag2]
draft: false
---Project:
---
title: "Project Name"
description: "Short description"
tags: [tag1, tag2]
url: https://github.com/...
featured: true
date: 2024-01-01
---