Skip to content

Commit 0b246f2

Browse files
authored
Merge pull request #106 from billilge/feat/#103-carousel-link
[Feat/#103] 개인정보 이용약관 페이지 추가
2 parents fd33ce8 + 9fb46ac commit 0b246f2

File tree

4 files changed

+352
-0
lines changed

4 files changed

+352
-0
lines changed
Lines changed: 169 additions & 0 deletions
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
'use client';
2+
3+
import MobileLayout from '@/components/mobile/layout';
4+
import Header from '@/components/mobile/Header';
5+
import privacyPolicy from './privacyPolicyData';
6+
7+
export default function UserRentalList() {
8+
return (
9+
<MobileLayout>
10+
<Header title="개인정보 이용약관" menu={false} />
11+
12+
{/* 반납이 필요한 물품 */}
13+
<div className="relative h-full px-[15px] pb-12 pt-[17px]">
14+
<div className="pb-[7px] text-caption-2_midi font-medium text-gray-secondary">
15+
최종 수정일: 2025년 3월 5일
16+
</div>
17+
<div className="whitespace-pre-line rounded-[10px] border border-[#D9D9D9] bg-white px-3.5 py-[18px] text-caption-1_semi">
18+
<h1>{privacyPolicy.title1}</h1>
19+
<h1>{privacyPolicy.title2}</h1>
20+
{privacyPolicy.sections.map((section) => (
21+
<div key={section.title}>
22+
<h2>{section.title}</h2>
23+
{section.content.map((text) =>
24+
typeof text === 'object' ? (
25+
<>
26+
<h3 key={text.title}>{text.title}</h3>
27+
<ul className="list-disc px-3.5">
28+
{text.items.map((item) => (
29+
<li key={item}>{item}</li>
30+
))}
31+
</ul>
32+
</>
33+
) : (
34+
<p key={text}>{text}</p>
35+
),
36+
)}
37+
</div>
38+
))}
39+
</div>
40+
</div>
41+
42+
<div className="fixed bottom-0 left-0 right-0 flex h-12 items-center justify-center bg-[#F3F4F6]">
43+
<div className="text-body-2-normal_medi">© wink</div>
44+
</div>
45+
</MobileLayout>
46+
);
47+
}

0 commit comments

Comments
 (0)