diff --git a/src/app/(auth)/layout.tsx b/src/app/(auth)/layout.tsx index 9865f6e0..a7349ab0 100644 --- a/src/app/(auth)/layout.tsx +++ b/src/app/(auth)/layout.tsx @@ -26,7 +26,7 @@ export default function AuthLayout({
Welcome,
- 크루에 오신 것을 환영합니다 🙌 + 크루크루에 오신 것을 환영합니다 🙌
함께할 사람이없나요? 지금 크루에 참여해보세요 diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index d4c9f2fa..d767508b 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -44,7 +44,7 @@ export default function LoginPage() {
-
크루가 처음이신가요?
+
크루크루가 처음이신가요?
0 && timeDifference <= 24 * 60 * 60 * 1000; + // 오늘 이낸지 확인 + const isToday = gatheringDate.toDateString() === today.toDateString(); // 마감 시간 문자열 생성 const deadlineMessage = `오늘 ${gatheringDate.getHours()}시 마감`; @@ -87,7 +86,7 @@ export default function GatheringCard({ id={id} isPast={isPast} deadlineMessage={deadlineMessage} - isWithin24Hours={isWithin24Hours} + isToday={isToday} title={title} dateTime={dateTime} location={location} diff --git a/src/components/common/gathering-card/presenter.tsx b/src/components/common/gathering-card/presenter.tsx index 5f28e851..75631115 100644 --- a/src/components/common/gathering-card/presenter.tsx +++ b/src/components/common/gathering-card/presenter.tsx @@ -19,7 +19,7 @@ export interface GatheringCardPresenterProps { onLikeToggle: () => void; onClick: () => void; isPast: boolean; - isWithin24Hours?: boolean; + isToday?: boolean; deadlineMessage?: string; className?: string; } @@ -36,7 +36,7 @@ export default function GatheringCardPresenter({ onLikeToggle, onClick, isPast, - isWithin24Hours, + isToday, deadlineMessage, className, }: GatheringCardPresenterProps) { @@ -64,7 +64,7 @@ export default function GatheringCardPresenter({ />
- {isWithin24Hours && ( + {isToday && (
timer icon

{deadlineMessage}