import { Card, CardContent, CardDescription, CardTitle, } from "@/components/ui/card"; import blogs from "@/utils/constants/blogs.json"; import Image from "next/image"; import Link from "next/link"; import MagicCard from "../ui/magic-card"; const Blogs = () => { return (
{blogs.map((blog, id) => (
{blog.title}
{blog.title} {blog.description.length > 100 ? `${blog.description.substring(0, 100)}...` : blog.description}
))}
); }; export default Blogs;