Skip to content

Commit 10b0731

Browse files
authored
Merge pull request #65 from Nexters/feat/landing-page-footer
feat: 개인정보 처리방침, 서비스 이용약관, 문의하기, 구글 스토어 링크 추가
2 parents 5da2890 + 288e32b commit 10b0731

File tree

2 files changed

+34
-9
lines changed

2 files changed

+34
-9
lines changed

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const Footer = () => {
5757
App Store
5858
</Link>
5959
<Link
60-
href="/"
60+
href="https://play.google.com/store/apps/details?id=com.plottwist.tuk"
6161
className="flex h-[3.625rem] w-[10.75rem] cursor-pointer items-center justify-center gap-2 rounded-xl border-[1.5px] border-white-default/20 bg-black-default/30 text-sm font-bold text-white-default"
6262
>
6363
<Image src="/play-store.webp" alt="playStoreImg" width={24} height={24} />
@@ -96,15 +96,23 @@ const Footer = () => {
9696
<div className="mt-5 flex items-end justify-between">
9797
<div>
9898
<div className="flex flex-wrap items-center text-[11px] font-bold leading-5 text-[rgb(58,58,58)]">
99-
<Link href="/">서비스 이용약관</Link>
99+
<Link href="https://tuk.kr/service-policy" target="_blank">
100+
서비스 이용약관
101+
</Link>
100102
<div className="mx-1.5 h-2 w-px bg-[rgb(58,58,58)]" />
101-
<Link href="/">개인정보 처리방침</Link>
103+
<Link href="https://tuk.kr/privacy-policy" target="_blank">
104+
개인정보 처리방침
105+
</Link>
106+
<div className="mx-1.5 h-2 w-px bg-[rgb(58,58,58)]" />
107+
<Link href="https://forms.gle/BBAQeiuYZUo7CHQv6" target="_blank">
108+
문의하기
109+
</Link>
102110
</div>
103111
</div>
104112
</div>
105113

106114
<div className="mb-1.5 mt-5 text-[11px] font-medium leading-[17px] text-[rgba(58,58,58,0.5)]">
107-
ⓒ 2025. (주)Tuk Co., Ltd. All rights reserved.
115+
ⓒ 2025. (주)Tuk Co. Ltd. All rights reserved.
108116
</div>
109117
</footer>
110118

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

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ import { cn } from '@/shared/lib';
99
const MainSection = () => {
1010
const { ref, activeIndex } = useSequentialFadeIn(2, 300);
1111

12+
const handleMobileDownload = () => {
13+
if (typeof navigator === 'undefined') {
14+
window.location.href = 'https://tuk.kr';
15+
return;
16+
}
17+
18+
const ua = navigator.userAgent.toLowerCase();
19+
const isAndroid = ua.includes('android');
20+
21+
if (isAndroid) {
22+
window.location.href = 'https://play.google.com/store/apps/details?id=com.plottwist.tuk';
23+
} else {
24+
window.location.href = 'https://tuk.kr';
25+
}
26+
};
27+
1228
return (
1329
<section
1430
id="thumbnail"
@@ -50,14 +66,14 @@ const MainSection = () => {
5066
>
5167
<div className="flex gap-3 max-[880px]:hidden">
5268
<Link
53-
href="/"
69+
href="#"
5470
className="flex h-[3.625rem] w-[10.75rem] cursor-pointer items-center justify-center gap-2 rounded-xl border-[1.5px] border-white-default/20 bg-black-default/30 text-sm font-bold text-white-default"
5571
>
5672
<Image src="/app-store.webp" alt="App Store" width={24} height={24} priority />
5773
App Store
5874
</Link>
5975
<Link
60-
href="/"
76+
href="https://play.google.com/store/apps/details?id=com.plottwist.tuk"
6177
className="flex h-[3.625rem] w-[10.75rem] cursor-pointer items-center justify-center gap-2 rounded-xl border-[1.5px] border-white-default/20 bg-black-default/30 text-sm font-bold text-white-default"
6278
>
6379
<Image src="/play-store.webp" alt="Google Play" width={24} height={24} priority />
@@ -66,12 +82,13 @@ const MainSection = () => {
6682
</div>
6783

6884
<div className="mb-[85px] min-[881px]:hidden">
69-
<Link
70-
href="/"
85+
<button
86+
type="button"
87+
onClick={handleMobileDownload}
7188
className="flex h-[52px] w-[153px] cursor-pointer items-center justify-center rounded-[36px] bg-white-default text-center font-bold text-[rgba(58,58,58,0.9)]"
7289
>
7390
앱 다운로드
74-
</Link>
91+
</button>
7592
</div>
7693
</div>
7794
</div>

0 commit comments

Comments
 (0)