@daeryun/dr_components 1.1.7 → 1.1.8

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.
@@ -16,6 +16,8 @@ import ArrowIcon from '../../asset/images/fix/arrow.webp';
16
16
  import OnlineIconM from '../../asset/images/fix/online_m.webp';
17
17
  import KakaoIconM from '../../asset/images/fix/kakao_m.webp';
18
18
  import CallIconM from '../../asset/images/fix/call_m.webp';
19
+ import CallIconB from '../../../public/images/header/call.webp';
20
+ import CallBoxIcon from '../../../public/images/header/callbox.webp';
19
21
  const Fix = (props) => {
20
22
  const mobile = require('is-mobile');
21
23
  const pathname = usePathname();
@@ -413,12 +415,12 @@ const CallBox = (props) => {
413
415
  return (<>
414
416
  {props.width >= 1024 ? (<div ref={props.callRef} className={'absolute bottom-[0px] right-[112px] z-50 flex h-[101px] w-[309px] items-center rounded-2xl max-5xl:right-[80px] ' +
415
417
  'animate-[fadeIn_0.15s] transition-opacity'}>
416
- <Image src={'/images/header/callbox.webp'} alt={'전화상담 box_pc view'} fill className={`z-[-1]`}/>
418
+ <Image src={CallBoxIcon} alt={'전화상담 box_pc view'} fill className={`z-[-1]`}/>
417
419
 
418
420
  <div className={`flex items-center justify-between px-5`}>
419
421
  {/* 전화 아이콘 */}
420
422
  <div>
421
- <Image src={'/images/header/call.webp'} alt={'변호사 상담접수 전화 아이콘'} width={48} height={48} className={`mr-4`}/>
423
+ <Image src={CallIconB} alt={'변호사 상담접수 전화 아이콘'} width={48} height={48} className={`mr-4`}/>
422
424
  </div>
423
425
  <div id="content_box" className={`${props.customFont} font-bold`}>
424
426
  <p className={'mb-[1px] text-xl tracking-tighter'}>{props.titleTxt}</p>
@@ -426,7 +428,7 @@ const CallBox = (props) => {
426
428
  </div>
427
429
 
428
430
  <button onClick={() => props.cancel(props.callRef, 'call')} ref={closeRef}>
429
- <Image src={'/images/header/menu_x.webp'} width={13.15} height={13.15} alt={'변호사 상담접수 닫기 버튼'} className={'absolute right-[28px] top-[20px] h-auto w-[13.16px] cursor-pointer'}/>
431
+ <Image src={MenuXIcon} width={13.15} height={13.15} alt={'변호사 상담접수 닫기 버튼'} className={'absolute right-[28px] top-[20px] h-auto w-[13.16px] cursor-pointer'}/>
430
432
  </button>
431
433
  </div>
432
434
  </div>) : (<div ref={props.callRef} className={'fixed bottom-[80px] right-[25px] z-50 h-[300px] w-[300px] bg-white px-[30px] py-[26px] shadow-[0_4px_8px_0_rgba(0,0,0,0.1)] ' +
@@ -436,7 +438,7 @@ const CallBox = (props) => {
436
438
  <span className={'z-10 mb-[11px] flex w-full items-center justify-between text-[26px] font-bold leading-[30px] tracking-[-1.3px] max-5xl:text-[20px] max-lg:text-[18px] max-lg:leading-[23px]'}>
437
439
  <p>{props.mobileTitleTxt}</p>
438
440
  <button onClick={() => props.cancel(props.callRef, 'call')} ref={closeRef}>
439
- <Image src={'/images/header/menu_x.webp'} width={54} height={54} alt={'전화상담 닫기'} className={'h-auto w-[20px] cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}/>
441
+ <Image src={MenuXIcon} width={54} height={54} alt={'전화상담 닫기'} className={'h-auto w-[20px] cursor-pointer max-5xl:w-[15px] max-lg:w-[15px]'}/>
440
442
  </button>
441
443
  </span>
442
444
 
@@ -19,6 +19,9 @@ import OnlineIconM from '../../asset/images/fix/online_m.webp';
19
19
  import KakaoIconM from '../../asset/images/fix/kakao_m.webp';
20
20
  import CallIconM from '../../asset/images/fix/call_m.webp';
21
21
 
22
+ import CallIconB from '../../../public/images/header/call.webp';
23
+ import CallBoxIcon from '../../../public/images/header/callbox.webp';
24
+
22
25
  const Fix = (props: {
23
26
  tel: string;
24
27
  aceUrl?: string;
@@ -691,13 +694,13 @@ const CallBox = (props: {
691
694
  'animate-[fadeIn_0.15s] transition-opacity'
692
695
  }
693
696
  >
694
- <Image src={'/images/header/callbox.webp'} alt={'전화상담 box_pc view'} fill className={`z-[-1]`} />
697
+ <Image src={CallBoxIcon} alt={'전화상담 box_pc view'} fill className={`z-[-1]`} />
695
698
 
696
699
  <div className={`flex items-center justify-between px-5`}>
697
700
  {/* 전화 아이콘 */}
698
701
  <div>
699
702
  <Image
700
- src={'/images/header/call.webp'}
703
+ src={CallIconB}
701
704
  alt={'변호사 상담접수 전화 아이콘'}
702
705
  width={48}
703
706
  height={48}
@@ -711,7 +714,7 @@ const CallBox = (props: {
711
714
 
712
715
  <button onClick={() => props.cancel(props.callRef, 'call')} ref={closeRef}>
713
716
  <Image
714
- src={'/images/header/menu_x.webp'}
717
+ src={MenuXIcon}
715
718
  width={13.15}
716
719
  height={13.15}
717
720
  alt={'변호사 상담접수 닫기 버튼'}
@@ -738,7 +741,7 @@ const CallBox = (props: {
738
741
  <p>{props.mobileTitleTxt}</p>
739
742
  <button onClick={() => props.cancel(props.callRef, 'call')} ref={closeRef}>
740
743
  <Image
741
- src={'/images/header/menu_x.webp'}
744
+ src={MenuXIcon}
742
745
  width={54}
743
746
  height={54}
744
747
  alt={'전화상담 닫기'}