Skip to content

Commit c6acd3d

Browse files
committed
fix: landing page responsiveness on small screens
1 parent 405b5f4 commit c6acd3d

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

client/src/components/pages/LandingPage.tsx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -619,11 +619,11 @@ export function LandingPage({ onConnect }: LandingPageProps) {
619619
transition={{ duration: 0.85, ease: [0.22, 1, 0.36, 1] }}
620620
className="mx-auto flex max-w-160 flex-col items-center pt-6 text-center sm:pt-8 lg:pt-0"
621621
>
622-
<div className="inline-flex flex-wrap items-center gap-2 rounded-full border border-white/8 bg-background/24 px-3 py-1.5 backdrop-blur-xl sm:px-4">
623-
<span className="rounded-full border border-primary/24 bg-primary/12 px-2 py-0.5 text-[9px] font-black tracking-[0.08em] text-primary">
622+
<div className="flex max-w-[18rem] flex-col items-center gap-1 text-center sm:max-w-none sm:flex-row sm:gap-2">
623+
<span className="text-[9px] font-black tracking-[0.12em] text-primary sm:text-[10px]">
624624
BYREIXWIFT
625625
</span>
626-
<span className="text-[10px] font-bold uppercase tracking-[0.18em] text-foreground/68 sm:text-[11px] sm:tracking-widest">
626+
<span className="text-[9px] font-bold uppercase tracking-[0.14em] text-foreground/62 sm:text-[11px] sm:tracking-[0.18em]">
627627
Transparent payments on Sidrachain
628628
</span>
629629
</div>
@@ -655,7 +655,7 @@ export function LandingPage({ onConnect }: LandingPageProps) {
655655
</Button>
656656
</div>
657657

658-
<div className="mt-6 grid w-full max-w-2xl gap-2 text-center sm:grid-cols-3">
658+
<div className="mt-6 grid w-full max-w-2xl gap-1.5 text-center sm:grid-cols-3 sm:gap-2">
659659
{heroProofPoints.map((point, index) => (
660660
<motion.div
661661
key={point.label}
@@ -666,12 +666,16 @@ export function LandingPage({ onConnect }: LandingPageProps) {
666666
delay: reducedMotion ? 0 : 0.35 + index * 0.08,
667667
ease: [0.22, 1, 0.36, 1],
668668
}}
669-
className="rounded-[1.05rem] border border-white/8 bg-white/2 px-3.5 py-2.5 sm:rounded-[1.15rem] sm:px-4 sm:py-3"
669+
className="relative flex flex-col items-center px-3 py-2.5 sm:rounded-[1.15rem] sm:border sm:border-white/8 sm:bg-white/2 sm:px-4 sm:py-3"
670670
>
671-
<p className="text-[9px] font-semibold uppercase tracking-[0.2em] text-foreground/46 sm:text-[10px]">
671+
<div className="mb-2 flex items-center gap-2 sm:hidden">
672+
<span className="h-2 w-2 rounded-full bg-primary/80 shadow-[0_0_12px_rgba(37,201,133,0.22)]" />
673+
<span className="h-px w-10 bg-linear-to-r from-primary/34 to-transparent" />
674+
</div>
675+
<p className="text-[9px] font-semibold uppercase tracking-[0.18em] text-foreground/42 sm:text-[10px] sm:tracking-[0.2em]">
672676
{point.label}
673677
</p>
674-
<p className="mt-1.5 text-[0.9rem] font-medium leading-snug text-foreground/86 sm:text-[0.92rem]">
678+
<p className="mt-1 text-[0.96rem] font-medium leading-snug text-foreground/86 sm:mt-1.5 sm:text-[0.92rem]">
675679
{point.value}
676680
</p>
677681
</motion.div>

0 commit comments

Comments
 (0)