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.

fix mobile view

Steven Tey4fdb9d91cf98
diff --git a/app/ui/home/customers.tsx b/app/ui/home/customers.tsx
index 29b0c7f94d..97c652a83d 100644
--- a/app/ui/home/customers.tsx
+++ b/app/ui/home/customers.tsx
@@ -18,14 +18,14 @@ export const Customer = ({ slug, site }: { slug: string; site?: string }) => (
<Link
href={site || `/customers/${slug}`}
{...(site ? { target: "_blank", rel: "noreferrer noopener" } : {})}
- className="group flex flex-col items-center justify-center space-y-2 rounded-2xl border border-gray-300 bg-white/10 p-10 backdrop-blur-sm"
+ className="group flex flex-col items-center justify-center space-y-2 rounded-2xl border border-gray-300 bg-white/10 p-8 backdrop-blur-sm sm:p-10"
>
<BlurImage
src={`/_static/clients/${slug}.svg`}
alt={slug.toUpperCase()}
width={520}
height={182}
- className="h-20 grayscale transition-all group-hover:grayscale-0"
+ className="max-h-16 grayscale transition-all group-hover:grayscale-0"
/>
<div className="flex space-x-1">
<p className="text-sm font-medium text-gray-500 group-hover:text-green-500">
diff --git a/app/ui/home/logos.tsx b/app/ui/home/logos.tsx
index 88e1801c71..5c37fc1b40 100644
--- a/app/ui/home/logos.tsx
+++ b/app/ui/home/logos.tsx
@@ -28,7 +28,7 @@ export default function Logos({
</p>
<Link
href="/customers"
- className="mx-auto mt-8 grid w-full max-w-screen-lg grid-cols-2 items-center px-5 sm:grid-cols-6 sm:px-0"
+ className="mx-auto mt-8 grid w-full max-w-screen-lg grid-cols-2 items-center px-5 md:grid-cols-6 md:px-0"
>
{logos.slice(0, 6).map((logo) => (
<BlurImage
@@ -36,13 +36,13 @@ export default function Logos({
alt={logo.toUpperCase()}
width={520}
height={182}
- className="h-20 grayscale transition-all hover:grayscale-0"
+ className="h-12 grayscale transition-all hover:grayscale-0 md:h-20"
/>
))}
</Link>
<Link
href="/customers"
- className="mx-auto grid w-full max-w-screen-lg grid-cols-2 items-center px-5 sm:grid-cols-6 sm:px-0"
+ className="mx-auto grid w-full max-w-screen-lg grid-cols-2 items-center px-5 md:grid-cols-6 md:px-0"
>
{logos.slice(6, 12).map((logo) => (
<BlurImage
@@ -50,7 +50,7 @@ export default function Logos({
alt={logo.toUpperCase()}
width={520}
height={182}
- className="h-20 grayscale transition-all hover:grayscale-0"
+ className="h-12 grayscale transition-all hover:grayscale-0 md:h-20"
/>
))}
</Link>