Compare commits

..

1 Commits

Author SHA1 Message Date
kudinDmitriyUp
d5b2bff7f2 feat: add active now card to hero section 2026-05-07 15:01:14 +00:00

View File

@@ -48,17 +48,20 @@ const HeroSplitMediaGrid = ({
className="max-w-8/10 text-lg md:text-xl leading-tight text-center md:text-left"
/>
<div className="mt-4 flex items-center gap-3 rounded-theme border border-white/10 bg-white/5 p-3 backdrop-blur-sm">
<div className="relative flex h-3 w-3">
<div className="absolute inline-flex h-full w-full animate-ping rounded-full bg-green-400 opacity-75"></div>
<div className="relative inline-flex h-3 w-3 rounded-full bg-green-500"></div>
</div>
<p className="text-sm text-white/80">
<span className="font-semibold text-white">1,337</span> active users right now
</p>
</div>
<div className="flex flex-wrap max-md:justify-center gap-3 mt-3">
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
</div>
<div className="flex items-center gap-3 mt-5 p-3 card rounded-theme">
<div className="relative flex items-center justify-center w-4 h-4">
<div className="absolute w-full h-full bg-green-500 rounded-full animate-ping"></div>
<div className="w-2 h-2 bg-green-500 rounded-full"></div>
</div>
<span className="text-sm">2,345 people active now</span>
</div>
</div>
</div>