Skip to content

Commit

Permalink
메인페이지 QA (#333)
Browse files Browse the repository at this point in the history
* feat : 배너 화살표 버튼 보이기

* feat : 배너 화살표 버튼

* feat : 배너 화살표 패딩값 조정

* feat : 솝트 소개 모바일 애니메이션
  • Loading branch information
f0rever0 authored Dec 22, 2023
1 parent ff22482 commit 1e5f383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/MainPage/components/Banner/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const ContentWrapper = styled.article`
/* 모바일 뷰 */
@media (max-width: 768px) {
padding-top: 450px;
padding-top: 60vh;
padding-bottom: 50px;
}
`;
Expand Down
2 changes: 1 addition & 1 deletion src/views/MainPage/components/Introduce/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function Introduce() {
const contentRef = useRef<HTMLElement>(null);
const { scrollYProgress } = useScroll({
target: contentRef,
offset: ['end center', 'start'],
offset: isMobileSize ? ['end end', 'start end'] : ['end center', 'start'],
});

const scaleValue = useTransform(scrollYProgress, [1, 0.4], [0.9, 1]);
Expand Down

0 comments on commit 1e5f383

Please sign in to comment.