import Link from "next/link"; import KarakeepLogo from "@/components/KarakeepIcon"; import { buttonVariants } from "@/components/ui/button"; import { BookmarkIcon, RssIcon } from "lucide-react"; export default function PublicListHeader({ list, }: { list: { id: string; name: string; description: string | null | undefined; icon: string; ownerName: string; numItems: number; }; }) { const rssLink = `/api/v1/rss/lists/${list.id}`; return (
{/* Header */}
{list.icon}

{list.name}

{list.description && list.description.length > 0 && (

{list.description}

)}
{/* Created by */}
{list.ownerName[0]?.toUpperCase()}

Created by

{list.ownerName}

{/* Options */}
{list.numItems} bookmarks
); }