import { Button } from "@/components/ui/button"; import { ArrowRight } from "lucide-react"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Badge } from "@/components/ui/badge"; import { Separator } from "@/components/ui/separator"; import { Calendar, Clock, User } from "lucide-react"; import { PlusSigns } from "../icons/plus-signs"; const BlogPosts = ({ posts, collection = "", }: { posts: any[]; collection?: string; }) => { // Get the first post as the featured post const featuredPost = posts[0]; const remainingPosts = posts.slice(1); const hrefFor = (post: any) => collection ? `/${collection}/${post.id}/` : `/${post.id}/`; return (