@daeryun/dr_components 0.3.17 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Layout/PageWrapper.d.ts +8 -0
- package/dist/components/Layout/PageWrapper.jsx +31 -0
- package/dist/components/Layout/PageWrapper.tsx +35 -0
- package/dist/components/page/Login/Login.d.ts +6 -0
- package/dist/components/page/Login/Login.jsx +112 -0
- package/dist/components/page/Login/Login.stories.d.ts +6 -0
- package/dist/components/page/Login/Login.stories.jsx +13 -0
- package/dist/components/page/Login/Login.stories.tsx +21 -0
- package/dist/components/page/Login/Login.tsx +167 -0
- package/dist/components/page/Login/LoginComp/LButton.d.ts +9 -0
- package/dist/components/page/Login/LoginComp/LButton.jsx +14 -0
- package/dist/components/page/Login/LoginComp/LButton.tsx +36 -0
- package/dist/components/page/Login/LoginComp/Linput.d.ts +11 -0
- package/dist/components/page/Login/LoginComp/Linput.jsx +10 -0
- package/dist/components/page/Login/LoginComp/Linput.tsx +40 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.d.ts +6 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.jsx +18 -0
- package/dist/components/page/Login/LoginComp/LoginBreadCrumb.tsx +40 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.d.ts +10 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.jsx +41 -0
- package/dist/components/page/Login/LoginComp/Modal/AlertConfirmModal.tsx +91 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.d.ts +10 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.jsx +37 -0
- package/dist/components/page/Login/LoginComp/Modal/ConfirmModal.tsx +83 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.d.ts +9 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.jsx +39 -0
- package/dist/components/page/Login/LoginComp/Modal/TermModal.tsx +70 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.d.ts +14 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.jsx +61 -0
- package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.tsx +160 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.d.ts +12 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.jsx +32 -0
- package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.tsx +94 -0
- package/dist/components/page/Login/Sign.d.ts +27 -0
- package/dist/components/page/Login/Sign.jsx +614 -0
- package/dist/components/page/Login/Sign.tsx +941 -0
- package/dist/components/page/Login/_api/completeUser.d.ts +7 -0
- package/dist/components/page/Login/_api/completeUser.js +23 -0
- package/dist/components/page/Login/_api/completeUser.ts +18 -0
- package/dist/components/page/Login/_api/confirmNumber.d.ts +5 -0
- package/dist/components/page/Login/_api/confirmNumber.js +23 -0
- package/dist/components/page/Login/_api/confirmNumber.ts +14 -0
- package/dist/components/page/Login/_api/getLoginStatus.d.ts +12 -0
- package/dist/components/page/Login/_api/getLoginStatus.js +48 -0
- package/dist/components/page/Login/_api/getLoginStatus.ts +42 -0
- package/dist/components/page/Login/_api/logout.d.ts +1 -0
- package/dist/components/page/Login/_api/logout.js +29 -0
- package/dist/components/page/Login/_api/logout.ts +18 -0
- package/dist/components/page/Login/_api/optionalTermAgree.d.ts +6 -0
- package/dist/components/page/Login/_api/optionalTermAgree.js +27 -0
- package/dist/components/page/Login/_api/optionalTermAgree.ts +23 -0
- package/dist/components/page/Login/_api/sendNumber.d.ts +5 -0
- package/dist/components/page/Login/_api/sendNumber.js +24 -0
- package/dist/components/page/Login/_api/sendNumber.ts +15 -0
- package/dist/components/page/Login/_api/token.d.ts +2 -0
- package/dist/components/page/Login/_api/token.js +33 -0
- package/dist/components/page/Login/_api/token.ts +25 -0
- package/dist/components/page/Login/_api/updateUserInfo.d.ts +6 -0
- package/dist/components/page/Login/_api/updateUserInfo.js +26 -0
- package/dist/components/page/Login/_api/updateUserInfo.ts +17 -0
- package/dist/components/page/Login/_api/withdraw.d.ts +5 -0
- package/dist/components/page/Login/_api/withdraw.js +23 -0
- package/dist/components/page/Login/_api/withdraw.ts +14 -0
- package/dist/components/page/Login/_fetch/fetch.d.ts +2 -0
- package/dist/components/page/Login/_fetch/fetch.js +54 -0
- package/dist/components/page/Login/_fetch/fetch.ts +58 -0
- package/dist/components/page/Login/_fetch/serverFetch.d.ts +2 -0
- package/dist/components/page/Login/_fetch/serverFetch.js +37 -0
- package/dist/components/page/Login/_fetch/serverFetch.ts +43 -0
- package/dist/components/page/MyCase/MyCasePage.jsx +1 -0
- package/dist/components/page/MyCase/MyCasePage.tsx +2 -0
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +1 -0
- package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +2 -0
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.js +3 -1
- package/dist/components/page/MyCase/_fetchers/addMyCaseQuestion.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getCase.js +4 -1
- package/dist/components/page/MyCase/_fetchers/getCase.ts +5 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getCaseList.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getCourtFileList.ts +3 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.js +3 -1
- package/dist/components/page/MyCase/_fetchers/getMyCaseQuestion.ts +8 -9
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/index.js +2 -0
- package/dist/components/page/index.ts +2 -0
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.js +50 -0
- package/dist/lib/utils.ts +63 -0
- package/dist/styles/globals.css +1200 -31
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import Image from 'next/image';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
interface props {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
handleLeftClick: () => void;
|
|
8
|
+
handleRightClick: () => void;
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const AlertConfirmModal = ({ isOpen, onClose, handleLeftClick, handleRightClick, title }: props) => {
|
|
13
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
14
|
+
if (!isOpen) return null;
|
|
15
|
+
return (
|
|
16
|
+
<div
|
|
17
|
+
className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 font-[SUIT] backdrop-blur-sm "
|
|
18
|
+
onClick={onClose} // 백그라운드 클릭 시 모달 닫기
|
|
19
|
+
>
|
|
20
|
+
<div
|
|
21
|
+
className="relative w-[804px] rounded-[32px] bg-white max-lg:w-[648px] max-[700px]:w-[90%] max-sm:w-[320px] max-2xs:w-[90%] "
|
|
22
|
+
onClick={e => e.stopPropagation()}
|
|
23
|
+
>
|
|
24
|
+
<div
|
|
25
|
+
className={
|
|
26
|
+
' flex min-h-[432px] w-full flex-col items-center justify-center rounded-[32px] border-[1px] border-solid border-[#B9B9B9] p-[52px] ' +
|
|
27
|
+
' max-lg:min-h-[348px] max-lg:px-[54px] max-lg:py-[44px] ' +
|
|
28
|
+
' max-sm:min-h-[224px] max-sm:p-[30px] '
|
|
29
|
+
}
|
|
30
|
+
>
|
|
31
|
+
<div
|
|
32
|
+
className={
|
|
33
|
+
' h-[88px] w-[72px]' +
|
|
34
|
+
' max-lg:h-[68.44px] max-lg:w-[56px]' +
|
|
35
|
+
' max-sm:h-[48.89px] max-sm:w-[40px] '
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
<Image
|
|
39
|
+
src={`${imagePath}/common-login/alert_shield.svg`}
|
|
40
|
+
alt={'alert_shield'}
|
|
41
|
+
height={100}
|
|
42
|
+
width={100}
|
|
43
|
+
className={`h-full w-full`}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
<div
|
|
47
|
+
className={
|
|
48
|
+
' body_large1 mt-[60px] text-center text-black ' +
|
|
49
|
+
' max-lg:body_large1_tb max-lg:mt-[48px] ' +
|
|
50
|
+
' max-sm:body_large1_mo max-sm:mt-[20px] '
|
|
51
|
+
}
|
|
52
|
+
>
|
|
53
|
+
{title}
|
|
54
|
+
</div>
|
|
55
|
+
<div
|
|
56
|
+
className={
|
|
57
|
+
' mt-[73px] flex w-full flex-row gap-[16px] ' +
|
|
58
|
+
' max-lg:mt-[53px] max-lg:gap-[12px] ' +
|
|
59
|
+
' max-sm:mt-[24px] max-sm:gap-[4px] '
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
<button
|
|
63
|
+
onClick={handleLeftClick}
|
|
64
|
+
type={'button'}
|
|
65
|
+
className={
|
|
66
|
+
' body_large1 h-[72px] w-full rounded-[16px] bg-[#F5F5F5] text-[#000000] ' +
|
|
67
|
+
' max-lg:body_large1_tb max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
68
|
+
' max-sm:body_large1_mo max-sm:h-[48px] max-sm:rounded-[4px] '
|
|
69
|
+
}
|
|
70
|
+
>
|
|
71
|
+
취소
|
|
72
|
+
</button>
|
|
73
|
+
<button
|
|
74
|
+
onClick={handleRightClick}
|
|
75
|
+
type={'button'}
|
|
76
|
+
className={
|
|
77
|
+
' body_large1 h-[72px] w-full rounded-[16px] bg-[#3D3D3D] text-[#FFFFFF]' +
|
|
78
|
+
' max-lg:body_large1_tb max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
79
|
+
' max-sm:body_large1_mo max-sm:h-[48px] max-sm:rounded-[4px] '
|
|
80
|
+
}
|
|
81
|
+
>
|
|
82
|
+
확인
|
|
83
|
+
</button>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export default AlertConfirmModal;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface props {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
handleClick: () => void;
|
|
6
|
+
title: string;
|
|
7
|
+
subTitle: string;
|
|
8
|
+
}
|
|
9
|
+
declare const ConfirmModal: ({ isOpen, onClose, handleClick, title, subTitle }: props) => React.JSX.Element | null;
|
|
10
|
+
export default ConfirmModal;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
const ConfirmModal = ({ isOpen, onClose, handleClick, title, subTitle }) => {
|
|
4
|
+
if (!isOpen)
|
|
5
|
+
return null;
|
|
6
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
7
|
+
return (<div className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 font-[SUIT] backdrop-blur-sm " onClick={onClose} // 백그라운드 클릭 시 모달 닫기
|
|
8
|
+
>
|
|
9
|
+
<div className={' relative w-[804px] rounded-[32px] bg-white max-lg:w-[648px] max-[700px]:w-[90%] max-sm:w-[90%] '} onClick={e => e.stopPropagation()}>
|
|
10
|
+
<div className={' flex min-h-[432px] w-full flex-col items-center justify-center rounded-[32px] border-[1px] border-solid border-[#B9B9B9] p-[52px] ' +
|
|
11
|
+
' max-lg:min-h-[348px] max-lg:px-[54px] max-lg:py-[44px] ' +
|
|
12
|
+
' max-sm:min-h-[244px] max-sm:p-[30px] '}>
|
|
13
|
+
<div className={' h-[88px] w-[72px]' +
|
|
14
|
+
' max-lg:h-[68.44px] max-lg:w-[56px]' +
|
|
15
|
+
' max-sm:h-[48.89px] max-sm:w-[40px] '}>
|
|
16
|
+
<Image src={`${imagePath}/common-login/alert_shield.svg`} alt={'alert_shield'} height={100} width={100} className={`h-full w-full`}/>
|
|
17
|
+
</div>
|
|
18
|
+
<div className={' body_large1 mt-[36px] text-black ' +
|
|
19
|
+
' max-lg:body_large1_tb max-lg:mt-[20px] ' +
|
|
20
|
+
' max-sm:body_large1_mo max-sm:mt-[16px] '}>
|
|
21
|
+
{title}
|
|
22
|
+
</div>
|
|
23
|
+
<div className={' body_medium2 mt-[20px] text-center text-[#909090] ' +
|
|
24
|
+
' max-lg:body_medium2_tb max-lg:mt-[16px] ' +
|
|
25
|
+
' max-sm:body_medium2_mo max-sm:mt-[8px] '}>
|
|
26
|
+
{subTitle}
|
|
27
|
+
</div>
|
|
28
|
+
<button onClick={handleClick} type={'button'} className={' title_small mt-[47px] h-[72px] w-full rounded-[16px] bg-[#3D3D3D] text-[#FFFFFF]' +
|
|
29
|
+
' max-lg:title_small_tb max-lg:mt-[40px] max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
30
|
+
' max-sm:title_small_mo max-lg:mt-[20px] max-lg:rounded-[4px] max-sm:h-[48px] '}>
|
|
31
|
+
확인
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>);
|
|
36
|
+
};
|
|
37
|
+
export default ConfirmModal;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
|
|
4
|
+
interface props {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
handleClick: () => void;
|
|
8
|
+
title: string;
|
|
9
|
+
subTitle: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const ConfirmModal = ({ isOpen, onClose, handleClick, title, subTitle }: props) => {
|
|
13
|
+
if (!isOpen) return null;
|
|
14
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
15
|
+
return (
|
|
16
|
+
<div
|
|
17
|
+
className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 font-[SUIT] backdrop-blur-sm "
|
|
18
|
+
onClick={onClose} // 백그라운드 클릭 시 모달 닫기
|
|
19
|
+
>
|
|
20
|
+
<div
|
|
21
|
+
className={
|
|
22
|
+
' relative w-[804px] rounded-[32px] bg-white max-lg:w-[648px] max-[700px]:w-[90%] max-sm:w-[90%] '
|
|
23
|
+
}
|
|
24
|
+
onClick={e => e.stopPropagation()}
|
|
25
|
+
>
|
|
26
|
+
<div
|
|
27
|
+
className={
|
|
28
|
+
' flex min-h-[432px] w-full flex-col items-center justify-center rounded-[32px] border-[1px] border-solid border-[#B9B9B9] p-[52px] ' +
|
|
29
|
+
' max-lg:min-h-[348px] max-lg:px-[54px] max-lg:py-[44px] ' +
|
|
30
|
+
' max-sm:min-h-[244px] max-sm:p-[30px] '
|
|
31
|
+
}
|
|
32
|
+
>
|
|
33
|
+
<div
|
|
34
|
+
className={
|
|
35
|
+
' h-[88px] w-[72px]' +
|
|
36
|
+
' max-lg:h-[68.44px] max-lg:w-[56px]' +
|
|
37
|
+
' max-sm:h-[48.89px] max-sm:w-[40px] '
|
|
38
|
+
}
|
|
39
|
+
>
|
|
40
|
+
<Image
|
|
41
|
+
src={`${imagePath}/common-login/alert_shield.svg`}
|
|
42
|
+
alt={'alert_shield'}
|
|
43
|
+
height={100}
|
|
44
|
+
width={100}
|
|
45
|
+
className={`h-full w-full`}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
<div
|
|
49
|
+
className={
|
|
50
|
+
' body_large1 mt-[36px] text-black ' +
|
|
51
|
+
' max-lg:body_large1_tb max-lg:mt-[20px] ' +
|
|
52
|
+
' max-sm:body_large1_mo max-sm:mt-[16px] '
|
|
53
|
+
}
|
|
54
|
+
>
|
|
55
|
+
{title}
|
|
56
|
+
</div>
|
|
57
|
+
<div
|
|
58
|
+
className={
|
|
59
|
+
' body_medium2 mt-[20px] text-center text-[#909090] ' +
|
|
60
|
+
' max-lg:body_medium2_tb max-lg:mt-[16px] ' +
|
|
61
|
+
' max-sm:body_medium2_mo max-sm:mt-[8px] '
|
|
62
|
+
}
|
|
63
|
+
>
|
|
64
|
+
{subTitle}
|
|
65
|
+
</div>
|
|
66
|
+
<button
|
|
67
|
+
onClick={handleClick}
|
|
68
|
+
type={'button'}
|
|
69
|
+
className={
|
|
70
|
+
' title_small mt-[47px] h-[72px] w-full rounded-[16px] bg-[#3D3D3D] text-[#FFFFFF]' +
|
|
71
|
+
' max-lg:title_small_tb max-lg:mt-[40px] max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
72
|
+
' max-sm:title_small_mo max-lg:mt-[20px] max-lg:rounded-[4px] max-sm:h-[48px] '
|
|
73
|
+
}
|
|
74
|
+
>
|
|
75
|
+
확인
|
|
76
|
+
</button>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export default ConfirmModal;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
const TermModal = ({ isOpen, onClose, title, content }) => {
|
|
3
|
+
if (!isOpen)
|
|
4
|
+
return null;
|
|
5
|
+
return (<div className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 font-[SUIT] backdrop-blur-sm " onClick={onClose} // 백그라운드 클릭 시 모달 닫기
|
|
6
|
+
>
|
|
7
|
+
<div className={' relative h-[1000px] max-h-[90vh] w-[1000px] rounded-[32px] bg-white ' +
|
|
8
|
+
' max-lg:w-[90%] ' +
|
|
9
|
+
' max-lg:h-[764px] max-lg:w-[780px] max-lg:rounded-[24px] ' +
|
|
10
|
+
' max-lg:w-[90%] ' +
|
|
11
|
+
' max-sm:h-[348px] max-sm:w-[320px] max-sm:rounded-[12px] '} onClick={e => e.stopPropagation()}>
|
|
12
|
+
<div className={' h-full w-full p-[52px] max-sm:p-[30px] '}>
|
|
13
|
+
<div className={' title_medium text-[#000000] ' + ' max-lg:title_medium_tb ' + ' max-sm:title_medium_mo '}>
|
|
14
|
+
{title}
|
|
15
|
+
</div>
|
|
16
|
+
<div className={' body_medium2 mt-[20px] h-[720px] max-h-[calc(100%-176px)] overflow-y-auto whitespace-pre-line break-all text-[#000000] ' +
|
|
17
|
+
' max-lg:body_medium2_tb max-lg:mt-[20px] max-lg:h-[512px] max-lg:max-h-[calc(100%-139px)] ' +
|
|
18
|
+
' max-sm:title_small_mo max-sm:mt-[12px] max-sm:h-[180px] max-sm:max-h-[calc(100%-108px)] '}>
|
|
19
|
+
{'제1장 총칙 제1조 (목적) 이 약관은 법무법인 대륜(이하 “회사”)이 제공하는 “AI 대륜” 서비스(이하 “서비스”라 함)의 이용과 관련하여 회사와 이용자 간의 권리, 의무 및 책임사항을 규정함을 목적으로 합니다.\n' +
|
|
20
|
+
'제2조 (용어의 정의)\n' +
|
|
21
|
+
'이 약관에서 사용하는 용어는 다음과 같이 정의합니다.\n1. AI 대륜 서비스: 고객이 특정 데이터를 입력하여 법률 서비스 및 판례, 법률 정보를 제공하는 서비스\n' +
|
|
22
|
+
'2. 웹사이트: “회사”가 “서비스”를 제공하기 위해 운영하는 웹사이트 ‘https://ai.daeryunlaw.com/’\n' +
|
|
23
|
+
'3. 비회원: “회사”의 “서비스”에 접속하여 회원가입을 하지 않고 이 약관에 따라 “회사”와 이용계약을 체결하고 “회사”가 제공하는 “서비스”를 이용하는 자\n' +
|
|
24
|
+
'4. 변호사: 대한민국 변호사 자격증을 취득하고 법무법인 대륜에 귀속된 자로서 상담을 제공할 목적으로 “회사”가 온라인으로 제공하는 자\n' +
|
|
25
|
+
'5. 상담 신청: “서비스” 이용 시 입력한 데이터로 변호사 상담 신청을 의미\n\n\n' +
|
|
26
|
+
'제3조 (약관의 공시 및 효력과 변경 등)\n' +
|
|
27
|
+
'1. 회사는 이 약관의 내용을 비회원이 쉽게 알 수 있도록 서비스의 초기 화면에 게시합니다. 다만, 약관의 내용은 비회원이 연결화면을 통하여 볼 수 있도록 할 수 있습니다.\n' +
|
|
28
|
+
'2. 회사가 이 약관을 개정할 경우에는 적용일자 및 개정사유를 명시하여 현행약관과 함께 서비스의 초기 화면에 그 적용일자 7일 이전부터 적용일자 전일까지 공지합니다.다만, 비회원에게 불리한 내용으로 약관을 개정하는 경우에는 적용일로부터 30일 전까지 공시하고 변경된 약관은 공시하거나 고지한 적용일로부터 효력이 발생합니다. 제2장 비회원 관리 및 서비스 제4조 (서비스의 제공 등) 1. 회사는 AI를 활용하여 이용자에게 법률 서비스 및 법률정보를 제공합니다. 2. AI 대륜 서비스 이용자(회원, 비회원을 모두 포함한다)와 AI 대륜 서비스의 대화내용은 회사 내 데이터로 저장, 보관되며 회사는 AI 대륜 서비스 이용 행위를 회사에 대한 상담 신청으로 간주하고 저장된 데이터를 활용하여 이용자에게 상담 등의 각종 서비스를 제공할 수 있습니다. 3. 회사는 천재지변 또는 중계선 고장 등의 불가피한 사정으로 인하여 서비스를 중단할 수 있습니다.'}
|
|
29
|
+
</div>
|
|
30
|
+
<button onClick={onClose} type={'button'} className={' title_small mt-[44px] flex h-[72px] w-full items-center justify-center rounded-[16px] bg-[#606060] text-white ' +
|
|
31
|
+
' max-lg:body_medium2 max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
32
|
+
' max-sm:body_large2_mo max-sm:mt-[23px] max-sm:h-[48px] '}>
|
|
33
|
+
닫기
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>);
|
|
38
|
+
};
|
|
39
|
+
export default TermModal;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface props {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
title: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}
|
|
9
|
+
const TermModal = ({ isOpen, onClose, title, content }: props) => {
|
|
10
|
+
if (!isOpen) return null;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<div
|
|
14
|
+
className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 font-[SUIT] backdrop-blur-sm "
|
|
15
|
+
onClick={onClose} // 백그라운드 클릭 시 모달 닫기
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
className={
|
|
19
|
+
' relative h-[1000px] max-h-[90vh] w-[1000px] rounded-[32px] bg-white ' +
|
|
20
|
+
' max-lg:w-[90%] ' +
|
|
21
|
+
' max-lg:h-[764px] max-lg:w-[780px] max-lg:rounded-[24px] ' +
|
|
22
|
+
' max-lg:w-[90%] ' +
|
|
23
|
+
' max-sm:h-[348px] max-sm:w-[320px] max-sm:rounded-[12px] '
|
|
24
|
+
}
|
|
25
|
+
onClick={e => e.stopPropagation()}
|
|
26
|
+
>
|
|
27
|
+
<div className={' h-full w-full p-[52px] max-sm:p-[30px] '}>
|
|
28
|
+
<div
|
|
29
|
+
className={
|
|
30
|
+
' title_medium text-[#000000] ' + ' max-lg:title_medium_tb ' + ' max-sm:title_medium_mo '
|
|
31
|
+
}
|
|
32
|
+
>
|
|
33
|
+
{title}
|
|
34
|
+
</div>
|
|
35
|
+
<div
|
|
36
|
+
className={
|
|
37
|
+
' body_medium2 mt-[20px] h-[720px] max-h-[calc(100%-176px)] overflow-y-auto whitespace-pre-line break-all text-[#000000] ' +
|
|
38
|
+
' max-lg:body_medium2_tb max-lg:mt-[20px] max-lg:h-[512px] max-lg:max-h-[calc(100%-139px)] ' +
|
|
39
|
+
' max-sm:title_small_mo max-sm:mt-[12px] max-sm:h-[180px] max-sm:max-h-[calc(100%-108px)] '
|
|
40
|
+
}
|
|
41
|
+
>
|
|
42
|
+
{'제1장 총칙 제1조 (목적) 이 약관은 법무법인 대륜(이하 “회사”)이 제공하는 “AI 대륜” 서비스(이하 “서비스”라 함)의 이용과 관련하여 회사와 이용자 간의 권리, 의무 및 책임사항을 규정함을 목적으로 합니다.\n' +
|
|
43
|
+
'제2조 (용어의 정의)\n' +
|
|
44
|
+
'이 약관에서 사용하는 용어는 다음과 같이 정의합니다.\n1. AI 대륜 서비스: 고객이 특정 데이터를 입력하여 법률 서비스 및 판례, 법률 정보를 제공하는 서비스\n' +
|
|
45
|
+
'2. 웹사이트: “회사”가 “서비스”를 제공하기 위해 운영하는 웹사이트 ‘https://ai.daeryunlaw.com/’\n' +
|
|
46
|
+
'3. 비회원: “회사”의 “서비스”에 접속하여 회원가입을 하지 않고 이 약관에 따라 “회사”와 이용계약을 체결하고 “회사”가 제공하는 “서비스”를 이용하는 자\n' +
|
|
47
|
+
'4. 변호사: 대한민국 변호사 자격증을 취득하고 법무법인 대륜에 귀속된 자로서 상담을 제공할 목적으로 “회사”가 온라인으로 제공하는 자\n' +
|
|
48
|
+
'5. 상담 신청: “서비스” 이용 시 입력한 데이터로 변호사 상담 신청을 의미\n\n\n' +
|
|
49
|
+
'제3조 (약관의 공시 및 효력과 변경 등)\n' +
|
|
50
|
+
'1. 회사는 이 약관의 내용을 비회원이 쉽게 알 수 있도록 서비스의 초기 화면에 게시합니다. 다만, 약관의 내용은 비회원이 연결화면을 통하여 볼 수 있도록 할 수 있습니다.\n' +
|
|
51
|
+
'2. 회사가 이 약관을 개정할 경우에는 적용일자 및 개정사유를 명시하여 현행약관과 함께 서비스의 초기 화면에 그 적용일자 7일 이전부터 적용일자 전일까지 공지합니다.다만, 비회원에게 불리한 내용으로 약관을 개정하는 경우에는 적용일로부터 30일 전까지 공시하고 변경된 약관은 공시하거나 고지한 적용일로부터 효력이 발생합니다. 제2장 비회원 관리 및 서비스 제4조 (서비스의 제공 등) 1. 회사는 AI를 활용하여 이용자에게 법률 서비스 및 법률정보를 제공합니다. 2. AI 대륜 서비스 이용자(회원, 비회원을 모두 포함한다)와 AI 대륜 서비스의 대화내용은 회사 내 데이터로 저장, 보관되며 회사는 AI 대륜 서비스 이용 행위를 회사에 대한 상담 신청으로 간주하고 저장된 데이터를 활용하여 이용자에게 상담 등의 각종 서비스를 제공할 수 있습니다. 3. 회사는 천재지변 또는 중계선 고장 등의 불가피한 사정으로 인하여 서비스를 중단할 수 있습니다.'}
|
|
52
|
+
</div>
|
|
53
|
+
<button
|
|
54
|
+
onClick={onClose}
|
|
55
|
+
type={'button'}
|
|
56
|
+
className={
|
|
57
|
+
' title_small mt-[44px] flex h-[72px] w-full items-center justify-center rounded-[16px] bg-[#606060] text-white ' +
|
|
58
|
+
' max-lg:body_medium2 max-lg:h-[60px] max-lg:rounded-[8px] ' +
|
|
59
|
+
' max-sm:body_large2_mo max-sm:mt-[23px] max-sm:h-[48px] '
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
닫기
|
|
63
|
+
</button>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export default TermModal;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IOptionalCheckAlarm } from '../../Sign';
|
|
3
|
+
declare const OptionalCheckBox: ({ title, cautionTitle, isContent, checked, name, setModal, parentIndex, optionalItemList, handleButton }: {
|
|
4
|
+
title: string;
|
|
5
|
+
cautionTitle: string;
|
|
6
|
+
isContent: boolean;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
setModal: () => void;
|
|
9
|
+
name: string;
|
|
10
|
+
parentIndex: number;
|
|
11
|
+
optionalItemList: IOptionalCheckAlarm[];
|
|
12
|
+
handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
|
|
13
|
+
}) => React.JSX.Element;
|
|
14
|
+
export default OptionalCheckBox;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
const OptionalCheckBox = ({ title, cautionTitle, isContent, checked, name, setModal, parentIndex, optionalItemList, handleButton }) => {
|
|
4
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
5
|
+
return (<div className={'flex flex-col gap-[24px] ' + ' max-md2:gap-[0px] ' + ' max-md:gap-[0px] '}>
|
|
6
|
+
<div className={'flex w-full flex-row justify-between '}>
|
|
7
|
+
<button onClick={handleButton} type={'button'} name={name} data-idx={parentIndex} className={'w-[calc(100%-34px)]] flex flex-row items-center gap-[20px] ' + ' max-md2:gap-[12px] '}>
|
|
8
|
+
{checked ? (<span className={' flex items-center justify-center ' +
|
|
9
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
10
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
11
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}>
|
|
12
|
+
<Image src={`${imagePath}/common-login/check box.svg`} alt={'check box'} height={100} width={100} className={`h-full w-full`}/>
|
|
13
|
+
</span>) : (<span className={' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
14
|
+
' max-md2:h-[20px] max-md2:w-[20px] ' +
|
|
15
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}></span>)}
|
|
16
|
+
<span className={` body_medium2 ` + ' max-md2:body_medium2_tb ' + ' max-sm:body_medium2_mo '}>
|
|
17
|
+
{title}
|
|
18
|
+
</span>
|
|
19
|
+
<span className={' body_small2 text-[#AE0E36] ' + ' max-md2:body_small2_tb ' + ' max-md:hidden '}>
|
|
20
|
+
{cautionTitle}
|
|
21
|
+
</span>
|
|
22
|
+
</button>
|
|
23
|
+
{isContent && (<button type={'button'} onClick={setModal} className={' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
|
|
24
|
+
' body_small2 ' +
|
|
25
|
+
' max-md2:body_small2_tb ' +
|
|
26
|
+
' max-sm:body_small2_mo '}>
|
|
27
|
+
보기
|
|
28
|
+
</button>)}
|
|
29
|
+
</div>
|
|
30
|
+
<div className={' md:hidden ' +
|
|
31
|
+
' ml-[44px] mt-[12px] flex items-center ' +
|
|
32
|
+
' max-md:ml-[32px] ' +
|
|
33
|
+
' max-sm:ml-[26px] '}>
|
|
34
|
+
<span className={' body_small2_mo text-[#AE0E36] '}>{cautionTitle}</span>
|
|
35
|
+
</div>
|
|
36
|
+
<div className={' ml-[44px] flex flex-row gap-[36px] ' +
|
|
37
|
+
' max-md2:-[32px] max-md2:mt-[23px] max-md2:gap-[23px] ' +
|
|
38
|
+
' max-md:grid max-md:grid-cols-2 max-md:grid-rows-2 max-md:gap-x-[8px] max-md:gap-y-[30px] max-sm:ml-[26px] max-sm:mt-[30px] '}>
|
|
39
|
+
{optionalItemList.map((item, index) => {
|
|
40
|
+
return (<button key={index} onClick={handleButton} name={item.name} data-parentidx={parentIndex} data-idx={index} type={'button'} value={item.value} className={' flex flex-row items-center gap-[20px] ' +
|
|
41
|
+
' max-md2:gap-[12px] ' +
|
|
42
|
+
' max-md:gap-[10px] '}>
|
|
43
|
+
{item.checked ? (<span className={' flex items-center justify-center ' +
|
|
44
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
45
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
46
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}>
|
|
47
|
+
<Image src={`${imagePath}/common-login/check box.svg`} alt={'check box'} height={100} width={100} className={`h-full w-full`}/>
|
|
48
|
+
</span>) : (<span className={' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
49
|
+
' max-md2:h-[20px] max-md2:w-[20px] ' +
|
|
50
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}></span>)}
|
|
51
|
+
<span className={' body_medium2 text-black ' +
|
|
52
|
+
' max-md2:body_medium2_tb ' +
|
|
53
|
+
' max-sm:body_medium2_mo '}>
|
|
54
|
+
{item.title}
|
|
55
|
+
</span>
|
|
56
|
+
</button>);
|
|
57
|
+
})}
|
|
58
|
+
</div>
|
|
59
|
+
</div>);
|
|
60
|
+
};
|
|
61
|
+
export default OptionalCheckBox;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import { IOptionalCheckAlarm } from '../../Sign';
|
|
4
|
+
|
|
5
|
+
const OptionalCheckBox = ({
|
|
6
|
+
title,
|
|
7
|
+
cautionTitle,
|
|
8
|
+
isContent,
|
|
9
|
+
checked,
|
|
10
|
+
name,
|
|
11
|
+
setModal,
|
|
12
|
+
parentIndex,
|
|
13
|
+
optionalItemList,
|
|
14
|
+
handleButton
|
|
15
|
+
}: {
|
|
16
|
+
title: string;
|
|
17
|
+
cautionTitle: string;
|
|
18
|
+
isContent: boolean;
|
|
19
|
+
checked: boolean;
|
|
20
|
+
setModal: () => void;
|
|
21
|
+
name: string;
|
|
22
|
+
parentIndex: number;
|
|
23
|
+
optionalItemList: IOptionalCheckAlarm[];
|
|
24
|
+
handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
|
|
25
|
+
}) => {
|
|
26
|
+
const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
27
|
+
return (
|
|
28
|
+
<div className={'flex flex-col gap-[24px] ' + ' max-md2:gap-[0px] ' + ' max-md:gap-[0px] '}>
|
|
29
|
+
<div className={'flex w-full flex-row justify-between '}>
|
|
30
|
+
<button
|
|
31
|
+
onClick={handleButton}
|
|
32
|
+
type={'button'}
|
|
33
|
+
name={name}
|
|
34
|
+
data-idx={parentIndex}
|
|
35
|
+
className={'w-[calc(100%-34px)]] flex flex-row items-center gap-[20px] ' + ' max-md2:gap-[12px] '}
|
|
36
|
+
>
|
|
37
|
+
{checked ? (
|
|
38
|
+
<span
|
|
39
|
+
className={
|
|
40
|
+
' flex items-center justify-center ' +
|
|
41
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
42
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
43
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
44
|
+
}
|
|
45
|
+
>
|
|
46
|
+
<Image
|
|
47
|
+
src={`${imagePath}/common-login/check box.svg`}
|
|
48
|
+
alt={'check box'}
|
|
49
|
+
height={100}
|
|
50
|
+
width={100}
|
|
51
|
+
className={`h-full w-full`}
|
|
52
|
+
/>
|
|
53
|
+
</span>
|
|
54
|
+
) : (
|
|
55
|
+
<span
|
|
56
|
+
className={
|
|
57
|
+
' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
58
|
+
' max-md2:h-[20px] max-md2:w-[20px] ' +
|
|
59
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
60
|
+
}
|
|
61
|
+
></span>
|
|
62
|
+
)}
|
|
63
|
+
<span className={` body_medium2 ` + ' max-md2:body_medium2_tb ' + ' max-sm:body_medium2_mo '}>
|
|
64
|
+
{title}
|
|
65
|
+
</span>
|
|
66
|
+
<span className={' body_small2 text-[#AE0E36] ' + ' max-md2:body_small2_tb ' + ' max-md:hidden '}>
|
|
67
|
+
{cautionTitle}
|
|
68
|
+
</span>
|
|
69
|
+
</button>
|
|
70
|
+
{isContent && (
|
|
71
|
+
<button
|
|
72
|
+
type={'button'}
|
|
73
|
+
onClick={setModal}
|
|
74
|
+
className={
|
|
75
|
+
' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
|
|
76
|
+
' body_small2 ' +
|
|
77
|
+
' max-md2:body_small2_tb ' +
|
|
78
|
+
' max-sm:body_small2_mo '
|
|
79
|
+
}
|
|
80
|
+
>
|
|
81
|
+
보기
|
|
82
|
+
</button>
|
|
83
|
+
)}
|
|
84
|
+
</div>
|
|
85
|
+
<div
|
|
86
|
+
className={
|
|
87
|
+
' md:hidden ' +
|
|
88
|
+
' ml-[44px] mt-[12px] flex items-center ' +
|
|
89
|
+
' max-md:ml-[32px] ' +
|
|
90
|
+
' max-sm:ml-[26px] '
|
|
91
|
+
}
|
|
92
|
+
>
|
|
93
|
+
<span className={' body_small2_mo text-[#AE0E36] '}>{cautionTitle}</span>
|
|
94
|
+
</div>
|
|
95
|
+
<div
|
|
96
|
+
className={
|
|
97
|
+
' ml-[44px] flex flex-row gap-[36px] ' +
|
|
98
|
+
' max-md2:-[32px] max-md2:mt-[23px] max-md2:gap-[23px] ' +
|
|
99
|
+
' max-md:grid max-md:grid-cols-2 max-md:grid-rows-2 max-md:gap-x-[8px] max-md:gap-y-[30px] max-sm:ml-[26px] max-sm:mt-[30px] '
|
|
100
|
+
}
|
|
101
|
+
>
|
|
102
|
+
{optionalItemList.map((item, index: number) => {
|
|
103
|
+
return (
|
|
104
|
+
<button
|
|
105
|
+
key={index}
|
|
106
|
+
onClick={handleButton}
|
|
107
|
+
name={item.name}
|
|
108
|
+
data-parentidx={parentIndex}
|
|
109
|
+
data-idx={index}
|
|
110
|
+
type={'button'}
|
|
111
|
+
value={item.value}
|
|
112
|
+
className={
|
|
113
|
+
' flex flex-row items-center gap-[20px] ' +
|
|
114
|
+
' max-md2:gap-[12px] ' +
|
|
115
|
+
' max-md:gap-[10px] '
|
|
116
|
+
}
|
|
117
|
+
>
|
|
118
|
+
{item.checked ? (
|
|
119
|
+
<span
|
|
120
|
+
className={
|
|
121
|
+
' flex items-center justify-center ' +
|
|
122
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
123
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
124
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
125
|
+
}
|
|
126
|
+
>
|
|
127
|
+
<Image
|
|
128
|
+
src={`${imagePath}/common-login/check box.svg`}
|
|
129
|
+
alt={'check box'}
|
|
130
|
+
height={100}
|
|
131
|
+
width={100}
|
|
132
|
+
className={`h-full w-full`}
|
|
133
|
+
/>
|
|
134
|
+
</span>
|
|
135
|
+
) : (
|
|
136
|
+
<span
|
|
137
|
+
className={
|
|
138
|
+
' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
139
|
+
' max-md2:h-[20px] max-md2:w-[20px] ' +
|
|
140
|
+
' max-sm:h-[16px] max-sm:w-[16px] '
|
|
141
|
+
}
|
|
142
|
+
></span>
|
|
143
|
+
)}
|
|
144
|
+
<span
|
|
145
|
+
className={
|
|
146
|
+
' body_medium2 text-black ' +
|
|
147
|
+
' max-md2:body_medium2_tb ' +
|
|
148
|
+
' max-sm:body_medium2_mo '
|
|
149
|
+
}
|
|
150
|
+
>
|
|
151
|
+
{item.title}
|
|
152
|
+
</span>
|
|
153
|
+
</button>
|
|
154
|
+
);
|
|
155
|
+
})}
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
);
|
|
159
|
+
};
|
|
160
|
+
export default OptionalCheckBox;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const RequiredCheckBox: ({ title, isContent, name, setModal, checked, index, isAll, handleButton }: {
|
|
3
|
+
title: string;
|
|
4
|
+
isContent: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
setModal: () => void;
|
|
7
|
+
index: number;
|
|
8
|
+
checked: boolean;
|
|
9
|
+
isAll?: boolean;
|
|
10
|
+
handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
export default RequiredCheckBox;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
const RequiredCheckBox = ({ title, isContent, name, setModal, checked, index, isAll = false, handleButton }) => {
|
|
4
|
+
const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
|
|
5
|
+
return (<div className={'flex w-full flex-row justify-between '}>
|
|
6
|
+
<button onClick={handleButton} type={'button'} name={name} data-idx={index} className={' flex w-[calc(100%-34px)] flex-row items-center gap-[20px] ' +
|
|
7
|
+
' max-lg:w-[calc(100%-31px)] max-lg:gap-[12px] ' +
|
|
8
|
+
' max-sm:w-[calc(100%-24px)] max-sm:gap-[10px] '}>
|
|
9
|
+
{checked ? (<span className={' flex items-center justify-center ' +
|
|
10
|
+
' h-[24px] w-[24px] rounded-[28px] ' +
|
|
11
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
12
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}>
|
|
13
|
+
<Image src={`${imagePath}/common-login/check box.svg`} alt={'check box'} height={100} width={100} className={`h-full w-full`}/>
|
|
14
|
+
</span>) : (<span className={' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
|
|
15
|
+
' max-lg:h-[20px] max-lg:w-[20px] ' +
|
|
16
|
+
' max-sm:h-[16px] max-sm:w-[16px] '}></span>)}
|
|
17
|
+
<span className={' text-black ' +
|
|
18
|
+
` ${isAll ? ' body_medium1 ' : ' body_medium2 '} ` +
|
|
19
|
+
` ${isAll ? ' max-lg:body_medium1_tb ' : ' max-lg:body_medium2_tb '} ` +
|
|
20
|
+
` ${isAll ? ' max-sm:body_medium1_mo ' : ' max-sm:body_medium2_mo '} `}>
|
|
21
|
+
{title}
|
|
22
|
+
</span>
|
|
23
|
+
</button>
|
|
24
|
+
{isContent ? (<button type={'button'} onClick={setModal} className={' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
|
|
25
|
+
' body_small2 ' +
|
|
26
|
+
' max-lg:body_small2_tb ' +
|
|
27
|
+
' max-sm:body_small2_mo '}>
|
|
28
|
+
보기
|
|
29
|
+
</button>) : (<></>)}
|
|
30
|
+
</div>);
|
|
31
|
+
};
|
|
32
|
+
export default RequiredCheckBox;
|