--- import ImageCarousel from "@components/ImageCarousel.astro"; import SectionTitle from "@components/SectionTitle.astro"; import MainLayout from "@layouts/MainLayout.astro"; import { getCollection, render } from "astro:content"; import { getAllProjectImages, getFullExternalURLOfImage, getProjectHero } from "@/lib/utils"; export async function getStaticPaths() { const projects = await getCollection("projects", ({ body }) => { return body && body.trim().length > 0; }); return projects.map((project) => ({ params: { slug: project.id }, props: { project } })); } const { project } = Astro.props; const { Content } = await render(project); const images = getAllProjectImages(project); const hero = getProjectHero(project); const seoImage: SiteImage = { externalURL: await getFullExternalURLOfImage(hero), src: hero.src, alt: project.data.images.hero.alt }; ---

{project.data.title}

{project.data.title}