File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
src/app/event/homecoming/component Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export default function HomecomingInviteCard() {
142142 < div className = "text-white font-bold" > 도착 안내</ div >
143143 < div className = "text-white text-[12px] leading-snug" >
144144 • 1부 참석자: < span className = "font-semibold" > 12:50</ span > 까지 도착< br />
145- • 2부 참석자: < span className = "font-semibold" > 15:20 </ span > 까지 도착
145+ • 2부 참석자: < span className = "font-semibold" > 15:50 </ span > 까지 도착
146146 </ div >
147147 </ div >
148148
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export default function FrameLayout() {
99 const viewportRef = useRef ( null ) ;
1010 const [ activeIndex , setActiveIndex ] = useState ( 0 ) ;
1111 const TOTAL = 5 ;
12- const SCROLL_DAMPING = 0.2 ;
13- const MAX_DELTA = 60 ;
1412
1513 const onScroll = ( ) => {
1614 const el = viewportRef . current ;
@@ -29,18 +27,14 @@ export default function FrameLayout() {
2927 const el = viewportRef . current ;
3028 if ( ! el ) return ;
3129
32- const raw = e . deltaY ;
33- const clamped = Math . max ( - MAX_DELTA , Math . min ( MAX_DELTA , raw ) ) ;
34- const delta = clamped * SCROLL_DAMPING ;
35-
3630 const atTop = el . scrollTop <= 0 ;
3731 const atBottom = el . scrollTop + el . clientHeight >= el . scrollHeight - 1 ;
38- const canScrollInside = ( delta > 0 && ! atBottom ) || ( delta < 0 && ! atTop ) ;
32+ const canScrollInside = ( e . deltaY > 0 && ! atBottom ) || ( e . deltaY < 0 && ! atTop ) ;
3933
4034 if ( ! canScrollInside ) return ;
4135
4236 e . preventDefault ( ) ;
43- el . scrollTop += delta ;
37+ el . scrollTop += e . deltaY ;
4438 } ;
4539
4640 return ( < div
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function SecondSection() {
8787
8888 < div className = "mt-14 px-24 text-cwhite/80 text-lg leading-snug" >
8989 • 1부 참석자: < span className = "font-semibold text-cwhite" > 12:50</ span > 까지 도착< br />
90- • 2부 참석자: < span className = "font-semibold text-cwhite" > 15:20 </ span > 까지 도착
90+ • 2부 참석자: < span className = "font-semibold text-cwhite" > 15:50 </ span > 까지 도착
9191 </ div >
9292 </ div > ) ;
9393}
@@ -144,8 +144,8 @@ function FifthSection() {
144144
145145 < HomecomingMap />
146146
147- < div className = "mt-14 px-24 text-cwhite/80 text-lg" >
148- 문의: < span className = "font-semibold text-cwhite" > 010-2087-1816</ span >
147+ < div className = "mt-14 px-24 text-cwhite/80 text-lg text-center " >
148+ 문의사항이 있으실 경우, < span className = "font-semibold text-cwhite" > 010-2087-1816</ span > 으로 편하게 연락 부탁드립니다.
149149 </ div >
150150 </ div > ) ;
151151}
You can’t perform that action at this time.
0 commit comments