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:
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user