From f01178a831da7fbd34ce1fedd9c6ebccbfa5aa94 Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Fri, 27 Mar 2026 16:16:29 +0000 Subject: bugfix: forgot to rename the card components --- src/components/BlogPosts.astro | 4 ++-- src/pages/posts/[...slug].astro | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/BlogPosts.astro b/src/components/BlogPosts.astro index 87a75f4..caa75df 100644 --- a/src/components/BlogPosts.astro +++ b/src/components/BlogPosts.astro @@ -2,7 +2,7 @@ import { getCollection } from 'astro:content'; import { Card, CardContent, CardDescription, CardHeader } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; -import PostHeader from "@/components/PostHeader.astro"; +import BlogPostCard from "@/components/BlogPostCard.astro"; // Fetch all blog posts from the content collection const posts = await getCollection('blog'); @@ -24,7 +24,7 @@ const dateFormatter = new Intl.DateTimeFormat('en-GB', {
{sortedPosts.map((post) => ( -
-