-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SP3] 메인 하단 레이아웃 #324
[SP3] 메인 하단 레이아웃 #324
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다! 다른 작업물도 합쳐서 얼른 완성하고 싶네요~
function ActivitySection(_props: unknown, ref: React.Ref<HTMLDivElement>) { | ||
return ( | ||
<S.Wrapper id="activity" ref={ref}> | ||
<Activity /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Activity 컴포넌트에 활동 내역이 담겨있어서 Activity라고 명을 지었는데, 메뉴에서 활동/파트/자체기구를 합친 명이 Activity 군요..!
메뉴명과 동일하게 ActivitySection은 유지하는게 맞는 것 같고 Activity 컴포넌트 명을 변경하면 좋을 것 같은데, 어떻게 생각하시나요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 찬성해요!!!
const { scrollYProgress } = useScroll({ target: targetRef, offset: ['start center', 'start'] }); | ||
|
||
const viewList = [false, activity.isInView, review.isInView, news.isInView]; | ||
const minIndex = viewList.findIndex((value) => value === true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minIndex 의 의미는 무엇인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
function ActivitySection(_props: unknown, ref: React.Ref<HTMLDivElement>) { | ||
return ( | ||
<S.Wrapper id="activity" ref={ref}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* feat : 액티비티 컨텐츠 내용 변경 * feat : useInfiniteCarousel 적용 * chore : 불필요한 style 삭제 * chore : 불필요한 type 제거 * chore : 불필요한 style 삭제
Summary
Screenshot