This is my online portfolio, built by hand with the Astro Framework. It features:
- I18n (en + pt-br)
- Up-to-date projects, experience and contacts
- Sitemap, JSON-LD and Open Graph assets
Ensure you have Node 22.12+ and pnpm available on your machine. A .tool-versions file is available if you use asdf.
Next, install dependencies with pnpm:
pnpm installThen run any of the commands below:
| Command | Action |
|---|---|
pnpm dev |
Build local assets and spin local dev server |
pnpm dev:host |
Build local assets and spin local dev server, listening on all addresses |
pnpm build |
Build local assets and build the application for production at ./dist/ |
pnpm build:assets |
Build local assets |
pnpm preview |
Preview your build locally, before deploying |
pnpm lint |
Lint files |
pnpm lint:style |
Lint CSS files |
Astro commands are also available:
| Command | Action |
|---|---|
pnpm astro ... |
Run CLI commands like astro add, astro check |
pnpm astro -- --help |
Get help using the Astro CLI |
Hosted on GitHub Pages at https://fayhen.github.io, deployed via GitHub Actions:
.github/workflows/deploy.yml— builds with the official Astro action and publishes to Pages..github/workflows/ci.yml— lints and builds every pull request targetingmain, keeping it clean.
The deploy runner also installs the Inter font before building. Open Graph images are rasterized server-side with sharp and need the font available to the OS at build time.