-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustomer-service-section.tsx
More file actions
53 lines (51 loc) · 1.45 KB
/
customer-service-section.tsx
File metadata and controls
53 lines (51 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import Link from 'next/link';
import Image from 'next/image';
const customerServiceItems = [
{
icon: 'icons/many-question.svg',
label: '자주 묻는\n질문',
href: '/faq',
},
{
icon: 'icons/inquiry.svg',
label: '문의하기',
href: '/inquiry',
},
{
icon: 'icons/shop.svg',
label: '입점 문의',
href: '/vendor-inquiry',
},
];
export default function CustomerServiceSection() {
return (
<div className="border-t border-gray-200">
<h2 className="border-y border-black px-7 py-8 text-3xl leading-normal font-semibold">
고객센터
</h2>
<div className="mx-5 my-10 rounded-lg border border-black px-5 py-10">
<div className="flex items-center justify-center gap-14">
{customerServiceItems.map((item) => (
<Link
key={item.label}
href={item.href}
className="flex max-w-20 flex-col items-center gap-2"
>
<div className="flex h-12 w-12 items-center justify-center">
<Image
src={`/${item.icon}`}
alt={item.label}
width={48}
height={48}
/>
</div>
<span className="text-center text-lg leading-normal font-normal text-balance whitespace-pre-wrap">
{item.label}
</span>
</Link>
))}
</div>
</div>
</div>
);
}