Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

made link card similar style to project card

Steven Teyacaff1d791fd
diff --git a/components/app/link-card-placeholder.tsx b/components/app/link-card-placeholder.tsx
index 0fdfca48fa..c31916a510 100644
--- a/components/app/link-card-placeholder.tsx
+++ b/components/app/link-card-placeholder.tsx
@@ -1,6 +1,6 @@
export default function LinkCardPlaceholder() {
return (
- <li className="flex items-center border border-gray-200 bg-white p-4 rounded-md transition-all">
+ <li className="flex items-center bg-white p-4 rounded-lg shadow hover:shadow-md transition-all">
<div className="w-10 h-10 rounded-full mr-2 bg-gray-200 animate-pulse" />
<div>
<div className="flex items-center space-x-2 mb-2.5">
diff --git a/components/app/link-card.tsx b/components/app/link-card.tsx
index f5c2ef968f..4e0a1619ef 100644
--- a/components/app/link-card.tsx
+++ b/components/app/link-card.tsx
@@ -43,7 +43,7 @@ export default function LinkCard({ props }: { props: LinkProps }) {
<>
<AddEditLinkModal />
<DeleteLinkModal />
- <li className="flex flex-col sm:flex-row justify-between items-start sm:items-center space-y-5 sm:space-y-0 border border-gray-200 bg-white p-4 rounded-md transition-all">
+ <li className="flex flex-col sm:flex-row justify-between items-start sm:items-center space-y-5 sm:space-y-0 bg-white p-4 rounded-lg shadow hover:shadow-md transition-all">
<div className="relative flex items-center space-x-4">
<BlurImage
src={`https://logo.clearbit.com/${urlHostname}`}