From bf21ea0b40558c4c313091d74cb2e160bd22580f Mon Sep 17 00:00:00 2001 From: Arto Reinik Date: Tue, 31 Mar 2026 09:37:43 +0300 Subject: [PATCH] frontend: EndSection.tsx: adjust end section for mobile devices --- src/components/teaser/EndSection.tsx | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/components/teaser/EndSection.tsx b/src/components/teaser/EndSection.tsx index 34e30c7..ea5b741 100644 --- a/src/components/teaser/EndSection.tsx +++ b/src/components/teaser/EndSection.tsx @@ -30,10 +30,19 @@ function CountUpStat({ return (
+ {/* Desktop version */}

} - style={{ minWidth: minWidth ?? "auto" }} + style={{ minWidth: minWidth ?? "auto", fontSize: "clamp(3rem, 2.5rem + 3vw, 6rem)" }} + > + {display}{suffix} +

+ {/* Mobile version */} +

} + style={{ minWidth: minWidth ?? "auto", fontSize: "clamp(2rem, 1.2rem + 4vw, 6rem)" }} > {display}{suffix}

@@ -49,7 +58,7 @@ export default function EndSection() {
{/* Tickets side */} -
+
-
+
{/* Ticket stats */}
@@ -71,7 +80,7 @@ export default function EndSection() {

{t("teaser.tickets.tba")}

- + {t("teaser.tickets.buyButton")}
@@ -82,7 +91,7 @@ export default function EndSection() {
{/* Sponsors side */} -
+
-
+
{/* Sponsor stats */}
@@ -104,7 +113,7 @@ export default function EndSection() {

{t("teaser.sponsors.cta")}

- + {t("teaser.sponsors.contactButton")}