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.

fixed project card placeholder

Steven Tey04aa1b8e7915
diff --git a/components/app/project-card-placeholder.tsx b/components/app/project-card-placeholder.tsx
index 26ab0459cb..cdee91c7ce 100644
--- a/components/app/project-card-placeholder.tsx
+++ b/components/app/project-card-placeholder.tsx
@@ -1,6 +1,6 @@
export default function ProjectCardPlaceholder() {
return (
- <div className="flex justify-between rounded-lg bg-white p-6 shadow transition-all hover:shadow-md">
+ <div className="flex flex-col space-y-[46px] rounded-lg border border-gray-100 bg-white p-6 shadow transition-all hover:shadow-md">
<div className="flex items-center space-x-3">
<div className="h-12 w-12 animate-pulse rounded-full bg-gray-200" />
<div className="flex flex-col space-y-2.5">
@@ -11,8 +11,10 @@ export default function ProjectCardPlaceholder() {
</div>
</div>
</div>
- <div className="flex items-center space-x-2">
- <div className="h-5 w-10 animate-pulse rounded-md bg-gray-200" />
+ <div className="flex items-center justify-between space-x-4">
+ <div className="h-4 w-24 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-4 w-24 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-4 w-24 animate-pulse rounded-md bg-gray-200" />
</div>
</div>
);
diff --git a/components/app/project-card.tsx b/components/app/project-card.tsx
index 2d16d49826..fe4725f482 100644
--- a/components/app/project-card.tsx
+++ b/components/app/project-card.tsx
@@ -23,7 +23,7 @@ export default function ProjectCard({
<Link
key={slug}
href={`/${slug}`}
- className="flex flex-col space-y-10 rounded-lg bg-white p-6 shadow transition-all hover:shadow-lg"
+ className="flex flex-col space-y-10 rounded-lg border border-gray-100 bg-white p-6 shadow transition-all hover:shadow-lg"
>
<div className="flex items-center space-x-3">
<BlurImage