Skip to content
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

feat: 랜딩페이지 스크롤 애니메이션 #72

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

kyoung-jnn
Copy link
Member

📘 작업 유형

  • 신규 기능 추가

📑 작업리스트

랜딩페이지에서 스크롤 이벤트를 추가했습니다~

  • 스크롤시 자동으로 내려가는 이벤트

@kyoung-jnn kyoung-jnn added the feature New feature or request label Jul 23, 2022
@kyoung-jnn kyoung-jnn self-assigned this Jul 23, 2022
@auto-assign auto-assign bot requested a review from ksmfou98 July 23, 2022 15:55
Copy link
Member

@ksmfou98 ksmfou98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!


interface LayoutWrapperProps {
children: ReactNode;
}

function LayoutWrapper({ children }: LayoutWrapperProps) {
const { asPath } = useRouter();
const scrollRef = useRef<HTMLDivElement>(null);
const outerRef = useRef<HTMLDivElement>(null);
const contentRef = useRef<any>(null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요것도 HTMLDivElement로 주시면 될 거 같은데요!?

Base automatically changed from feature/optimize-animation to develop August 5, 2022 13:41
@ksmfou98 ksmfou98 merged commit f2e2226 into develop Aug 5, 2022
@ksmfou98 ksmfou98 deleted the feature/intro-wheel-event branch August 5, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants