diff --git a/src/app/event/homecoming/component/mobile/HomecomingInviteCard.jsx b/src/app/event/homecoming/component/mobile/HomecomingInviteCard.jsx index 6e4ac6f..307110e 100644 --- a/src/app/event/homecoming/component/mobile/HomecomingInviteCard.jsx +++ b/src/app/event/homecoming/component/mobile/HomecomingInviteCard.jsx @@ -142,7 +142,7 @@ export default function HomecomingInviteCard() {
도착 안내
• 1부 참석자: 12:50까지 도착
- • 2부 참석자: 15:20까지 도착 + • 2부 참석자: 15:50까지 도착
diff --git a/src/app/event/homecoming/component/pc/FrameLayout.jsx b/src/app/event/homecoming/component/pc/FrameLayout.jsx index 79096f2..1b9e7a5 100644 --- a/src/app/event/homecoming/component/pc/FrameLayout.jsx +++ b/src/app/event/homecoming/component/pc/FrameLayout.jsx @@ -9,8 +9,6 @@ export default function FrameLayout() { const viewportRef = useRef(null); const [activeIndex, setActiveIndex] = useState(0); const TOTAL = 5; - const SCROLL_DAMPING = 0.2; - const MAX_DELTA = 60; const onScroll = () => { const el = viewportRef.current; @@ -29,18 +27,14 @@ export default function FrameLayout() { const el = viewportRef.current; if (!el) return; - const raw = e.deltaY; - const clamped = Math.max(-MAX_DELTA, Math.min(MAX_DELTA, raw)); - const delta = clamped * SCROLL_DAMPING; - const atTop = el.scrollTop <= 0; const atBottom = el.scrollTop + el.clientHeight >= el.scrollHeight - 1; - const canScrollInside = (delta > 0 && !atBottom) || (delta < 0 && !atTop); + const canScrollInside = (e.deltaY > 0 && !atBottom) || (e.deltaY < 0 && !atTop); if (!canScrollInside) return; e.preventDefault(); - el.scrollTop += delta; + el.scrollTop += e.deltaY; }; return (
• 1부 참석자: 12:50까지 도착
- • 2부 참석자: 15:20까지 도착 + • 2부 참석자: 15:50까지 도착
); } @@ -144,8 +144,8 @@ function FifthSection() { -
- 문의: 010-2087-1816 +
+ 문의사항이 있으실 경우, 010-2087-1816으로 편하게 연락 부탁드립니다.
); }