From 1777059b85c2cc85bd5458228555d7155f89ebdc Mon Sep 17 00:00:00 2001 From: sangrae Date: Thu, 26 Nov 2026 23:20:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=ED=99=88=20=ED=95=99=EC=82=AC=20?= =?UTF-8?q?=EC=9D=BC=EC=A0=95=EC=9D=84=20=EC=8B=A0=EC=B2=AD=20=EC=B9=B4?= =?UTF-8?q?=EB=93=9C=20=EB=B0=94=EB=A1=9C=20=EC=95=84=EB=9E=98=EB=A1=9C=20?= =?UTF-8?q?=EC=98=AC=EB=A6=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/home/HomeScreen.tsx | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/features/home/HomeScreen.tsx b/src/features/home/HomeScreen.tsx index fd88455..9dbab8e 100644 --- a/src/features/home/HomeScreen.tsx +++ b/src/features/home/HomeScreen.tsx @@ -179,18 +179,8 @@ function HomeScreen() { {/* 배너 카드(relative)가 뒤 섹션보다 나중에 그려져 그림자가 덮지 않게 뒤 섹션도 relative로 둔다 */} - {/* 대여 중인 물품 → 신청 안내(신청마감 D-nn) → 신청한 행사 순으로, 내 대여·신청 현황을 먼저 보여 준다 */} + {/* Figma: 홈 주간 캘린더 추가ver (nodeId 5556:34771) — 신청 안내(신청마감 D-nn) → 학사 일정 → 대여 중인 물품 → 신청한 행사 순 */}
-
- {/* 대여 현황은 반납 대기·확인을 나눠 보여 주려고 홈 조회가 아니라 빌릴게 반납 조회·대여 내역 조회로 받는다 */} - }> - navigate(BILLILGE_TAB_PATHS.rent)} - onMore={() => navigate(BILLILGE_TAB_PATHS.return)} - onReturnRequest={openReturnRequest} - /> - -
@@ -201,6 +191,23 @@ function HomeScreen() { onSelect={openApplySection} /> + {/* 학사 일정은 홈 조회가 아니라 학사 일정 조회로 받아서, 카드가 자기 안에서 일정 영역만 Suspense로 감싼다 */} +
+ push(getCalendarsPath(date))} + onOpen={() => push(CALENDARS_PATH)} + /> +
+
+ {/* 대여 현황은 반납 대기·확인을 나눠 보여 주려고 홈 조회가 아니라 빌릴게 반납 조회·대여 내역 조회로 받는다 */} + }> + navigate(BILLILGE_TAB_PATHS.rent)} + onMore={() => navigate(BILLILGE_TAB_PATHS.return)} + onReturnRequest={openReturnRequest} + /> + +
}>
- {/* 학사 일정은 홈 조회가 아니라 학사 일정 조회로 받아서, 카드가 자기 안에서 일정 영역만 Suspense로 감싼다 */} -
- push(getCalendarsPath(date))} - onOpen={() => push(CALENDARS_PATH)} - /> -
}> Date: Thu, 26 Nov 2026 23:20:55 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=ED=99=88=20=ED=95=99=EC=82=AC=20?= =?UTF-8?q?=EC=9D=BC=EC=A0=95=20=EC=B9=B4=EB=93=9C=EB=A5=BC=20=ED=95=9C=20?= =?UTF-8?q?=EC=A4=84=EB=A1=9C=20=EC=A4=84=EC=9D=B4=EA=B3=A0=20=EA=B8=B4=20?= =?UTF-8?q?=EC=A0=9C=EB=AA=A9=20=EB=A7=90=EC=A4=84=EC=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/home/components/HomeCalendarSection.tsx | 2 +- src/features/home/components/HomeCalendarWeek.tsx | 7 +++++-- src/features/home/components/HomeCalendarWeekSkeleton.tsx | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/features/home/components/HomeCalendarSection.tsx b/src/features/home/components/HomeCalendarSection.tsx index 48952d8..102de85 100644 --- a/src/features/home/components/HomeCalendarSection.tsx +++ b/src/features/home/components/HomeCalendarSection.tsx @@ -26,7 +26,7 @@ interface HomeCalendarSectionProps { onMore: (date: string) => void; } -// Figma: 학사일정 · 주간 (nodeId 5365:90592), 홈 주간 캘린더 추가ver (5365:90496) +// Figma: 학사일정 · 주간 (nodeId 5556:34815), 홈 주간 캘린더 추가ver (5556:34771) // 카드 라운드는 Figma가 이 카드만 16px(radius 변수)로 그렸다. function HomeCalendarSection({ onOpen, onMore }: HomeCalendarSectionProps) { const [today] = useState(getToday); diff --git a/src/features/home/components/HomeCalendarWeek.tsx b/src/features/home/components/HomeCalendarWeek.tsx index a7b2678..8873568 100644 --- a/src/features/home/components/HomeCalendarWeek.tsx +++ b/src/features/home/components/HomeCalendarWeek.tsx @@ -9,7 +9,7 @@ import { } from "@/features/calendars/utils/calendarSchedules"; import { calendarsQueries } from "@/shared/entities/calendars/calendarsQueries"; -// Figma 학사일정 · 주간(5365:90592)은 일정 카드 3개 아래에 "1건 더보기"를 둔다 +// 일정 카드는 3개까지 보이고 나머지는 "N건 더보기"로 넘긴다 const VISIBLE_SCHEDULE_LIMIT = 3; interface HomeCalendarWeekProps { @@ -49,11 +49,13 @@ function HomeCalendarWeek({
    {daySchedules.slice(0, VISIBLE_SCHEDULE_LIMIT).map((schedule) => (
  • + {/* 한 줄 카드라 긴 제목은 기간을 밀어내지 않게 말줄임한다 */} void; } -// 날짜는 일정과 상관없어서 점 없이 그대로 그리고, 일정 카드 한 장(62px: 위아래 12 + 제목 18 + 4 + 기간 16) 자리만 채운다. +// 날짜는 일정과 상관없어서 점 없이 그대로 그리고, 일정 카드 한 장(44px: 테두리 1 + 위아래 12 + 제목 18) 자리만 채운다. function HomeCalendarWeekSkeleton({ weekDates, today, @@ -30,7 +30,7 @@ function HomeCalendarWeekSkeleton({ />