Skip to content

Commit 21d9531

Browse files
committed
fix: logo sizing bugs; refactor to em sizing
1 parent 39bac99 commit 21d9531

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

app/[locale]/enterprise/page.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
171171
Logo: BancoSantander,
172172
className: "-translate-y-1",
173173
},
174-
{ name: "BASF", Logo: BASF, className: "h-7" },
175-
{ name: "BlackRock", Logo: BlackRock, className: "h-8" },
174+
{ name: "BASF", Logo: BASF, className: "text-[28px]" },
175+
{ name: "BlackRock", Logo: BlackRock, className: "text-[32px]" },
176176
{ name: "BMW", Logo: BMW, className: "scale-105 origin-bottom" },
177177
{ name: "Coca-Cola", Logo: CocaCola },
178178
{
@@ -186,27 +186,31 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
186186
className: "scale-105 origin-bottom -translate-y-1.5",
187187
},
188188
{ name: "Franklin Templeton Investments", Logo: FranklinTempleton },
189-
{ name: "Fox", Logo: Fox, className: "h-8" },
189+
{ name: "Fox", Logo: Fox, className: "text-[32px]" },
190190
{ name: "JP Morgan", Logo: JPMorgan, className: "translate-y-1" },
191191
{
192192
name: "Lamborghini",
193193
Logo: Lamborghini,
194-
className: "h-8 translate-y-0.5",
194+
className: "text-[32px] translate-y-0.5",
195195
},
196196
{ name: "Louis Vuitton", Logo: LouisVuitton },
197197
{ name: "Mastercard", Logo: Mastercard },
198198
{ name: "MediLedger", Logo: MediLedger },
199199
{ name: "Nike", Logo: Nike, className: "translate-y-1.5" },
200200
{ name: "Opera", Logo: Opera },
201201
{ name: "PayPal", Logo: PayPal },
202-
{ name: "Samsung", Logo: Samsung, className: "h-7" },
202+
{ name: "Samsung", Logo: Samsung, className: "text-[28px]" },
203203
{ name: "SAP", Logo: SAP },
204-
{ name: "Siemens", Logo: Siemens, className: "h-7" },
205-
{ name: "Sony", Logo: Sony, className: "h-7" },
204+
{ name: "Siemens", Logo: Siemens, className: "text-[28px]" },
205+
{ name: "Sony", Logo: Sony, className: "text-[28px]" },
206206
{ name: "Sothebys", Logo: Sothebys, className: "translate-y-0.5" },
207207
{ name: "Swarm", Logo: Swarm, className: "-translate-y-1" },
208208
{ name: "TMobile", Logo: TMobile },
209-
{ name: "Verizon", Logo: Verizon, className: "h-8 -translate-y-px" },
209+
{
210+
name: "Verizon",
211+
Logo: Verizon,
212+
className: "text-[32px] -translate-y-px",
213+
},
210214
{ name: "Visa", Logo: Visa },
211215
{ name: "Walmart", Logo: Walmart },
212216
{ name: "WFP", Logo: WFP },
@@ -307,7 +311,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
307311
key={name}
308312
aria-label={name}
309313
className={cn(
310-
"flex h-10 w-fit justify-center px-6 md:px-8",
314+
"flex size-fit justify-center px-6 text-[2.5rem] md:px-8",
311315
row === 1 && "-translate-x-[90rem]",
312316
row === 2 && "-translate-x-[180rem]",
313317
className

0 commit comments

Comments
 (0)