import BlurImage from "@/components/blur-image"; import type { SelectSite } from "@/lib/schema"; import { placeholderBlurhash, random } from "@/lib/utils"; import { BarChart, ExternalLink } from "lucide-react"; import Link from "next/link"; export default function SiteCard({ data }: { data: SelectSite }) { const url = `${data.subdomain}.${process.env.NEXT_PUBLIC_ROOT_DOMAIN}`; return (

{data.name}

{data.description}

{url} ↗

{random(10, 40)}%

); }