import { BadgeCheck, MessageSquare, Pencil, Plus } from "lucide-react"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { cn } from "@/lib/utils"; interface Stat { label: string; value: string; } interface User { name: string; username: string; avatar?: string; coverImage?: string; bio?: string; verified?: boolean; } interface UserProfile12Props { user?: User; stats?: Stat[]; className?: string; } const UserProfile12 = ({ user = { name: "امیر رضایی", username: "@amir_rezaei", avatar: "/block-media/shadcnblocks/block/avatar/avatar12.jpg", coverImage: "/block-media/shadcnblocks/block/photos/pawel-czerwinski-O4fAgtXLRwI-unsplash.jpg", bio: "توسعه‌دهنده فول‌استک با علاقه به ساخت وب‌اپلیکیشن‌های زیبا و پرفورمنس. مشارکت‌کننده متن‌باز و علاقه‌مند به TypeScript.", verified: true, }, stats = [ { label: "پست‌ها", value: "۸۴۷" }, { label: "دنبال‌شده", value: "۳۱۲" }, { label: "دنبال‌کننده", value: "۸۹ هزار" }, ], className, }: UserProfile12Props) => { const initials = user.name .split(" ") .map((n) => n[0]) .join(""); return (
{initials}

{user.name}

{user.verified && ( )}

{user.username}

{user.bio && (

{user.bio}

)}
{stats.map((stat) => (
{stat.value}
{stat.label}
))}
); }; export { UserProfile12 };