From 70552ccde3a4d57fb067161f70c11aea807c745d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A4=80=EC=98=81?= Date: Thu, 12 Mar 2026 14:46:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=EA=B7=B8=EB=A6=BC=EC=9E=90=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/Header/components/NotificationBell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/Header/components/NotificationBell.tsx b/src/components/layout/Header/components/NotificationBell.tsx index c2e86f1..317254c 100644 --- a/src/components/layout/Header/components/NotificationBell.tsx +++ b/src/components/layout/Header/components/NotificationBell.tsx @@ -51,7 +51,7 @@ function NotificationBell({ showTooltip = false }: NotificationBellProps) { onClick={handleChatButtonClick} className={cn('relative inline-flex', shouldShowTooltip && 'chat-tooltip-anchor')} > - + {totalUnreadCount > 0 ? ( {totalUnreadCount > 99 ? '99+' : totalUnreadCount} From 425e37f34c31c18e1cd44eb287a814326f3087f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A4=80=EC=98=81?= Date: Thu, 12 Mar 2026 14:46:43 +0900 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20UI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Schedule/components/ScheduleDetail.tsx | 3 - src/pages/Schedule/index.tsx | 57 +++++++++++-------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/pages/Schedule/components/ScheduleDetail.tsx b/src/pages/Schedule/components/ScheduleDetail.tsx index 8f0616b..c6cb7f2 100644 --- a/src/pages/Schedule/components/ScheduleDetail.tsx +++ b/src/pages/Schedule/components/ScheduleDetail.tsx @@ -47,9 +47,6 @@ function ScheduleDetail({ year, month, day, onItemClick }: scheduleDetailProps) return (
- - {month}월 {day}일 일정 - {sortedSchedules.length ? ( sortedSchedules.map(({ title, startedAt, endedAt, scheduleCategory }, index) => { const highlighted = isOnSelectedDay(startedAt, endedAt); diff --git a/src/pages/Schedule/index.tsx b/src/pages/Schedule/index.tsx index cc40f51..f1dc2f5 100644 --- a/src/pages/Schedule/index.tsx +++ b/src/pages/Schedule/index.tsx @@ -1,5 +1,6 @@ import { useMemo, useRef, useState } from 'react'; import { useSearchParams } from 'react-router-dom'; +import Portal from '@/components/common/Portal'; import { SCHEDULE_DAYS } from '@/constants/schedule'; import { dateUtils } from '@/utils/hooks/useSchedule'; import CalendarWeekRow from './components/CalendarWeekRow'; @@ -15,7 +16,9 @@ const COLOR_LEGENDS = [ { name: '기숙사', color: '#B9ADEF' }, ]; +const HEADER_HEIGHT = 44; const PEEK_HEIGHT = 150; +const SHEET_TOP_OFFSET = HEADER_HEIGHT + 200; function Schedule() { const [searchParams, setSearchParams] = useSearchParams(); @@ -84,7 +87,7 @@ function Schedule() { }); return ( -
+
-
setIsSheetExpanded(false)} - /> - -
-
-
-
- -
- setIsSheetExpanded(true)} /> -
-
+ + <> +
setIsSheetExpanded(false)} + /> + +
+
+
+
+ +
+ setIsSheetExpanded(true)} /> +
+
+ +
); }