import { Component } from "@/components/ui/blog-posts";
export default function DemoOne() {
return (
<Component
title="Our Most Popular Articles of 2024!"
description="Discover the most engaging content from our amazing community of developers and designers"
backgroundLabel="BLOG"
backgroundPosition="left"
posts={[
{
id: 1,
title: "Building Modern Web Applications with React",
category: "Web Development",
imageUrl: "https://cdn.21st.dev/assets/mirror/e0/e063c1a8c8232e296b086583dbb2b724b236c4ca4d26bc7ac2639e90591349a1.jpg",
views: 2180,
readTime: 8,
rating: 5
},
{
id: 2,
title: "Advanced TypeScript Patterns",
category: "Programming",
imageUrl: "https://cdn.21st.dev/assets/mirror/c6/c6b2d27ae0e09d07a3b4c3c495a500c7ca6e42a42474c99fcac162570c451448.jpg",
views: 1456,
readTime: 12,
rating: 4
},
{
id: 3,
title: "Design System Best Practices",
category: "UI/UX Design",
imageUrl: "https://cdn.21st.dev/assets/mirror/d5/d5bc472b5828dc1386d53ee0ffe616bce65e6dcf9a31d5ab53b0d2d61bbd7a14.jpg",
views: 987,
readTime: 6,
rating: 4
}
]}
className="mb-16"
/>
)
}