@@ -6,20 +6,21 @@ import { TitleLevel } from 'apps/web/src/components/base-org/typography/Title/ty
66import Image , { type StaticImageData } from 'next/image' ;
77import 'apps/web/src/components/Developers/Customers/styles.css' ;
88
9- const LOGO_WIDTH = 200 ; // width of each logo in pixels
10- const LOGO_GAP = 40 ; // gap between logos in pixels
11- const TOTAL_LOGOS = 10 ; // reduced number of logos per group for better performance
9+ const LOGO_WIDTH = 200 ; // pixels
10+ const LOGO_GAP = 40 ; // pixels
11+ const TOTAL_LOGOS = 10 ;
1212
1313export function Customers ( ) {
1414 const logos = Array ( TOTAL_LOGOS ) . fill ( null ) ;
1515
1616 return (
1717 < section className = "h-full w-full pt-32" >
18- < Title level = { TitleLevel . Title1 } as = "h2" className = "mb-16" >
18+ < Title level = { TitleLevel . Title1 } as = "h2" className = "mb-16 hidden md:block" >
19+ Powering the most consumer-friendly applications onchain.
20+ </ Title >
21+ < Title level = { TitleLevel . Title3 } className = "mb-8 md:hidden" >
1922 Powering the most consumer-friendly applications onchain.
2023 </ Title >
21-
22- { /* Auto-scrolling Logos */ }
2324 < figure
2425 className = "relative flex h-28 items-center overflow-hidden"
2526 style = { {
@@ -29,7 +30,7 @@ export function Customers() {
2930 } }
3031 >
3132 < div
32- className = "animate-scroll absolute left-0 flex animate-scroll "
33+ className = "animate-scroll animate-scroll absolute left-0 flex"
3334 style = { {
3435 gap : `${ LOGO_GAP } px` ,
3536 width : `calc((${ LOGO_WIDTH } px + ${ LOGO_GAP } px) * ${ TOTAL_LOGOS } )` ,
0 commit comments