@daeryun/dr_components 0.7.1 → 0.7.2

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.
@@ -23,7 +23,6 @@ import sns04 from '../../asset/images/footer/sns_04.webp';
23
23
  import sns05 from '../../asset/images/footer/sns_05.webp';
24
24
  import BrochureBtn from '../BrochureBtn/BrochureBtn';
25
25
  import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
26
- import { useActionGetTermList } from './_actions/action';
27
26
  const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn, isLogoLong, isMedical, brochureType }) => {
28
27
  const pathname = usePathname();
29
28
  const mobile = require('is-mobile');
@@ -269,48 +268,24 @@ export const FooterLinkList = () => {
269
268
  /**
270
269
  * 로그인 반영 후 푸터
271
270
  */
272
- const { data } = useActionGetTermList();
273
- return (<>
274
- {data && data.length > 0
275
- ? data === null || data === void 0 ? void 0 : data.map((item, key) => {
276
- return (<p key={key}>
277
- <Link href={`https://www.daeryunlaw.com/common/term/${item.terms_code}`} target={'_blank'}>
278
- {item.terms_name}
279
- </Link>
280
- </p>);
281
- })
282
- : null}
283
- <p className={'text-[#285FA7]'}>
284
- <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
285
- 고객만족센터
286
- </Link>
287
- </p>
288
- </>);
289
- /**
290
- * 기존 푸터
291
- */
271
+ // const { data }: { data: ITermType[] } = useActionGetTermList();
272
+ //
292
273
  // return (
293
274
  // <>
294
- // <p>
295
- // <Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
296
- // 면책공고
297
- // </Link>
298
- // </p>
299
- // <p>
300
- // <Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
301
- // 유한책임
302
- // </Link>
303
- // </p>
304
- // <p>
305
- // <Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
306
- // 개인정보처리방침
307
- // </Link>
308
- // </p>
309
- // <p>
310
- // <Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
311
- // 이메일무단수집거부
312
- // </Link>
313
- // </p>
275
+ // {data && data.length > 0
276
+ // ? data?.map((item, key) => {
277
+ // return (
278
+ // <p key={key}>
279
+ // <Link
280
+ // href={`https://www.daeryunlaw.com/common/term/${item.terms_code}`}
281
+ // target={'_blank'}
282
+ // >
283
+ // {item.terms_name}
284
+ // </Link>
285
+ // </p>
286
+ // );
287
+ // })
288
+ // : null}
314
289
  // <p className={'text-[#285FA7]'}>
315
290
  // <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
316
291
  // 고객만족센터
@@ -318,6 +293,36 @@ export const FooterLinkList = () => {
318
293
  // </p>
319
294
  // </>
320
295
  // );
296
+ /**
297
+ * 기존 푸터
298
+ */
299
+ return (<>
300
+ <p>
301
+ <Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
302
+ 면책공고
303
+ </Link>
304
+ </p>
305
+ <p>
306
+ <Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
307
+ 유한책임
308
+ </Link>
309
+ </p>
310
+ <p>
311
+ <Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
312
+ 개인정보처리방침
313
+ </Link>
314
+ </p>
315
+ <p>
316
+ <Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
317
+ 이메일무단수집거부
318
+ </Link>
319
+ </p>
320
+ <p className={'text-[#285FA7]'}>
321
+ <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
322
+ 고객만족센터
323
+ </Link>
324
+ </p>
325
+ </>);
321
326
  };
322
327
  const FooterSelectBox = (props) => {
323
328
  const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
@@ -475,24 +475,57 @@ export const FooterLinkList = () => {
475
475
  * 로그인 반영 후 푸터
476
476
  */
477
477
 
478
- const { data }: { data: ITermType[] } = useActionGetTermList();
478
+ // const { data }: { data: ITermType[] } = useActionGetTermList();
479
+ //
480
+ // return (
481
+ // <>
482
+ // {data && data.length > 0
483
+ // ? data?.map((item, key) => {
484
+ // return (
485
+ // <p key={key}>
486
+ // <Link
487
+ // href={`https://www.daeryunlaw.com/common/term/${item.terms_code}`}
488
+ // target={'_blank'}
489
+ // >
490
+ // {item.terms_name}
491
+ // </Link>
492
+ // </p>
493
+ // );
494
+ // })
495
+ // : null}
496
+ // <p className={'text-[#285FA7]'}>
497
+ // <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
498
+ // 고객만족센터
499
+ // </Link>
500
+ // </p>
501
+ // </>
502
+ // );
479
503
 
504
+ /**
505
+ * 기존 푸터
506
+ */
480
507
  return (
481
508
  <>
482
- {data && data.length > 0
483
- ? data?.map((item, key) => {
484
- return (
485
- <p key={key}>
486
- <Link
487
- href={`https://www.daeryunlaw.com/common/term/${item.terms_code}`}
488
- target={'_blank'}
489
- >
490
- {item.terms_name}
491
- </Link>
492
- </p>
493
- );
494
- })
495
- : null}
509
+ <p>
510
+ <Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
511
+ 면책공고
512
+ </Link>
513
+ </p>
514
+ <p>
515
+ <Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
516
+ 유한책임
517
+ </Link>
518
+ </p>
519
+ <p>
520
+ <Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
521
+ 개인정보처리방침
522
+ </Link>
523
+ </p>
524
+ <p>
525
+ <Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
526
+ 이메일무단수집거부
527
+ </Link>
528
+ </p>
496
529
  <p className={'text-[#285FA7]'}>
497
530
  <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
498
531
  고객만족센터
@@ -500,39 +533,6 @@ export const FooterLinkList = () => {
500
533
  </p>
501
534
  </>
502
535
  );
503
-
504
- /**
505
- * 기존 푸터
506
- */
507
- // return (
508
- // <>
509
- // <p>
510
- // <Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
511
- // 면책공고
512
- // </Link>
513
- // </p>
514
- // <p>
515
- // <Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
516
- // 유한책임
517
- // </Link>
518
- // </p>
519
- // <p>
520
- // <Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
521
- // 개인정보처리방침
522
- // </Link>
523
- // </p>
524
- // <p>
525
- // <Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
526
- // 이메일무단수집거부
527
- // </Link>
528
- // </p>
529
- // <p className={'text-[#285FA7]'}>
530
- // <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
531
- // 고객만족센터
532
- // </Link>
533
- // </p>
534
- // </>
535
- // );
536
536
  };
537
537
 
538
538
  const FooterSelectBox = (props: {