@daeryun/dr_components 1.1.76 → 1.1.77

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.
@@ -21,7 +21,6 @@ import { ITermType } from '../page/Login/_types/termType';
21
21
 
22
22
  const NewFooter = ({
23
23
  groupsData,
24
- center_code,
25
24
  tel,
26
25
  logo,
27
26
  aceUrl,
@@ -190,7 +189,8 @@ const NewFooter = ({
190
189
  <div
191
190
  className={
192
191
  'mb-5 font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:flex-col max-xl:justify-center max-xl:gap-[40px] xs:flex xs:items-center ' +
193
- 'max-xl:flex-col max-lg:gap-[10px] '
192
+ 'max-xl:flex-col max-lg:gap-[10px] ' +
193
+ 'max-md:gap-0 '
194
194
  // (isBrochureBtn
195
195
  // ? ' max-xl:flex-col max-xl:gap-[40px]'
196
196
  // : isLogoLong
@@ -408,109 +408,88 @@ const NewFooter = ({
408
408
  ? 'Copyright 주식회사 스카이즈코리아 all rights reserved'
409
409
  : 'Copyright 법무법인(유한) 대륜 all rights reserved'}
410
410
  </p>
411
- <div className={'flex max-xl:justify-center max-xl:gap-1'}>
411
+ <div className={'flex gap-[5px] max-xl:w-full max-xl:justify-center max-xs:gap-5 '}>
412
412
  <Link
413
413
  href="https://www.scourt.go.kr/portal/information/events/search/search.jsp"
414
414
  target="_blank"
415
+ title={'나의 사건 검색 새창열기'}
415
416
  rel="noopener noreferrer nofollow"
417
+ className={'relative flex aspect-square w-11 max-md:w-[40px]'}
416
418
  >
417
- <Image
418
- src={sns01}
419
- alt="나의 사건 검색"
420
- width={66}
421
- height={66}
422
- className={
423
- 'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'
424
- }
425
- />
419
+ <Image src={sns01} alt="나의 사건 검색" fill className={'object-contain'} />
426
420
  </Link>
427
421
 
428
422
  <Link
429
423
  href="https://blog.naver.com/lawfirmdaeryun"
430
424
  target="_blank"
425
+ title={'법무법인(유한) 대륜 공식블로그 새창열기'}
431
426
  rel="noopener noreferrer nofollow"
427
+ className={'relative flex aspect-square w-11 max-md:w-[40px]'}
432
428
  >
433
- <Image
434
- src={sns02}
435
- alt="법무법인(유한) 대륜 공식블로그"
436
- width={37}
437
- height={31}
438
- className={
439
- 'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'
440
- }
441
- />
429
+ <Image src={sns02} alt="법무법인(유한) 대륜 공식블로그" fill className={'object-contain'} />
442
430
  </Link>
443
431
 
444
432
  <Link
445
433
  href="https://pf.kakao.com/_xgxoTlK/chat"
446
434
  target="_blank"
435
+ title={'법무법인(유한) 대륜 카카오톡채널 새창열기'}
447
436
  rel="noopener noreferrer nofollow"
437
+ className={'relative flex aspect-square w-11 max-md:w-[40px]'}
448
438
  onClick={onClickKakao}
449
439
  >
450
440
  <Image
451
441
  src={sns03}
452
442
  alt="법무법인(유한) 대륜 카카오톡채널"
453
- width={66}
454
- height={66}
455
- className={
456
- 'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'
457
- }
443
+ fill
444
+ className={'object-contain'}
458
445
  />
459
446
  </Link>
460
447
 
461
448
  <Link
462
449
  href="https://www.youtube.com/channel/UC3uX0o1sFLj5eHdvZp2T64g/featured"
463
450
  target="_blank"
451
+ title={'법무법인(유한) 대륜 유튜브 새창열기'}
464
452
  rel="noopener noreferrer nofollow"
453
+ className={'relative flex aspect-square w-11 max-md:w-[40px]'}
465
454
  >
466
455
  <Image
467
456
  draggable={false}
468
457
  src={sns04}
469
- alt="법무법인(유한) 대륜 유투브"
470
- width={66}
471
- height={66}
472
- className={
473
- 'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'
474
- }
458
+ alt="법무법인(유한) 대륜 유튜브"
459
+ fill
460
+ className={'object-contain'}
475
461
  />
476
462
  </Link>
477
463
 
478
464
  <Link
479
465
  href="https://www.instagram.com/daeryun_lawfirm/?utm_medium=copy_link"
480
466
  target="_blank"
467
+ title={'법무법인(유한) 대륜 인스타그램 새창열기'}
481
468
  rel="noopener noreferrer nofollow"
469
+ className={'relative flex aspect-square w-11 max-md:w-[40px]'}
482
470
  >
483
471
  <Image
484
472
  draggable={false}
485
473
  src={sns05}
486
474
  alt="법무법인(유한) 대륜 인스타그램"
487
- width={66}
488
- height={66}
489
- className={
490
- 'mr-[5px] h-auto w-[44px] max-md:m-0 max-md:w-[40px] max-xs:mr-[17px] max-xs:w-[45px] max-2xs:w-[40px] max-3xs:w-[35px]'
491
- }
475
+ fill
476
+ className={'object-contain'}
492
477
  />
493
478
  </Link>
494
479
  {isBrochureBtn && isMedical ? (
495
- <MedicalBrochureBtn
496
- width={'280px'}
497
- height={'58px'}
498
- wrapClassName={'ml-4 max-xl:hidden'}
499
- className={'-translate-y-2'}
500
- />
480
+ <MedicalBrochureBtn width={'280px'} height={'58px'} wrapClassName={'ml-4 max-xl:hidden'} />
501
481
  ) : isBrochureBtn ? (
502
482
  <BrochureBtn
503
483
  width={'280px'}
504
484
  height={'58px'}
505
485
  wrapClassName={'ml-4 max-xl:hidden'}
506
- className={'-translate-y-2'}
507
486
  type={brochureType}
508
487
  />
509
488
  ) : (
510
489
  <BrochureBtn
511
490
  width={'280px'}
512
491
  height={'58px'}
513
- className={'ml-4 -translate-y-2 max-xl:hidden'}
492
+ className={'ml-4 max-xl:hidden'}
514
493
  type={'main'}
515
494
  />
516
495
  )}
@@ -600,6 +579,7 @@ const FooterSelectBox = (props: {
600
579
  const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
601
580
 
602
581
  const list = groupsData != null && groupsData.length > 0 ? groupsData : centerLink;
582
+
603
583
  return (
604
584
  <div
605
585
  className={
@@ -610,28 +590,33 @@ const FooterSelectBox = (props: {
610
590
  <div
611
591
  ref={wrapperRef}
612
592
  className={
613
- 'relative h-[68px] w-[290px] ' +
614
- // 'max-xxl:w-[240px] ' +
615
- 'max-xl:w-[300px] ' +
616
- 'max-md:h-[53px] max-md:w-full ' +
617
- 'max-sm:h-[48px] ' +
618
- 'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '
593
+ 'relative z-10 h-[68px] w-[290px] ' +
594
+ 'max-xl:h-[55px] max-xl:w-[300px] ' +
595
+ 'max-md:w-full ' +
596
+ 'max-xs:mt-9 max-xs:w-full '
619
597
  }
620
598
  >
621
599
  <button
622
600
  type="button"
623
601
  className={
624
- 'border-gray-[#707070] h-full w-full appearance-none border border-solid bg-white pr-[30px] font-normal focus:outline-8 focus:outline-blue-500 ' +
625
- // 'max-xxl:text-[16px] ' +
626
- 'max-md:text-[14px] ' +
627
- 'max-xs:px-8 max-xs:text-left max-xs:text-[16px] ' +
628
- 'max-[420px]:px-5 max-[420px]:text-[14px]'
602
+ 'flex h-full w-full appearance-none items-center justify-between border border-solid bg-white px-5 font-normal ' +
603
+ 'focus:outline-8 focus:outline-blue-500 ' +
604
+ 'max-md:text-[16px] ' +
605
+ 'max-xs:text-[17px] '
629
606
  }
630
607
  onClick={() => setIsOpen(!isOpen)}
631
608
  aria-haspopup="listbox"
632
609
  aria-expanded="true"
633
610
  >
634
- 법무법인 대륜 그룹 바로가기
611
+ SJKP 그룹 바로가기
612
+ <Image
613
+ draggable={false}
614
+ src={process.env.NEXT_PUBLIC_S3_URL + '/comp-asset/section10/icon_arrow_gray.webp'}
615
+ alt={'select icon'}
616
+ width={28}
617
+ height={15}
618
+ className={'h-auto w-[15px] max-sm:w-[14px] '}
619
+ />
635
620
  </button>
636
621
 
637
622
  <ul
@@ -648,33 +633,46 @@ const FooterSelectBox = (props: {
648
633
  aria-expanded="true"
649
634
  aria-hidden="false"
650
635
  >
651
- {list.map(
652
- (center, index: number) =>
653
- center.parent_code === 'center' && (
636
+ <li className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100">
637
+ <Link
638
+ href={'https://www.sjkplaw.com'}
639
+ target="_blank"
640
+ title={'새창열기'}
641
+ onClick={() => {
642
+ setIsOpen(!isOpen);
643
+ }}
644
+ >
645
+ 뉴욕본사 SJKP
646
+ </Link>
647
+ </li>
648
+ {list
649
+ .filter(c => c.parent_code === 'center')
650
+ .map((group, index) => {
651
+ return (
654
652
  <React.Fragment key={index}>
655
653
  <li
656
- key={center.code}
657
- value={center.code_name}
654
+ key={group.code}
655
+ value={group.code_name}
658
656
  className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100"
659
657
  >
660
658
  <Link
661
- href={center.domain}
662
- key={index}
659
+ href={group.domain}
663
660
  target="_blank"
664
661
  title={'새창열기'}
665
662
  onClick={() => {
666
663
  setIsOpen(!isOpen);
667
664
  }}
668
665
  >
669
- {center.code === 'CT0000'
670
- ? '법무법인 대륜 변호사 대표사이트'
671
- : center.code_name + center.gubun}
666
+ {group.code === 'CT0000'
667
+ ? '법무법인 대륜 대표사이트'
668
+ : group.code_name + group.gubun}
672
669
  </Link>
673
670
  </li>
674
- {list.map((in_center, index2) => {
675
- return (
676
- in_center.parent_code === 'in_center' &&
677
- center.code === in_center.etc && (
671
+
672
+ {list
673
+ .filter(c => c.etc === group.code && c.parent_code === 'in_center')
674
+ .map((in_center, index2) => {
675
+ return (
678
676
  <React.Fragment key={in_center.code}>
679
677
  <li
680
678
  key={in_center.code}
@@ -712,22 +710,12 @@ const FooterSelectBox = (props: {
712
710
  <></>
713
711
  )}
714
712
  </React.Fragment>
715
- )
716
- );
717
- })}
713
+ );
714
+ })}
718
715
  </React.Fragment>
719
- )
720
- )}
716
+ );
717
+ })}
721
718
  </ul>
722
-
723
- <Image
724
- draggable={false}
725
- src={process.env.NEXT_PUBLIC_S3_URL + '/comp-asset/section10/icon_arrow_gray.webp'}
726
- alt={'select icon'}
727
- width={28}
728
- height={15}
729
- className={'absolute right-[10%] top-[50%] w-[15px] translate-y-[-50%] max-sm:w-[14px]'}
730
- />
731
719
  </div>
732
720
  </div>
733
721
  );
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  /*
110
- ! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
110
+ ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
111
111
  */
112
112
 
113
113
  /*
@@ -3204,6 +3204,10 @@ html {
3204
3204
  width: 2.5rem;
3205
3205
  }
3206
3206
 
3207
+ .w-11 {
3208
+ width: 2.75rem;
3209
+ }
3210
+
3207
3211
  .w-16 {
3208
3212
  width: 4rem;
3209
3213
  }
@@ -9125,16 +9129,20 @@ html {
9125
9129
 
9126
9130
  .backdrop-blur-\[4px\] {
9127
9131
  --tw-backdrop-blur: blur(4px);
9132
+ -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9128
9133
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9129
9134
  }
9130
9135
 
9131
9136
  .backdrop-blur-sm {
9132
9137
  --tw-backdrop-blur: blur(4px);
9138
+ -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9133
9139
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
9134
9140
  }
9135
9141
 
9136
9142
  .transition {
9143
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
9137
9144
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
9145
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
9138
9146
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
9139
9147
  transition-duration: 150ms;
9140
9148
  }
@@ -12102,6 +12110,10 @@ body {
12102
12110
  height: 54px;
12103
12111
  }
12104
12112
 
12113
+ .max-xl\:h-\[55px\] {
12114
+ height: 55px;
12115
+ }
12116
+
12105
12117
  .max-xl\:h-\[580px\] {
12106
12118
  height: 580px;
12107
12119
  }
@@ -18057,6 +18069,10 @@ body {
18057
18069
  margin-top: 2.5rem;
18058
18070
  }
18059
18071
 
18072
+ .max-xs\:mt-9 {
18073
+ margin-top: 2.25rem;
18074
+ }
18075
+
18060
18076
  .max-xs\:mt-\[108px\] {
18061
18077
  margin-top: 108px;
18062
18078
  }
@@ -18444,6 +18460,10 @@ body {
18444
18460
  gap: 0.5rem;
18445
18461
  }
18446
18462
 
18463
+ .max-xs\:gap-5 {
18464
+ gap: 1.25rem;
18465
+ }
18466
+
18447
18467
  .max-xs\:gap-\[10px\] {
18448
18468
  gap: 10px;
18449
18469
  }
@@ -18524,11 +18544,6 @@ body {
18524
18544
  padding-right: 1.5rem;
18525
18545
  }
18526
18546
 
18527
- .max-xs\:px-8 {
18528
- padding-left: 2rem;
18529
- padding-right: 2rem;
18530
- }
18531
-
18532
18547
  .max-xs\:px-\[15px\] {
18533
18548
  padding-left: 15px;
18534
18549
  padding-right: 15px;
@@ -18809,17 +18824,6 @@ body {
18809
18824
  }
18810
18825
  }
18811
18826
 
18812
- @media (max-width: 420px) {
18813
- .max-\[420px\]\:px-5 {
18814
- padding-left: 1.25rem;
18815
- padding-right: 1.25rem;
18816
- }
18817
-
18818
- .max-\[420px\]\:text-\[14px\] {
18819
- font-size: 14px;
18820
- }
18821
- }
18822
-
18823
18827
  @media not all and (min-width: 400px) {
18824
18828
  .max-2xs\:mb-\[18px\] {
18825
18829
  margin-bottom: 18px;