@@ -4,7 +4,6 @@ import Netflix from "public/img/conf/Sponsors/Netflix.svg?svgr"
4
4
5
5
import { clsx } from "clsx"
6
6
import { ChevronRight } from "../../_design-system/pixelarticons/chevron-right"
7
- import { ComponentPropsWithoutRef } from "react"
8
7
9
8
interface Sponsor {
10
9
icon :
@@ -51,19 +50,19 @@ const sponsorSilver: Sponsor[] = [
51
50
} ,
52
51
{
53
52
icon : ( props : React . HTMLAttributes < HTMLDivElement > ) => (
54
- < div { ...props } className = { clsx ( props . className , "relative" ) } >
53
+ < div { ...props } className = { clsx ( props . className , "relative size-full " ) } >
55
54
< img
56
55
src = {
57
56
new URL ( "/public/img/conf/Sponsors/Meta.svg" , import . meta. url ) . href
58
57
}
59
- className = "absolute inset-0 dark:hidden"
58
+ className = "absolute inset-0 size-full object-cover dark:hidden"
60
59
/>
61
60
< img
62
61
src = {
63
62
new URL ( "/public/img/conf/Sponsors/Meta-dark.svg" , import . meta. url )
64
63
. href
65
64
}
66
- className = "absolute inset-0 hidden dark:block"
65
+ className = "absolute inset-0 hidden size-full object-cover dark:block"
67
66
/>
68
67
</ div >
69
68
) ,
@@ -135,15 +134,15 @@ function Tier({ tier, logoHeight }: { tier: Tier; logoHeight: number }) {
135
134
< ChevronRight className = "shrink-0 translate-y-[-0.5px]" />
136
135
{ tier . name }
137
136
</ h3 >
138
- < div className = "flex flex-wrap justify-center gap-y-4" >
137
+ < div className = "flex min-w-[70%] flex-wrap justify-center gap-y-4" >
139
138
{ tier . items . map ( ( { link, icon : Icon , name } , i ) => (
140
139
< a
141
140
key = { i }
142
141
href = { link }
143
142
target = "_blank"
144
143
rel = "noreferrer"
145
144
title = { name }
146
- className = "group flex min-h-24 items-center justify-center hover:bg-neu-500/10 dark:opacity-90 dark:hover:opacity-100"
145
+ 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 "
147
146
>
148
147
< Icon
149
148
className = "aspect-[3] w-auto max-w-[80%] shrink-0"
0 commit comments