Skip to content

Commit a6ca148

Browse files
authored
Feat(landing): 랜딩페이지 디자인 업데이트 (#325)
1 parent 082b2be commit a6ca148

23 files changed

Lines changed: 4670 additions & 416 deletions

apps/landing/src/App.tsx

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,24 @@
1+
import { useRef } from 'react';
12
import './App.css';
2-
import HeroSection from './components/HeroSection';
3-
import FeatureBookmarkSection from './components/FeatureBookmarkSection';
4-
import FeatureReminderSection from './components/FeatureReminderSection';
5-
import FeatureRewardSection from './components/FeatureRewardSection';
6-
import FinalCTASection from './components/FinalCTASection';
73
import Header from './components/Header';
4+
import Contents from './components/contents/Contents';
5+
import { useKeyboardScroll } from './hooks/useKeyboardScroll';
86

97
function App() {
10-
return (
11-
<div className="h-dvh snap-y snap-mandatory overflow-y-scroll scroll-smooth">
12-
<Header />
13-
14-
{/* 각 섹션들 */}
15-
<section className="h-dvh snap-start">
16-
<HeroSection />
17-
</section>
18-
19-
<section className="h-dvh snap-start" id="bookmark-section">
20-
<FeatureBookmarkSection />
21-
</section>
8+
const scrollRef = useRef<HTMLDivElement | null>(null);
229

23-
<section className="h-dvh snap-start">
24-
<FeatureReminderSection />
25-
</section>
10+
useKeyboardScroll(scrollRef);
2611

27-
<section className="h-dvh snap-start">
28-
<FeatureRewardSection />
29-
</section>
30-
31-
<section className="h-dvh snap-start">
32-
<FinalCTASection />
33-
</section>
12+
return (
13+
<div
14+
ref={scrollRef}
15+
className="h-dvh snap-y snap-mandatory overflow-y-scroll scroll-smooth outline-none"
16+
tabIndex={-1}
17+
>
18+
<Header />
19+
<main>
20+
<Contents />
21+
</main>
3422
</div>
3523
);
3624
}

apps/landing/src/assets/1_landingmain.json

Lines changed: 3254 additions & 1 deletion
Large diffs are not rendered by default.

apps/landing/src/assets/2_bookmark.json

Lines changed: 0 additions & 298 deletions
This file was deleted.

apps/landing/src/assets/3_bell.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/landing/src/assets/4_up.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/landing/src/assets/5_chippiface.json

Lines changed: 885 additions & 1 deletion
Large diffs are not rendered by default.
324 KB
Loading

apps/landing/src/assets/Dotori.svg

Lines changed: 37 additions & 0 deletions
Loading

apps/landing/src/assets/JobBookmark.svg

Lines changed: 117 additions & 0 deletions
Loading

apps/landing/src/assets/Remind.svg

Lines changed: 177 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)