@daeryun/dr_components 1.0.31 → 1.0.33
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.jsx +41 -46
- package/dist/components/Footer/index.tsx +48 -48
- package/dist/components/Header/PcHeader.jsx +1 -1
- package/dist/components/Header/PcHeader.tsx +1 -1
- package/dist/components/page/index.d.ts +5 -0
- package/dist/components/page/index.js +5 -0
- package/dist/components/page/index.ts +5 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ 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';
|
|
26
27
|
const NewFooter = ({ groupsData, center_code, tel, logo, aceUrl, isBrochureBtn, isLogoLong, isMedical, brochureType }) => {
|
|
27
28
|
const pathname = usePathname();
|
|
28
29
|
const mobile = require('is-mobile');
|
|
@@ -268,24 +269,48 @@ export const FooterLinkList = () => {
|
|
|
268
269
|
/**
|
|
269
270
|
* 로그인 반영 후 푸터
|
|
270
271
|
*/
|
|
271
|
-
|
|
272
|
-
|
|
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
|
+
// */
|
|
273
292
|
// return (
|
|
274
293
|
// <>
|
|
275
|
-
//
|
|
276
|
-
//
|
|
277
|
-
//
|
|
278
|
-
//
|
|
279
|
-
//
|
|
280
|
-
//
|
|
281
|
-
//
|
|
282
|
-
//
|
|
283
|
-
//
|
|
284
|
-
//
|
|
285
|
-
//
|
|
286
|
-
//
|
|
287
|
-
//
|
|
288
|
-
//
|
|
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>
|
|
289
314
|
// <p className={'text-[#285FA7]'}>
|
|
290
315
|
// <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
|
|
291
316
|
// 고객만족센터
|
|
@@ -293,36 +318,6 @@ export const FooterLinkList = () => {
|
|
|
293
318
|
// </p>
|
|
294
319
|
// </>
|
|
295
320
|
// );
|
|
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
|
-
</>);
|
|
326
321
|
};
|
|
327
322
|
const FooterSelectBox = (props) => {
|
|
328
323
|
const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, centerLink, routeLocation, groupsData } = props;
|
|
@@ -475,57 +475,24 @@ export const FooterLinkList = () => {
|
|
|
475
475
|
* 로그인 반영 후 푸터
|
|
476
476
|
*/
|
|
477
477
|
|
|
478
|
-
|
|
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
|
-
// );
|
|
478
|
+
const { data }: { data: ITermType[] } = useActionGetTermList();
|
|
503
479
|
|
|
504
|
-
/**
|
|
505
|
-
* 기존 푸터
|
|
506
|
-
*/
|
|
507
480
|
return (
|
|
508
481
|
<>
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
</p>
|
|
524
|
-
<p>
|
|
525
|
-
<Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
|
|
526
|
-
이메일무단수집거부
|
|
527
|
-
</Link>
|
|
528
|
-
</p>
|
|
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}
|
|
529
496
|
<p className={'text-[#285FA7]'}>
|
|
530
497
|
<Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
|
|
531
498
|
고객만족센터
|
|
@@ -533,6 +500,39 @@ export const FooterLinkList = () => {
|
|
|
533
500
|
</p>
|
|
534
501
|
</>
|
|
535
502
|
);
|
|
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: {
|
|
@@ -57,7 +57,7 @@ const PcHeader = ({ isNotSubPage, pcRoutes, isTextWhite, isBgOpacityZero, isBgGr
|
|
|
57
57
|
//1024px
|
|
58
58
|
'max-lg:items-center max-lg:pt-0 '}>
|
|
59
59
|
<Link href={`/`} className={'relative h-[38px] w-[230px] shrink-0 max-xl:h-[32px]'}>
|
|
60
|
-
<Image src={`${process.env.NEXT_PUBLIC_S3_URL}/logo/new/${centerName}${isTextWhite || isHover ? '_w' : ''}.webp`} alt="법무법인(유한)대륜" fill sizes={'216px'} priority className={'h-full w-full object-contain'}/>
|
|
60
|
+
<Image src={`${process.env.NEXT_PUBLIC_S3_URL}/logo/new/${centerName}${isTextWhite || isHover ? '_w' : ''}.webp`} alt="법무법인(유한)대륜" fill sizes={'216px'} priority className={'h-full w-full object-contain object-left'}/>
|
|
61
61
|
</Link>
|
|
62
62
|
<span className={'flex flex-1 items-start justify-end gap-[20px] pt-[5px] ' +
|
|
63
63
|
//1024px
|
|
@@ -16,3 +16,8 @@ export { default as FaqList } from './Faq/FaqList';
|
|
|
16
16
|
export { default as FaqDetail } from './Faq/Detail/FaqDetail';
|
|
17
17
|
export { default as ConsultComplete } from './ConsultComplete/ConsultComplete';
|
|
18
18
|
export { default as Lawfirm } from './Lawfirm/Lawfirm';
|
|
19
|
+
export { default as StrengthNew } from './StrengthNew/StrengthNew';
|
|
20
|
+
export { default as StrengthInfra } from './StrengthNew/StrengthInfra';
|
|
21
|
+
export { default as StrengthCustomer } from './StrengthNew/StrengthCustomer';
|
|
22
|
+
export { default as StrengthPeople } from './StrengthNew/StrengthPeople';
|
|
23
|
+
export { default as StrengthSystem } from './StrengthNew/StrengthSystem';
|
|
@@ -18,3 +18,8 @@ export { default as FaqList } from './Faq/FaqList';
|
|
|
18
18
|
export { default as FaqDetail } from './Faq/Detail/FaqDetail';
|
|
19
19
|
export { default as ConsultComplete } from './ConsultComplete/ConsultComplete';
|
|
20
20
|
export { default as Lawfirm } from './Lawfirm/Lawfirm';
|
|
21
|
+
export { default as StrengthNew } from './StrengthNew/StrengthNew';
|
|
22
|
+
export { default as StrengthInfra } from './StrengthNew/StrengthInfra';
|
|
23
|
+
export { default as StrengthCustomer } from './StrengthNew/StrengthCustomer';
|
|
24
|
+
export { default as StrengthPeople } from './StrengthNew/StrengthPeople';
|
|
25
|
+
export { default as StrengthSystem } from './StrengthNew/StrengthSystem';
|
|
@@ -18,3 +18,8 @@ export { default as FaqList } from './Faq/FaqList';
|
|
|
18
18
|
export { default as FaqDetail } from './Faq/Detail/FaqDetail';
|
|
19
19
|
export { default as ConsultComplete } from './ConsultComplete/ConsultComplete';
|
|
20
20
|
export { default as Lawfirm } from './Lawfirm/Lawfirm';
|
|
21
|
+
export { default as StrengthNew } from './StrengthNew/StrengthNew';
|
|
22
|
+
export { default as StrengthInfra } from './StrengthNew/StrengthInfra';
|
|
23
|
+
export { default as StrengthCustomer } from './StrengthNew/StrengthCustomer';
|
|
24
|
+
export { default as StrengthPeople } from './StrengthNew/StrengthPeople';
|
|
25
|
+
export { default as StrengthSystem } from './StrengthNew/StrengthSystem';
|