@daeryun/dr_components 0.3.15 → 0.3.17

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.
Files changed (46) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.jsx +3 -3
  3. package/dist/components/page/MyCase/[id]/MyCaseDetailPage.tsx +3 -3
  4. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +7 -3
  5. package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +7 -3
  6. package/dist/components/page/MyCase/_component/_layout/IntroWrapper.jsx +1 -1
  7. package/dist/components/page/MyCase/_component/_layout/IntroWrapper.tsx +5 -1
  8. package/dist/components/page/index.d.ts +0 -1
  9. package/dist/components/page/index.js +0 -1
  10. package/dist/components/page/index.ts +0 -1
  11. package/dist/lib/utils.d.ts +0 -6
  12. package/dist/lib/utils.js +0 -19
  13. package/dist/lib/utils.ts +0 -21
  14. package/dist/styles/globals.css +85 -956
  15. package/dist/tsconfig.tsbuildinfo +1 -1
  16. package/package.json +1 -1
  17. package/dist/components/Layout/PageWrapper.d.ts +0 -8
  18. package/dist/components/Layout/PageWrapper.jsx +0 -31
  19. package/dist/components/Layout/PageWrapper.tsx +0 -35
  20. package/dist/components/page/Login/Login.d.ts +0 -6
  21. package/dist/components/page/Login/Login.jsx +0 -112
  22. package/dist/components/page/Login/Login.stories.d.ts +0 -6
  23. package/dist/components/page/Login/Login.stories.jsx +0 -13
  24. package/dist/components/page/Login/Login.stories.tsx +0 -21
  25. package/dist/components/page/Login/Login.tsx +0 -167
  26. package/dist/components/page/Login/LoginComp/ConfirmModal.d.ts +0 -10
  27. package/dist/components/page/Login/LoginComp/ConfirmModal.jsx +0 -37
  28. package/dist/components/page/Login/LoginComp/ConfirmModal.tsx +0 -83
  29. package/dist/components/page/Login/LoginComp/LButton.d.ts +0 -9
  30. package/dist/components/page/Login/LoginComp/LButton.jsx +0 -14
  31. package/dist/components/page/Login/LoginComp/LButton.tsx +0 -36
  32. package/dist/components/page/Login/LoginComp/Linput.d.ts +0 -11
  33. package/dist/components/page/Login/LoginComp/Linput.jsx +0 -10
  34. package/dist/components/page/Login/LoginComp/Linput.tsx +0 -40
  35. package/dist/components/page/Login/LoginComp/LoginBreadCrumb.d.ts +0 -6
  36. package/dist/components/page/Login/LoginComp/LoginBreadCrumb.jsx +0 -18
  37. package/dist/components/page/Login/LoginComp/LoginBreadCrumb.tsx +0 -40
  38. package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.d.ts +0 -18
  39. package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.jsx +0 -61
  40. package/dist/components/page/Login/LoginComp/Sign/OptionalCheckBox.tsx +0 -163
  41. package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.d.ts +0 -12
  42. package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.jsx +0 -32
  43. package/dist/components/page/Login/LoginComp/Sign/RequiredCheckBox.tsx +0 -94
  44. package/dist/components/page/Login/LoginComp/TermModal.d.ts +0 -9
  45. package/dist/components/page/Login/LoginComp/TermModal.jsx +0 -39
  46. package/dist/components/page/Login/LoginComp/TermModal.tsx +0 -70
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
-
3
- const LInput = ({
4
- value = '',
5
- name = '',
6
- placeholder = '',
7
- isDisabled = false,
8
- className = 'w-[712px] max-lg2:w-full max-lg:w-[580px] ',
9
- handleInput,
10
- maxLength = 9999
11
- }: {
12
- value?: string;
13
- name?: string;
14
- placeholder?: string;
15
- isDisabled?: boolean;
16
- className?: string;
17
- handleInput?: (e: any) => void;
18
- maxLength?: number;
19
- }) => {
20
- return (
21
- <input
22
- maxLength={maxLength}
23
- className={
24
- ' rounded-[12px] border-[1px] border-solid border-[#B9B9B9] bg-[#FFFFFF] text-[#000000] placeholder:text-[#B9B9B9] disabled:bg-[#F5F5F5] disabled:text-[#606060] ' +
25
- ' focus:border-[#3D3D3D] ' +
26
- ' title_small h-[68px] px-[24px] py-[16px] ' +
27
- ' max-lg:title_small_tb max-lg:h-[60px] max-lg:rounded-[8px] max-lg:px-[24px] max-lg:py-[15px] ' +
28
- ' max-sm:body_large2_mo max-sm:h-[47px] max-sm:w-full max-sm:rounded-[4px] max-sm:px-[16px] max-sm:py-[16px] ' +
29
- ` ${className} `
30
- }
31
- name={name}
32
- value={value}
33
- disabled={isDisabled}
34
- placeholder={placeholder}
35
- onChange={handleInput}
36
- />
37
- );
38
- };
39
-
40
- export default LInput;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface LoginBreadCrumbProps {
3
- breadList: string[];
4
- }
5
- declare const LoginBreadCrumb: ({ breadList }: LoginBreadCrumbProps) => React.JSX.Element;
6
- export default LoginBreadCrumb;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
- const LoginBreadCrumb = ({ breadList }) => {
4
- const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
5
- return (<div className="label_medium2 flex h-full flex-row items-center gap-[12px] text-[#B9B9B9]">
6
- {/* 시작 아이콘 */}
7
- <span className={' flex justify-center'}>
8
- <Image src={`${imagePath}/common-login/home.svg`} alt={'home'} width={15} height={15} className={'mb-[1px] h-auto sm:w-[17px] lg:w-[18px]'}/>
9
- </span>
10
-
11
- {/* Breadcrumb List */}
12
- {breadList.map((item, index) => (<React.Fragment key={index}>
13
- <Image src={`${imagePath}/common-login/arrow_2.webp`} alt={'right_arrow'} width={8} height={13} className={'h-[13px] w-[8px]'}/>
14
- <span className={index === breadList.length - 1 ? 'text-[#333333]' : ''}>{item}</span>
15
- </React.Fragment>))}
16
- </div>);
17
- };
18
- export default LoginBreadCrumb;
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
-
4
- interface LoginBreadCrumbProps {
5
- breadList: string[];
6
- }
7
-
8
- const LoginBreadCrumb = ({ breadList }: LoginBreadCrumbProps) => {
9
- const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
10
- return (
11
- <div className="label_medium2 flex h-full flex-row items-center gap-[12px] text-[#B9B9B9]">
12
- {/* 시작 아이콘 */}
13
- <span className={' flex justify-center'}>
14
- <Image
15
- src={`${imagePath}/common-login/home.svg`}
16
- alt={'home'}
17
- width={15}
18
- height={15}
19
- className={'mb-[1px] h-auto sm:w-[17px] lg:w-[18px]'}
20
- />
21
- </span>
22
-
23
- {/* Breadcrumb List */}
24
- {breadList.map((item, index) => (
25
- <React.Fragment key={index}>
26
- <Image
27
- src={`${imagePath}/common-login/arrow_2.webp`}
28
- alt={'right_arrow'}
29
- width={8}
30
- height={13}
31
- className={'h-[13px] w-[8px]'}
32
- />
33
- <span className={index === breadList.length - 1 ? 'text-[#333333]' : ''}>{item}</span>
34
- </React.Fragment>
35
- ))}
36
- </div>
37
- );
38
- };
39
-
40
- export default LoginBreadCrumb;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- declare const OptionalCheckBox: ({ title, cautionTitle, isContent, checked, name, setModal, parentIndex, optionalItemList, handleButton }: {
3
- title: string;
4
- cautionTitle: string;
5
- isContent: boolean;
6
- checked: boolean;
7
- setModal: () => void;
8
- name: string;
9
- parentIndex: number;
10
- optionalItemList: {
11
- title: string;
12
- checked: boolean;
13
- name: string;
14
- value: number;
15
- }[];
16
- handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
17
- }) => React.JSX.Element;
18
- export default OptionalCheckBox;
@@ -1,61 +0,0 @@
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;
@@ -1,163 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
- const OptionalCheckBox = ({
4
- title,
5
- cautionTitle,
6
- isContent,
7
- checked,
8
- name,
9
- setModal,
10
- parentIndex,
11
- optionalItemList,
12
- handleButton
13
- }: {
14
- title: string;
15
- cautionTitle: string;
16
- isContent: boolean;
17
- checked: boolean;
18
- setModal: () => void;
19
- name: string;
20
- parentIndex: number;
21
- optionalItemList: {
22
- title: string;
23
- checked: boolean;
24
- name: string;
25
- value: number;
26
- }[];
27
- handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
28
- }) => {
29
- const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
30
- return (
31
- <div className={'flex flex-col gap-[24px] ' + ' max-md2:gap-[0px] ' + ' max-md:gap-[0px] '}>
32
- <div className={'flex w-full flex-row justify-between '}>
33
- <button
34
- onClick={handleButton}
35
- type={'button'}
36
- name={name}
37
- data-idx={parentIndex}
38
- className={'w-[calc(100%-34px)]] flex flex-row items-center gap-[20px] ' + ' max-md2:gap-[12px] '}
39
- >
40
- {checked ? (
41
- <span
42
- className={
43
- ' 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
- }
48
- >
49
- <Image
50
- src={`${imagePath}/common-login/check box.svg`}
51
- alt={'check box'}
52
- height={100}
53
- width={100}
54
- className={`h-full w-full`}
55
- />
56
- </span>
57
- ) : (
58
- <span
59
- className={
60
- ' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
61
- ' max-md2:h-[20px] max-md2:w-[20px] ' +
62
- ' max-sm:h-[16px] max-sm:w-[16px] '
63
- }
64
- ></span>
65
- )}
66
- <span className={` body_medium2 ` + ' max-md2:body_medium2_tb ' + ' max-sm:body_medium2_mo '}>
67
- {title}
68
- </span>
69
- <span className={' body_small2 text-[#AE0E36] ' + ' max-md2:body_small2_tb ' + ' max-md:hidden '}>
70
- {cautionTitle}
71
- </span>
72
- </button>
73
- {isContent && (
74
- <button
75
- type={'button'}
76
- onClick={setModal}
77
- className={
78
- ' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
79
- ' body_small2 ' +
80
- ' max-md2:body_small2_tb ' +
81
- ' max-sm:body_small2_mo '
82
- }
83
- >
84
- 보기
85
- </button>
86
- )}
87
- </div>
88
- <div
89
- className={
90
- ' md:hidden ' +
91
- ' ml-[44px] mt-[12px] flex items-center ' +
92
- ' max-md:ml-[32px] ' +
93
- ' max-sm:ml-[26px] '
94
- }
95
- >
96
- <span className={' body_small2_mo text-[#AE0E36] '}>{cautionTitle}</span>
97
- </div>
98
- <div
99
- className={
100
- ' ml-[44px] flex flex-row gap-[36px] ' +
101
- ' max-md2:-[32px] max-md2:mt-[23px] max-md2:gap-[23px] ' +
102
- ' 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] '
103
- }
104
- >
105
- {optionalItemList.map((item, index: number) => {
106
- return (
107
- <button
108
- key={index}
109
- onClick={handleButton}
110
- name={item.name}
111
- data-parentidx={parentIndex}
112
- data-idx={index}
113
- type={'button'}
114
- value={item.value}
115
- className={
116
- ' flex flex-row items-center gap-[20px] ' +
117
- ' max-md2:gap-[12px] ' +
118
- ' max-md:gap-[10px] '
119
- }
120
- >
121
- {item.checked ? (
122
- <span
123
- className={
124
- ' flex items-center justify-center ' +
125
- ' h-[24px] w-[24px] rounded-[28px] ' +
126
- ' max-lg:h-[20px] max-lg:w-[20px] ' +
127
- ' max-sm:h-[16px] max-sm:w-[16px] '
128
- }
129
- >
130
- <Image
131
- src={`${imagePath}/common-login/check box.svg`}
132
- alt={'check box'}
133
- height={100}
134
- width={100}
135
- className={`h-full w-full`}
136
- />
137
- </span>
138
- ) : (
139
- <span
140
- className={
141
- ' h-[24px] w-[24px] rounded-[28px] border-[1px] border-solid border-[#B9B9B9] ' +
142
- ' max-md2:h-[20px] max-md2:w-[20px] ' +
143
- ' max-sm:h-[16px] max-sm:w-[16px] '
144
- }
145
- ></span>
146
- )}
147
- <span
148
- className={
149
- ' body_medium2 text-black ' +
150
- ' max-md2:body_medium2_tb ' +
151
- ' max-sm:body_medium2_mo '
152
- }
153
- >
154
- {item.title}
155
- </span>
156
- </button>
157
- );
158
- })}
159
- </div>
160
- </div>
161
- );
162
- };
163
- export default OptionalCheckBox;
@@ -1,12 +0,0 @@
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;
@@ -1,32 +0,0 @@
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;
@@ -1,94 +0,0 @@
1
- import React from 'react';
2
- import Image from 'next/image';
3
-
4
- const RequiredCheckBox = ({
5
- title,
6
- isContent,
7
- name,
8
- setModal,
9
- checked,
10
- index,
11
- isAll = false,
12
- handleButton
13
- }: {
14
- title: string;
15
- isContent: boolean;
16
- name: string;
17
- setModal: () => void;
18
- index: number;
19
- checked: boolean;
20
- isAll?: boolean;
21
- handleButton: (e: React.FormEvent<HTMLButtonElement>) => void;
22
- }) => {
23
- const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
24
- return (
25
- <div className={'flex w-full flex-row justify-between '}>
26
- <button
27
- onClick={handleButton}
28
- type={'button'}
29
- name={name}
30
- data-idx={index}
31
- className={
32
- ' flex w-[calc(100%-34px)] flex-row items-center gap-[20px] ' +
33
- ' max-lg:w-[calc(100%-31px)] max-lg:gap-[12px] ' +
34
- ' max-sm:w-[calc(100%-24px)] max-sm:gap-[10px] '
35
- }
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-lg:h-[20px] max-lg:w-[20px] ' +
59
- ' max-sm:h-[16px] max-sm:w-[16px] '
60
- }
61
- ></span>
62
- )}
63
- <span
64
- className={
65
- ' text-black ' +
66
- ` ${isAll ? ' body_medium1 ' : ' body_medium2 '} ` +
67
- ` ${isAll ? ' max-lg:body_medium1_tb ' : ' max-lg:body_medium2_tb '} ` +
68
- ` ${isAll ? ' max-sm:body_medium1_mo ' : ' max-sm:body_medium2_mo '} `
69
- }
70
- >
71
- {title}
72
- </span>
73
- </button>
74
- {isContent ? (
75
- <button
76
- type={'button'}
77
- onClick={setModal}
78
- className={
79
- ' underline-[#606060] text-[#606060] underline underline-offset-2 ' +
80
- ' body_small2 ' +
81
- ' max-lg:body_small2_tb ' +
82
- ' max-sm:body_small2_mo '
83
- }
84
- >
85
- 보기
86
- </button>
87
- ) : (
88
- <></>
89
- )}
90
- </div>
91
- );
92
- };
93
-
94
- export default RequiredCheckBox;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface props {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- title: string;
6
- content: string;
7
- }
8
- declare const TermModal: ({ isOpen, onClose, title, content }: props) => React.JSX.Element | null;
9
- export default TermModal;
@@ -1,39 +0,0 @@
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;
@@ -1,70 +0,0 @@
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;