Commit Graph

3 Commits

Author SHA1 Message Date
Kunthawat Greethong
978bf42e5a Add portfolio template to combined marketing+portfolio template
- Added portfolio pages: portfolio-index, portfolio-about, portfolio-contact
- Added work/[slug].astro for project detail pages
- Added PortfolioBase.astro layout with Playfair Display font
- Added ProjectCard.astro component
- Added projects collection with taxonomies (category, tag)
- Updated theme.css with --font-serif variable
- Added portfolio seed data with 4 projects
- Updated menus to include Work link
2026-05-01 13:22:24 +07:00
Kunthawat Greethong
d6868da01b fix: use EmDashHead page prop correctly (matching official template)
Official template uses: <EmDashHead page={pageCtx} />
Not: <EmDashHead emdash={...} pageContext={...} />

Also removed Font component from imports (causes esbuild parse error)
and uses Google Fonts link tag instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-01 12:32:40 +07:00
Kunthawat Greethong
b6e76cc98b fix: remove Font component and fontProviders (esbuild parse error)
The Font component with spread syntax caused esbuild parse error
at Base.astro line 64. Replaced with direct Google Fonts link tag.

Also removed fonts[] array from astro.config.mjs since we're
loading Inter via <link> tag instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-01 10:18:59 +07:00