@daeryun/dr_components 1.2.99 → 1.3.1
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/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Footer/index.jsx +7 -6
- package/dist/components/Footer/index.tsx +9 -6
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.jsx +5 -2
- package/dist/components/GlobalOfficeSection/GlobalOfficeSection.tsx +5 -2
- package/dist/components/Menu/MobileMenu.jsx +7 -7
- package/dist/components/Menu/MobileMenu.tsx +22 -7
- package/dist/components/Seo/FieldCase.jsx +27 -22
- package/dist/components/Seo/FieldCase.tsx +39 -33
- package/dist/components/Seo/Lawyer.jsx +3 -2
- package/dist/components/Seo/Lawyer.tsx +5 -2
- package/dist/components/Seo/SuccessCase.jsx +4 -1
- package/dist/components/Seo/SuccessCase.tsx +4 -1
- package/dist/components/ViewMoreSection/ViewMoreSection.jsx +4 -3
- package/dist/components/ViewMoreSection/ViewMoreSection.tsx +7 -3
- package/dist/components/categoryView/CategoryComponent.jsx +2 -1
- package/dist/components/categoryView/CategoryComponent.tsx +2 -1
- package/dist/components/index.js +0 -1
- package/dist/components/index.ts +0 -1
- package/dist/components/page/ConsultComplete/ConsultComplete.jsx +4 -3
- package/dist/components/page/ConsultComplete/ConsultComplete.tsx +4 -3
- package/dist/components/page/Integrate/Field.jsx +2 -1
- package/dist/components/page/Integrate/Field.tsx +2 -1
- package/dist/components/page/Integrate/LawInfo.jsx +2 -1
- package/dist/components/page/Integrate/LawInfo.tsx +2 -1
- package/dist/components/page/Integrate/Success.jsx +5 -1
- package/dist/components/page/Integrate/Success.tsx +5 -1
- package/dist/components/page/Integrate/Trend.jsx +2 -1
- package/dist/components/page/Integrate/Trend.tsx +4 -1
- package/dist/components/page/LawyerDetail/component/CareerList.jsx +2 -1
- package/dist/components/page/LawyerDetail/component/CareerList.tsx +2 -1
- package/dist/components/page/LawyerDetail/component/MobileSpeciality.jsx +2 -1
- package/dist/components/page/LawyerDetail/component/MobileSpeciality.tsx +2 -1
- package/dist/components/page/StrengthNew/components/common/LawyerSection.jsx +2 -1
- package/dist/components/page/StrengthNew/components/common/LawyerSection.tsx +2 -1
- package/dist/components/page/StrengthNew/components/infra/InfraSection.jsx +2 -2
- package/dist/components/page/StrengthNew/components/infra/InfraSection.tsx +2 -2
- package/dist/components/page/SuccessNew/components/FieldCase.jsx +13 -8
- package/dist/components/page/SuccessNew/components/FieldCase.tsx +41 -33
- package/dist/components/page/SuccessNew/components/LawInfoContentList.jsx +3 -2
- package/dist/components/page/SuccessNew/components/LawInfoContentList.tsx +3 -2
- package/dist/components/page/SuccessNew/components/Lawyer.jsx +3 -2
- package/dist/components/page/SuccessNew/components/Lawyer.tsx +5 -2
- package/dist/components/page/SuccessNew/components/SeoAdditionalLink.jsx +2 -1
- package/dist/components/page/SuccessNew/components/SeoAdditionalLink.tsx +5 -2
- package/dist/components/page/SuccessNew/components/SuccessCase.jsx +32 -27
- package/dist/components/page/SuccessNew/components/SuccessCase.tsx +45 -39
- package/dist/lib/powerlink.d.ts +1 -0
- package/dist/lib/powerlink.js +14 -0
- package/dist/lib/powerlink.ts +61 -47
- package/dist/styles/globals.css +5 -115
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/components/Footer/FooterV2.d.ts +0 -30
- package/dist/components/Footer/FooterV2.jsx +0 -423
- package/dist/components/Footer/FooterV2.tsx +0 -764
- package/dist/components/Footer/_backup/index.d.ts +0 -5
- package/dist/components/Footer/_backup/index.jsx +0 -423
- package/dist/components/Footer/_backup/index.tsx +0 -747
|
@@ -1,764 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import React, { useEffect, useRef, useState } from 'react';
|
|
5
|
-
import * as gtag from '../../lib/gtag';
|
|
6
|
-
import Link from 'next/link';
|
|
7
|
-
import { getDomainHandler, insert, savePowerLinkConversion } from '../../lib';
|
|
8
|
-
import Wrapper from '../Layout/Wrapper';
|
|
9
|
-
import TopBtn from './TopBtn';
|
|
10
|
-
import { usePathname, useRouter } from 'next/navigation';
|
|
11
|
-
import { INewFooterTypes } from './IFooterTypes';
|
|
12
|
-
import sns01 from '../../asset/images/footer/sns_01.webp';
|
|
13
|
-
import sns02 from '../../asset/images/footer/sns_02.webp';
|
|
14
|
-
import sns03 from '../../asset/images/footer/sns_03.webp';
|
|
15
|
-
import sns04 from '../../asset/images/footer/sns_04.webp';
|
|
16
|
-
import sns05 from '../../asset/images/footer/sns_05.webp';
|
|
17
|
-
import BrochureBtn from '../BrochureBtn/BrochureBtn';
|
|
18
|
-
import MedicalBrochureBtn from '../BrochureBtn/MedicalBrochureBtn';
|
|
19
|
-
import { useActionGetTermList } from './_actions/action';
|
|
20
|
-
import { ITermType } from '../page/Login/_types/termType';
|
|
21
|
-
|
|
22
|
-
export interface IGroupsData {
|
|
23
|
-
code: string;
|
|
24
|
-
codename: string;
|
|
25
|
-
parent_code: string;
|
|
26
|
-
etc: string;
|
|
27
|
-
etc2: string;
|
|
28
|
-
children: {
|
|
29
|
-
code: string;
|
|
30
|
-
code_desc: string;
|
|
31
|
-
code_name: string;
|
|
32
|
-
codename: string;
|
|
33
|
-
etc: string;
|
|
34
|
-
etc2: string;
|
|
35
|
-
parent_code: string;
|
|
36
|
-
sort_order: null;
|
|
37
|
-
}[];
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface GroupsProps {
|
|
41
|
-
list: IGroupsData[];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
const NewFooter = ({
|
|
45
|
-
groupsData,
|
|
46
|
-
tel,
|
|
47
|
-
logo,
|
|
48
|
-
aceUrl,
|
|
49
|
-
isBrochureBtn,
|
|
50
|
-
isLogoLong,
|
|
51
|
-
isMedical,
|
|
52
|
-
brochureType
|
|
53
|
-
}: {
|
|
54
|
-
groupsData: IGroupsData[] | null;
|
|
55
|
-
logo: string;
|
|
56
|
-
tel: string;
|
|
57
|
-
isBrochureBtn?: boolean;
|
|
58
|
-
isMedical?: boolean; // BrochureBtn 이 의료그룹 브로슈어일때 (의료일때만)
|
|
59
|
-
brochureType?: string; // 다른 브로슈어 그룹
|
|
60
|
-
aceUrl?: string;
|
|
61
|
-
isLogoLong?: boolean;
|
|
62
|
-
}) => {
|
|
63
|
-
const router = useRouter();
|
|
64
|
-
const pathname = usePathname();
|
|
65
|
-
const mobile = require('is-mobile');
|
|
66
|
-
const snsClass =
|
|
67
|
-
'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]';
|
|
68
|
-
const [isGroups, setIsGroups] = useState<GroupsProps[]>([]);
|
|
69
|
-
|
|
70
|
-
const [isMobile, setIsMobile] = useState<boolean>(false);
|
|
71
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
72
|
-
const wrapperRef = useRef(null);
|
|
73
|
-
|
|
74
|
-
const routeLocation: boolean = pathname === '/';
|
|
75
|
-
|
|
76
|
-
const fetchData = async () => {
|
|
77
|
-
try {
|
|
78
|
-
const req = await fetch('/api/center/list');
|
|
79
|
-
return await req.json();
|
|
80
|
-
} catch (error) {
|
|
81
|
-
console.error(`fetch groupsData error : ${error} `);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
useEffect(() => {
|
|
86
|
-
const fetchGroupsData = async () => {
|
|
87
|
-
if (pathname !== '/') {
|
|
88
|
-
try {
|
|
89
|
-
const data: GroupsProps[] = await fetchData();
|
|
90
|
-
setIsGroups(data); // data를 setIsGroups로 설정
|
|
91
|
-
} catch (error) {
|
|
92
|
-
console.error(`fetch groupsData useEffect error: ${error}`);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
fetchGroupsData();
|
|
98
|
-
}, [pathname]);
|
|
99
|
-
|
|
100
|
-
const onClickTel = () => {
|
|
101
|
-
insert('call', isMobile);
|
|
102
|
-
savePowerLinkConversion('call', isMobile);
|
|
103
|
-
if (isMobile) {
|
|
104
|
-
mTelClick();
|
|
105
|
-
if (aceUrl) {
|
|
106
|
-
ace_mTelClick();
|
|
107
|
-
}
|
|
108
|
-
} else {
|
|
109
|
-
pcTelClick();
|
|
110
|
-
if (aceUrl) {
|
|
111
|
-
ace_pcTelClick();
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
const onClickKakao = () => {
|
|
117
|
-
insert('kakao', isMobile);
|
|
118
|
-
savePowerLinkConversion('kakao', isMobile);
|
|
119
|
-
|
|
120
|
-
if (isMobile) {
|
|
121
|
-
mKakaoClick();
|
|
122
|
-
if (aceUrl) {
|
|
123
|
-
ace_mKakaoClick();
|
|
124
|
-
}
|
|
125
|
-
} else {
|
|
126
|
-
pcKakaoClick();
|
|
127
|
-
if (aceUrl) {
|
|
128
|
-
ace_pcKakaoClick();
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
// GA 클릭이벤트
|
|
134
|
-
const pcTelClick = () => {
|
|
135
|
-
gtag.event({
|
|
136
|
-
event_name: 'pc_tel',
|
|
137
|
-
category: 'tel',
|
|
138
|
-
label: '피씨전화버튼',
|
|
139
|
-
value: '1'
|
|
140
|
-
});
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
const mTelClick = () => {
|
|
144
|
-
gtag.event({
|
|
145
|
-
event_name: 'mobile_tel',
|
|
146
|
-
category: 'tel',
|
|
147
|
-
label: '모바일전화버튼',
|
|
148
|
-
value: '1'
|
|
149
|
-
});
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
const mKakaoClick = () => {
|
|
153
|
-
gtag.event({
|
|
154
|
-
event_name: 'mobile_kakao',
|
|
155
|
-
category: 'kakao',
|
|
156
|
-
label: '모바일카카오버튼',
|
|
157
|
-
value: '1'
|
|
158
|
-
});
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
const pcKakaoClick = () => {
|
|
162
|
-
gtag.event({
|
|
163
|
-
event_name: 'pc_kakao',
|
|
164
|
-
category: 'kakao',
|
|
165
|
-
label: '피씨카카오버튼',
|
|
166
|
-
value: '1'
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
// 에이스카운터 전환태그
|
|
171
|
-
const ace_pcTelClick = () => {
|
|
172
|
-
try {
|
|
173
|
-
// @ts-ignore
|
|
174
|
-
_PL(`${aceUrl}/tel`);
|
|
175
|
-
} catch (e) {}
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
const ace_mTelClick = () => {
|
|
179
|
-
try {
|
|
180
|
-
// @ts-ignore
|
|
181
|
-
AM_PL('/m_tel');
|
|
182
|
-
} catch (e) {}
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
const ace_mKakaoClick = () => {
|
|
186
|
-
try {
|
|
187
|
-
// @ts-ignore
|
|
188
|
-
AM_PL('/m_kakao');
|
|
189
|
-
} catch (e) {}
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
const ace_pcKakaoClick = () => {
|
|
193
|
-
try {
|
|
194
|
-
// @ts-ignore
|
|
195
|
-
_PL(`${aceUrl}/kakao`);
|
|
196
|
-
} catch (e) {}
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
useEffect(() => {
|
|
200
|
-
setIsMobile(mobile());
|
|
201
|
-
}, []);
|
|
202
|
-
|
|
203
|
-
return (
|
|
204
|
-
<footer
|
|
205
|
-
className={
|
|
206
|
-
'relative mb-[30px] flex h-[550px] w-full items-center justify-center border-t border-solid border-[#A8A8A8] bg-white text-[18px] ' +
|
|
207
|
-
(isBrochureBtn
|
|
208
|
-
? isMedical
|
|
209
|
-
? 'max-xl:h-[730px] max-md:h-[670px] max-xs:h-[850px] max-2xs:h-[890px] '
|
|
210
|
-
: 'max-xl:h-[650px] max-md:h-[600px] max-xs:h-[750px] max-2xs:h-[730px] '
|
|
211
|
-
: 'max-xs:h-[700px] max-2xs:h-[670px] ') +
|
|
212
|
-
'max-lg:mb-[70px] '
|
|
213
|
-
}
|
|
214
|
-
>
|
|
215
|
-
{/*top button*/}
|
|
216
|
-
<Wrapper isNotRelative id={'footer'} className={'absolute top-0'}>
|
|
217
|
-
<div className={'relative z-20'}>
|
|
218
|
-
<TopBtn className={'absolute right-0 top-[-50%] translate-y-[-50%]'} />
|
|
219
|
-
</div>
|
|
220
|
-
</Wrapper>
|
|
221
|
-
<Wrapper id={'footer'}>
|
|
222
|
-
<div className={'w-full'}>
|
|
223
|
-
<div
|
|
224
|
-
className={
|
|
225
|
-
'mb-[77px] font-[800] tracking-[-0px] max-xl:mb-[50px] max-xl:justify-center xs:flex xs:items-center ' +
|
|
226
|
-
(isBrochureBtn
|
|
227
|
-
? ' max-xl:flex-col max-xl:gap-[40px]'
|
|
228
|
-
: isLogoLong
|
|
229
|
-
? 'max-xl:gap-[2%] '
|
|
230
|
-
: ' max-xl:gap-[5%] ')
|
|
231
|
-
}
|
|
232
|
-
>
|
|
233
|
-
<Link href={'/'} className={'shrink-0'}>
|
|
234
|
-
<Image
|
|
235
|
-
src={logo}
|
|
236
|
-
alt="대륜 로고"
|
|
237
|
-
width={216}
|
|
238
|
-
height={33}
|
|
239
|
-
className={
|
|
240
|
-
'mr-[4.27vw] h-auto w-[208px] max-3xl:mr-[2vw] ' +
|
|
241
|
-
(!isLogoLong
|
|
242
|
-
? 'max-xl:h-[45px] max-xl:w-auto max-md2:h-[40px]'
|
|
243
|
-
: 'max-xl:h-[40px] max-xl:w-auto max-md2:h-[30px] max-sm:h-[25px] max-xs:h-[35px] max-2xs:h-[30px] max-3xs:h-[26px]')
|
|
244
|
-
}
|
|
245
|
-
/>
|
|
246
|
-
</Link>
|
|
247
|
-
|
|
248
|
-
<div className={'flex gap-[36px] max-xxl:gap-[20px] max-xl:hidden '}>
|
|
249
|
-
<FooterLinkList />
|
|
250
|
-
</div>
|
|
251
|
-
{isBrochureBtn && !isMedical ? (
|
|
252
|
-
<span
|
|
253
|
-
className={
|
|
254
|
-
'flex w-full flex-1 items-center justify-center gap-[40px] max-md:gap-[5px] max-2sm:gap-[10px]'
|
|
255
|
-
}
|
|
256
|
-
>
|
|
257
|
-
<FooterSelectBox
|
|
258
|
-
wrapperRef={wrapperRef}
|
|
259
|
-
groupsData={groupsData}
|
|
260
|
-
isGroups={isGroups}
|
|
261
|
-
routeLocation={routeLocation}
|
|
262
|
-
setIsOpen={setIsOpen}
|
|
263
|
-
isOpen={isOpen}
|
|
264
|
-
isBrochureBtn={isBrochureBtn}
|
|
265
|
-
/>
|
|
266
|
-
<BrochureBtn
|
|
267
|
-
width={'280px'}
|
|
268
|
-
height={'60px'}
|
|
269
|
-
className={
|
|
270
|
-
'xl:hidden ' +
|
|
271
|
-
//768px
|
|
272
|
-
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
273
|
-
//590px
|
|
274
|
-
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] ' +
|
|
275
|
-
//480px
|
|
276
|
-
'max-xs:hidden'
|
|
277
|
-
}
|
|
278
|
-
type={brochureType}
|
|
279
|
-
/>
|
|
280
|
-
</span>
|
|
281
|
-
) : isBrochureBtn && isMedical ? (
|
|
282
|
-
<span
|
|
283
|
-
className={
|
|
284
|
-
'flex w-full flex-1 flex-col items-center justify-center gap-[20px] max-md:gap-[15px] max-2sm:gap-[10px]'
|
|
285
|
-
}
|
|
286
|
-
>
|
|
287
|
-
<FooterSelectBox
|
|
288
|
-
wrapperRef={wrapperRef}
|
|
289
|
-
groupsData={groupsData}
|
|
290
|
-
isGroups={isGroups}
|
|
291
|
-
routeLocation={routeLocation}
|
|
292
|
-
setIsOpen={setIsOpen}
|
|
293
|
-
isOpen={isOpen}
|
|
294
|
-
isBrochureBtn={isBrochureBtn}
|
|
295
|
-
/>
|
|
296
|
-
<MedicalBrochureBtn
|
|
297
|
-
width={'280px'}
|
|
298
|
-
height={'60px'}
|
|
299
|
-
wrapClassName={'max-xs:hidden'}
|
|
300
|
-
className={
|
|
301
|
-
'xl:hidden ' +
|
|
302
|
-
//768px
|
|
303
|
-
'max-md:mx-[-10px] max-md:scale-90 ' +
|
|
304
|
-
//590px
|
|
305
|
-
'max-[590px]:mx-[-30px] max-[590px]:scale-[.75] '
|
|
306
|
-
}
|
|
307
|
-
/>
|
|
308
|
-
</span>
|
|
309
|
-
) : (
|
|
310
|
-
<FooterSelectBox
|
|
311
|
-
wrapperRef={wrapperRef}
|
|
312
|
-
groupsData={groupsData}
|
|
313
|
-
isGroups={isGroups}
|
|
314
|
-
routeLocation={routeLocation}
|
|
315
|
-
setIsOpen={setIsOpen}
|
|
316
|
-
isOpen={isOpen}
|
|
317
|
-
isBrochureBtn={isBrochureBtn}
|
|
318
|
-
/>
|
|
319
|
-
)}
|
|
320
|
-
{isBrochureBtn && isMedical ? (
|
|
321
|
-
<MedicalBrochureBtn
|
|
322
|
-
rounded={false}
|
|
323
|
-
width={'100%'}
|
|
324
|
-
height={'55px'}
|
|
325
|
-
wrapClassName={'xs:hidden flex-col '}
|
|
326
|
-
className={'mt-[20px]'}
|
|
327
|
-
/>
|
|
328
|
-
) : isBrochureBtn ? (
|
|
329
|
-
<BrochureBtn
|
|
330
|
-
rounded={false}
|
|
331
|
-
width={'100%'}
|
|
332
|
-
height={'55px'}
|
|
333
|
-
className={'mt-[20px] xs:hidden'}
|
|
334
|
-
type={brochureType}
|
|
335
|
-
/>
|
|
336
|
-
) : (
|
|
337
|
-
<></>
|
|
338
|
-
)}
|
|
339
|
-
</div>
|
|
340
|
-
|
|
341
|
-
{/*xl일때부터 or en*/}
|
|
342
|
-
<div
|
|
343
|
-
className={
|
|
344
|
-
'mb-[60px] flex flex-wrap gap-[36px] font-[800] xl:hidden ' +
|
|
345
|
-
'max-xxl:gap-[20px] ' +
|
|
346
|
-
'gap-[36px] max-xl:justify-center ' +
|
|
347
|
-
'max-md:gap-[17px] max-md:text-[14px] ' +
|
|
348
|
-
'max-xs:mb-[42px] max-xs:grid max-xs:grid-cols-2 max-xs:gap-2 max-xs:text-[16px] max-xs:leading-snug '
|
|
349
|
-
}
|
|
350
|
-
>
|
|
351
|
-
<FooterLinkList />
|
|
352
|
-
</div>
|
|
353
|
-
<div
|
|
354
|
-
className={
|
|
355
|
-
'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'
|
|
356
|
-
}
|
|
357
|
-
>
|
|
358
|
-
<p className={'xs:pr-[11px] xs:text-center'}>
|
|
359
|
-
<span className="font-[800]">주소</span>{' '}
|
|
360
|
-
<span className={'inline-block max-2xs:text-[14px]'}>
|
|
361
|
-
서울특별시 서초구 서초대로 74길 14 삼성화재 서초타워 9층
|
|
362
|
-
</span>
|
|
363
|
-
</p>
|
|
364
|
-
</div>
|
|
365
|
-
<div
|
|
366
|
-
className={
|
|
367
|
-
'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'
|
|
368
|
-
}
|
|
369
|
-
>
|
|
370
|
-
<p className={'border-solid xs:border-r xs:pr-[11px] xs:text-center'}>
|
|
371
|
-
<span className="font-[800]">사업자등록번호</span>{' '}
|
|
372
|
-
<span className={'inline-block'}>468-81-02178</span>
|
|
373
|
-
</p>
|
|
374
|
-
|
|
375
|
-
<p className={'border-solid max-xs:my-[11px] xs:border-r xs:px-[11px] xs:text-center'}>
|
|
376
|
-
<span className="font-[800]">법률상담접수 </span>{' '}
|
|
377
|
-
<Link
|
|
378
|
-
href={`tel:${tel}`}
|
|
379
|
-
onClick={onClickTel}
|
|
380
|
-
aria-label={'법률상담접수 ' + tel}
|
|
381
|
-
className={'inline-block'}
|
|
382
|
-
>
|
|
383
|
-
<span className={'inline-block'}>{tel}</span>
|
|
384
|
-
</Link>
|
|
385
|
-
</p>
|
|
386
|
-
<p className={'break-keep xs:pl-[11px] xs:text-center'}>
|
|
387
|
-
<span className="font-[800]">광고책임변호사</span>{' '}
|
|
388
|
-
<span className={'inline-block'}>김국일</span>
|
|
389
|
-
</p>
|
|
390
|
-
</div>
|
|
391
|
-
<p
|
|
392
|
-
className={
|
|
393
|
-
'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] '
|
|
394
|
-
}
|
|
395
|
-
>
|
|
396
|
-
Copyright 법무법인(유한) 대륜 all rights reserved
|
|
397
|
-
</p>
|
|
398
|
-
<div className={'flex max-xl:justify-center max-xl:gap-1'}>
|
|
399
|
-
<Link
|
|
400
|
-
href="https://www.scourt.go.kr/portal/information/events/search/search.jsp"
|
|
401
|
-
target="_blank"
|
|
402
|
-
rel="noopener noreferrer nofollow"
|
|
403
|
-
>
|
|
404
|
-
<Image src={sns01} alt="나의 사건 검색" width={66} height={66} className={snsClass} />
|
|
405
|
-
</Link>
|
|
406
|
-
|
|
407
|
-
<Link
|
|
408
|
-
href="https://blog.naver.com/lawfirmdaeryun"
|
|
409
|
-
target="_blank"
|
|
410
|
-
rel="noopener noreferrer nofollow"
|
|
411
|
-
>
|
|
412
|
-
<Image
|
|
413
|
-
src={sns02}
|
|
414
|
-
alt="법무법인(유한) 대륜 공식블로그"
|
|
415
|
-
width={37}
|
|
416
|
-
height={31}
|
|
417
|
-
className={snsClass}
|
|
418
|
-
/>
|
|
419
|
-
</Link>
|
|
420
|
-
|
|
421
|
-
<Link
|
|
422
|
-
href="https://pf.kakao.com/_xgxoTlK/chat"
|
|
423
|
-
target="_blank"
|
|
424
|
-
rel="noopener noreferrer nofollow"
|
|
425
|
-
onClick={onClickKakao}
|
|
426
|
-
>
|
|
427
|
-
<Image
|
|
428
|
-
src={sns03}
|
|
429
|
-
alt="법무법인(유한) 대륜 카카오톡채널"
|
|
430
|
-
width={66}
|
|
431
|
-
height={66}
|
|
432
|
-
className={snsClass}
|
|
433
|
-
/>
|
|
434
|
-
</Link>
|
|
435
|
-
|
|
436
|
-
<Link
|
|
437
|
-
href="https://www.youtube.com/channel/UC3uX0o1sFLj5eHdvZp2T64g/featured"
|
|
438
|
-
target="_blank"
|
|
439
|
-
rel="noopener noreferrer nofollow"
|
|
440
|
-
>
|
|
441
|
-
<Image
|
|
442
|
-
draggable={false}
|
|
443
|
-
src={sns04}
|
|
444
|
-
alt="법무법인(유한) 대륜 유투브"
|
|
445
|
-
width={66}
|
|
446
|
-
height={66}
|
|
447
|
-
className={snsClass}
|
|
448
|
-
/>
|
|
449
|
-
</Link>
|
|
450
|
-
|
|
451
|
-
<Link
|
|
452
|
-
href="https://www.instagram.com/daeryun_lawfirm/?utm_medium=copy_link"
|
|
453
|
-
target="_blank"
|
|
454
|
-
rel="noopener noreferrer nofollow"
|
|
455
|
-
>
|
|
456
|
-
<Image
|
|
457
|
-
draggable={false}
|
|
458
|
-
src={sns05}
|
|
459
|
-
alt="법무법인(유한) 대륜 인스타그램"
|
|
460
|
-
width={66}
|
|
461
|
-
height={66}
|
|
462
|
-
className={snsClass}
|
|
463
|
-
/>
|
|
464
|
-
</Link>
|
|
465
|
-
{isBrochureBtn && isMedical ? (
|
|
466
|
-
<MedicalBrochureBtn
|
|
467
|
-
width={'280px'}
|
|
468
|
-
height={'58px'}
|
|
469
|
-
wrapClassName={'ml-4 max-xl:hidden'}
|
|
470
|
-
className={'-translate-y-2'}
|
|
471
|
-
/>
|
|
472
|
-
) : isBrochureBtn ? (
|
|
473
|
-
<BrochureBtn
|
|
474
|
-
width={'280px'}
|
|
475
|
-
height={'58px'}
|
|
476
|
-
className={'ml-4 -translate-y-2 max-xl:hidden'}
|
|
477
|
-
type={brochureType}
|
|
478
|
-
/>
|
|
479
|
-
) : (
|
|
480
|
-
<></>
|
|
481
|
-
)}
|
|
482
|
-
</div>
|
|
483
|
-
</div>
|
|
484
|
-
</Wrapper>
|
|
485
|
-
</footer>
|
|
486
|
-
);
|
|
487
|
-
};
|
|
488
|
-
|
|
489
|
-
export default NewFooter;
|
|
490
|
-
|
|
491
|
-
export const FooterLinkList = () => {
|
|
492
|
-
/**
|
|
493
|
-
* 로그인 반영 후 푸터
|
|
494
|
-
*/
|
|
495
|
-
|
|
496
|
-
const { data }: { data: ITermType[] } = useActionGetTermList();
|
|
497
|
-
|
|
498
|
-
return (
|
|
499
|
-
<>
|
|
500
|
-
{data && data.length > 0
|
|
501
|
-
? data?.map((item, key) => {
|
|
502
|
-
return (
|
|
503
|
-
<p key={key}>
|
|
504
|
-
<Link
|
|
505
|
-
href={`https://www.daeryunlaw.com/common/term/${item.terms_code}`}
|
|
506
|
-
target={'_blank'}
|
|
507
|
-
>
|
|
508
|
-
{item.terms_name}
|
|
509
|
-
</Link>
|
|
510
|
-
</p>
|
|
511
|
-
);
|
|
512
|
-
})
|
|
513
|
-
: null}
|
|
514
|
-
<p className={'text-[#285FA7]'}>
|
|
515
|
-
<Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
|
|
516
|
-
고객만족센터
|
|
517
|
-
</Link>
|
|
518
|
-
</p>
|
|
519
|
-
</>
|
|
520
|
-
);
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* 기존 푸터
|
|
524
|
-
*/
|
|
525
|
-
// return (
|
|
526
|
-
// <>
|
|
527
|
-
// <p>
|
|
528
|
-
// <Link href={'https://www.daeryunlaw.com/common/disclaimer'} target={'_blank'}>
|
|
529
|
-
// 면책공고
|
|
530
|
-
// </Link>
|
|
531
|
-
// </p>
|
|
532
|
-
// <p>
|
|
533
|
-
// <Link href={'https://www.daeryunlaw.com/common/limited-liability'} target={'_blank'}>
|
|
534
|
-
// 유한책임
|
|
535
|
-
// </Link>
|
|
536
|
-
// </p>
|
|
537
|
-
// <p>
|
|
538
|
-
// <Link href={'https://www.daeryunlaw.com/common/privacy-policy'} target={'_blank'}>
|
|
539
|
-
// 개인정보처리방침
|
|
540
|
-
// </Link>
|
|
541
|
-
// </p>
|
|
542
|
-
// <p>
|
|
543
|
-
// <Link href={'https://www.daeryunlaw.com/common/collect'} target={'_blank'}>
|
|
544
|
-
// 이메일무단수집거부
|
|
545
|
-
// </Link>
|
|
546
|
-
// </p>
|
|
547
|
-
// <p className={'text-[#285FA7]'}>
|
|
548
|
-
// <Link href={'https://www.daeryunlaw.com/inquire'} target={'_blank'}>
|
|
549
|
-
// 고객만족센터
|
|
550
|
-
// </Link>
|
|
551
|
-
// </p>
|
|
552
|
-
// </>
|
|
553
|
-
// );
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
const FooterSelectBox = (props: {
|
|
557
|
-
isBrochureBtn?: boolean;
|
|
558
|
-
wrapperRef: any;
|
|
559
|
-
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
560
|
-
isOpen: boolean;
|
|
561
|
-
routeLocation: boolean;
|
|
562
|
-
groupsData: IGroupsData[] | null;
|
|
563
|
-
isGroups: GroupsProps[];
|
|
564
|
-
}) => {
|
|
565
|
-
const { isBrochureBtn, wrapperRef, setIsOpen, isOpen, routeLocation, groupsData, isGroups } = props;
|
|
566
|
-
|
|
567
|
-
return (
|
|
568
|
-
<div className={(isBrochureBtn ? 'max-xs:w-full' : '') + ' xl:ml-auto'}>
|
|
569
|
-
<div
|
|
570
|
-
ref={wrapperRef}
|
|
571
|
-
className={
|
|
572
|
-
'relative h-[68px] w-[290px] ' +
|
|
573
|
-
'max-xxl:w-[240px] ' +
|
|
574
|
-
'max-xl:w-[299px] ' +
|
|
575
|
-
'max-md:h-[53px] max-md:w-[260px] ' +
|
|
576
|
-
'max-sm:h-[48px] max-sm:w-[230px] ' +
|
|
577
|
-
'z-10 max-xs:mt-[8.2vw] max-xs:h-[55px] max-xs:w-full '
|
|
578
|
-
}
|
|
579
|
-
>
|
|
580
|
-
<button
|
|
581
|
-
type="button"
|
|
582
|
-
className={
|
|
583
|
-
'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 ' +
|
|
584
|
-
'max-xxl:text-[16px] ' +
|
|
585
|
-
'max-md:text-[14px] ' +
|
|
586
|
-
'max-xs:pl-[9.8%] max-xs:text-left max-xs:text-[3.93vw] ' +
|
|
587
|
-
'max-3xs:text-[4.2vw] '
|
|
588
|
-
}
|
|
589
|
-
onClick={() => setIsOpen(!isOpen)}
|
|
590
|
-
aria-haspopup="listbox"
|
|
591
|
-
aria-expanded="true"
|
|
592
|
-
>
|
|
593
|
-
법무법인 대륜 그룹 바로가기
|
|
594
|
-
</button>
|
|
595
|
-
|
|
596
|
-
<ul
|
|
597
|
-
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 transition-all duration-150 focus:outline-none ${
|
|
598
|
-
isOpen ? 'visible opacity-100' : 'invisible opacity-0'
|
|
599
|
-
}`}
|
|
600
|
-
style={{
|
|
601
|
-
zIndex: isOpen ? 50 : -9999,
|
|
602
|
-
pointerEvents: isOpen ? 'auto' : 'none'
|
|
603
|
-
}}
|
|
604
|
-
role="listbox"
|
|
605
|
-
aria-orientation="vertical"
|
|
606
|
-
aria-labelledby="listbox-label"
|
|
607
|
-
aria-expanded="true"
|
|
608
|
-
aria-hidden="false"
|
|
609
|
-
>
|
|
610
|
-
{routeLocation
|
|
611
|
-
? groupsData?.map((item: any, index: number) => (
|
|
612
|
-
// 메인페이지로 접근했을 때, 서버사이드에서 가져온 데이터로 색인
|
|
613
|
-
<React.Fragment key={item.code + item.code_name + item.etc2}>
|
|
614
|
-
<li
|
|
615
|
-
key={index}
|
|
616
|
-
value={item.code_name}
|
|
617
|
-
className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100"
|
|
618
|
-
>
|
|
619
|
-
<Link
|
|
620
|
-
href={getDomainHandler(item.code, item.code_desc)}
|
|
621
|
-
key={index}
|
|
622
|
-
target="_blank"
|
|
623
|
-
title={item.code_name}
|
|
624
|
-
onClick={() => {
|
|
625
|
-
setIsOpen(!isOpen);
|
|
626
|
-
}}
|
|
627
|
-
>
|
|
628
|
-
{item.code === 'CT0000'
|
|
629
|
-
? item.code_name
|
|
630
|
-
: item.code === 'CT0023' || item.code === 'CT0028'
|
|
631
|
-
? `${item.code_name} 센터`
|
|
632
|
-
: `${item.code_name} 그룹`}
|
|
633
|
-
</Link>
|
|
634
|
-
</li>
|
|
635
|
-
{item.children?.length > 0 &&
|
|
636
|
-
item.children?.map((childGroup: any) => (
|
|
637
|
-
<React.Fragment
|
|
638
|
-
key={childGroup.code + childGroup.code_name + childGroup.etc2}
|
|
639
|
-
>
|
|
640
|
-
<li
|
|
641
|
-
key={childGroup.code}
|
|
642
|
-
value={childGroup.code_name}
|
|
643
|
-
className="cursor-pointer px-9 py-[5px] text-[15px] font-[500] duration-150 hover:bg-gray-100"
|
|
644
|
-
>
|
|
645
|
-
<Link
|
|
646
|
-
href={childGroup.etc2}
|
|
647
|
-
key={index}
|
|
648
|
-
target="_blank"
|
|
649
|
-
title={childGroup.codename}
|
|
650
|
-
onClick={() => {
|
|
651
|
-
setIsOpen(!isOpen);
|
|
652
|
-
}}
|
|
653
|
-
>
|
|
654
|
-
{childGroup.code_name} 센터
|
|
655
|
-
</Link>
|
|
656
|
-
</li>
|
|
657
|
-
{childGroup.code === 'ICT0005' ? (
|
|
658
|
-
<li
|
|
659
|
-
value={'기업인수·합병(M&A)'}
|
|
660
|
-
className="cursor-pointer px-9 py-[5px] text-[15px] font-[500] duration-150 hover:bg-gray-100"
|
|
661
|
-
>
|
|
662
|
-
<Link
|
|
663
|
-
href={'https://www.daeryunlaw-mergers.com/'}
|
|
664
|
-
target="_blank"
|
|
665
|
-
title={'기업인수·합병(M&A)'}
|
|
666
|
-
onClick={() => {
|
|
667
|
-
setIsOpen(!isOpen);
|
|
668
|
-
}}
|
|
669
|
-
>
|
|
670
|
-
기업인수·합병(M&A) 센터
|
|
671
|
-
</Link>
|
|
672
|
-
</li>
|
|
673
|
-
) : (
|
|
674
|
-
<></>
|
|
675
|
-
)}
|
|
676
|
-
</React.Fragment>
|
|
677
|
-
))}
|
|
678
|
-
</React.Fragment>
|
|
679
|
-
))
|
|
680
|
-
: (isGroups as unknown as { list: any[] }).list
|
|
681
|
-
?.filter(i => i.code !== 'CT0022')
|
|
682
|
-
?.map((item: any, index: number) => (
|
|
683
|
-
// 메인페이지가 아닌 경로로 유입되었을 때, api 호출하여 받은 데이터. 색인 x
|
|
684
|
-
<React.Fragment key={index}>
|
|
685
|
-
<li
|
|
686
|
-
key={index}
|
|
687
|
-
value={item.code_name}
|
|
688
|
-
className="cursor-pointer px-5 py-[5px] text-[17px] font-[500] duration-150 hover:bg-gray-100"
|
|
689
|
-
>
|
|
690
|
-
<Link
|
|
691
|
-
href={getDomainHandler(item.code, item.code_desc)}
|
|
692
|
-
key={index}
|
|
693
|
-
target="_blank"
|
|
694
|
-
title={item.code_name}
|
|
695
|
-
onClick={() => {
|
|
696
|
-
setIsOpen(!isOpen);
|
|
697
|
-
}}
|
|
698
|
-
>
|
|
699
|
-
{item.code === 'CT0000'
|
|
700
|
-
? item.code_name
|
|
701
|
-
: item.code === 'CT0023' || item.code === 'CT0028'
|
|
702
|
-
? `${item.code_name} 센터`
|
|
703
|
-
: `${item.code_name} 그룹`}
|
|
704
|
-
</Link>
|
|
705
|
-
</li>
|
|
706
|
-
{item.children?.length > 0 &&
|
|
707
|
-
item.children?.map((childGroup: any) => (
|
|
708
|
-
<React.Fragment
|
|
709
|
-
key={childGroup.code + childGroup.code_name + childGroup.etc2}
|
|
710
|
-
>
|
|
711
|
-
<li
|
|
712
|
-
key={childGroup.code}
|
|
713
|
-
value={childGroup.code_name}
|
|
714
|
-
className="cursor-pointer px-9 py-[5px] text-[15px] font-[500] duration-150 hover:bg-gray-100"
|
|
715
|
-
>
|
|
716
|
-
<Link
|
|
717
|
-
href={childGroup.etc2}
|
|
718
|
-
key={index}
|
|
719
|
-
target="_blank"
|
|
720
|
-
title={childGroup.codename}
|
|
721
|
-
onClick={() => {
|
|
722
|
-
setIsOpen(!isOpen);
|
|
723
|
-
}}
|
|
724
|
-
>
|
|
725
|
-
{childGroup.code_name} 센터
|
|
726
|
-
</Link>
|
|
727
|
-
</li>
|
|
728
|
-
{childGroup.code === 'ICT0005' ? (
|
|
729
|
-
<li
|
|
730
|
-
value={'기업인수·합병(M&A)'}
|
|
731
|
-
className="cursor-pointer px-9 py-[5px] text-[15px] font-[500] duration-150 hover:bg-gray-100"
|
|
732
|
-
>
|
|
733
|
-
<Link
|
|
734
|
-
href={'https://www.daeryunlaw-mergers.com/'}
|
|
735
|
-
target="_blank"
|
|
736
|
-
title={'기업인수·합병(M&A)'}
|
|
737
|
-
onClick={() => {
|
|
738
|
-
setIsOpen(!isOpen);
|
|
739
|
-
}}
|
|
740
|
-
>
|
|
741
|
-
기업인수·합병(M&A) 센터
|
|
742
|
-
</Link>
|
|
743
|
-
</li>
|
|
744
|
-
) : (
|
|
745
|
-
<></>
|
|
746
|
-
)}
|
|
747
|
-
</React.Fragment>
|
|
748
|
-
))}
|
|
749
|
-
</React.Fragment>
|
|
750
|
-
))}
|
|
751
|
-
</ul>
|
|
752
|
-
|
|
753
|
-
<Image
|
|
754
|
-
draggable={false}
|
|
755
|
-
src={process.env.NEXT_PUBLIC_S3_URL + '/comp-asset/section10/icon_arrow_gray.webp'}
|
|
756
|
-
alt={'select icon'}
|
|
757
|
-
width={28}
|
|
758
|
-
height={15}
|
|
759
|
-
className={'absolute right-[10%] top-[50%] w-[15px] translate-y-[-50%] max-sm:w-[14px]'}
|
|
760
|
-
/>
|
|
761
|
-
</div>
|
|
762
|
-
</div>
|
|
763
|
-
);
|
|
764
|
-
};
|