@@ -11,6 +11,7 @@ import PayPalWordmark from "./logos/PayPal.svg?svgr"
1111import NewYorkTimesWordmark from "./logos/NewYorkTimes.svg?svgr"
1212import StarbucksWordmark from "./logos/Starbucks.svg?svgr"
1313import ShopifyLockup from "./logos/Shopify.svg?svgr"
14+ import ShopifyMonotoneLockup from "./logos/ShopifyMonotone.svg?svgr"
1415import GitHubLockup from "./logos/GitHub.svg?svgr"
1516
1617import styles from "./style.module.css"
@@ -25,7 +26,10 @@ const logos: LogoListItem[] = [
2526 href : "https://aws.amazon.com" ,
2627 alt : "AWS" ,
2728 component : props => (
28- < AWSLogo { ...props } className = { clsx ( props . className , "w-[110px]" ) } />
29+ < AWSLogo
30+ { ...props }
31+ className = { clsx ( props . className , "h-[48px] sm:w-[110px]" ) }
32+ />
2933 ) ,
3034 } ,
3135
@@ -67,17 +71,26 @@ const logos: LogoListItem[] = [
6771 {
6872 href : "https://starbucks.com" ,
6973 alt : "Starbucks" ,
70- component : props => (
71- < StarbucksWordmark
72- { ...props }
73- className = { clsx ( props . className , "w-[200px] -translate-x-1.5" ) }
74- />
75- ) ,
74+ component : StarbucksWordmark ,
7675 } ,
7776 {
7877 href : "https://shopify.com" ,
7978 alt : "Shopify" ,
80- component : ShopifyLockup ,
79+ component : ( { className, ...rest } ) => (
80+ < div
81+ role = "img"
82+ className = { clsx ( className , styles . shopify , "relative flex" ) }
83+ >
84+ < ShopifyLockup
85+ className = "w-full opacity-0 group-hover:opacity-100 group-focus:opacity-100"
86+ { ...rest }
87+ />
88+ < ShopifyMonotoneLockup
89+ className = "absolute inset-0 w-full opacity-100 group-hover:opacity-0 group-focus:opacity-0"
90+ { ...rest }
91+ />
92+ </ div >
93+ ) ,
8194 } ,
8295 {
8396 href : "https://github.com" ,
@@ -102,7 +115,7 @@ export function TrustedBy() {
102115 </ div >
103116 < div
104117 className = { clsx (
105- "mt -6 grid grid-cols-2 justify-center gap-px md:my-12 xl:my-16 xl: grid-cols-5" ,
118+ "my -6 grid grid-cols-2 justify-center gap-px md:my-12 md: grid-cols-5 xl:my-16 " ,
106119 styles . logos ,
107120 ) }
108121 >
@@ -112,7 +125,7 @@ export function TrustedBy() {
112125 href = { href }
113126 target = "_blank"
114127 rel = "noreferrer"
115- className = "flex shrink-0 items-center justify-center bg-neu-0 p-4 hover:bg-neu-100 md:p-6 lg:p-8 xl:p-10 "
128+ className = "group flex shrink-0 items-center justify-center bg-neu-0 p-10 before:inset-2 hover:before: bg-neu-100 dark:hover:before:bg-[#202219] "
116129 >
117130 < Component />
118131 </ a >
0 commit comments