1
+ import AppBar from '@/components/common/AppBar' ;
2
+ import HamburgerButton from '@/components/common/SideBar/HamburgerButton' ;
1
3
import { useGetProfile } from '@/react-queries/userGetProfile' ;
4
+ import { Link } from 'react-router-dom' ;
2
5
3
6
const SettingPage = ( ) => {
4
7
const { data : user , error, isLoading, isError } = useGetProfile ( ) ;
@@ -10,32 +13,69 @@ const SettingPage = () => {
10
13
}
11
14
12
15
return (
13
- < div className = "relative flex h-full w-full flex-col items-center justify-center" >
14
- { isLoading && < span className = "loading" /> }
15
- < div className = " absolute top-[70px] inline-flex h-40 flex-col items-start justify-start gap-2.5 border-b border-yellow-500 px-8 py-5" >
16
- < div className = " w-44 font-['Inter'] text-base font-semibold leading-normal text-black" > 정보</ div >
17
- < div className = " flex flex-col items-start justify-start gap-2.5" >
18
- < div className = " inline-flex w-80 items-start justify-between" >
19
- < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black" > 버전 정보</ div >
20
- < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black" > 0.0.1v</ div >
21
- </ div >
22
- < div className = " inline-flex w-80 items-center justify-between" >
23
- < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black" >
24
- 이용약관 보기
25
- </ div >
26
- < div className = " relative h-5 w-5" />
27
- </ div >
28
- < div className = " inline-flex w-80 items-center justify-between" >
29
- < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black" >
30
- 개인정보 처리방침 보기
16
+ < div className = "lg:ml-80" >
17
+ < AppBar backButton = { false } IconButton = { < HamburgerButton /> } />
18
+ < main className = "z-1 relative flex-grow" >
19
+ < div className = "mx-auto max-w-7xl px-4 sm:px-6 lg:px-8" >
20
+ < div >
21
+ < div className = "relative flex h-full w-full" >
22
+ { isLoading && < span className = "loading" /> }
23
+ < div className = " absolute top-[70px] inline-flex h-40 flex-col items-start justify-start gap-2.5 border-b border-yellow-500 px-8 py-5" >
24
+ < div className = " w-44 font-['Inter'] text-base font-semibold leading-normal text-black" > 정보</ div >
25
+ < div className = " flex flex-col items-start justify-start gap-2.5" >
26
+ < div className = " inline-flex w-80 items-start justify-between" >
27
+ < div className = "text-center font-['Inter'] text-base font-normal leading-normal text-black" >
28
+ 버전 정보
29
+ </ div >
30
+ < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black" >
31
+ 0.0.1v
32
+ </ div >
33
+ </ div >
34
+ < Link to = { '/policy/usecondition' } >
35
+ < div className = " inline-flex w-80 items-center justify-between" >
36
+ < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black hover:underline" >
37
+ 이용약관 보기
38
+ </ div >
39
+ < div className = " relative h-5 w-5" />
40
+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 20 20" width = "13" height = "15" >
41
+ < path
42
+ d = "M 2 2 L 18 10 L 2 18"
43
+ fill = "none"
44
+ stroke = "green"
45
+ stroke-width = "3"
46
+ stroke-linecap = "round"
47
+ stroke-linejoin = "round"
48
+ />
49
+ </ svg >
50
+ </ div >
51
+ </ Link >
52
+ < Link to = { '/policy/personalInfo' } >
53
+ < div className = " inline-flex w-80 items-center justify-between" >
54
+ < div className = " text-center font-['Inter'] text-base font-normal leading-normal text-black hover:underline" >
55
+ 개인정보 처리방침 보기
56
+ </ div >
57
+ < div className = " relative h-5 w-5" />
58
+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 20 20" width = "13" height = "15" >
59
+ < path
60
+ d = "M 2 2 L 18 10 L 2 18"
61
+ fill = "none"
62
+ stroke = "green"
63
+ stroke-width = "3"
64
+ stroke-linecap = "round"
65
+ stroke-linejoin = "round"
66
+ />
67
+ </ svg >
68
+ </ div >
69
+ </ Link >
70
+ </ div >
71
+ < div className = " absolute top-[200px] font-['Inter'] text-base font-normal leading-normal text-black" >
72
+ 회원 탈퇴
73
+ </ div >
74
+ </ div >
31
75
</ div >
32
- < div className = " relative h-5 w-5" />
33
76
</ div >
34
77
</ div >
35
- < div className = " absolute top-[200px] font-['Inter'] text-base font-normal leading-normal text-black" >
36
- 회원 탈퇴
37
- </ div >
38
- </ div >
78
+ </ main >
39
79
</ div >
40
80
) ;
41
81
} ;
0 commit comments