The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
updated project card
Steven Tey66998f11f016
diff --git a/components/app/project-card.tsx b/components/app/project-card.tsxindex f520bbc813..00e8712e93 100644--- a/components/app/project-card.tsx+++ b/components/app/project-card.tsx@@ -13,10 +13,11 @@ import { fetcher, nFormatter } from "@/lib/utils";export default function ProjectCard({name,slug,+ logo,domain,domainVerified,}: ProjectProps) {- const { data: count, isValidating } = useSWR<number>(+ const { data: count } = useSWR<number>(domainVerified && `/api/projects/${slug}/domains/${domain}/links/count`,fetcher,);@@ -25,9 +26,12 @@ export default function ProjectCard({<div className="flex justify-between rounded-lg bg-white p-6 shadow transition-all hover:shadow-md"><div className="flex items-center space-x-3"><BlurImage- src={`https://avatar.tobi.sh/${slug}`}+ src={+ logo ||+ `https://www.google.com/s2/favicons?sz=64&domain_url=${domain}`+ }alt={name}- className="h-9 w-9 flex-shrink-0 overflow-hidden rounded-full border border-gray-300"+ className="h-9 w-9 flex-shrink-0 overflow-hidden rounded-full"width={48}height={48}/>