From 5847a266c6fc83c31162735166b479d7ddf74151 Mon Sep 17 00:00:00 2001 From: Piotr Monwid-Olechnowicz Date: Tue, 12 Aug 2025 20:10:32 +0200 Subject: [PATCH 1/3] Make sure Meta logo shows up in Safari --- src/app/conf/2025/components/sponsors.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/app/conf/2025/components/sponsors.tsx b/src/app/conf/2025/components/sponsors.tsx index 5788db1741..d1fbc422ae 100644 --- a/src/app/conf/2025/components/sponsors.tsx +++ b/src/app/conf/2025/components/sponsors.tsx @@ -4,7 +4,6 @@ import Netflix from "public/img/conf/Sponsors/Netflix.svg?svgr" import { clsx } from "clsx" import { ChevronRight } from "../../_design-system/pixelarticons/chevron-right" -import { ComponentPropsWithoutRef } from "react" interface Sponsor { icon: @@ -13,6 +12,7 @@ interface Sponsor { | React.FC> name: string link: string + className?: string } const sponsorDiamond: Sponsor[] = [] @@ -58,19 +58,19 @@ const sponsorSilver: Sponsor[] = [ }, { icon: (props: React.HTMLAttributes) => ( -
+
), @@ -135,15 +135,18 @@ function Tier({ tier, logoHeight }: { tier: Tier; logoHeight: number }) { {tier.name} -
- {tier.items.map(({ link, icon: Icon, name }, i) => ( +
+ {tier.items.map(({ link, icon: Icon, name, className }, i) => ( Date: Tue, 12 Aug 2025 20:11:30 +0200 Subject: [PATCH 2/3] Clean up code that didn't help solve the bug --- src/app/conf/2025/components/sponsors.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/app/conf/2025/components/sponsors.tsx b/src/app/conf/2025/components/sponsors.tsx index d1fbc422ae..281cc9b309 100644 --- a/src/app/conf/2025/components/sponsors.tsx +++ b/src/app/conf/2025/components/sponsors.tsx @@ -12,7 +12,6 @@ interface Sponsor { | React.FC> name: string link: string - className?: string } const sponsorDiamond: Sponsor[] = [] @@ -136,17 +135,14 @@ function Tier({ tier, logoHeight }: { tier: Tier; logoHeight: number }) { {tier.name}
- {tier.items.map(({ link, icon: Icon, name, className }, i) => ( + {tier.items.map(({ link, icon: Icon, name }, i) => ( Date: Tue, 12 Aug 2025 20:26:15 +0200 Subject: [PATCH 3/3] Add a media prefix --- src/app/conf/2025/components/sponsors.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/conf/2025/components/sponsors.tsx b/src/app/conf/2025/components/sponsors.tsx index 281cc9b309..492634a7a6 100644 --- a/src/app/conf/2025/components/sponsors.tsx +++ b/src/app/conf/2025/components/sponsors.tsx @@ -142,7 +142,7 @@ function Tier({ tier, logoHeight }: { tier: Tier; logoHeight: number }) { target="_blank" rel="noreferrer" title={name} - className="group flex min-h-24 grow basis-1/2 items-center justify-center hover:bg-neu-500/10 dark:opacity-90 dark:hover:opacity-100" + className="group flex min-h-24 grow items-center justify-center hover:bg-neu-500/10 dark:opacity-90 dark:hover:opacity-100 md:basis-1/2" >