Skip to content

Commit 72af4b4

Browse files
committed
test: 스크롤 로직 테스트
1 parent 2420d10 commit 72af4b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/tuk-landing/src/app/(home)/src/components/MainSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const MainSection = () => {
55
return (
66
<section
77
id="thumbnail"
8-
className="fixed left-0 top-0 z-[-1] h-[calc(calc(var(--vh,1vh)*100)+26px)] w-full bg-cover bg-center bg-no-repeat opacity-90 transition-[background-image] duration-100"
8+
className="fixed left-0 top-0 z-[-1] h-screen w-full bg-cover bg-center bg-no-repeat opacity-90 transition-[background-image] duration-100"
99
style={{
1010
backgroundImage:
1111
'linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.2) 100%), url(/main-bg.jpg)',

apps/tuk-landing/src/app/(home)/src/components/ServiceInfoSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Link from 'next/link';
33

44
const ServiceInfoSection = () => {
55
return (
6-
<div className="mt-[calc(var(--vh,1vh)*100)] rounded-t-[3.75rem] bg-white-default pt-[3.75rem] max-[880px]:rounded-t-[1.625rem] max-[880px]:pt-[1.625rem]">
6+
<div className="mt-[100vh] rounded-t-[3.75rem] bg-white-default pt-[3.75rem] max-[880px]:rounded-t-[1.625rem] max-[880px]:pt-[1.625rem]">
77
<section className="relative mb-40 mt-[8.75rem] max-[1280px]:mt-[6.25rem] max-[880px]:mt-10">
88
<div className="m-auto max-w-screen-xl overflow-hidden p-0 px-[4.375rem] max-[1280px]:max-w-[880px] max-[1280px]:px-6 min-[1281px]:p-[2.875rem]">
99
<div className="px-6">

apps/tuk-landing/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useEffect, useState } from 'react';
55
import Footer from '@/app/(home)/src/components/Footer';
66
import Header from '@/app/(home)/src/components/Header';
77
import MainSection from '@/app/(home)/src/components/MainSection';
8-
import { ResponsiveHeightResize } from '@/app/(home)/src/components/ResponsiveHeightResize';
8+
// import { ResponsiveHeightResize } from '@/app/(home)/src/components/ResponsiveHeightResize';
99
import ServiceInfoSection from '@/app/(home)/src/components/ServiceInfoSection';
1010

1111
export default function LandingPage() {
@@ -30,7 +30,7 @@ export default function LandingPage() {
3030

3131
return (
3232
<>
33-
<ResponsiveHeightResize />
33+
{/* <ResponsiveHeightResize /> */}
3434

3535
<Header isScrolledPastMain={isScrolledPastMain} />
3636

0 commit comments

Comments
 (0)