feat(home): image-led featured projects section

Bring imagery to the homepage projects block (Phase 3), matching the portfolio
gallery.

- Thread coverImagePath through ProjectCardCopy and the home mapping.
- Rewrite ProjectsSection as image-first cards (reusing PortfolioCover with the
  branded placeholder fallback): whole-card link, featured project spans two
  columns with a larger cover, type-scale title, meta + stack badges, hover
  lift. Replaces the previous text-only cards.

Verified: eslint clean; no new type errors (pre-existing Prisma-gen anys only).
This commit is contained in:
MohFarawati
2026-07-14 22:19:05 +02:00
parent f7355b5356
commit 4892f27006
3 changed files with 72 additions and 50 deletions
+1
View File
@@ -180,6 +180,7 @@ export default async function HomePage({ params }: HomePageProps) {
String(project.projectYear),
],
featured: index === 0,
coverImagePath: project.coverImagePath,
}));
const fallbackProjectCards: ProjectCardCopy[] = projectsCopy.fallbackItems.map((item) => ({