From 8dc23e0dc39fde243d95f8638e01db824f8a4b15 Mon Sep 17 00:00:00 2001 From: Auggie Date: Thu, 20 Mar 2025 04:12:50 -0700 Subject: [PATCH] image --- src/pages/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 6be7a62..363502e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,6 +5,7 @@ import PostCard from '@/components/PostCard'; import Sidebar from '@/components/Sidebar'; import { getSortedPostsData } from '@/lib/markdown'; import { PostMetadata } from '@/types'; +import Image from 'next/image' interface HomeProps { posts: PostMetadata[]; @@ -37,10 +38,12 @@ const Home: React.FC = ({ posts, recentPosts, tags }) => {
{posts[0].coverImage ? ( - {posts[0].title} ) : (