- {listFormatter.format(article.data.extraAuthors)} -
+{project.description}
+ > +Think I could help with a project you're working on? Send me a message -
{collection.data.description}
diff --git a/src/components/ShowcaseProject.astro b/src/components/ShowcaseProject.astro index 14e98be..2032397 100644 --- a/src/components/ShowcaseProject.astro +++ b/src/components/ShowcaseProject.astro @@ -1,8 +1,9 @@ --- import { Image } from "astro:assets"; +import type { CollectionEntry } from "astro:content"; type Props = { - collection: any; + collection: CollectionEntry<"projects">; }; const { collection } = Astro.props; @@ -21,6 +22,13 @@ const { collection } = Astro.props; fit="cover" />+ {collection.data.title} +
++ {image.data.title} +
+