@daeryun/dr_components 1.0.64 → 1.0.65
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/asset/images/consult/consult_bg.webp +0 -0
- package/dist/asset/images/consult/new_choice_consult.webp +0 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.d.ts +7 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.jsx +197 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.module.css +84 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.stories.d.ts +8 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.stories.jsx +19 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.stories.tsx +27 -0
- package/dist/components/PersonalInfoAgreementModal/PersonalInfoAgreementModal.tsx +207 -0
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/page/Consult/Consult.d.ts +11 -0
- package/dist/components/page/Consult/Consult.jsx +602 -0
- package/dist/components/page/Consult/Consult.stories.d.ts +6 -0
- package/dist/components/page/Consult/Consult.stories.jsx +20 -0
- package/dist/components/page/Consult/Consult.stories.tsx +28 -0
- package/dist/components/page/Consult/Consult.tsx +994 -0
- package/dist/components/page/Consulting/Consulting.jsx +13 -1
- package/dist/components/page/Consulting/Consulting.tsx +21 -1
- package/dist/styles/globals.css +494 -361
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,994 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
|
+
import { bodyFetch, formatPhoneNumber } from '../../../lib';
|
|
5
|
+
import { insert } from '../../../lib';
|
|
6
|
+
import Image from 'next/image';
|
|
7
|
+
import { savePowerLinkConversion } from '../../../lib';
|
|
8
|
+
import { SelectBox } from '../../SelectBox/SelectBox';
|
|
9
|
+
import { useRouter } from 'next/navigation';
|
|
10
|
+
import Loader from '../../Loader/Loader';
|
|
11
|
+
|
|
12
|
+
import IconMt from '../../../asset/images/choice/mt_icon.svg';
|
|
13
|
+
import NewChoiceConsult from '../../../asset/images/consult/new_choice_consult.webp';
|
|
14
|
+
import ChoiceLock from '../../../asset/images/consulting/choice_lock.webp';
|
|
15
|
+
import IconStep01 from '../../../asset/images/choice/choice_stepIcon_01.webp';
|
|
16
|
+
import IconTriangle from '../../../asset/images/choice/choice_tri.webp';
|
|
17
|
+
import IconStep02 from '../../../asset/images/choice/choice_stepIcon_02.webp';
|
|
18
|
+
import IconStep03 from '../../../asset/images/choice/choice_stepIcon_03.webp';
|
|
19
|
+
import IconStep04 from '../../../asset/images/choice/choice_stepIcon_04.webp';
|
|
20
|
+
import BgConsult from '../../../asset/images/consult/consult_bg.webp';
|
|
21
|
+
import PersonalInfoAgreementModal from '../../PersonalInfoAgreementModal/PersonalInfoAgreementModal';
|
|
22
|
+
|
|
23
|
+
interface IConsult {
|
|
24
|
+
cc_name: string;
|
|
25
|
+
cc_tel: string;
|
|
26
|
+
office_code: string;
|
|
27
|
+
law_type_code: string;
|
|
28
|
+
consult_type: string;
|
|
29
|
+
contents: string;
|
|
30
|
+
isCheck: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface ICode {
|
|
34
|
+
code: string;
|
|
35
|
+
code_name: string | null;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const Index = ({
|
|
39
|
+
officesData,
|
|
40
|
+
fieldsData,
|
|
41
|
+
ace_Click
|
|
42
|
+
}: {
|
|
43
|
+
officesData: ICode[];
|
|
44
|
+
fieldsData: ICode[];
|
|
45
|
+
ace_Click?: () => void;
|
|
46
|
+
}) => {
|
|
47
|
+
const consultType = 'general';
|
|
48
|
+
const router = useRouter();
|
|
49
|
+
const mobile = require('is-mobile');
|
|
50
|
+
|
|
51
|
+
const [isMobile, setIsMobile] = useState<boolean>(false);
|
|
52
|
+
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
53
|
+
const [modalOn, setModalOn] = useState(false);
|
|
54
|
+
const conversionType = 'consult';
|
|
55
|
+
|
|
56
|
+
const [consult, setConsult] = useState<IConsult>({
|
|
57
|
+
cc_name: '',
|
|
58
|
+
cc_tel: '',
|
|
59
|
+
office_code: '',
|
|
60
|
+
law_type_code: '',
|
|
61
|
+
contents: '',
|
|
62
|
+
consult_type: consultType,
|
|
63
|
+
isCheck: false
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const [isCheck, setIsCheck] = useState(false);
|
|
67
|
+
const [isOver14, setIsOver14] = useState<boolean>(false);
|
|
68
|
+
|
|
69
|
+
const consultProcess = () => {
|
|
70
|
+
setIsLoading(true);
|
|
71
|
+
if (!isCheck) {
|
|
72
|
+
alert('개인정보 제공에 동의해주세요');
|
|
73
|
+
setIsLoading(false);
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
if (!isOver14) {
|
|
77
|
+
alert('만 14세 이상 여부를 체크해주세요');
|
|
78
|
+
document.getElementById('isOver14Check')?.focus();
|
|
79
|
+
setIsLoading(false);
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
if (consult.cc_name === '') {
|
|
83
|
+
alert('이름을 입력해주세요.');
|
|
84
|
+
setIsLoading(false);
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
if (consult.cc_tel === '') {
|
|
88
|
+
alert('연락처를 입력해주세요.');
|
|
89
|
+
setIsLoading(false);
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (consult.office_code === '') {
|
|
94
|
+
alert('사무소를 선택해주세요');
|
|
95
|
+
setIsLoading(false);
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
// if (consult.law_type_code === '') {
|
|
99
|
+
// alert('사건분야를 선택해주세요');
|
|
100
|
+
// setIsLoading(false);
|
|
101
|
+
// return false;
|
|
102
|
+
// }
|
|
103
|
+
if (consult.contents === '') {
|
|
104
|
+
alert('문의내용을 입력해주세요.');
|
|
105
|
+
setIsLoading(false);
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
insert(conversionType, isMobile);
|
|
110
|
+
if (ace_Click) {
|
|
111
|
+
ace_Click();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
bodyFetch(
|
|
115
|
+
'/api/consult',
|
|
116
|
+
consult,
|
|
117
|
+
(obj: any) => {
|
|
118
|
+
if (obj.result) {
|
|
119
|
+
if (obj.msg) {
|
|
120
|
+
alert(obj.msg);
|
|
121
|
+
setIsLoading(false);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (!obj.isNotComplete) {
|
|
125
|
+
savePowerLinkConversion('online', isMobile);
|
|
126
|
+
router.push('/complete?isConsult=true');
|
|
127
|
+
}
|
|
128
|
+
} else {
|
|
129
|
+
alert('상담 신청에 실패했습니다. 잠시후 다시 시도해주세요.');
|
|
130
|
+
setIsLoading(false);
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
'POST'
|
|
134
|
+
);
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
useEffect(() => {
|
|
138
|
+
setIsMobile(mobile());
|
|
139
|
+
}, []);
|
|
140
|
+
|
|
141
|
+
return (
|
|
142
|
+
<>
|
|
143
|
+
{isLoading ? <Loader fullScreen /> : <></>}
|
|
144
|
+
<PersonalInfoAgreementModal
|
|
145
|
+
modalOn={modalOn}
|
|
146
|
+
closeModal={() => {
|
|
147
|
+
setModalOn(false);
|
|
148
|
+
}}
|
|
149
|
+
/>
|
|
150
|
+
<div
|
|
151
|
+
className={
|
|
152
|
+
'mt-[150px] flex h-[270px] w-full flex-col justify-between rounded-[15px] border-[2px] border-solid border-[#0A89AF] px-[40px] py-[30px] ' +
|
|
153
|
+
//1500px
|
|
154
|
+
'max-3xl:mt-[100px] ' +
|
|
155
|
+
//1024px
|
|
156
|
+
'max-lg:mt-[60px] max-lg:h-[230px] ' +
|
|
157
|
+
//768px
|
|
158
|
+
'max-md:h-auto max-md:p-[35px] ' +
|
|
159
|
+
//480px
|
|
160
|
+
'max-xs:p-[25px] ' +
|
|
161
|
+
//325px
|
|
162
|
+
'max-3xs:p-[20px]'
|
|
163
|
+
}
|
|
164
|
+
>
|
|
165
|
+
<span
|
|
166
|
+
className={
|
|
167
|
+
'relative flex items-end gap-[50px] p-[20px] ' +
|
|
168
|
+
//1500px
|
|
169
|
+
'max-3xl:gap-[40px] ' +
|
|
170
|
+
//1024px
|
|
171
|
+
'max-lg:gap-[30px] max-lg:p-[10px] ' +
|
|
172
|
+
//768px
|
|
173
|
+
'max-md:mb-[20px] max-md:flex-col max-md:items-start max-md:gap-[15px] max-md:p-0 ' +
|
|
174
|
+
//480px
|
|
175
|
+
'max-xs:gap-[10px] max-xs:pt-[5px]'
|
|
176
|
+
}
|
|
177
|
+
>
|
|
178
|
+
<Image
|
|
179
|
+
src={NewChoiceConsult}
|
|
180
|
+
alt={'consult icon'}
|
|
181
|
+
width={207}
|
|
182
|
+
height={195}
|
|
183
|
+
className={
|
|
184
|
+
'h-auto w-[90px] object-contain object-top ' +
|
|
185
|
+
//1024px
|
|
186
|
+
'max-lg:w-[70px] ' +
|
|
187
|
+
//768px
|
|
188
|
+
'max-md:w-[60px] ' +
|
|
189
|
+
//480px
|
|
190
|
+
'max-xs:w-[50px] '
|
|
191
|
+
}
|
|
192
|
+
/>
|
|
193
|
+
<span>
|
|
194
|
+
<h2
|
|
195
|
+
className={
|
|
196
|
+
'text-[38px] font-[800] leading-[48px] tracking-[-1.9px] text-[#0A89AF] ' +
|
|
197
|
+
//1500px
|
|
198
|
+
'max-3xl:text-[36px] max-3xl:leading-[46px] ' +
|
|
199
|
+
//1024px
|
|
200
|
+
'max-lg:text-[30px] max-lg:leading-[40px] ' +
|
|
201
|
+
//480px
|
|
202
|
+
'max-xs:text-[26px] ' +
|
|
203
|
+
//325px
|
|
204
|
+
'max-3xs:text-[24px]'
|
|
205
|
+
}
|
|
206
|
+
>
|
|
207
|
+
개인고객
|
|
208
|
+
</h2>
|
|
209
|
+
<p
|
|
210
|
+
className={
|
|
211
|
+
'mt-[10px] text-[22px] leading-[30px] tracking-[-0.55px] text-[#343434] ' +
|
|
212
|
+
//1500px
|
|
213
|
+
'max-3xl:mt-[5px] max-3xl:text-[20px] max-3xl:leading-[30px] ' +
|
|
214
|
+
//1024px
|
|
215
|
+
'max-lg:mt-[3px] max-lg:text-[16px] max-lg:leading-[22px] '
|
|
216
|
+
}
|
|
217
|
+
>
|
|
218
|
+
각종 민 · 형사상 법률분쟁 등 <br className={'md:hidden'} />
|
|
219
|
+
개인고객 맞춤 법률서비스를 제공합니다.
|
|
220
|
+
</p>
|
|
221
|
+
</span>
|
|
222
|
+
</span>
|
|
223
|
+
<div
|
|
224
|
+
className={
|
|
225
|
+
'flex w-full items-center justify-start gap-[15px] rounded-[15px] bg-[#0A89AF] bg-opacity-5 px-[30px] py-[14px] tracking-[-0.35px] ' +
|
|
226
|
+
//480px
|
|
227
|
+
'max-xs:px-[20px]'
|
|
228
|
+
}
|
|
229
|
+
>
|
|
230
|
+
<Image
|
|
231
|
+
src={ChoiceLock}
|
|
232
|
+
alt={'choice_lock'}
|
|
233
|
+
width={39}
|
|
234
|
+
height={52}
|
|
235
|
+
className={
|
|
236
|
+
'h-auto w-[17px] translate-y-[-1px] ' +
|
|
237
|
+
//1024px
|
|
238
|
+
'max-lg:w-[15px]'
|
|
239
|
+
}
|
|
240
|
+
/>
|
|
241
|
+
<p
|
|
242
|
+
className={
|
|
243
|
+
'break-keep text-lg leading-none tracking-[-0.45px] text-[#3C3C3C] ' +
|
|
244
|
+
//1024px
|
|
245
|
+
'max-lg:text-base max-lg:leading-[20px] ' +
|
|
246
|
+
//480px
|
|
247
|
+
'max-xs:text-[14px] max-xs:leading-[18px] '
|
|
248
|
+
}
|
|
249
|
+
>
|
|
250
|
+
안심하세요! 의뢰인의 상담 내용에 대한 비밀유지를 약속합니다.
|
|
251
|
+
</p>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<span
|
|
256
|
+
className={
|
|
257
|
+
'mt-[50px] flex h-[320px] w-full items-center justify-between gap-[10px] ' +
|
|
258
|
+
//1500px
|
|
259
|
+
'max-3xl:h-[300px] ' +
|
|
260
|
+
//768px
|
|
261
|
+
'max-md:h-auto max-md:flex-col ' +
|
|
262
|
+
//480px
|
|
263
|
+
'max-xs:gap-[5px]'
|
|
264
|
+
}
|
|
265
|
+
>
|
|
266
|
+
<div
|
|
267
|
+
className={
|
|
268
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
269
|
+
//768px
|
|
270
|
+
'max-md:h-[150px] max-md:w-full max-md:max-w-[unset] max-md:flex-row max-md:justify-start max-md:gap-[30px] max-md:p-[40px] ' +
|
|
271
|
+
//480px
|
|
272
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
273
|
+
}
|
|
274
|
+
>
|
|
275
|
+
<span
|
|
276
|
+
className={
|
|
277
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
278
|
+
//768px
|
|
279
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
280
|
+
//480px
|
|
281
|
+
'max-xs:w-[65px]'
|
|
282
|
+
}
|
|
283
|
+
>
|
|
284
|
+
<Image
|
|
285
|
+
src={IconStep01}
|
|
286
|
+
alt={'stepIcon_01'}
|
|
287
|
+
width={102}
|
|
288
|
+
height={116}
|
|
289
|
+
className={'h-auto w-[50%]'}
|
|
290
|
+
/>
|
|
291
|
+
</span>
|
|
292
|
+
<span
|
|
293
|
+
className={
|
|
294
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
295
|
+
//768px
|
|
296
|
+
'max-md:items-start ' +
|
|
297
|
+
//480px
|
|
298
|
+
'max-xs:gap-[5px]'
|
|
299
|
+
}
|
|
300
|
+
>
|
|
301
|
+
<p
|
|
302
|
+
className={
|
|
303
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
304
|
+
//480px
|
|
305
|
+
'max-xs:text-xs'
|
|
306
|
+
}
|
|
307
|
+
>
|
|
308
|
+
STEP 1
|
|
309
|
+
</p>
|
|
310
|
+
<p
|
|
311
|
+
className={
|
|
312
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
313
|
+
//1280px
|
|
314
|
+
'max-xl:text-[20px] ' +
|
|
315
|
+
//480px
|
|
316
|
+
'max-xs:text-[17px]'
|
|
317
|
+
}
|
|
318
|
+
>
|
|
319
|
+
상담문의 접수
|
|
320
|
+
</p>
|
|
321
|
+
<p
|
|
322
|
+
className={
|
|
323
|
+
'text-[17px] text-[#555] ' +
|
|
324
|
+
//1280px
|
|
325
|
+
'max-xl:text-[15px] ' +
|
|
326
|
+
//480px
|
|
327
|
+
'max-xs:text-xs'
|
|
328
|
+
}
|
|
329
|
+
>
|
|
330
|
+
사건경위 파악
|
|
331
|
+
</p>
|
|
332
|
+
</span>
|
|
333
|
+
</div>
|
|
334
|
+
<Image
|
|
335
|
+
src={IconTriangle}
|
|
336
|
+
alt={'arrow'}
|
|
337
|
+
width={12}
|
|
338
|
+
height={36}
|
|
339
|
+
className={
|
|
340
|
+
'h-auto w-[6px] ' +
|
|
341
|
+
//768px
|
|
342
|
+
'max-md:rotate-90'
|
|
343
|
+
}
|
|
344
|
+
/>
|
|
345
|
+
<div
|
|
346
|
+
className={
|
|
347
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
348
|
+
//768px
|
|
349
|
+
'max-md:h-[150px] max-md:w-full max-md:max-w-[unset] max-md:flex-row max-md:justify-start max-md:gap-[30px] max-md:p-[40px] ' +
|
|
350
|
+
//480px
|
|
351
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
352
|
+
}
|
|
353
|
+
>
|
|
354
|
+
<span
|
|
355
|
+
className={
|
|
356
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
357
|
+
//768px
|
|
358
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
359
|
+
//480px
|
|
360
|
+
'max-xs:w-[65px]'
|
|
361
|
+
}
|
|
362
|
+
>
|
|
363
|
+
<Image
|
|
364
|
+
src={IconStep02}
|
|
365
|
+
alt={'stepIcon_02'}
|
|
366
|
+
width={116}
|
|
367
|
+
height={115}
|
|
368
|
+
className={'h-auto w-[50%]'}
|
|
369
|
+
/>
|
|
370
|
+
</span>
|
|
371
|
+
<span
|
|
372
|
+
className={
|
|
373
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
374
|
+
//768px
|
|
375
|
+
'max-md:items-start ' +
|
|
376
|
+
//480px
|
|
377
|
+
'max-xs:gap-[5px]'
|
|
378
|
+
}
|
|
379
|
+
>
|
|
380
|
+
<p
|
|
381
|
+
className={
|
|
382
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
383
|
+
//480px
|
|
384
|
+
'max-xs:text-xs'
|
|
385
|
+
}
|
|
386
|
+
>
|
|
387
|
+
STEP 2
|
|
388
|
+
</p>
|
|
389
|
+
<p
|
|
390
|
+
className={
|
|
391
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
392
|
+
//1280px
|
|
393
|
+
'max-xl:text-[20px] ' +
|
|
394
|
+
//480px
|
|
395
|
+
'max-xs:text-[17px]'
|
|
396
|
+
}
|
|
397
|
+
>
|
|
398
|
+
상담일정 조정
|
|
399
|
+
</p>
|
|
400
|
+
<p
|
|
401
|
+
className={
|
|
402
|
+
'text-[17px] text-[#555] ' +
|
|
403
|
+
//1280px
|
|
404
|
+
'max-xl:text-[15px] ' +
|
|
405
|
+
//480px
|
|
406
|
+
'max-xs:text-xs'
|
|
407
|
+
}
|
|
408
|
+
>
|
|
409
|
+
예약확정문자 발송
|
|
410
|
+
</p>
|
|
411
|
+
</span>
|
|
412
|
+
</div>
|
|
413
|
+
<Image
|
|
414
|
+
src={IconTriangle}
|
|
415
|
+
alt={'arrow'}
|
|
416
|
+
width={12}
|
|
417
|
+
height={36}
|
|
418
|
+
className={
|
|
419
|
+
'h-auto w-[6px] ' +
|
|
420
|
+
//768px
|
|
421
|
+
'max-md:rotate-90'
|
|
422
|
+
}
|
|
423
|
+
/>
|
|
424
|
+
<div
|
|
425
|
+
className={
|
|
426
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
427
|
+
//768px
|
|
428
|
+
'max-md:h-[150px] max-md:w-full max-md:max-w-[unset] max-md:flex-row max-md:justify-start max-md:gap-[30px] max-md:p-[40px] ' +
|
|
429
|
+
//480px
|
|
430
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
431
|
+
}
|
|
432
|
+
>
|
|
433
|
+
<span
|
|
434
|
+
className={
|
|
435
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
436
|
+
//768px
|
|
437
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
438
|
+
//480px
|
|
439
|
+
'max-xs:w-[65px]'
|
|
440
|
+
}
|
|
441
|
+
>
|
|
442
|
+
<Image
|
|
443
|
+
src={IconStep03}
|
|
444
|
+
alt={'stepIcon_03'}
|
|
445
|
+
width={102}
|
|
446
|
+
height={116}
|
|
447
|
+
className={'h-auto w-[50%]'}
|
|
448
|
+
/>
|
|
449
|
+
</span>
|
|
450
|
+
<span
|
|
451
|
+
className={
|
|
452
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
453
|
+
//768px
|
|
454
|
+
'max-md:items-start ' +
|
|
455
|
+
//480px
|
|
456
|
+
'max-xs:gap-[5px]'
|
|
457
|
+
}
|
|
458
|
+
>
|
|
459
|
+
<p
|
|
460
|
+
className={
|
|
461
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
462
|
+
//480px
|
|
463
|
+
'max-xs:text-xs'
|
|
464
|
+
}
|
|
465
|
+
>
|
|
466
|
+
STEP 3
|
|
467
|
+
</p>
|
|
468
|
+
<p
|
|
469
|
+
className={
|
|
470
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
471
|
+
//1280px
|
|
472
|
+
'max-xl:text-[20px] ' +
|
|
473
|
+
//480px
|
|
474
|
+
'max-xs:text-[17px]'
|
|
475
|
+
}
|
|
476
|
+
>
|
|
477
|
+
체계적 법률컨설팅
|
|
478
|
+
</p>
|
|
479
|
+
<p
|
|
480
|
+
className={
|
|
481
|
+
'text-[17px] leading-[24px] text-[#555] ' +
|
|
482
|
+
//1280px
|
|
483
|
+
'max-xl:text-[15px] ' +
|
|
484
|
+
//480px
|
|
485
|
+
'max-xs:text-xs'
|
|
486
|
+
}
|
|
487
|
+
>
|
|
488
|
+
분야별 전문가 <br className={'lg:hidden'} />
|
|
489
|
+
대면상담진행
|
|
490
|
+
</p>
|
|
491
|
+
</span>
|
|
492
|
+
</div>
|
|
493
|
+
<Image
|
|
494
|
+
src={IconTriangle}
|
|
495
|
+
alt={'arrow'}
|
|
496
|
+
width={12}
|
|
497
|
+
height={36}
|
|
498
|
+
className={
|
|
499
|
+
'h-auto w-[6px] ' +
|
|
500
|
+
//768px
|
|
501
|
+
'max-md:rotate-90'
|
|
502
|
+
}
|
|
503
|
+
/>
|
|
504
|
+
<div
|
|
505
|
+
className={
|
|
506
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
507
|
+
//768px
|
|
508
|
+
'max-md:h-[150px] max-md:w-full max-md:max-w-[unset] max-md:flex-row max-md:justify-start max-md:gap-[30px] max-md:p-[40px] ' +
|
|
509
|
+
//480px
|
|
510
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
511
|
+
}
|
|
512
|
+
>
|
|
513
|
+
<span
|
|
514
|
+
className={
|
|
515
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
516
|
+
//768px
|
|
517
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
518
|
+
//480px
|
|
519
|
+
'max-xs:w-[65px]'
|
|
520
|
+
}
|
|
521
|
+
>
|
|
522
|
+
<Image
|
|
523
|
+
src={IconStep04}
|
|
524
|
+
alt={'stepIcon_04'}
|
|
525
|
+
width={102}
|
|
526
|
+
height={116}
|
|
527
|
+
className={'h-auto w-[50%]'}
|
|
528
|
+
/>
|
|
529
|
+
</span>
|
|
530
|
+
<span
|
|
531
|
+
className={
|
|
532
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
533
|
+
//768px
|
|
534
|
+
'max-md:items-start ' +
|
|
535
|
+
//480px
|
|
536
|
+
'max-xs:gap-[5px]'
|
|
537
|
+
}
|
|
538
|
+
>
|
|
539
|
+
<p
|
|
540
|
+
className={
|
|
541
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
542
|
+
//480px
|
|
543
|
+
'max-xs:text-xs '
|
|
544
|
+
}
|
|
545
|
+
>
|
|
546
|
+
STEP 4
|
|
547
|
+
</p>
|
|
548
|
+
<p
|
|
549
|
+
className={
|
|
550
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
551
|
+
//1280px
|
|
552
|
+
'max-xl:text-[20px] ' +
|
|
553
|
+
//480px
|
|
554
|
+
'max-xs:text-[17px]'
|
|
555
|
+
}
|
|
556
|
+
>
|
|
557
|
+
맞춤형 법률서비스
|
|
558
|
+
</p>
|
|
559
|
+
<p
|
|
560
|
+
className={
|
|
561
|
+
'text-[17px] text-[#555] ' +
|
|
562
|
+
//1280px
|
|
563
|
+
'max-xl:text-[15px] ' +
|
|
564
|
+
//480px
|
|
565
|
+
'max-xs:text-xs'
|
|
566
|
+
}
|
|
567
|
+
>
|
|
568
|
+
전문가 TF의 확실한 조력
|
|
569
|
+
</p>
|
|
570
|
+
</span>
|
|
571
|
+
</div>
|
|
572
|
+
</span>
|
|
573
|
+
|
|
574
|
+
<div
|
|
575
|
+
className={
|
|
576
|
+
'relative mb-[50px] mt-[100px] flex h-[220px] w-full flex-col items-center justify-center gap-[10px] text-[#fff] ' +
|
|
577
|
+
//480px
|
|
578
|
+
'max-xs:mb-[25px] max-xs:h-[160px] max-xs:gap-[5px] '
|
|
579
|
+
}
|
|
580
|
+
>
|
|
581
|
+
<Image src={BgConsult} alt={'consult_bg'} fill className={'absolute -z-10 object-fill'} />
|
|
582
|
+
<p
|
|
583
|
+
className={
|
|
584
|
+
'text-lg ' +
|
|
585
|
+
//1024px
|
|
586
|
+
'max-lg:text-base '
|
|
587
|
+
}
|
|
588
|
+
>
|
|
589
|
+
법률상담예약접수
|
|
590
|
+
</p>
|
|
591
|
+
<h3
|
|
592
|
+
className={
|
|
593
|
+
'text-center text-[34px] font-[600] leading-[44px] tracking-[-0.85px] ' +
|
|
594
|
+
//1500px
|
|
595
|
+
'max-3xl:text-[30px] max-3xl:leading-[40px] ' +
|
|
596
|
+
//1024px
|
|
597
|
+
'max-lg:text-[26px] max-lg:leading-[34px] ' +
|
|
598
|
+
//768px
|
|
599
|
+
'max-md:text-[24px] max-md:leading-[32px] ' +
|
|
600
|
+
//480px
|
|
601
|
+
'max-xs:text-[18px] max-xs:leading-[26px] ' +
|
|
602
|
+
//325px
|
|
603
|
+
'max-3xs:text-[18px]'
|
|
604
|
+
}
|
|
605
|
+
>
|
|
606
|
+
법률고민이 있다면 가까운 사무소에서 <br />
|
|
607
|
+
{process.env.NEXT_PUBLIC_KEYWORD}전문변호사와 상담해보세요
|
|
608
|
+
</h3>
|
|
609
|
+
</div>
|
|
610
|
+
|
|
611
|
+
<div className={'relative mb-[60px] mt-[40px] h-auto w-[100%] '}>
|
|
612
|
+
<span
|
|
613
|
+
className={
|
|
614
|
+
'block h-[1px] w-full bg-[#CECECE] ' +
|
|
615
|
+
'after:absolute after:right-0 after:top-0 after:block after:h-[10px] after:w-[10px] after:-translate-y-[50%] after:rounded-full after:bg-[#CECECE] after:content-[""] ' +
|
|
616
|
+
'before:absolute before:left-0 before:top-0 before:block before:h-[10px] before:w-[10px] before:-translate-y-[50%] before:rounded-full before:bg-[#285FA2] before:content-[""]'
|
|
617
|
+
}
|
|
618
|
+
></span>
|
|
619
|
+
<span className={'flex h-auto w-full flex-col px-[26px] py-[22px]'}>
|
|
620
|
+
<div className={'relative mb-[10px] h-auto w-[37px]'}>
|
|
621
|
+
<IconMt />
|
|
622
|
+
</div>
|
|
623
|
+
<p
|
|
624
|
+
className={
|
|
625
|
+
'mb-[10px] break-keep text-[18px] leading-[1.35] tracking-[-0.72px] text-[#6C6C6C] ' +
|
|
626
|
+
//1500px
|
|
627
|
+
'max-3xl:text-[16px] ' +
|
|
628
|
+
//1024px
|
|
629
|
+
'max-lg:text-[18px] max-lg:leading-[1.5] ' +
|
|
630
|
+
//480px
|
|
631
|
+
'max-xs:text-[16px] ' +
|
|
632
|
+
//325px
|
|
633
|
+
'max-3xs:text-[14px]'
|
|
634
|
+
}
|
|
635
|
+
>
|
|
636
|
+
퀄리티 높은 상담 제공을 위해 하루 상담 수에 제한을 두고 있어{' '}
|
|
637
|
+
<span className={'font-bold'}>상담 예약이 빠르게 마감되고 있습니다.</span>
|
|
638
|
+
<br />
|
|
639
|
+
<br className={''} />
|
|
640
|
+
모든 상담은 전문변호사가 사건 검토를 마친 뒤{' '}
|
|
641
|
+
<span className={'font-bold'}>전문적으로 진행하기에 예약제로 실시됩니다.</span>
|
|
642
|
+
<br />
|
|
643
|
+
<br className={''} />
|
|
644
|
+
가급적 빠른 상담 예약을 권유드리며, 예약 시간 준수를 부탁드립니다. 만족스러운 상담을 위해 최선을
|
|
645
|
+
다하겠습니다.
|
|
646
|
+
<br className={''} />
|
|
647
|
+
<br className={''} />※ 단, 상담 예약이 확정된 경우라도 동시간에 긴급한 우선 상담 사안이
|
|
648
|
+
발생하거나 회사 내부사정에 따라 상담 일정이 조정되거나 취소될 수 있습니다.
|
|
649
|
+
</p>
|
|
650
|
+
</span>
|
|
651
|
+
<span
|
|
652
|
+
className={
|
|
653
|
+
'block h-[1px] w-full bg-[#CECECE] ' +
|
|
654
|
+
'after:absolute after:bottom-0 after:right-0 after:block after:h-[10px] after:w-[10px] after:translate-y-[50%] after:rounded-full after:bg-[#285FA2] after:content-[""] ' +
|
|
655
|
+
'before:absolute before:bottom-0 before:left-0 before:block before:h-[10px] before:w-[10px] before:translate-y-[50%] before:rounded-full before:bg-[#CECECE] before:content-[""]'
|
|
656
|
+
}
|
|
657
|
+
></span>
|
|
658
|
+
</div>
|
|
659
|
+
{/*상담입력폼*/}
|
|
660
|
+
<span className={'mb-[200px] block w-full max-xs:mb-[70px]'}>
|
|
661
|
+
<div
|
|
662
|
+
className={
|
|
663
|
+
'flex w-full gap-[45px] ' +
|
|
664
|
+
//1024px
|
|
665
|
+
'max-lg:flex-col ' +
|
|
666
|
+
//480px
|
|
667
|
+
'max-xs:gap-[25px]'
|
|
668
|
+
}
|
|
669
|
+
>
|
|
670
|
+
<div
|
|
671
|
+
className={
|
|
672
|
+
'flex flex-1 flex-col gap-[30px] ' +
|
|
673
|
+
//480px
|
|
674
|
+
'max-xs:gap-[25px]'
|
|
675
|
+
}
|
|
676
|
+
>
|
|
677
|
+
{/*-- 이름 --*/}
|
|
678
|
+
<span
|
|
679
|
+
className={
|
|
680
|
+
'flex h-auto items-center justify-between ' +
|
|
681
|
+
//480px
|
|
682
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
683
|
+
}
|
|
684
|
+
>
|
|
685
|
+
<p
|
|
686
|
+
className={
|
|
687
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
688
|
+
//1024px
|
|
689
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
690
|
+
}
|
|
691
|
+
>
|
|
692
|
+
이름
|
|
693
|
+
</p>
|
|
694
|
+
<input
|
|
695
|
+
name="cc_name"
|
|
696
|
+
value={consult.cc_name}
|
|
697
|
+
id="nameInput"
|
|
698
|
+
placeholder={'입력해주세요'}
|
|
699
|
+
spellCheck={false}
|
|
700
|
+
className={
|
|
701
|
+
'h-[60px] flex-1 border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[18px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
702
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
703
|
+
//1024px
|
|
704
|
+
'max-lg:h-[55px] max-lg:text-[16px] max-lg:leading-[16px] ' +
|
|
705
|
+
//480px
|
|
706
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px]'
|
|
707
|
+
}
|
|
708
|
+
onChange={e => {
|
|
709
|
+
setConsult({ ...consult, cc_name: e.target.value });
|
|
710
|
+
}}
|
|
711
|
+
/>
|
|
712
|
+
</span>
|
|
713
|
+
{/*-- 연락처 --*/}
|
|
714
|
+
<span
|
|
715
|
+
className={
|
|
716
|
+
'flex h-auto items-center justify-between ' +
|
|
717
|
+
//480px
|
|
718
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
719
|
+
}
|
|
720
|
+
>
|
|
721
|
+
<p
|
|
722
|
+
className={
|
|
723
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
724
|
+
//1024px
|
|
725
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
726
|
+
}
|
|
727
|
+
>
|
|
728
|
+
연락처
|
|
729
|
+
</p>
|
|
730
|
+
|
|
731
|
+
<input
|
|
732
|
+
name="cc_tel"
|
|
733
|
+
value={consult.cc_tel}
|
|
734
|
+
id="telInput"
|
|
735
|
+
placeholder={'- 없이 입력해주세요'}
|
|
736
|
+
spellCheck={false}
|
|
737
|
+
className={
|
|
738
|
+
'h-[60px] flex-1 border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[18px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
739
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
740
|
+
//1024px
|
|
741
|
+
'max-lg:h-[55px] max-lg:text-[16px] max-lg:leading-[16px] ' +
|
|
742
|
+
//480px
|
|
743
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px]'
|
|
744
|
+
}
|
|
745
|
+
onChange={e => {
|
|
746
|
+
setConsult({ ...consult, cc_tel: formatPhoneNumber(e.target.value) });
|
|
747
|
+
}}
|
|
748
|
+
/>
|
|
749
|
+
</span>
|
|
750
|
+
{/*-- 사무소 --*/}
|
|
751
|
+
<span
|
|
752
|
+
className={
|
|
753
|
+
'flex h-auto items-center justify-between ' +
|
|
754
|
+
//480px
|
|
755
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
756
|
+
}
|
|
757
|
+
>
|
|
758
|
+
<p
|
|
759
|
+
className={
|
|
760
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
761
|
+
//1024px
|
|
762
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
763
|
+
}
|
|
764
|
+
>
|
|
765
|
+
사무소
|
|
766
|
+
</p>
|
|
767
|
+
<SelectBox
|
|
768
|
+
id={'사무소선택'}
|
|
769
|
+
value={consult.office_code}
|
|
770
|
+
onSelect={(codename, code) => {
|
|
771
|
+
setConsult({ ...consult, office_code: code });
|
|
772
|
+
}}
|
|
773
|
+
items={officesData.map(item => ({
|
|
774
|
+
code: item.code,
|
|
775
|
+
codename: item.code_name || ''
|
|
776
|
+
}))}
|
|
777
|
+
icon={
|
|
778
|
+
<Image
|
|
779
|
+
src={
|
|
780
|
+
process.env.NEXT_PUBLIC_S3_URL +
|
|
781
|
+
'/consult/main/section6/icon_arrow_gray.webp'
|
|
782
|
+
}
|
|
783
|
+
alt={'select icon'}
|
|
784
|
+
width={28}
|
|
785
|
+
height={15}
|
|
786
|
+
className={
|
|
787
|
+
'absolute right-[24px] top-[50%] w-[15px] translate-y-[-50%] max-xs:w-[11px]'
|
|
788
|
+
}
|
|
789
|
+
/>
|
|
790
|
+
}
|
|
791
|
+
style={
|
|
792
|
+
'h-[60px] w-full px-[30px] py-[17px] border-solid border-[1px] border-[#D0D0D0] cursor-pointer transition-[border] text-[18px] ' +
|
|
793
|
+
'focus-visible:outline-none focus-visible:border-[#285FA7] ' +
|
|
794
|
+
//1024px
|
|
795
|
+
'max-lg:text-[16px] max-lg:leading-[16px] max-lg:h-[55px] ' +
|
|
796
|
+
//480px
|
|
797
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] max-xs:h-[52px] '
|
|
798
|
+
}
|
|
799
|
+
parentStyle={'flex-1 ' + 'max-sm:w-full'}
|
|
800
|
+
placeholderOptions={'사무소를 선택해주세요'}
|
|
801
|
+
/>
|
|
802
|
+
</span>
|
|
803
|
+
{/*-- 사건분야 --*/}
|
|
804
|
+
{/*<span*/}
|
|
805
|
+
{/* className={*/}
|
|
806
|
+
{/* 'flex h-auto items-center justify-between ' +*/}
|
|
807
|
+
{/* //480px*/}
|
|
808
|
+
{/* 'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'*/}
|
|
809
|
+
{/* }*/}
|
|
810
|
+
{/*>*/}
|
|
811
|
+
{/* <p*/}
|
|
812
|
+
{/* className={*/}
|
|
813
|
+
{/* 'w-[100px] text-[20px] font-[600] ' +*/}
|
|
814
|
+
{/* //1024px*/}
|
|
815
|
+
{/* 'max-lg:w-[90px] max-lg:text-[18px]'*/}
|
|
816
|
+
{/* }*/}
|
|
817
|
+
{/* >*/}
|
|
818
|
+
{/* 사건분야*/}
|
|
819
|
+
{/* </p>*/}
|
|
820
|
+
{/* <SelectBox*/}
|
|
821
|
+
{/* id={'사건분야 선택'}*/}
|
|
822
|
+
{/* value={consult.law_type_code}*/}
|
|
823
|
+
{/* onSelect={(codename, code) => {*/}
|
|
824
|
+
{/* setConsult({ ...consult, law_type_code: code });*/}
|
|
825
|
+
{/* }}*/}
|
|
826
|
+
{/* items={fieldsData.map(item => ({*/}
|
|
827
|
+
{/* code: item.code,*/}
|
|
828
|
+
{/* codename: item.code_name || ''*/}
|
|
829
|
+
{/* }))}*/}
|
|
830
|
+
{/* icon={*/}
|
|
831
|
+
{/* <Image*/}
|
|
832
|
+
{/* src={*/}
|
|
833
|
+
{/* process.env.NEXT_PUBLIC_S3_URL +*/}
|
|
834
|
+
{/* '/consult/main/section6/icon_arrow_gray.webp'*/}
|
|
835
|
+
{/* }*/}
|
|
836
|
+
{/* alt={'select icon'}*/}
|
|
837
|
+
{/* width={28}*/}
|
|
838
|
+
{/* height={15}*/}
|
|
839
|
+
{/* className={*/}
|
|
840
|
+
{/* 'absolute right-[24px] top-[50%] w-[15px] translate-y-[-50%] max-xs:w-[11px]'*/}
|
|
841
|
+
{/* }*/}
|
|
842
|
+
{/* />*/}
|
|
843
|
+
{/* }*/}
|
|
844
|
+
{/* style={*/}
|
|
845
|
+
{/* 'h-[60px] w-full px-[30px] py-[18px] border-solid border-[1px] border-[#D0D0D0] cursor-pointer transition-[border] text-[18px] ' +*/}
|
|
846
|
+
{/* 'focus-visible:outline-none focus-visible:border-[#285FA7] ' +*/}
|
|
847
|
+
{/* //1024px*/}
|
|
848
|
+
{/* 'max-lg:text-[16px] max-lg:leading-[16px] max-lg:h-[55px] ' +*/}
|
|
849
|
+
{/* //480px*/}
|
|
850
|
+
{/* 'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] max-xs:h-[52px] '*/}
|
|
851
|
+
{/* }*/}
|
|
852
|
+
{/* parentStyle={'flex-1 ' + 'max-sm:w-full'}*/}
|
|
853
|
+
{/* placeholderOptions={'사건분야를 선택해주세요'}*/}
|
|
854
|
+
{/* />*/}
|
|
855
|
+
{/*</span>*/}
|
|
856
|
+
</div>
|
|
857
|
+
<div className={'flex-1'}>
|
|
858
|
+
{/*-- 문의내용 --*/}
|
|
859
|
+
<span
|
|
860
|
+
className={
|
|
861
|
+
'flex h-full items-start justify-between ' +
|
|
862
|
+
//1024px
|
|
863
|
+
'max-lg:h-[200px] ' +
|
|
864
|
+
//480px
|
|
865
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
866
|
+
}
|
|
867
|
+
>
|
|
868
|
+
<p
|
|
869
|
+
className={
|
|
870
|
+
'w-[100px] text-[20px] font-[600] leading-[60px] ' +
|
|
871
|
+
//1024px
|
|
872
|
+
'max-lg:w-[90px] max-lg:text-[18px] max-lg:leading-[55px] ' +
|
|
873
|
+
//480px
|
|
874
|
+
'max-xs:text-lg'
|
|
875
|
+
}
|
|
876
|
+
>
|
|
877
|
+
문의내용
|
|
878
|
+
</p>
|
|
879
|
+
<textarea
|
|
880
|
+
name="contents"
|
|
881
|
+
value={consult.contents}
|
|
882
|
+
id="contentsInput"
|
|
883
|
+
placeholder={'내용을 입력해주세요'}
|
|
884
|
+
spellCheck={false}
|
|
885
|
+
maxLength={700}
|
|
886
|
+
className={
|
|
887
|
+
'h-full flex-1 resize-none border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[20px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
888
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
889
|
+
//1024px
|
|
890
|
+
'max-lg:text-[16px] max-lg:leading-[24px] ' +
|
|
891
|
+
//480px
|
|
892
|
+
'max-xs:h-[170px] max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] '
|
|
893
|
+
}
|
|
894
|
+
onChange={e => {
|
|
895
|
+
setConsult({ ...consult, contents: e.target.value });
|
|
896
|
+
}}
|
|
897
|
+
/>
|
|
898
|
+
</span>
|
|
899
|
+
</div>
|
|
900
|
+
</div>
|
|
901
|
+
{/*-- 전문보기 버튼 --*/}
|
|
902
|
+
<span className={'mt-5 flex justify-end max-md:mt-3'}>
|
|
903
|
+
<button
|
|
904
|
+
className={
|
|
905
|
+
'flex h-[28px] w-[84px] items-center justify-center border-[1px] border-solid border-[#ddd] bg-[#eee] text-[15px] leading-none text-black max-3xl:h-[22px] max-3xl:w-[70px] max-md:h-[24px] max-md:w-[75px] '
|
|
906
|
+
}
|
|
907
|
+
onClick={() => {
|
|
908
|
+
setModalOn(true);
|
|
909
|
+
}}
|
|
910
|
+
>
|
|
911
|
+
전문보기
|
|
912
|
+
</button>
|
|
913
|
+
</span>
|
|
914
|
+
<span className={'mx-auto mt-[40px] block max-w-[570px] max-xs:max-w-[240px]'}>
|
|
915
|
+
{/*-- 동의 체크박스 --*/}
|
|
916
|
+
<span className={'mx-auto mb-[40px] flex w-fit flex-col gap-2'}>
|
|
917
|
+
<label
|
|
918
|
+
className={
|
|
919
|
+
'block w-full cursor-pointer text-[16px] leading-[16px] text-[#5F5F5F] ' +
|
|
920
|
+
'flex items-center gap-[10px] ' +
|
|
921
|
+
'max-sm:justify-center '
|
|
922
|
+
}
|
|
923
|
+
>
|
|
924
|
+
<input
|
|
925
|
+
type="checkbox"
|
|
926
|
+
name="consultCheck"
|
|
927
|
+
id="consultCk"
|
|
928
|
+
className={
|
|
929
|
+
'h-[17px] w-[17px] shrink-0 cursor-pointer outline-none ' +
|
|
930
|
+
'after:pointer-events-none after:block after:h-full after:w-full after:border-[1px] after:border-solid after:border-[#B4B4B4] after:bg-white after:font-[800] after:content-[""] ' +
|
|
931
|
+
'checked:after:border-[#285FA7] checked:after:bg-[#285FA7] checked:after:text-center checked:after:text-[17px] checked:after:leading-[15px] checked:after:text-white checked:after:content-["✓"] '
|
|
932
|
+
}
|
|
933
|
+
onChange={e => {
|
|
934
|
+
setIsCheck(!isCheck);
|
|
935
|
+
}}
|
|
936
|
+
checked={isCheck}
|
|
937
|
+
onKeyDown={e => {
|
|
938
|
+
if (e.key === 'Enter') {
|
|
939
|
+
setIsCheck(!isCheck);
|
|
940
|
+
}
|
|
941
|
+
}}
|
|
942
|
+
/>
|
|
943
|
+
개인정보수집에 동의합니다.
|
|
944
|
+
</label>
|
|
945
|
+
<label
|
|
946
|
+
className={
|
|
947
|
+
'block w-full cursor-pointer text-[16px] leading-[16px] text-[#5F5F5F] ' +
|
|
948
|
+
'flex items-center gap-[10px] '
|
|
949
|
+
}
|
|
950
|
+
>
|
|
951
|
+
<input
|
|
952
|
+
type="checkbox"
|
|
953
|
+
name="isOver14Check"
|
|
954
|
+
id="isOver14Check"
|
|
955
|
+
className={
|
|
956
|
+
'h-[17px] w-[17px] cursor-pointer outline-none ' +
|
|
957
|
+
'after:pointer-events-none after:block after:h-full after:w-full after:border-[1px] after:border-solid after:border-[#B4B4B4] after:bg-white after:font-[800] after:content-[""] ' +
|
|
958
|
+
'checked:after:border-[#285FA7] checked:after:bg-[#285FA7] checked:after:text-center checked:after:text-[17px] checked:after:leading-[15px] checked:after:text-white checked:after:content-["✓"] '
|
|
959
|
+
}
|
|
960
|
+
onChange={e => {
|
|
961
|
+
setIsOver14(!isOver14);
|
|
962
|
+
}}
|
|
963
|
+
checked={isOver14}
|
|
964
|
+
onKeyDown={e => {
|
|
965
|
+
if (e.key === 'Enter') {
|
|
966
|
+
setIsOver14(!isOver14);
|
|
967
|
+
}
|
|
968
|
+
}}
|
|
969
|
+
/>
|
|
970
|
+
만 14세 이상입니다.
|
|
971
|
+
</label>
|
|
972
|
+
</span>
|
|
973
|
+
{/*-- 제출 submit 버튼 --*/}
|
|
974
|
+
<button
|
|
975
|
+
type="button"
|
|
976
|
+
id={'submitBtn'}
|
|
977
|
+
className={
|
|
978
|
+
'h-[70px] w-full cursor-pointer bg-[#285FA7] text-xl tracking-[-0.5px] text-white ' +
|
|
979
|
+
'max-xs:h-[50px] max-xs:text-base'
|
|
980
|
+
}
|
|
981
|
+
onClick={() => {
|
|
982
|
+
consultProcess();
|
|
983
|
+
}}
|
|
984
|
+
disabled={isLoading}
|
|
985
|
+
>
|
|
986
|
+
상담신청서 제출
|
|
987
|
+
</button>
|
|
988
|
+
</span>
|
|
989
|
+
</span>
|
|
990
|
+
</>
|
|
991
|
+
);
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
export default Index;
|