diff --git a/apps/website/app/[locale]/blog/components/BlogPostCard.tsx b/apps/website/app/[locale]/blog/components/BlogPostCard.tsx index 22f108d..eeaa171 100644 --- a/apps/website/app/[locale]/blog/components/BlogPostCard.tsx +++ b/apps/website/app/[locale]/blog/components/BlogPostCard.tsx @@ -1,7 +1,6 @@ "use client"; import type { Post } from "@/lib/ghost"; -import Image from "next/image"; import Link from "next/link"; import { useRouter } from "next/navigation"; interface BlogPostCardProps { @@ -28,25 +27,24 @@ export function BlogPostCard({ post, locale }: BlogPostCardProps) { return ( -
-
- +
+ {post.feature_image
-
+

{post.title}

{post.custom_excerpt || post.excerpt}

-
+
{post.primary_author?.profile_image && (
@@ -56,18 +54,16 @@ export function BlogPostCard({ post, locale }: BlogPostCardProps) { onClick={handleTwitterClick} type="button" > - {post.primary_author.name} ) : ( - {post.primary_author.name} )}