@daeryun/dr_components 0.1.3 → 0.1.6
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/custom.d.ts +1 -0
- package/dist/asset/images/footer/logo_b.webp +0 -0
- package/dist/asset/images/footer/top.svg +13 -0
- package/dist/components/Cat/index.jsx +1 -1
- package/dist/components/Cat/index.tsx +1 -2
- package/dist/components/Fix/Fix.stories.jsx +2 -1
- package/dist/components/Fix/Fix.stories.tsx +2 -1
- package/dist/components/Footer/Footer.stories.d.ts +5 -15
- package/dist/components/Footer/Footer.stories.jsx +15 -7
- package/dist/components/Footer/Footer.stories.tsx +20 -10
- package/dist/components/Footer/TopBtn.d.ts +5 -0
- package/dist/components/Footer/TopBtn.jsx +18 -0
- package/dist/components/Footer/TopBtn.tsx +29 -0
- package/dist/components/Footer/index.d.ts +5 -7
- package/dist/components/Footer/index.jsx +204 -106
- package/dist/components/Footer/index.tsx +381 -256
- package/dist/components/Layout/Wrapper.d.ts +2 -4
- package/dist/components/Layout/Wrapper.jsx +27 -39
- package/dist/components/Layout/Wrapper.tsx +29 -49
- package/dist/components/index.js +2 -2
- package/dist/components/index.ts +2 -2
- package/dist/styles/globals.css +127 -945
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
- package/dist/asset/images/logo.webp +0 -0
- package/dist/components/FooterKeywd/index.d.ts +0 -3
- package/dist/components/FooterKeywd/index.jsx +0 -88
- package/dist/components/FooterKeywd/index.module.css +0 -123
- package/dist/components/FooterKeywd/index.tsx +0 -92
- package/dist/components/Top/Fix.d.ts +0 -0
- package/dist/components/Top/Fix.jsx +0 -306
- package/dist/components/Top/Fix.module.css +0 -54
- package/dist/components/Top/Fix.tsx +0 -305
- package/dist/components/Top/Gnb.d.ts +0 -0
- package/dist/components/Top/Gnb.jsx +0 -212
- package/dist/components/Top/Gnb.tsx +0 -211
- package/dist/components/Top/Hamburger.d.ts +0 -0
- package/dist/components/Top/Hamburger.jsx +0 -743
- package/dist/components/Top/Hamburger.tsx +0 -742
- package/dist/components/Top/index.d.ts +0 -0
- package/dist/components/Top/index.jsx +0 -62
- package/dist/components/Top/index.tsx +0 -61
package/custom.d.ts
CHANGED
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 23 27.231">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="사각형_410" data-name="사각형 410" width="27.231" height="23" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="top" transform="translate(0 27.231) rotate(-90)">
|
|
8
|
+
<g id="그룹_671" data-name="그룹 671" transform="translate(0 0)" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="패스_694" data-name="패스 694" d="M12.67,23a1.927,1.927,0,0,1-1.363-3.29l8.211-8.21-8.211-8.21A1.927,1.927,0,0,1,14.033.564l9.573,9.573a1.928,1.928,0,0,1,0,2.725l-9.573,9.573A1.921,1.921,0,0,1,12.67,23" transform="translate(3.06 -0.001)" fill="#fff"/>
|
|
10
|
+
<path id="패스_695" data-name="패스 695" d="M25.3,11.306H1.927a1.927,1.927,0,1,1,0-3.855H25.3a1.927,1.927,0,1,1,0,3.855" transform="translate(0 2.122)" fill="#fff"/>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Image from 'next/image';
|
|
2
2
|
import catSrc from '../../asset/images/cat.png';
|
|
3
|
-
//이미지 임포트
|
|
3
|
+
//이미지 임포트 테스트
|
|
4
4
|
const Index = () => {
|
|
5
5
|
return (<>
|
|
6
6
|
<Image src={catSrc} alt={'고양이'} height={100} width={100} className={'rounded-full lg:border-4 lg:border-amber-600 lg:border-solid x3l:border-red-500'}/>
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import type { StoryObj } from '@storybook/react';
|
|
1
|
+
import Footer from './index';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
import '../../styles/globals.css';
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
logoUrl: string;
|
|
8
|
-
centerList: {
|
|
9
|
-
code: string;
|
|
10
|
-
codename: string;
|
|
11
|
-
}[];
|
|
12
|
-
}) => import("react").JSX.Element;
|
|
13
|
-
title: string;
|
|
14
|
-
};
|
|
15
|
-
export default footer;
|
|
16
|
-
type Story = StoryObj<typeof footer>;
|
|
4
|
+
declare const meta: Meta<typeof Footer>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
17
7
|
export declare const Default: Story;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import Footer from './index';
|
|
2
|
-
import '../../styles/globals.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import '../../styles/globals.css';
|
|
3
|
+
import { QueryClient, QueryClientProvider } from 'react-query';
|
|
4
|
+
import Logo from '../../asset/images/footer/logo_b.webp';
|
|
5
|
+
const meta = {
|
|
6
|
+
component: Footer,
|
|
7
|
+
title: 'Footer'
|
|
6
8
|
};
|
|
7
|
-
export default
|
|
9
|
+
export default meta;
|
|
8
10
|
export const Default = {
|
|
11
|
+
render: (args) => {
|
|
12
|
+
const queryClient = new QueryClient();
|
|
13
|
+
return (<QueryClientProvider client={queryClient}>
|
|
14
|
+
<Footer {...args}/>
|
|
15
|
+
</QueryClientProvider>);
|
|
16
|
+
},
|
|
9
17
|
args: {
|
|
10
|
-
centerList: [],
|
|
11
18
|
tel: '1800-7905',
|
|
12
|
-
logoUrl:
|
|
19
|
+
logoUrl: Logo,
|
|
20
|
+
aceCountLink: 'https://example.com'
|
|
13
21
|
}
|
|
14
22
|
};
|
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import Footer from './index'
|
|
2
|
-
import { categoryListExample, centerListExample } from '../common'
|
|
3
2
|
import type { Meta, StoryObj } from '@storybook/react'
|
|
4
|
-
import '../../styles/globals.css'
|
|
3
|
+
import '../../styles/globals.css'
|
|
4
|
+
import { QueryClient, QueryClientProvider } from 'react-query'
|
|
5
|
+
import Logo from '../../asset/images/footer/logo_b.webp'
|
|
5
6
|
|
|
6
|
-
const
|
|
7
|
-
component: Footer,
|
|
8
|
-
title: 'Footer'
|
|
9
|
-
}
|
|
7
|
+
const meta: Meta<typeof Footer> = {
|
|
8
|
+
component: Footer,
|
|
9
|
+
title: 'Footer'
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default meta
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
type Story = StoryObj<typeof footer>
|
|
14
|
+
type Story = StoryObj<typeof meta>
|
|
13
15
|
|
|
14
16
|
export const Default: Story = {
|
|
17
|
+
render: (args) => {
|
|
18
|
+
const queryClient = new QueryClient()
|
|
19
|
+
return (
|
|
20
|
+
<QueryClientProvider client={queryClient}>
|
|
21
|
+
<Footer {...args} />
|
|
22
|
+
</QueryClientProvider>
|
|
23
|
+
)
|
|
24
|
+
},
|
|
15
25
|
args: {
|
|
16
|
-
centerList: [],
|
|
17
26
|
tel: '1800-7905',
|
|
18
|
-
logoUrl:
|
|
27
|
+
logoUrl: Logo,
|
|
28
|
+
aceCountLink: 'https://example.com'
|
|
19
29
|
}
|
|
20
30
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IconTop from '../../asset/images/footer/top.svg';
|
|
2
|
+
const TopBtn = (props) => {
|
|
3
|
+
const { className = '' } = props;
|
|
4
|
+
const onClickTop = () => {
|
|
5
|
+
document.body.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
6
|
+
};
|
|
7
|
+
return (<button onClick={onClickTop} aria-label={'맨 위로 이동'} className={'aspect-square w-[70px] rounded-full bg-[#333333] ' +
|
|
8
|
+
//1700px
|
|
9
|
+
'max-5xl:w-[50px] ' +
|
|
10
|
+
//520px
|
|
11
|
+
'max-2sm:w-[40px] ' +
|
|
12
|
+
className}>
|
|
13
|
+
<span className={'block h-[40%]'}>
|
|
14
|
+
<IconTop className="h-full w-full"/>
|
|
15
|
+
</span>
|
|
16
|
+
</button>);
|
|
17
|
+
};
|
|
18
|
+
export default TopBtn;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IconTop from '../../asset/images/footer/top.svg';
|
|
2
|
+
|
|
3
|
+
const TopBtn = (props: { className?: string }) => {
|
|
4
|
+
const { className = '' } = props;
|
|
5
|
+
|
|
6
|
+
const onClickTop = () => {
|
|
7
|
+
document.body.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<button
|
|
12
|
+
onClick={onClickTop}
|
|
13
|
+
aria-label={'맨 위로 이동'}
|
|
14
|
+
className={
|
|
15
|
+
'aspect-square w-[70px] rounded-full bg-[#333333] ' +
|
|
16
|
+
//1700px
|
|
17
|
+
'max-5xl:w-[50px] ' +
|
|
18
|
+
//520px
|
|
19
|
+
'max-2sm:w-[40px] ' +
|
|
20
|
+
className
|
|
21
|
+
}
|
|
22
|
+
>
|
|
23
|
+
<span className={'block h-[40%]'}>
|
|
24
|
+
<IconTop className="h-full w-full" />
|
|
25
|
+
</span>
|
|
26
|
+
</button>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
export default TopBtn;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
interface IFooterTypes {
|
|
3
3
|
tel: string;
|
|
4
4
|
logoUrl: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
-
export default NewFooter;
|
|
5
|
+
aceCountLink?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Footer: (props: IFooterTypes) => React.JSX.Element;
|
|
8
|
+
export default Footer;
|
|
@@ -2,40 +2,71 @@ import Image from 'next/image';
|
|
|
2
2
|
import React, { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import * as gtag from '../../lib/gtag';
|
|
4
4
|
import Link from 'next/link';
|
|
5
|
-
import { insert } from '../../lib
|
|
6
|
-
import { savePowerLinkConversion } from '../../lib
|
|
5
|
+
import { insert } from '../../lib';
|
|
6
|
+
import { savePowerLinkConversion } from '../../lib';
|
|
7
|
+
import { paramFetch } from '../../lib';
|
|
8
|
+
import { useQuery } from 'react-query';
|
|
9
|
+
import TopBtn from './TopBtn';
|
|
10
|
+
import Wrapper from '../Layout/Wrapper';
|
|
7
11
|
import ArrowIcon from '../../asset/images/footer/icon_arrow_gray.webp';
|
|
8
12
|
import SNS1 from '../../asset/images/footer/sns_01.webp';
|
|
9
13
|
import SNS2 from '../../asset/images/footer/sns_02.webp';
|
|
10
14
|
import SNS3 from '../../asset/images/footer/sns_03.webp';
|
|
11
15
|
import SNS4 from '../../asset/images/footer/sns_04.webp';
|
|
12
16
|
import SNS5 from '../../asset/images/footer/sns_05.webp';
|
|
13
|
-
//
|
|
14
|
-
|
|
17
|
+
// tel: string -> 전화번호
|
|
18
|
+
// logoUrl:string -> 로고 url
|
|
19
|
+
// aceCountLink?: string -> 에이스 카운터 전환태그 주소, 안 넣을 경우 메인으로
|
|
20
|
+
const Footer = (props) => {
|
|
15
21
|
const mobile = require('is-mobile');
|
|
16
|
-
const snsClass = 'w-[44px] h-auto mr-[5px] max-md:w-[40px] max-md:
|
|
17
|
-
// const [tel] = useRecoilState(telAtom)
|
|
22
|
+
const snsClass = 'w-[44px] h-auto mr-[5px] max-md:w-[40px] max-md:m-0 max-xs:w-[45px] max-xs:mr-[17px] max-2xs:w-[40px] max-3xs:w-[35px]';
|
|
18
23
|
const [isMobile, setIsMobile] = useState(false);
|
|
19
24
|
const [centerLink, setCenterLink] = useState([]);
|
|
20
25
|
const [isOpen, setIsOpen] = useState(false);
|
|
21
26
|
const wrapperRef = useRef(null);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
useQuery('centerList', () => {
|
|
28
|
+
paramFetch('https://mng.daeryunlaw.com/api/center/list', { type: 'footer' }, (obj) => {
|
|
29
|
+
const data = obj.list
|
|
30
|
+
.filter((i) => i.code != 'CT0020')
|
|
31
|
+
.map((l) => {
|
|
32
|
+
return {
|
|
33
|
+
codename: l.code_name.replace('전문', '') + '그룹',
|
|
34
|
+
code: l.code === 'CT0000'
|
|
35
|
+
? 'https://www.daeryunlaw.com/'
|
|
36
|
+
: l.parent_code === 'center'
|
|
37
|
+
? `https://www.daeryunlaw-${l.code_desc}.com`
|
|
38
|
+
: l.etc2,
|
|
39
|
+
code_num: l.code,
|
|
40
|
+
etc: l.etc,
|
|
41
|
+
code_name2: l.code_name2,
|
|
42
|
+
parent_code: l.parent_code,
|
|
43
|
+
etc2: l.etc2
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
setCenterLink(data);
|
|
47
|
+
}, 'GET');
|
|
48
|
+
}, { refetchOnWindowFocus: false, refetchInterval: undefined });
|
|
49
|
+
const onClickTel = () => {
|
|
50
|
+
insert('call', isMobile);
|
|
51
|
+
savePowerLinkConversion('call', isMobile);
|
|
52
|
+
if (isMobile) {
|
|
53
|
+
mTelClick();
|
|
54
|
+
ace_mTelClick();
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
pcTelClick();
|
|
58
|
+
ace_pcTelClick();
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
// GA 클릭이벤트
|
|
62
|
+
const pcTelClick = () => {
|
|
63
|
+
gtag.event({
|
|
64
|
+
action: 'pc_tel',
|
|
65
|
+
category: 'tel',
|
|
66
|
+
label: '피씨전화버튼',
|
|
67
|
+
value: '1'
|
|
68
|
+
});
|
|
69
|
+
};
|
|
39
70
|
const mTelClick = () => {
|
|
40
71
|
gtag.event({
|
|
41
72
|
action: 'mobile_tel',
|
|
@@ -44,7 +75,6 @@ const NewFooter = (props) => {
|
|
|
44
75
|
value: '1'
|
|
45
76
|
});
|
|
46
77
|
};
|
|
47
|
-
// GA 클릭이벤트
|
|
48
78
|
const mKakaoClick = () => {
|
|
49
79
|
gtag.event({
|
|
50
80
|
action: 'mobile_kakao',
|
|
@@ -53,118 +83,186 @@ const NewFooter = (props) => {
|
|
|
53
83
|
value: '1'
|
|
54
84
|
});
|
|
55
85
|
};
|
|
86
|
+
// 에이스카운터 전환태그
|
|
87
|
+
const ace_pcTelClick = () => {
|
|
88
|
+
try {
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
_PL(props.aceCountLink ? props.aceCountLink : 'www.daeryunlaw.com/tel');
|
|
91
|
+
}
|
|
92
|
+
catch (e) { }
|
|
93
|
+
};
|
|
94
|
+
const ace_mTelClick = () => {
|
|
95
|
+
try {
|
|
96
|
+
// @ts-ignore
|
|
97
|
+
AM_PL('/m_tel');
|
|
98
|
+
}
|
|
99
|
+
catch (e) { }
|
|
100
|
+
};
|
|
101
|
+
const ace_mKakaoClick = () => {
|
|
102
|
+
try {
|
|
103
|
+
// @ts-ignore
|
|
104
|
+
AM_PL('/m_kakao');
|
|
105
|
+
}
|
|
106
|
+
catch (e) { }
|
|
107
|
+
};
|
|
56
108
|
useEffect(() => {
|
|
57
109
|
setIsMobile(mobile());
|
|
58
110
|
}, []);
|
|
59
|
-
return (<footer className={'
|
|
60
|
-
'
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
111
|
+
return (<footer className={'relative flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white font-[SUIT] text-[18px] ' +
|
|
112
|
+
'max-xs:h-[800px] ' +
|
|
113
|
+
'max-lg:mb-[70px] ' +
|
|
114
|
+
'max-2xs:h-[730px]'}>
|
|
115
|
+
{/*top button*/}
|
|
116
|
+
<Wrapper className={'!absolute top-0'}>
|
|
117
|
+
<div className={'relative z-20'}>
|
|
118
|
+
<TopBtn className={'absolute right-0 top-[-50%] translate-y-[-50%]'}/>
|
|
119
|
+
</div>
|
|
120
|
+
</Wrapper>
|
|
121
|
+
<Wrapper>
|
|
122
|
+
<div className={'w-full'}>
|
|
123
|
+
<div className={'mb-[77px] font-[800] tracking-[-0px] xs:flex xs:items-center ' +
|
|
124
|
+
'max-xl:mb-[50px] max-xl:justify-center max-xl:gap-[5%] '}>
|
|
125
|
+
<Link href={'/'}>
|
|
126
|
+
<Image src={props.logoUrl} alt="대륜 로고" width={216} height={33} className={'mr-[4.27vw] h-auto w-[208px] max-3xl:mr-[2vw] max-md:w-[180px] max-2xs:w-[148px] '}/>
|
|
127
|
+
</Link>
|
|
70
128
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
129
|
+
<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>
|
|
130
|
+
<FooterLinkList />
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div className={'xl:ml-auto'}>
|
|
134
|
+
<div ref={wrapperRef} className={'relative h-[68px] w-[290px] ' +
|
|
135
|
+
'max-xxl:w-[240px] ' +
|
|
136
|
+
'max-xl:w-[299px] ' +
|
|
137
|
+
'max-md:h-[53px] max-md:w-[260px] ' +
|
|
138
|
+
'max-sm:h-[48px] max-sm:w-[230px] ' +
|
|
139
|
+
'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '}>
|
|
140
|
+
<button type="button" className={'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 ' +
|
|
141
|
+
'max-xxl:text-[16px] ' +
|
|
142
|
+
'max-md:text-[14px] ' +
|
|
143
|
+
'max-xs:pl-[9.8%] max-xs:text-left max-xs:text-[3.93vw] ' +
|
|
144
|
+
'max-3xs:text-[4.2vw] '} onClick={() => setIsOpen(!isOpen)} aria-haspopup="listbox" aria-expanded="true">
|
|
145
|
+
법무법인 대륜 그룹 바로가기
|
|
146
|
+
</button>
|
|
77
147
|
|
|
78
|
-
|
|
79
|
-
|
|
148
|
+
{isOpen && (<ul className="absolute right-0 mt-2 h-[340px] w-full origin-top-right overflow-y-auto rounded-md bg-white pt-3 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none" role="listbox" aria-orientation="vertical" aria-labelledby="listbox-label" aria-expanded="true" aria-hidden="false">
|
|
149
|
+
{centerLink.map((item, index) => item.parent_code === 'center' && (<li key={index} value={item.code} className="cursor-pointer px-5 py-[5px] text-[17px] font-[500]">
|
|
150
|
+
<Link href={item.code} key={index} target="_blank" title={'새창열기'} onClick={() => {
|
|
80
151
|
setIsOpen(!isOpen);
|
|
81
152
|
}}>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
153
|
+
{item.code_num === 'CT0000'
|
|
154
|
+
? '법무법인 대륜 변호사 대표사이트'
|
|
155
|
+
: item.codename}
|
|
156
|
+
</Link>
|
|
157
|
+
{centerLink.map((items, index2) => {
|
|
158
|
+
return (items.parent_code === 'in_center' &&
|
|
159
|
+
item.code_num === items.etc && (<Link href={items.code} key={index2} target="_blank" title={'새창열기'}>
|
|
160
|
+
<p>
|
|
161
|
+
{' '}
|
|
162
|
+
{items.codename.replace('그룹', '센터')}
|
|
163
|
+
</p>
|
|
164
|
+
</Link>));
|
|
165
|
+
})}
|
|
166
|
+
</li>))}
|
|
167
|
+
</ul>)}
|
|
168
|
+
<Image draggable={false} src={ArrowIcon} alt={'select icon'} width={28} height={15} className={'absolute right-[10%] top-[50%] w-[15px] translate-y-[-50%] max-sm:w-[14px]'}/>
|
|
169
|
+
</div>
|
|
88
170
|
</div>
|
|
89
171
|
</div>
|
|
90
|
-
</div>
|
|
91
172
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
173
|
+
{/*xl일때부터 or en*/}
|
|
174
|
+
<div className={'mb-[60px] flex flex-wrap gap-[36px] font-[800] xl:hidden ' +
|
|
175
|
+
'max-xxl:gap-[20px] ' +
|
|
176
|
+
'gap-[36px] max-xl:justify-center ' +
|
|
177
|
+
'max-md:gap-[17px] max-md:text-[14px] ' +
|
|
178
|
+
'max-xs:mb-[42px] max-xs:grid max-xs:grid-cols-2 max-xs:gap-2 max-xs:text-[16px] max-xs:leading-snug '}>
|
|
179
|
+
<FooterLinkList />
|
|
180
|
+
</div>
|
|
181
|
+
<div className={'mb-[15px] max-xl:justify-center max-md:text-[14px] max-xs:mb-[24px] max-xs:text-[16px] max-2xs:mb-[33px] xs:flex xs:w-full xs:items-center'}>
|
|
182
|
+
<p className={'xs:pr-[11px] xs:text-center'}>
|
|
183
|
+
<span className="font-[800]">주소</span>{' '}
|
|
184
|
+
<span className={'inline-block max-2xs:text-[14px]'}>
|
|
185
|
+
서울특별시 영등포구 여의대로 108, 파크원타워1 35층
|
|
186
|
+
</span>
|
|
187
|
+
</p>
|
|
188
|
+
</div>
|
|
189
|
+
<div className={'mb-[15px] w-full max-3xl:mx-auto max-xl:justify-center max-md:text-[14px] max-xs:mb-[24px] max-xs:text-[16px] max-2xs:mb-[33px] xs:flex xs:items-center'}>
|
|
190
|
+
<p className={'border-solid xs:border-r xs:pr-[11px] xs:text-center'}>
|
|
191
|
+
<span className="font-[800]">사업자등록번호</span>{' '}
|
|
192
|
+
<span className={'inline-block'}>468-81-02178</span>
|
|
193
|
+
</p>
|
|
109
194
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<
|
|
195
|
+
<p className={'border-solid max-xs:my-[11px] xs:border-r xs:px-[11px] xs:text-center'}>
|
|
196
|
+
<span className="font-[800]">법률상담접수 </span>{' '}
|
|
197
|
+
<Link href={`tel:${props.tel}`} onClick={onClickTel} aria-label={'법률상담접수 ' + props.tel} className={'inline-block'}>
|
|
198
|
+
<span className={'inline-block'}>{props.tel}</span>
|
|
199
|
+
</Link>
|
|
200
|
+
</p>
|
|
201
|
+
<p className={'break-keep xs:pl-[11px] xs:text-center'}>
|
|
202
|
+
<span className="font-[800]">광고책임변호사</span>{' '}
|
|
203
|
+
<span className={'inline-block'}>정찬우</span>
|
|
204
|
+
</p>
|
|
205
|
+
</div>
|
|
206
|
+
<p className={'mb-[54px] flex items-center text-[#666666] max-xl:justify-center max-md:text-[14px] max-xs:mb-[33px] max-xs:justify-start max-xs:text-[16px] max-2xs:mb-[18px] max-2xs:text-[14px] '}>
|
|
207
|
+
Copyright 법무법인(유한) 대륜 all rights reserved
|
|
117
208
|
</p>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</p>
|
|
123
|
-
<div className={'flex max-xl:justify-center'}>
|
|
124
|
-
<Link href="https://www.scourt.go.kr/portal/information/events/search/search.jsp" target="_blank" rel="noopener noreferrer">
|
|
125
|
-
<Image draggable={false} src={SNS1} alt="나의 사건 조회" width={66} height={66} className={snsClass}/>
|
|
126
|
-
</Link>
|
|
209
|
+
<div className={'flex max-xl:justify-center max-xl:gap-1'}>
|
|
210
|
+
<Link href="https://www.scourt.go.kr/portal/information/events/search/search.jsp" target="_blank" rel="noopener noreferrer">
|
|
211
|
+
<Image src={SNS1} alt="나의 사건 검색" width={66} height={66} className={snsClass}/>
|
|
212
|
+
</Link>
|
|
127
213
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
214
|
+
<Link href="https://blog.naver.com/lawfirmdaeryun" target="_blank" rel="noopener noreferrer">
|
|
215
|
+
<Image src={SNS2} alt="법무법인(유한) 대륜 공식블로그" width={37} height={31} className={snsClass}/>
|
|
216
|
+
</Link>
|
|
131
217
|
|
|
132
|
-
|
|
218
|
+
<Link href="https://pf.kakao.com/_xgxoTlK/chat" target="_blank" rel="noopener noreferrer" onClick={() => {
|
|
133
219
|
insert('kakao', isMobile);
|
|
134
220
|
savePowerLinkConversion('kakao', isMobile);
|
|
135
221
|
mKakaoClick();
|
|
222
|
+
ace_mKakaoClick();
|
|
136
223
|
}}>
|
|
137
|
-
|
|
138
|
-
|
|
224
|
+
<Image src={SNS3} alt="법무법인(유한) 대륜 카카오톡채널" width={66} height={66} className={snsClass}/>
|
|
225
|
+
</Link>
|
|
139
226
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
227
|
+
<Link href="https://www.youtube.com/channel/UC3uX0o1sFLj5eHdvZp2T64g/featured" target="_blank" rel="noopener noreferrer">
|
|
228
|
+
<Image draggable={false} src={SNS4} alt="법무법인(유한) 대륜 유투브" width={66} height={66} className={snsClass}/>
|
|
229
|
+
</Link>
|
|
143
230
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
231
|
+
<Link href="https://www.instagram.com/daeryun_lawfirm/?utm_medium=copy_link" target="_blank" rel="noopener noreferrer">
|
|
232
|
+
<Image draggable={false} src={SNS5} alt="법무법인(유한) 대륜 인스타그램" width={66} height={66} className={snsClass}/>
|
|
233
|
+
</Link>
|
|
234
|
+
</div>
|
|
147
235
|
</div>
|
|
148
|
-
</
|
|
236
|
+
</Wrapper>
|
|
149
237
|
</footer>);
|
|
150
238
|
};
|
|
151
|
-
export default
|
|
239
|
+
export default Footer;
|
|
152
240
|
const FooterLinkList = () => {
|
|
153
241
|
return (<>
|
|
154
|
-
<p
|
|
155
|
-
<Link href={'/common/disclaimer'}
|
|
242
|
+
<p>
|
|
243
|
+
<Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
|
|
244
|
+
면책공고
|
|
245
|
+
</Link>
|
|
156
246
|
</p>
|
|
157
|
-
<p
|
|
158
|
-
<Link href={'/common/limited-liability'}
|
|
247
|
+
<p>
|
|
248
|
+
<Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
|
|
249
|
+
유한책임
|
|
250
|
+
</Link>
|
|
159
251
|
</p>
|
|
160
|
-
<p
|
|
161
|
-
<Link href={'/common/privacy-policy'}
|
|
252
|
+
<p>
|
|
253
|
+
<Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
|
|
254
|
+
개인정보처리방침
|
|
255
|
+
</Link>
|
|
162
256
|
</p>
|
|
163
|
-
<p
|
|
164
|
-
<Link href={'/common/collect'}
|
|
257
|
+
<p>
|
|
258
|
+
<Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
|
|
259
|
+
이메일무단수집거부
|
|
260
|
+
</Link>
|
|
165
261
|
</p>
|
|
166
262
|
<p className={'text-[#285FA7]'}>
|
|
167
|
-
<Link href={'https://www.daeryunlaw.com/inquire'}
|
|
263
|
+
<Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
|
|
264
|
+
고객만족센터
|
|
265
|
+
</Link>
|
|
168
266
|
</p>
|
|
169
267
|
</>);
|
|
170
268
|
};
|