-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.tsx
More file actions
46 lines (42 loc) · 1.27 KB
/
index.tsx
File metadata and controls
46 lines (42 loc) · 1.27 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
import Lottie from 'lottie-react';
import loading_revised from '../../../public/lottie/loading_revised.json';
export default function Loading() {
return (
<div
className='flex flex-col items-center justify-between h-[100vh] bg-white'
role='status'
aria-live='polite'
aria-label='페이지 로딩 중입니다'
>
<div
className='relative w-full h-[22vw] min-h-[14rem] max-h-[28rem]'
aria-hidden="true"
>
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox='0 0 402 194'
className='absolute inset-0 w-full h-full'
preserveAspectRatio='none'
>
<path
d='M402 180.922C257.925 56.9753 160.195 270.883 0 161.93V0H402V180.922Z'
className='fill-mint-50'
/>
</svg>
</div>
<div className='flex items-center justify-center'>
<Lottie
animationData={loading_revised}
loop
autoplay
className='w-[18rem] h-[18rem]'
aria-hidden="true"
/>
</div>
<div className='mb-[10rem] text-center text-gray-500 text-label-md'>
<p>만화 속 부천 여행</p>
<p>8개 명소를 탐험하고 엽서를 모아보세요!</p>
</div>
</div>
);
}