testing with adding blog to portfolio website

This commit is contained in:
2025-02-15 10:40:09 +02:00
parent 14dd1b1d19
commit 3cb0bd51ef
15 changed files with 1852 additions and 154 deletions

View File

@ -0,0 +1,17 @@
import { BlogCard } from "./BlogCard";
export const BlogList = ({ posts }) => {
return (
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 p-4">
{posts.map((post) => (
<BlogCard
key={post.slug}
title={post.title}
description={post.description}
slug={post.slug}
date={post.date}
/>
))}
</div>
);
};