From bcefcd2d0bf507961fdcc9e69369a8ca5b0b160e Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Tue, 16 Jun 2026 23:00:53 +0900 Subject: [PATCH] fix: align homepage social proof mobile layout --- .../sections/home/social-proof-section.tsx | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/apps/web/components/sections/home/social-proof-section.tsx b/apps/web/components/sections/home/social-proof-section.tsx index e856b91e87..91b2c6801a 100644 --- a/apps/web/components/sections/home/social-proof-section.tsx +++ b/apps/web/components/sections/home/social-proof-section.tsx @@ -12,7 +12,7 @@ import type { SocialProofStats } from '@/lib/social-proof-stats' function StatCardView({ card }: { card: HomeStatCard }) { return ( -
+
{card.label} @@ -30,6 +30,29 @@ function StatCardView({ card }: { card: HomeStatCard }) { ) } +function MobileStatRowView({ + card, + showTopRule, +}: { + card: HomeStatCard + showTopRule: boolean +}) { + return ( +
+ {showTopRule ?
: null} +
+

+ {card.value} {card.label} +

+

+ {card.body} +

+
+
+
+ ) +} + interface SocialProofSectionProps { stats: SocialProofStats } @@ -41,20 +64,27 @@ export default function SocialProofSection({ stats }: SocialProofSectionProps) { return (
-
-

+
+

{t('headline1')} {t('headline2')}

-
+
+ {cards.map((card, index) => ( + + ))} {cards.map((card) => ( ))}