@daeryun/dr_components 1.2.37 → 1.2.39
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/Footer/index.d.ts +3 -1
- package/dist/components/Footer/index.jsx +25 -12
- package/dist/components/Footer/index.tsx +39 -9
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.jsx +16 -4
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.tsx +26 -6
- package/dist/components/Header/PcHeader.jsx +1 -1
- package/dist/components/Header/PcHeader.tsx +1 -1
- package/dist/components/ViewMoreSection/ViewMoreSection.jsx +4 -0
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +4 -0
- package/dist/components/categoryView/CategoryComponent.jsx +6 -1
- package/dist/components/categoryView/CategoryComponent.tsx +9 -1
- package/dist/components/common/hook/index.d.ts +1 -0
- package/dist/components/common/hook/index.js +1 -0
- package/dist/components/common/hook/index.ts +1 -0
- package/dist/components/common/hook/useIsApp.d.ts +2 -0
- package/dist/components/common/hook/useIsApp.js +22 -0
- package/dist/components/common/hook/useIsApp.ts +29 -0
- package/dist/components/hook/useIsApp.d.ts +2 -0
- package/dist/components/hook/useIsApp.js +22 -0
- package/dist/components/hook/useIsApp.ts +29 -0
- package/dist/components/page/Consult/Consult.jsx +232 -222
- package/dist/components/page/Consult/Consult.tsx +598 -599
- package/dist/components/page/Consulting/Consulting.jsx +39 -39
- package/dist/components/page/Consulting/Consulting.tsx +51 -51
- package/dist/components/page/Integrate/Broadcast.d.ts +1 -0
- package/dist/components/page/Integrate/Broadcast.jsx +3 -2
- package/dist/components/page/Integrate/Broadcast.tsx +6 -2
- package/dist/components/page/Integrate/Field.d.ts +1 -0
- package/dist/components/page/Integrate/Field.jsx +5 -2
- package/dist/components/page/Integrate/Field.tsx +9 -2
- package/dist/components/page/Integrate/LawInfo.d.ts +1 -0
- package/dist/components/page/Integrate/LawInfo.jsx +5 -2
- package/dist/components/page/Integrate/LawInfo.tsx +8 -2
- package/dist/components/page/Integrate/Reply.d.ts +1 -0
- package/dist/components/page/Integrate/Reply.jsx +8 -6
- package/dist/components/page/Integrate/Reply.tsx +10 -8
- package/dist/components/page/Integrate/SearchData.jsx +8 -6
- package/dist/components/page/Integrate/SearchData.tsx +8 -0
- package/dist/components/page/Integrate/Success.d.ts +1 -0
- package/dist/components/page/Integrate/Success.jsx +7 -4
- package/dist/components/page/Integrate/Success.tsx +10 -5
- package/dist/components/page/Integrate/Trend.d.ts +1 -0
- package/dist/components/page/Integrate/Trend.jsx +5 -2
- package/dist/components/page/Integrate/Trend.tsx +7 -2
- package/dist/components/page/MapPage/MobileMapKeyDetail.jsx +6 -1
- package/dist/components/page/MapPage/MobileMapKeyDetail.tsx +9 -1
- package/dist/components/page/MapPage/PcMapKeyDetail.jsx +6 -1
- package/dist/components/page/MapPage/PcMapKeyDetail.tsx +9 -1
- package/dist/styles/globals.css +30 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -170,7 +170,7 @@ const Index = ({
|
|
|
170
170
|
//1024px
|
|
171
171
|
'max-lg:gap-[30px] max-lg:p-[10px] ' +
|
|
172
172
|
//768px
|
|
173
|
-
'max-md:mb-[20px] max-md:flex-
|
|
173
|
+
'max-md:mb-[20px] max-md:flex-row-reverse max-md:items-end max-md:justify-between max-md:gap-[15px] max-md:p-0 ' +
|
|
174
174
|
//480px
|
|
175
175
|
'max-xs:gap-[10px] max-xs:pt-[5px]'
|
|
176
176
|
}
|
|
@@ -251,256 +251,348 @@ const Index = ({
|
|
|
251
251
|
</p>
|
|
252
252
|
</div>
|
|
253
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
|
-
/>
|
|
254
|
+
{/*상담입력폼*/}
|
|
255
|
+
<span className={'my-[100px] block w-full max-sm:my-[70px] max-xs:my-10'}>
|
|
345
256
|
<div
|
|
346
257
|
className={
|
|
347
|
-
'
|
|
348
|
-
//
|
|
349
|
-
'max-
|
|
258
|
+
'flex w-full gap-[45px] ' +
|
|
259
|
+
//1024px
|
|
260
|
+
'max-lg:flex-col ' +
|
|
350
261
|
//480px
|
|
351
|
-
'max-xs:gap-[
|
|
262
|
+
'max-xs:gap-[25px]'
|
|
352
263
|
}
|
|
353
264
|
>
|
|
354
|
-
<
|
|
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
|
|
265
|
+
<div
|
|
372
266
|
className={
|
|
373
|
-
'flex flex-
|
|
374
|
-
//768px
|
|
375
|
-
'max-md:items-start ' +
|
|
267
|
+
'flex flex-1 flex-col gap-[30px] ' +
|
|
376
268
|
//480px
|
|
377
|
-
'max-xs:gap-[
|
|
269
|
+
'max-xs:gap-[25px]'
|
|
378
270
|
}
|
|
379
271
|
>
|
|
380
|
-
|
|
272
|
+
{/*-- 이름 --*/}
|
|
273
|
+
<span
|
|
381
274
|
className={
|
|
382
|
-
'
|
|
275
|
+
'flex h-auto items-center justify-between ' +
|
|
383
276
|
//480px
|
|
384
|
-
'max-xs:
|
|
277
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
385
278
|
}
|
|
386
279
|
>
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
280
|
+
<p
|
|
281
|
+
className={
|
|
282
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
283
|
+
//1024px
|
|
284
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
285
|
+
}
|
|
286
|
+
>
|
|
287
|
+
이름
|
|
288
|
+
</p>
|
|
289
|
+
<input
|
|
290
|
+
name="cc_name"
|
|
291
|
+
value={consult.cc_name}
|
|
292
|
+
id="nameInput"
|
|
293
|
+
placeholder={'입력해주세요'}
|
|
294
|
+
spellCheck={false}
|
|
295
|
+
className={
|
|
296
|
+
'h-[60px] flex-1 border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[18px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
297
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
298
|
+
//1024px
|
|
299
|
+
'max-lg:h-[55px] max-lg:text-[16px] max-lg:leading-[16px] ' +
|
|
300
|
+
//480px
|
|
301
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px]'
|
|
302
|
+
}
|
|
303
|
+
onChange={e => {
|
|
304
|
+
setConsult({ ...consult, cc_name: e.target.value });
|
|
305
|
+
}}
|
|
306
|
+
/>
|
|
307
|
+
</span>
|
|
308
|
+
{/*-- 연락처 --*/}
|
|
309
|
+
<span
|
|
390
310
|
className={
|
|
391
|
-
'
|
|
392
|
-
//1280px
|
|
393
|
-
'max-xl:text-[20px] ' +
|
|
311
|
+
'flex h-auto items-center justify-between ' +
|
|
394
312
|
//480px
|
|
395
|
-
'max-xs:
|
|
313
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
396
314
|
}
|
|
397
315
|
>
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
316
|
+
<p
|
|
317
|
+
className={
|
|
318
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
319
|
+
//1024px
|
|
320
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
321
|
+
}
|
|
322
|
+
>
|
|
323
|
+
연락처
|
|
324
|
+
</p>
|
|
325
|
+
|
|
326
|
+
<input
|
|
327
|
+
name="cc_tel"
|
|
328
|
+
value={consult.cc_tel}
|
|
329
|
+
id="telInput"
|
|
330
|
+
placeholder={'- 없이 입력해주세요'}
|
|
331
|
+
spellCheck={false}
|
|
332
|
+
className={
|
|
333
|
+
'h-[60px] flex-1 border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[18px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
334
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
335
|
+
//1024px
|
|
336
|
+
'max-lg:h-[55px] max-lg:text-[16px] max-lg:leading-[16px] ' +
|
|
337
|
+
//480px
|
|
338
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px]'
|
|
339
|
+
}
|
|
340
|
+
onChange={e => {
|
|
341
|
+
setConsult({ ...consult, cc_tel: formatPhoneNumber(e.target.value) });
|
|
342
|
+
}}
|
|
343
|
+
/>
|
|
344
|
+
</span>
|
|
345
|
+
{/*-- 사무소 --*/}
|
|
346
|
+
<span
|
|
401
347
|
className={
|
|
402
|
-
'
|
|
403
|
-
//1280px
|
|
404
|
-
'max-xl:text-[15px] ' +
|
|
348
|
+
'flex h-auto items-center justify-between ' +
|
|
405
349
|
//480px
|
|
406
|
-
'max-xs:
|
|
350
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
407
351
|
}
|
|
408
352
|
>
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
|
|
353
|
+
<p
|
|
354
|
+
className={
|
|
355
|
+
'w-[100px] text-[20px] font-[600] ' +
|
|
356
|
+
//1024px
|
|
357
|
+
'max-lg:w-[90px] max-lg:text-[18px]'
|
|
358
|
+
}
|
|
359
|
+
>
|
|
360
|
+
사무소
|
|
361
|
+
</p>
|
|
362
|
+
<SelectBox
|
|
363
|
+
id={'사무소선택'}
|
|
364
|
+
value={consult.office_code}
|
|
365
|
+
onSelect={(codename, code) => {
|
|
366
|
+
setConsult({ ...consult, office_code: code });
|
|
367
|
+
}}
|
|
368
|
+
items={officesData.map(item => ({
|
|
369
|
+
code: item.code,
|
|
370
|
+
codename: item.code_name || ''
|
|
371
|
+
}))}
|
|
372
|
+
icon={
|
|
373
|
+
<Image
|
|
374
|
+
src={
|
|
375
|
+
process.env.NEXT_PUBLIC_S3_URL +
|
|
376
|
+
'/consult/main/section6/icon_arrow_gray.webp'
|
|
377
|
+
}
|
|
378
|
+
alt={'select icon'}
|
|
379
|
+
width={28}
|
|
380
|
+
height={15}
|
|
381
|
+
className={
|
|
382
|
+
'absolute right-[24px] top-[50%] w-[15px] translate-y-[-50%] max-xs:w-[11px]'
|
|
383
|
+
}
|
|
384
|
+
/>
|
|
385
|
+
}
|
|
386
|
+
style={
|
|
387
|
+
'h-[60px] w-full px-[30px] py-[17px] border-solid border-[1px] border-[#D0D0D0] cursor-pointer transition-[border] text-[18px] ' +
|
|
388
|
+
'focus-visible:outline-none focus-visible:border-[#285FA7] ' +
|
|
389
|
+
//1024px
|
|
390
|
+
'max-lg:text-[16px] max-lg:leading-[16px] max-lg:h-[55px] ' +
|
|
391
|
+
//480px
|
|
392
|
+
'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] max-xs:h-[52px] '
|
|
393
|
+
}
|
|
394
|
+
parentStyle={'flex-1 ' + 'max-sm:w-full'}
|
|
395
|
+
placeholderOptions={'사무소를 선택해주세요'}
|
|
396
|
+
/>
|
|
397
|
+
</span>
|
|
398
|
+
{/*-- 사건분야 --*/}
|
|
399
|
+
{/*<span*/}
|
|
400
|
+
{/* className={*/}
|
|
401
|
+
{/* 'flex h-auto items-center justify-between ' +*/}
|
|
402
|
+
{/* //480px*/}
|
|
403
|
+
{/* 'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'*/}
|
|
404
|
+
{/* }*/}
|
|
405
|
+
{/*>*/}
|
|
406
|
+
{/* <p*/}
|
|
407
|
+
{/* className={*/}
|
|
408
|
+
{/* 'w-[100px] text-[20px] font-[600] ' +*/}
|
|
409
|
+
{/* //1024px*/}
|
|
410
|
+
{/* 'max-lg:w-[90px] max-lg:text-[18px]'*/}
|
|
411
|
+
{/* }*/}
|
|
412
|
+
{/* >*/}
|
|
413
|
+
{/* 사건분야*/}
|
|
414
|
+
{/* </p>*/}
|
|
415
|
+
{/* <SelectBox*/}
|
|
416
|
+
{/* id={'사건분야 선택'}*/}
|
|
417
|
+
{/* value={consult.law_type_code}*/}
|
|
418
|
+
{/* onSelect={(codename, code) => {*/}
|
|
419
|
+
{/* setConsult({ ...consult, law_type_code: code });*/}
|
|
420
|
+
{/* }}*/}
|
|
421
|
+
{/* items={fieldsData.map(item => ({*/}
|
|
422
|
+
{/* code: item.code,*/}
|
|
423
|
+
{/* codename: item.code_name || ''*/}
|
|
424
|
+
{/* }))}*/}
|
|
425
|
+
{/* icon={*/}
|
|
426
|
+
{/* <Image*/}
|
|
427
|
+
{/* src={*/}
|
|
428
|
+
{/* process.env.NEXT_PUBLIC_S3_URL +*/}
|
|
429
|
+
{/* '/consult/main/section6/icon_arrow_gray.webp'*/}
|
|
430
|
+
{/* }*/}
|
|
431
|
+
{/* alt={'select icon'}*/}
|
|
432
|
+
{/* width={28}*/}
|
|
433
|
+
{/* height={15}*/}
|
|
434
|
+
{/* className={*/}
|
|
435
|
+
{/* 'absolute right-[24px] top-[50%] w-[15px] translate-y-[-50%] max-xs:w-[11px]'*/}
|
|
436
|
+
{/* }*/}
|
|
437
|
+
{/* />*/}
|
|
438
|
+
{/* }*/}
|
|
439
|
+
{/* style={*/}
|
|
440
|
+
{/* 'h-[60px] w-full px-[30px] py-[18px] border-solid border-[1px] border-[#D0D0D0] cursor-pointer transition-[border] text-[18px] ' +*/}
|
|
441
|
+
{/* 'focus-visible:outline-none focus-visible:border-[#285FA7] ' +*/}
|
|
442
|
+
{/* //1024px*/}
|
|
443
|
+
{/* 'max-lg:text-[16px] max-lg:leading-[16px] max-lg:h-[55px] ' +*/}
|
|
444
|
+
{/* //480px*/}
|
|
445
|
+
{/* 'max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] max-xs:h-[52px] '*/}
|
|
446
|
+
{/* }*/}
|
|
447
|
+
{/* parentStyle={'flex-1 ' + 'max-sm:w-full'}*/}
|
|
448
|
+
{/* placeholderOptions={'사건분야를 선택해주세요'}*/}
|
|
449
|
+
{/* />*/}
|
|
450
|
+
{/*</span>*/}
|
|
451
|
+
</div>
|
|
452
|
+
<div className={'flex-1'}>
|
|
453
|
+
{/*-- 문의내용 --*/}
|
|
454
|
+
<span
|
|
460
455
|
className={
|
|
461
|
-
'
|
|
456
|
+
'flex h-full items-start justify-between ' +
|
|
457
|
+
//1024px
|
|
458
|
+
'max-lg:h-[200px] ' +
|
|
462
459
|
//480px
|
|
463
|
-
'max-xs:
|
|
460
|
+
'max-xs:flex-col max-xs:items-start max-xs:gap-[10px]'
|
|
464
461
|
}
|
|
465
462
|
>
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
463
|
+
<p
|
|
464
|
+
className={
|
|
465
|
+
'w-[100px] text-[20px] font-[600] leading-[60px] ' +
|
|
466
|
+
//1024px
|
|
467
|
+
'max-lg:w-[90px] max-lg:text-[18px] max-lg:leading-[55px] ' +
|
|
468
|
+
//480px
|
|
469
|
+
'max-xs:text-lg'
|
|
470
|
+
}
|
|
471
|
+
>
|
|
472
|
+
문의내용
|
|
473
|
+
</p>
|
|
474
|
+
<textarea
|
|
475
|
+
name="contents"
|
|
476
|
+
value={consult.contents}
|
|
477
|
+
id="contentsInput"
|
|
478
|
+
placeholder={'내용을 입력해주세요'}
|
|
479
|
+
spellCheck={false}
|
|
480
|
+
maxLength={700}
|
|
481
|
+
className={
|
|
482
|
+
'h-full flex-1 resize-none border-[1px] border-solid border-[#D0D0D0] px-[30px] py-[20px] text-[18px] leading-[18px] placeholder-[#848484] transition-[border] ' +
|
|
483
|
+
'focus-visible:border-[#285FA7] focus-visible:outline-none ' +
|
|
484
|
+
//1024px
|
|
485
|
+
'max-lg:text-[16px] max-lg:leading-[24px] ' +
|
|
486
|
+
//480px
|
|
487
|
+
'max-xs:h-[170px] max-xs:w-full max-xs:px-[20px] max-xs:py-[15px] '
|
|
488
|
+
}
|
|
489
|
+
onChange={e => {
|
|
490
|
+
setConsult({ ...consult, contents: e.target.value });
|
|
491
|
+
}}
|
|
492
|
+
/>
|
|
493
|
+
</span>
|
|
494
|
+
</div>
|
|
495
|
+
</div>
|
|
496
|
+
{/*-- 전문보기 버튼 --*/}
|
|
497
|
+
<span className={'mt-5 flex justify-end max-md:mt-3'}>
|
|
498
|
+
<button
|
|
499
|
+
className={
|
|
500
|
+
'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] '
|
|
501
|
+
}
|
|
502
|
+
onClick={() => {
|
|
503
|
+
setModalOn(true);
|
|
504
|
+
}}
|
|
505
|
+
>
|
|
506
|
+
전문보기
|
|
507
|
+
</button>
|
|
508
|
+
</span>
|
|
509
|
+
<span className={'mx-auto mt-[40px] block max-w-[570px] max-xs:max-w-[240px]'}>
|
|
510
|
+
{/*-- 동의 체크박스 --*/}
|
|
511
|
+
<span className={'mx-auto mb-[40px] flex w-fit flex-col gap-2'}>
|
|
512
|
+
<label
|
|
469
513
|
className={
|
|
470
|
-
'text-[
|
|
471
|
-
|
|
472
|
-
'max-
|
|
473
|
-
//480px
|
|
474
|
-
'max-xs:text-[17px]'
|
|
514
|
+
'block w-full cursor-pointer text-[16px] leading-[16px] text-[#5F5F5F] ' +
|
|
515
|
+
'flex items-center gap-[10px] ' +
|
|
516
|
+
'max-sm:justify-center '
|
|
475
517
|
}
|
|
476
518
|
>
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
519
|
+
<input
|
|
520
|
+
type="checkbox"
|
|
521
|
+
name="consultCheck"
|
|
522
|
+
id="consultCk"
|
|
523
|
+
className={
|
|
524
|
+
'h-[17px] w-[17px] shrink-0 cursor-pointer outline-none ' +
|
|
525
|
+
'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-[""] ' +
|
|
526
|
+
'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-["✓"] '
|
|
527
|
+
}
|
|
528
|
+
onChange={e => {
|
|
529
|
+
setIsCheck(!isCheck);
|
|
530
|
+
}}
|
|
531
|
+
checked={isCheck}
|
|
532
|
+
onKeyDown={e => {
|
|
533
|
+
if (e.key === 'Enter') {
|
|
534
|
+
setIsCheck(!isCheck);
|
|
535
|
+
}
|
|
536
|
+
}}
|
|
537
|
+
/>
|
|
538
|
+
개인정보수집에 동의합니다.
|
|
539
|
+
</label>
|
|
540
|
+
<label
|
|
480
541
|
className={
|
|
481
|
-
'text-[
|
|
482
|
-
|
|
483
|
-
'max-xl:text-[15px] ' +
|
|
484
|
-
//480px
|
|
485
|
-
'max-xs:text-xs'
|
|
542
|
+
'block w-full cursor-pointer text-[16px] leading-[16px] text-[#5F5F5F] ' +
|
|
543
|
+
'flex items-center gap-[10px] '
|
|
486
544
|
}
|
|
487
545
|
>
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
546
|
+
<input
|
|
547
|
+
type="checkbox"
|
|
548
|
+
name="isOver14Check"
|
|
549
|
+
id="isOver14Check"
|
|
550
|
+
className={
|
|
551
|
+
'h-[17px] w-[17px] cursor-pointer outline-none ' +
|
|
552
|
+
'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-[""] ' +
|
|
553
|
+
'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-["✓"] '
|
|
554
|
+
}
|
|
555
|
+
onChange={e => {
|
|
556
|
+
setIsOver14(!isOver14);
|
|
557
|
+
}}
|
|
558
|
+
checked={isOver14}
|
|
559
|
+
onKeyDown={e => {
|
|
560
|
+
if (e.key === 'Enter') {
|
|
561
|
+
setIsOver14(!isOver14);
|
|
562
|
+
}
|
|
563
|
+
}}
|
|
564
|
+
/>
|
|
565
|
+
만 14세 이상입니다.
|
|
566
|
+
</label>
|
|
491
567
|
</span>
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
568
|
+
{/*-- 제출 submit 버튼 --*/}
|
|
569
|
+
<button
|
|
570
|
+
type="button"
|
|
571
|
+
id={'submitBtn'}
|
|
572
|
+
className={
|
|
573
|
+
'h-[70px] w-full cursor-pointer bg-[#285FA7] text-xl tracking-[-0.5px] text-white ' +
|
|
574
|
+
'max-xs:h-[50px] max-xs:text-base'
|
|
575
|
+
}
|
|
576
|
+
onClick={() => {
|
|
577
|
+
consultProcess();
|
|
578
|
+
}}
|
|
579
|
+
disabled={isLoading}
|
|
580
|
+
>
|
|
581
|
+
상담신청서 제출
|
|
582
|
+
</button>
|
|
583
|
+
</span>
|
|
584
|
+
</span>
|
|
585
|
+
<span
|
|
586
|
+
className={
|
|
587
|
+
'mt-[50px] flex h-[320px] w-full items-center justify-between gap-[10px] ' +
|
|
588
|
+
//1500px
|
|
589
|
+
'max-3xl:h-[300px] ' +
|
|
590
|
+
//768px
|
|
591
|
+
'max-md:h-auto max-md:flex-col ' +
|
|
592
|
+
//480px
|
|
593
|
+
'max-xs:gap-[5px]'
|
|
594
|
+
}
|
|
595
|
+
>
|
|
504
596
|
<div
|
|
505
597
|
className={
|
|
506
598
|
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
@@ -520,8 +612,8 @@ const Index = ({
|
|
|
520
612
|
}
|
|
521
613
|
>
|
|
522
614
|
<Image
|
|
523
|
-
src={
|
|
524
|
-
alt={'
|
|
615
|
+
src={IconStep01}
|
|
616
|
+
alt={'stepIcon_01'}
|
|
525
617
|
width={102}
|
|
526
618
|
height={116}
|
|
527
619
|
className={'h-auto w-[50%]'}
|
|
@@ -540,10 +632,10 @@ const Index = ({
|
|
|
540
632
|
className={
|
|
541
633
|
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
542
634
|
//480px
|
|
543
|
-
'max-xs:text-xs
|
|
635
|
+
'max-xs:text-xs'
|
|
544
636
|
}
|
|
545
637
|
>
|
|
546
|
-
STEP
|
|
638
|
+
STEP 1
|
|
547
639
|
</p>
|
|
548
640
|
<p
|
|
549
641
|
className={
|
|
@@ -554,7 +646,7 @@ const Index = ({
|
|
|
554
646
|
'max-xs:text-[17px]'
|
|
555
647
|
}
|
|
556
648
|
>
|
|
557
|
-
|
|
649
|
+
상담문의 접수
|
|
558
650
|
</p>
|
|
559
651
|
<p
|
|
560
652
|
className={
|
|
@@ -565,428 +657,335 @@ const Index = ({
|
|
|
565
657
|
'max-xs:text-xs'
|
|
566
658
|
}
|
|
567
659
|
>
|
|
568
|
-
|
|
660
|
+
사건경위 파악
|
|
569
661
|
</p>
|
|
570
662
|
</span>
|
|
571
663
|
</div>
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
|
664
|
+
<Image
|
|
665
|
+
src={IconTriangle}
|
|
666
|
+
alt={'arrow'}
|
|
667
|
+
width={12}
|
|
668
|
+
height={36}
|
|
583
669
|
className={
|
|
584
|
-
'
|
|
585
|
-
//
|
|
586
|
-
'max-
|
|
670
|
+
'h-auto w-[6px] ' +
|
|
671
|
+
//768px
|
|
672
|
+
'max-md:rotate-90'
|
|
587
673
|
}
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
</p>
|
|
591
|
-
<h3
|
|
674
|
+
/>
|
|
675
|
+
<div
|
|
592
676
|
className={
|
|
593
|
-
'
|
|
594
|
-
//1500px
|
|
595
|
-
'max-3xl:text-[30px] max-3xl:leading-[40px] ' +
|
|
596
|
-
//1024px
|
|
597
|
-
'max-lg:text-[26px] max-lg:leading-[34px] ' +
|
|
677
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
598
678
|
//768px
|
|
599
|
-
'max-md:
|
|
679
|
+
'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] ' +
|
|
600
680
|
//480px
|
|
601
|
-
'max-xs:
|
|
602
|
-
//325px
|
|
603
|
-
'max-3xs:text-[18px]'
|
|
681
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
604
682
|
}
|
|
605
683
|
>
|
|
606
|
-
|
|
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
|
|
684
|
+
<span
|
|
624
685
|
className={
|
|
625
|
-
'mb-[10px]
|
|
626
|
-
//
|
|
627
|
-
'max-
|
|
628
|
-
//1024px
|
|
629
|
-
'max-lg:text-[18px] max-lg:leading-[1.5] ' +
|
|
686
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
687
|
+
//768px
|
|
688
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
630
689
|
//480px
|
|
631
|
-
'max-xs:
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
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
|
|
690
|
+
'max-xs:w-[65px]'
|
|
691
|
+
}
|
|
692
|
+
>
|
|
693
|
+
<Image
|
|
694
|
+
src={IconStep02}
|
|
695
|
+
alt={'stepIcon_02'}
|
|
696
|
+
width={116}
|
|
697
|
+
height={115}
|
|
698
|
+
className={'h-auto w-[50%]'}
|
|
699
|
+
/>
|
|
700
|
+
</span>
|
|
701
|
+
<span
|
|
671
702
|
className={
|
|
672
|
-
'flex flex-
|
|
703
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
704
|
+
//768px
|
|
705
|
+
'max-md:items-start ' +
|
|
673
706
|
//480px
|
|
674
|
-
'max-xs:gap-[
|
|
707
|
+
'max-xs:gap-[5px]'
|
|
675
708
|
}
|
|
676
709
|
>
|
|
677
|
-
|
|
678
|
-
<span
|
|
710
|
+
<p
|
|
679
711
|
className={
|
|
680
|
-
'
|
|
712
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
681
713
|
//480px
|
|
682
|
-
'max-xs:
|
|
714
|
+
'max-xs:text-xs'
|
|
683
715
|
}
|
|
684
716
|
>
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
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
|
|
717
|
+
STEP 2
|
|
718
|
+
</p>
|
|
719
|
+
<p
|
|
715
720
|
className={
|
|
716
|
-
'
|
|
721
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
722
|
+
//1280px
|
|
723
|
+
'max-xl:text-[20px] ' +
|
|
717
724
|
//480px
|
|
718
|
-
'max-xs:
|
|
725
|
+
'max-xs:text-[17px]'
|
|
719
726
|
}
|
|
720
727
|
>
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
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
|
|
728
|
+
상담일정 조정
|
|
729
|
+
</p>
|
|
730
|
+
<p
|
|
752
731
|
className={
|
|
753
|
-
'
|
|
732
|
+
'text-[17px] text-[#555] ' +
|
|
733
|
+
//1280px
|
|
734
|
+
'max-xl:text-[15px] ' +
|
|
754
735
|
//480px
|
|
755
|
-
'max-xs:
|
|
736
|
+
'max-xs:text-xs'
|
|
756
737
|
}
|
|
757
738
|
>
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
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
|
|
739
|
+
예약확정문자 발송
|
|
740
|
+
</p>
|
|
741
|
+
</span>
|
|
742
|
+
</div>
|
|
743
|
+
<Image
|
|
744
|
+
src={IconTriangle}
|
|
745
|
+
alt={'arrow'}
|
|
746
|
+
width={12}
|
|
747
|
+
height={36}
|
|
748
|
+
className={
|
|
749
|
+
'h-auto w-[6px] ' +
|
|
750
|
+
//768px
|
|
751
|
+
'max-md:rotate-90'
|
|
752
|
+
}
|
|
753
|
+
/>
|
|
754
|
+
<div
|
|
755
|
+
className={
|
|
756
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
757
|
+
//768px
|
|
758
|
+
'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] ' +
|
|
759
|
+
//480px
|
|
760
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
761
|
+
}
|
|
762
|
+
>
|
|
763
|
+
<span
|
|
764
|
+
className={
|
|
765
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
766
|
+
//768px
|
|
767
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
768
|
+
//480px
|
|
769
|
+
'max-xs:w-[65px]'
|
|
770
|
+
}
|
|
771
|
+
>
|
|
772
|
+
<Image
|
|
773
|
+
src={IconStep03}
|
|
774
|
+
alt={'stepIcon_03'}
|
|
775
|
+
width={102}
|
|
776
|
+
height={116}
|
|
777
|
+
className={'h-auto w-[50%]'}
|
|
778
|
+
/>
|
|
779
|
+
</span>
|
|
780
|
+
<span
|
|
781
|
+
className={
|
|
782
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
783
|
+
//768px
|
|
784
|
+
'max-md:items-start ' +
|
|
785
|
+
//480px
|
|
786
|
+
'max-xs:gap-[5px]'
|
|
787
|
+
}
|
|
788
|
+
>
|
|
789
|
+
<p
|
|
860
790
|
className={
|
|
861
|
-
'
|
|
862
|
-
//1024px
|
|
863
|
-
'max-lg:h-[200px] ' +
|
|
791
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
864
792
|
//480px
|
|
865
|
-
'max-xs:
|
|
793
|
+
'max-xs:text-xs'
|
|
866
794
|
}
|
|
867
795
|
>
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
onChange={e => {
|
|
895
|
-
setConsult({ ...consult, contents: e.target.value });
|
|
896
|
-
}}
|
|
897
|
-
/>
|
|
898
|
-
</span>
|
|
899
|
-
</div>
|
|
796
|
+
STEP 3
|
|
797
|
+
</p>
|
|
798
|
+
<p
|
|
799
|
+
className={
|
|
800
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
801
|
+
//1280px
|
|
802
|
+
'max-xl:text-[20px] ' +
|
|
803
|
+
//480px
|
|
804
|
+
'max-xs:text-[17px]'
|
|
805
|
+
}
|
|
806
|
+
>
|
|
807
|
+
체계적 법률컨설팅
|
|
808
|
+
</p>
|
|
809
|
+
<p
|
|
810
|
+
className={
|
|
811
|
+
'text-[17px] leading-[24px] text-[#555] ' +
|
|
812
|
+
//1280px
|
|
813
|
+
'max-xl:text-[15px] ' +
|
|
814
|
+
//480px
|
|
815
|
+
'max-xs:text-xs'
|
|
816
|
+
}
|
|
817
|
+
>
|
|
818
|
+
분야별 전문가 <br className={'lg:hidden'} />
|
|
819
|
+
대면상담진행
|
|
820
|
+
</p>
|
|
821
|
+
</span>
|
|
900
822
|
</div>
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
823
|
+
<Image
|
|
824
|
+
src={IconTriangle}
|
|
825
|
+
alt={'arrow'}
|
|
826
|
+
width={12}
|
|
827
|
+
height={36}
|
|
828
|
+
className={
|
|
829
|
+
'h-auto w-[6px] ' +
|
|
830
|
+
//768px
|
|
831
|
+
'max-md:rotate-90'
|
|
832
|
+
}
|
|
833
|
+
/>
|
|
834
|
+
<div
|
|
835
|
+
className={
|
|
836
|
+
'relative flex h-full max-w-[320px] flex-1 flex-col items-center justify-center gap-[10px] bg-[#F8F8F8] ' +
|
|
837
|
+
//768px
|
|
838
|
+
'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] ' +
|
|
839
|
+
//480px
|
|
840
|
+
'max-xs:gap-[20px] max-xs:p-[20px] '
|
|
841
|
+
}
|
|
842
|
+
>
|
|
843
|
+
<span
|
|
904
844
|
className={
|
|
905
|
-
'
|
|
845
|
+
'mb-[10px] flex aspect-square w-[35%] items-center justify-center rounded-full bg-[#fff] ' +
|
|
846
|
+
//768px
|
|
847
|
+
'max-md:m-0 max-md:w-[100px] ' +
|
|
848
|
+
//480px
|
|
849
|
+
'max-xs:w-[65px]'
|
|
906
850
|
}
|
|
907
|
-
onClick={() => {
|
|
908
|
-
setModalOn(true);
|
|
909
|
-
}}
|
|
910
851
|
>
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
852
|
+
<Image
|
|
853
|
+
src={IconStep04}
|
|
854
|
+
alt={'stepIcon_04'}
|
|
855
|
+
width={102}
|
|
856
|
+
height={116}
|
|
857
|
+
className={'h-auto w-[50%]'}
|
|
858
|
+
/>
|
|
859
|
+
</span>
|
|
860
|
+
<span
|
|
861
|
+
className={
|
|
862
|
+
'flex flex-col items-center justify-center gap-[10px] ' +
|
|
863
|
+
//768px
|
|
864
|
+
'max-md:items-start ' +
|
|
865
|
+
//480px
|
|
866
|
+
'max-xs:gap-[5px]'
|
|
867
|
+
}
|
|
868
|
+
>
|
|
869
|
+
<p
|
|
918
870
|
className={
|
|
919
|
-
'
|
|
920
|
-
|
|
921
|
-
'max-
|
|
871
|
+
'text-[17px] font-[800] text-[#285EA7] ' +
|
|
872
|
+
//480px
|
|
873
|
+
'max-xs:text-xs '
|
|
922
874
|
}
|
|
923
875
|
>
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
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
|
|
876
|
+
STEP 4
|
|
877
|
+
</p>
|
|
878
|
+
<p
|
|
946
879
|
className={
|
|
947
|
-
'
|
|
948
|
-
|
|
880
|
+
'text-[24px] font-[800] tracking-[-0.6px] ' +
|
|
881
|
+
//1280px
|
|
882
|
+
'max-xl:text-[20px] ' +
|
|
883
|
+
//480px
|
|
884
|
+
'max-xs:text-[17px]'
|
|
949
885
|
}
|
|
950
886
|
>
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
onKeyDown={e => {
|
|
965
|
-
if (e.key === 'Enter') {
|
|
966
|
-
setIsOver14(!isOver14);
|
|
967
|
-
}
|
|
968
|
-
}}
|
|
969
|
-
/>
|
|
970
|
-
만 14세 이상입니다.
|
|
971
|
-
</label>
|
|
887
|
+
맞춤형 법률서비스
|
|
888
|
+
</p>
|
|
889
|
+
<p
|
|
890
|
+
className={
|
|
891
|
+
'text-[17px] text-[#555] ' +
|
|
892
|
+
//1280px
|
|
893
|
+
'max-xl:text-[15px] ' +
|
|
894
|
+
//480px
|
|
895
|
+
'max-xs:text-xs'
|
|
896
|
+
}
|
|
897
|
+
>
|
|
898
|
+
전문가 TF의 확실한 조력
|
|
899
|
+
</p>
|
|
972
900
|
</span>
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
901
|
+
</div>
|
|
902
|
+
</span>
|
|
903
|
+
|
|
904
|
+
{/*<div*/}
|
|
905
|
+
{/* className={*/}
|
|
906
|
+
{/* 'relative mb-[50px] mt-[100px] flex h-[220px] w-full flex-col items-center justify-center gap-[10px] text-[#fff] ' +*/}
|
|
907
|
+
{/* //480px*/}
|
|
908
|
+
{/* 'max-xs:mb-[25px] max-xs:h-[160px] max-xs:gap-[5px] '*/}
|
|
909
|
+
{/* }*/}
|
|
910
|
+
{/*>*/}
|
|
911
|
+
{/* <Image src={BgConsult} alt={'consult_bg'} fill className={'absolute -z-10 object-fill'} />*/}
|
|
912
|
+
{/* <p*/}
|
|
913
|
+
{/* className={*/}
|
|
914
|
+
{/* 'text-lg ' +*/}
|
|
915
|
+
{/* //1024px*/}
|
|
916
|
+
{/* 'max-lg:text-base '*/}
|
|
917
|
+
{/* }*/}
|
|
918
|
+
{/* >*/}
|
|
919
|
+
{/* 법률상담예약접수*/}
|
|
920
|
+
{/* </p>*/}
|
|
921
|
+
{/* <h3*/}
|
|
922
|
+
{/* className={*/}
|
|
923
|
+
{/* 'text-center text-[34px] font-[600] leading-[44px] tracking-[-0.85px] ' +*/}
|
|
924
|
+
{/* //1500px*/}
|
|
925
|
+
{/* 'max-3xl:text-[30px] max-3xl:leading-[40px] ' +*/}
|
|
926
|
+
{/* //1024px*/}
|
|
927
|
+
{/* 'max-lg:text-[26px] max-lg:leading-[34px] ' +*/}
|
|
928
|
+
{/* //768px*/}
|
|
929
|
+
{/* 'max-md:text-[24px] max-md:leading-[32px] ' +*/}
|
|
930
|
+
{/* //480px*/}
|
|
931
|
+
{/* 'max-xs:text-[18px] max-xs:leading-[26px] ' +*/}
|
|
932
|
+
{/* //325px*/}
|
|
933
|
+
{/* 'max-3xs:text-[18px]'*/}
|
|
934
|
+
{/* }*/}
|
|
935
|
+
{/* >*/}
|
|
936
|
+
{/* 법률고민이 있다면 가까운 사무소에서 <br />*/}
|
|
937
|
+
{/* {process.env.NEXT_PUBLIC_KEYWORD}전문변호사와 상담해보세요*/}
|
|
938
|
+
{/* </h3>*/}
|
|
939
|
+
{/*</div>*/}
|
|
940
|
+
|
|
941
|
+
<div className={'relative mb-[60px] mt-[40px] h-auto w-[100%] '}>
|
|
942
|
+
<span
|
|
943
|
+
className={
|
|
944
|
+
'block h-[1px] w-full bg-[#CECECE] ' +
|
|
945
|
+
'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-[""] ' +
|
|
946
|
+
'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-[""]'
|
|
947
|
+
}
|
|
948
|
+
></span>
|
|
949
|
+
<span className={'flex h-auto w-full flex-col px-[26px] py-[22px]'}>
|
|
950
|
+
<div className={'relative mb-[10px] h-auto w-[37px]'}>
|
|
951
|
+
<IconMt />
|
|
952
|
+
</div>
|
|
953
|
+
<p
|
|
977
954
|
className={
|
|
978
|
-
'
|
|
979
|
-
|
|
955
|
+
'mb-[10px] break-keep text-[18px] leading-[1.35] tracking-[-0.72px] text-[#6C6C6C] ' +
|
|
956
|
+
//1500px
|
|
957
|
+
'max-3xl:text-[16px] ' +
|
|
958
|
+
//1024px
|
|
959
|
+
'max-lg:text-[18px] max-lg:leading-[1.5] ' +
|
|
960
|
+
//480px
|
|
961
|
+
'max-xs:text-[16px] ' +
|
|
962
|
+
//325px
|
|
963
|
+
'max-3xs:text-[14px]'
|
|
980
964
|
}
|
|
981
|
-
onClick={() => {
|
|
982
|
-
consultProcess();
|
|
983
|
-
}}
|
|
984
|
-
disabled={isLoading}
|
|
985
965
|
>
|
|
986
|
-
|
|
987
|
-
|
|
966
|
+
퀄리티 높은 상담 제공을 위해 하루 상담 수에 제한을 두고 있어{' '}
|
|
967
|
+
<span className={'font-bold'}>상담 예약이 빠르게 마감되고 있습니다.</span>
|
|
968
|
+
<br />
|
|
969
|
+
<br className={''} />
|
|
970
|
+
모든 상담은 전문변호사가 사건 검토를 마친 뒤{' '}
|
|
971
|
+
<span className={'font-bold'}>전문적으로 진행하기에 예약제로 실시됩니다.</span>
|
|
972
|
+
<br />
|
|
973
|
+
<br className={''} />
|
|
974
|
+
가급적 빠른 상담 예약을 권유드리며, 예약 시간 준수를 부탁드립니다. 만족스러운 상담을 위해 최선을
|
|
975
|
+
다하겠습니다.
|
|
976
|
+
<br className={''} />
|
|
977
|
+
<br className={''} />※ 단, 상담 예약이 확정된 경우라도 동시간에 긴급한 우선 상담 사안이
|
|
978
|
+
발생하거나 회사 내부사정에 따라 상담 일정이 조정되거나 취소될 수 있습니다.
|
|
979
|
+
</p>
|
|
988
980
|
</span>
|
|
989
|
-
|
|
981
|
+
<span
|
|
982
|
+
className={
|
|
983
|
+
'block h-[1px] w-full bg-[#CECECE] ' +
|
|
984
|
+
'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-[""] ' +
|
|
985
|
+
'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-[""]'
|
|
986
|
+
}
|
|
987
|
+
></span>
|
|
988
|
+
</div>
|
|
990
989
|
</>
|
|
991
990
|
);
|
|
992
991
|
};
|