This commit is contained in:
Mackie 2026-05-25 02:22:38 +08:00
parent faf1e7ec29
commit 33a8624f89

View file

@ -256,25 +256,19 @@ function LogosSection({ isDark }: { isDark: boolean }) {
</p> </p>
{/* Marquee track */} {/* Marquee track */}
<div className="relative flex overflow-hidden"> <div style={{ overflow: 'hidden', width: '100%' }}>
<div <div style={{ display: 'flex', width: 'max-content', animation: 'marquee 25s linear infinite' }}>
className="flex gap-12 items-center" {[...LOGOS, ...LOGOS, ...LOGOS, ...LOGOS].map((l, i) => (
style={{ <img
animation: 'marquee 20s linear infinite', key={i}
whiteSpace: 'nowrap', src={l.src}
}} alt={l.alt}
> className={cn('h-5 w-auto flex-shrink-0 transition-all', logoFilter)}
{/* Duplicate logos for seamless loop */} style={{ marginRight: 64 }}
{[...LOGOS, ...LOGOS].map((l, i) => ( />
<img ))}
key={i} </div>
src={l.src} </div>
alt={l.alt}
className={cn('h-5 w-auto flex-shrink-0 transition-all', logoFilter)}
/>
))}
</div>
</div>
<style>{` <style>{`
@keyframes marquee { @keyframes marquee {