import Link from "next/link";
import { Avatar, AvatarImage, AvatarFallback } from "@/components/ui/avatar";
import useProfile from "@/lib/hooks/useProfile";
import { nip19 } from "nostr-tools";
import { getLettersPlain } from "@/lib/utils";
import { Skeleton } from "@/components/ui/skeleton";
import { HiCalendarDays } from "react-icons/hi2";
import { NDKEvent } from "@nostr-dev-kit/ndk";
import { getTagValues } from "@/lib/nostr/utils";
type SmallLineInfoProps = {
event: NDKEvent;
};
export default function SmallLineInfo({ event }: SmallLineInfoProps) {
const image = getTagValues("image", event.tags);
const name = getTagValues("name", event.tags);
return (