diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 27e3f4d..4af4a17 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -6,6 +6,18 @@ import { useBlogPosts } from "@/hooks/useBlogPosts"; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; +// Assuming the BlogPost type is available from the hook or a types file +interface BlogPost { + id: string; + title: string; + description: string; + date: string; + author: string; + imageSrc: string; + imageAlt: string; + href: string; +} + export default function BlogPage() { const { posts, isLoading } = useBlogPosts(); @@ -45,7 +57,7 @@ export default function BlogPage() { ) : (