Content Partners: dark #0d1520 band matching Industry News section
This commit is contained in:
@@ -69,35 +69,37 @@ export default async function SponsorLogoStrip() {
|
|||||||
if (sponsors.length === 0) return null;
|
if (sponsors.length === 0) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="max-w-container mx-auto px-4 py-6 border-t border-b border-[#DCE6F2]" aria-label="Content partners">
|
<div className="bg-[#0d1520] border-t border-[#DCE6F2]">
|
||||||
<div className="flex items-center gap-4 mb-3">
|
<section className="max-w-container mx-auto px-4 py-6 md:py-8" aria-label="Content partners">
|
||||||
<span className="text-[10px] uppercase tracking-widest text-[#1D4ED8] font-bold">
|
<div className="flex items-center gap-4 mb-3">
|
||||||
Content Partners
|
<span className="text-[10px] uppercase tracking-widest text-[#1D4ED8] font-bold">
|
||||||
</span>
|
Content Partners
|
||||||
<div className="flex-1 h-px bg-[#DCE6F2]" />
|
</span>
|
||||||
<Link href="/advertise" className="text-[10px] text-[#666] hover:text-[#1D4ED8] font-mono">
|
<div className="flex-1 h-px bg-[#DCE6F2]" />
|
||||||
Advertise →
|
<Link href="/advertise" className="text-[10px] text-[#888] hover:text-[#1D4ED8] font-mono">
|
||||||
</Link>
|
Advertise →
|
||||||
</div>
|
|
||||||
<div className="flex flex-wrap items-center justify-center gap-x-8 gap-y-4">
|
|
||||||
{sponsors.map((s) => (
|
|
||||||
<Link
|
|
||||||
key={s.slug}
|
|
||||||
href={`/manufacturers/${s.slug}`}
|
|
||||||
data-company-slug={s.slug}
|
|
||||||
className="block opacity-70 hover:opacity-100 transition-opacity"
|
|
||||||
title={s.name}
|
|
||||||
>
|
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
||||||
<img
|
|
||||||
src={s.logoUrl || ""}
|
|
||||||
alt={s.name}
|
|
||||||
className="h-14 md:h-16 w-auto object-contain max-w-[180px] bg-white p-2 rounded"
|
|
||||||
loading="lazy"
|
|
||||||
/>
|
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
</div>
|
||||||
</div>
|
<div className="flex flex-wrap items-center justify-center gap-x-8 gap-y-4">
|
||||||
</section>
|
{sponsors.map((s) => (
|
||||||
|
<Link
|
||||||
|
key={s.slug}
|
||||||
|
href={`/manufacturers/${s.slug}`}
|
||||||
|
data-company-slug={s.slug}
|
||||||
|
className="block opacity-70 hover:opacity-100 transition-opacity"
|
||||||
|
title={s.name}
|
||||||
|
>
|
||||||
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img
|
||||||
|
src={s.logoUrl || ""}
|
||||||
|
alt={s.name}
|
||||||
|
className="h-14 md:h-16 w-auto object-contain max-w-[180px] bg-white p-2 rounded"
|
||||||
|
loading="lazy"
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user