diff --git a/app/[locale]/(site)/page.tsx b/app/[locale]/(site)/page.tsx index da8f60e..6bcc712 100644 --- a/app/[locale]/(site)/page.tsx +++ b/app/[locale]/(site)/page.tsx @@ -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) => ({ diff --git a/components/home/projects-section.tsx b/components/home/projects-section.tsx index a484f2c..b19c5de 100644 --- a/components/home/projects-section.tsx +++ b/components/home/projects-section.tsx @@ -1,8 +1,9 @@ import { ArrowUpRight } from "lucide-react"; import Link from "next/link"; +import { PortfolioCover } from "@/components/site/portfolio-cover"; import { Badge } from "@/components/ui/badge"; -import { AppCard } from "@/components/ui/app-card"; +import { cn } from "@/lib/utils"; import { SectionHeading } from "./section-heading"; import type { ProjectCardCopy, ProjectsSectionCopy } from "./types"; @@ -20,66 +21,85 @@ export function ProjectsSection({ copy, items }: ProjectsSectionProps) { description={copy.description} /> -
{item.summary}
-- {copy.stackLabel} -
-+ {item.summary} +
+ + {item.stack.length > 0 ? ( +