From ad5d1876ca0d5924df5e343aa82b228b326e2952 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Wed, 21 Oct 2026 13:58:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9E=88=EC=96=B4=EB=A1=9C=20=EA=B3=B5?= =?UTF-8?q?=EC=9C=A0=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EA=B8=80=EC=9E=90?= =?UTF-8?q?=C2=B7=EC=95=84=EC=9D=B4=EC=BD=98=C2=B7=EC=A0=90=EC=88=98?= =?UTF-8?q?=EB=A5=BC=20=ED=81=AC=EA=B2=8C=20=E2=80=94=20=EC=8B=9C=EA=B0=84?= =?UTF-8?q?=EB=8C=80=20=EC=9D=B4=EB=A6=84=20=EC=95=84=EB=9E=98=20=EB=82=A0?= =?UTF-8?q?=EC=94=A8=C2=B7=EA=B8=B0=EC=98=A8,=20=EA=B0=81=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=2024px,=20=EC=A0=90=EC=88=98=2062px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/b/shareCards.tsx | 45 +++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/frontend/src/b/shareCards.tsx b/frontend/src/b/shareCards.tsx index 4623917..91fb9d0 100644 --- a/frontend/src/b/shareCards.tsx +++ b/frontend/src/b/shareCards.tsx @@ -1,5 +1,6 @@ import type { Ref } from 'react' import { createPortal } from 'react-dom' +import { cx } from '../lib/utils' import type { TopIndex } from '../api/client/types.gen' import { MEDALS, type TimeKind } from './lib' import { Ic } from './ui' @@ -24,11 +25,11 @@ export type DayShare = { gak?: { name: string; icon: string } | null } -function DayLabel({ d }: { d: DayShare }) { +function DayLabel({ d, size }: { d: DayShare; size: string }) { return ( - + {d.label} - {d.now && 지금} + {d.now && 지금} ) } @@ -39,19 +40,21 @@ export function DayShareCard({ days, ref }: { days: DayShare[]; ref: Ref
{days.map((d) => ( -
- - - - {d.temp} +
+ + + + + {d.temp} + - - {d.gak && } - {d.gak?.name ?? '쉬어 가요'} + + {d.gak && } + {d.gak?.name ?? '쉬어 가요'} - {d.score ?? '–'} - 날씨 점수 + {d.score ?? '–'} + 날씨 점수
))} @@ -68,19 +71,19 @@ export function DayShareGrid({ days, ref }: { days: DayShare[]; ref: Ref (
- - - + + + {d.temp} - - {d.score ?? '–'} - 날씨 점수 + + {d.score ?? '–'} + 날씨 점수 - {d.gak && } - {d.gak?.name ?? '쉬어 가요'} + {d.gak && } + {d.gak?.name ?? '쉬어 가요'}
))}