The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small fixes
Steven Tey85250c2fafca
diff --git a/app/ui/home/link-card.tsx b/app/ui/home/link-card.tsxindex 8dffed87b0..5117fd8239 100644--- a/app/ui/home/link-card.tsx+++ b/app/ui/home/link-card.tsx@@ -153,7 +153,7 @@ export default function LinkCard({height={20}/><div>- <div className="mb-1 flex items-center space-x-1">+ <div className="flex items-center space-x-1 sm:space-x-2"><aclassName="font-semibold text-blue-800"href={linkConstructor({ key })}@@ -185,7 +185,14 @@ export default function LinkCard({</p></Link></div>- <p className="w-72 truncate text-sm text-gray-500">{url}</p>+ <a+ href={url}+ target="_blank"+ rel="noopener noreferrer"+ className="w-72 truncate text-sm text-gray-500 underline-offset-2 transition-all hover:text-gray-800 hover:underline"+ >+ {url}+ </a></div></div><buttondiff --git a/app/ui/home/placeholder-card.tsx b/app/ui/home/placeholder-card.tsxindex 97bc5a4262..62fa367c48 100644--- a/app/ui/home/placeholder-card.tsx+++ b/app/ui/home/placeholder-card.tsx@@ -8,13 +8,13 @@ export default function PlaceholderCard() {className="flex items-center rounded-md border border-gray-200 bg-white p-3 shadow-lg"><div className="mr-2 h-10 w-10 rounded-full bg-gray-200" />- <div className="flex-1">+ <div><div className="mb-2.5 flex items-center space-x-2"><div className="h-6 w-28 rounded-md bg-gray-200" /><div className="h-6 w-6 rounded-full bg-gray-200" /><div className="h-6 w-20 rounded-md bg-gray-200" /></div>- <div className="h-4 rounded-md bg-gray-200" />+ <div className="h-4 w-60 rounded-md bg-gray-200 sm:w-80" /></div></motion.li>);diff --git a/components/app/links/link-card-placeholder.tsx b/components/app/links/link-card-placeholder.tsxindex ebd5327ddc..740c9f606d 100644--- a/components/app/links/link-card-placeholder.tsx+++ b/components/app/links/link-card-placeholder.tsx@@ -2,14 +2,14 @@ export default function LinkCardPlaceholder() {return (<li className="flex items-center rounded-lg border-2 border-gray-50 bg-white p-3 shadow transition-all hover:shadow-md sm:p-4"><div className="mr-2 h-10 w-10 animate-pulse rounded-full bg-gray-200" />- <div className="flex-1">+ <div><div className="mb-3 flex items-center space-x-2"><div className="h-5 w-28 animate-pulse rounded-md bg-gray-200" /><div className="h-5 w-5 animate-pulse rounded-full bg-gray-200" /><div className="h-5 w-5 animate-pulse rounded-full bg-gray-200" /><div className="h-5 w-20 animate-pulse rounded-md bg-gray-200" /></div>- <div className="h-4 animate-pulse rounded-md bg-gray-200" />+ <div className="h-4 w-full animate-pulse rounded-md bg-gray-200" /></div></li>);