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} 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)} /> +
+
+ +
); }