@daeryun/dr_components 0.4.95 → 0.4.98
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/asset/images/header/head_link.svg +3 -0
- package/dist/components/Header/HeaderWrapper.d.ts +8 -0
- package/dist/components/Header/HeaderWrapper.jsx +8 -0
- package/dist/components/Header/HeaderWrapper.tsx +22 -0
- package/dist/components/Header/MobileHeader.jsx +3 -3
- package/dist/components/Header/MobileHeader.tsx +3 -3
- package/dist/components/Header/PcHeader.jsx +6 -4
- package/dist/components/Header/PcHeader.tsx +13 -4
- package/dist/components/index.js +2 -0
- package/dist/components/index.ts +2 -0
- package/dist/components/page/LawyerDetail/BasicInfo.d.ts +8 -0
- package/dist/components/page/LawyerDetail/BasicInfo.jsx +127 -0
- package/dist/components/page/LawyerDetail/BasicInfo.tsx +265 -0
- package/dist/components/page/LawyerDetail/CareerList.d.ts +20 -0
- package/dist/components/page/LawyerDetail/CareerList.jsx +289 -0
- package/dist/components/page/LawyerDetail/CareerList.tsx +544 -0
- package/dist/components/page/LawyerDetail/ILawyerDetailTypes.d.ts +48 -0
- package/dist/components/page/LawyerDetail/ILawyerDetailTypes.jsx +1 -0
- package/dist/components/page/LawyerDetail/ILawyerDetailTypes.tsx +53 -0
- package/dist/components/page/LawyerDetail/Introduce.d.ts +7 -0
- package/dist/components/page/LawyerDetail/Introduce.jsx +25 -0
- package/dist/components/page/LawyerDetail/Introduce.tsx +41 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.d.ts +11 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.jsx +117 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.d.ts +6 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.jsx +2485 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.stories.tsx +2495 -0
- package/dist/components/page/LawyerDetail/LawyerDetail.tsx +180 -0
- package/dist/components/page/LawyerDetail/MobileRelatedPage.d.ts +10 -0
- package/dist/components/page/LawyerDetail/MobileRelatedPage.jsx +45 -0
- package/dist/components/page/LawyerDetail/MobileRelatedPage.tsx +118 -0
- package/dist/components/page/LawyerDetail/MobileSpeciality.d.ts +9 -0
- package/dist/components/page/LawyerDetail/MobileSpeciality.jsx +59 -0
- package/dist/components/page/LawyerDetail/MobileSpeciality.tsx +113 -0
- package/dist/components/page/LawyerDetail/MobileTabButton.d.ts +5 -0
- package/dist/components/page/LawyerDetail/MobileTabButton.jsx +20 -0
- package/dist/components/page/LawyerDetail/MobileTabButton.tsx +35 -0
- package/dist/components/page/LawyerDetail/PcTabButton.d.ts +8 -0
- package/dist/components/page/LawyerDetail/PcTabButton.jsx +102 -0
- package/dist/components/page/LawyerDetail/PcTabButton.tsx +182 -0
- package/dist/components/page/LawyerDetail/detail.module.css +602 -0
- package/dist/styles/globals.css +692 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
import Link from 'next/link';
|
|
2
|
+
import Image from 'next/image';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import style from './detail.module.css';
|
|
5
|
+
import { IBoard, ILawyer, ILawyerCareer, ISuccess } from './ILawyerDetailTypes';
|
|
6
|
+
import { searchColorLawyerText } from '../../common/integrate';
|
|
7
|
+
|
|
8
|
+
const CareerList = ({
|
|
9
|
+
lawyerInfo,
|
|
10
|
+
careerList,
|
|
11
|
+
certiList,
|
|
12
|
+
codeList,
|
|
13
|
+
speciality,
|
|
14
|
+
successList,
|
|
15
|
+
broadcastList,
|
|
16
|
+
reviewList,
|
|
17
|
+
targetRefs,
|
|
18
|
+
integrateSearch,
|
|
19
|
+
targetTitleRefs
|
|
20
|
+
}: {
|
|
21
|
+
lawyerInfo: ILawyer;
|
|
22
|
+
careerList: ILawyerCareer[];
|
|
23
|
+
certiList: {
|
|
24
|
+
idx: number;
|
|
25
|
+
l_id: string;
|
|
26
|
+
certi_code: string | null;
|
|
27
|
+
}[];
|
|
28
|
+
speciality: ILawyerCareer[];
|
|
29
|
+
codeList: any[];
|
|
30
|
+
targetRefs: any;
|
|
31
|
+
targetTitleRefs: any;
|
|
32
|
+
successList: ISuccess[];
|
|
33
|
+
broadcastList: IBoard[];
|
|
34
|
+
reviewList: IBoard[];
|
|
35
|
+
integrateSearch: string;
|
|
36
|
+
}) => {
|
|
37
|
+
return (
|
|
38
|
+
<div
|
|
39
|
+
className={
|
|
40
|
+
'mt-[80px] flex justify-between gap-[90px] ' +
|
|
41
|
+
//768px
|
|
42
|
+
'max-md:mt-[20px] max-md:px-[10px] '
|
|
43
|
+
}
|
|
44
|
+
>
|
|
45
|
+
<div className={'w-full'}>
|
|
46
|
+
{careerList.filter((item: any) => item.career_code === 'LC002').length > 0 ? (
|
|
47
|
+
<div className={'relative'} id="career_list">
|
|
48
|
+
<span ref={targetRefs.career} className={'absolute top-[-130px] h-0 w-full'}></span>
|
|
49
|
+
<h3
|
|
50
|
+
tabIndex={-1}
|
|
51
|
+
ref={targetTitleRefs.career}
|
|
52
|
+
className={
|
|
53
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
54
|
+
//1280px
|
|
55
|
+
'max-xl:text-[28px] ' +
|
|
56
|
+
//768px
|
|
57
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
58
|
+
//480px
|
|
59
|
+
'max-xs:text-[18px]'
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
경력
|
|
63
|
+
</h3>
|
|
64
|
+
<div className={''}>
|
|
65
|
+
<ul
|
|
66
|
+
className={
|
|
67
|
+
'pl-[36px] ' +
|
|
68
|
+
//768px
|
|
69
|
+
'max-xl:pl-[26px]'
|
|
70
|
+
}
|
|
71
|
+
>
|
|
72
|
+
{careerList
|
|
73
|
+
.filter((item: any) => item.career_code === 'LC002')
|
|
74
|
+
.map((item: any, index) => (
|
|
75
|
+
<li key={index}>
|
|
76
|
+
<span
|
|
77
|
+
className={
|
|
78
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
79
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
80
|
+
//1280px
|
|
81
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
82
|
+
//768px
|
|
83
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
84
|
+
//480px
|
|
85
|
+
'max-xs:text-[14px] max-xs:leading-[26px] '
|
|
86
|
+
}
|
|
87
|
+
>
|
|
88
|
+
{searchColorLawyerText(item.career_txt.split('[')[0], integrateSearch)}
|
|
89
|
+
</span>
|
|
90
|
+
{item.career_txt.split('[')[1] ? (
|
|
91
|
+
<span
|
|
92
|
+
className={
|
|
93
|
+
'relative text-[20px] font-[800] leading-[40px] tracking-[-0.5px] ' +
|
|
94
|
+
//1280px
|
|
95
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
96
|
+
//768px
|
|
97
|
+
'max-md:text-[16px] max-md:leading-[34px] ' +
|
|
98
|
+
//480px
|
|
99
|
+
'max-xs:text-[14px] max-xs:leading-[26px] '
|
|
100
|
+
}
|
|
101
|
+
>
|
|
102
|
+
{searchColorLawyerText(
|
|
103
|
+
'[' + item.career_txt.split('[')[1],
|
|
104
|
+
integrateSearch
|
|
105
|
+
)}
|
|
106
|
+
</span>
|
|
107
|
+
) : (
|
|
108
|
+
''
|
|
109
|
+
)}
|
|
110
|
+
</li>
|
|
111
|
+
))}
|
|
112
|
+
</ul>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
) : (
|
|
116
|
+
''
|
|
117
|
+
)}
|
|
118
|
+
|
|
119
|
+
{careerList.filter((item: any) => item.career_code === 'LC003').length > 0 ? (
|
|
120
|
+
<div>
|
|
121
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
122
|
+
<div className={'relative'} id="act_list">
|
|
123
|
+
<span ref={targetRefs.act} className={'absolute top-[-130px] h-0 w-full'}></span>
|
|
124
|
+
<h3
|
|
125
|
+
tabIndex={-1}
|
|
126
|
+
ref={targetTitleRefs.act}
|
|
127
|
+
className={
|
|
128
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
129
|
+
//1280px
|
|
130
|
+
'max-xl:text-[28px] ' +
|
|
131
|
+
//768px
|
|
132
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
133
|
+
//480px
|
|
134
|
+
'max-xs:text-[18px]'
|
|
135
|
+
}
|
|
136
|
+
>
|
|
137
|
+
주요활동
|
|
138
|
+
</h3>
|
|
139
|
+
<div className={style.data_wrap}>
|
|
140
|
+
<ul
|
|
141
|
+
className={
|
|
142
|
+
'pl-[36px] ' +
|
|
143
|
+
//768px
|
|
144
|
+
'max-xl:pl-[26px]'
|
|
145
|
+
}
|
|
146
|
+
>
|
|
147
|
+
{careerList
|
|
148
|
+
.filter((item: any) => item.career_code === 'LC003')
|
|
149
|
+
.map((item: any, index) => (
|
|
150
|
+
<li key={index}>
|
|
151
|
+
<span
|
|
152
|
+
className={
|
|
153
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
154
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
155
|
+
//1280px
|
|
156
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
157
|
+
//768px
|
|
158
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
159
|
+
//480px
|
|
160
|
+
'max-xs:text-[14px] max-xs:leading-[26px]'
|
|
161
|
+
}
|
|
162
|
+
>
|
|
163
|
+
{searchColorLawyerText(item.career_txt, integrateSearch)}
|
|
164
|
+
</span>
|
|
165
|
+
</li>
|
|
166
|
+
))}
|
|
167
|
+
</ul>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
) : (
|
|
172
|
+
''
|
|
173
|
+
)}
|
|
174
|
+
|
|
175
|
+
{careerList.filter((item: any) => item.career_code === 'LC006').length > 0 ? (
|
|
176
|
+
<div>
|
|
177
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
178
|
+
<div className={'relative'} id="suc_list">
|
|
179
|
+
<span ref={targetRefs.success} className={'absolute top-[-130px] h-0 w-full'}></span>
|
|
180
|
+
<h3
|
|
181
|
+
tabIndex={-1}
|
|
182
|
+
ref={targetTitleRefs.success}
|
|
183
|
+
className={
|
|
184
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
185
|
+
//1280px
|
|
186
|
+
'max-xl:text-[28px] ' +
|
|
187
|
+
//768px
|
|
188
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
189
|
+
//480px
|
|
190
|
+
'max-xs:text-[18px]'
|
|
191
|
+
}
|
|
192
|
+
>
|
|
193
|
+
주요실적
|
|
194
|
+
</h3>
|
|
195
|
+
<div className={style.data_wrap}>
|
|
196
|
+
<ul
|
|
197
|
+
className={
|
|
198
|
+
'pl-[36px] ' +
|
|
199
|
+
//768px
|
|
200
|
+
'max-xl:pl-[26px]'
|
|
201
|
+
}
|
|
202
|
+
>
|
|
203
|
+
{careerList
|
|
204
|
+
.filter((item: any) => item.career_code === 'LC006')
|
|
205
|
+
.map((item: any, index) => (
|
|
206
|
+
<li key={index}>
|
|
207
|
+
<span
|
|
208
|
+
className={
|
|
209
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
210
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
211
|
+
//1280px
|
|
212
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
213
|
+
//768px
|
|
214
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
215
|
+
//480px
|
|
216
|
+
'max-xs:text-[14px] max-xs:leading-[26px]'
|
|
217
|
+
}
|
|
218
|
+
>
|
|
219
|
+
{searchColorLawyerText(item.career_txt, integrateSearch)}
|
|
220
|
+
</span>
|
|
221
|
+
</li>
|
|
222
|
+
))}
|
|
223
|
+
</ul>
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
) : (
|
|
228
|
+
''
|
|
229
|
+
)}
|
|
230
|
+
|
|
231
|
+
{careerList.filter((item: any) => item.career_code === 'LC001').length > 0 ? (
|
|
232
|
+
<div>
|
|
233
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
234
|
+
<div className={'relative'} id="edu_list">
|
|
235
|
+
<span ref={targetRefs.edu} className={'absolute top-[-130px] h-0 w-full'}></span>
|
|
236
|
+
<h3
|
|
237
|
+
tabIndex={-1}
|
|
238
|
+
ref={targetTitleRefs.edu}
|
|
239
|
+
className={
|
|
240
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
241
|
+
//1280px
|
|
242
|
+
'max-xl:text-[28px] ' +
|
|
243
|
+
//768px
|
|
244
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
245
|
+
//480px
|
|
246
|
+
'max-xs:text-[18px]'
|
|
247
|
+
}
|
|
248
|
+
>
|
|
249
|
+
학력
|
|
250
|
+
</h3>
|
|
251
|
+
<div className={style.data_wrap}>
|
|
252
|
+
<ul
|
|
253
|
+
className={
|
|
254
|
+
'pl-[36px] ' +
|
|
255
|
+
//768px
|
|
256
|
+
'max-xl:pl-[26px]'
|
|
257
|
+
}
|
|
258
|
+
>
|
|
259
|
+
{careerList
|
|
260
|
+
.filter((item: any) => item.career_code === 'LC001')
|
|
261
|
+
.map((item: any, index) => (
|
|
262
|
+
<li key={index}>
|
|
263
|
+
<span
|
|
264
|
+
className={
|
|
265
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
266
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
267
|
+
//1280px
|
|
268
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
269
|
+
//768px
|
|
270
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
271
|
+
//480px
|
|
272
|
+
'max-xs:text-[14px] max-xs:leading-[26px]'
|
|
273
|
+
}
|
|
274
|
+
>
|
|
275
|
+
{searchColorLawyerText(item.career_txt, integrateSearch)}
|
|
276
|
+
</span>
|
|
277
|
+
</li>
|
|
278
|
+
))}
|
|
279
|
+
</ul>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
) : (
|
|
284
|
+
''
|
|
285
|
+
)}
|
|
286
|
+
|
|
287
|
+
{careerList.filter((item: any) => item.career_code === 'LC004').length > 0 ? (
|
|
288
|
+
<div>
|
|
289
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
290
|
+
<div className={'relative'}>
|
|
291
|
+
<span ref={targetRefs.book} className={'absolute top-[-130px] h-0 w-full'}></span>
|
|
292
|
+
<h3
|
|
293
|
+
tabIndex={-1}
|
|
294
|
+
ref={targetTitleRefs.book}
|
|
295
|
+
className={
|
|
296
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
297
|
+
//1280px
|
|
298
|
+
'max-xl:text-[28px] ' +
|
|
299
|
+
//768px
|
|
300
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
301
|
+
//480px
|
|
302
|
+
'max-xs:text-[18px]'
|
|
303
|
+
}
|
|
304
|
+
id="book_list"
|
|
305
|
+
>
|
|
306
|
+
저서 및 논문
|
|
307
|
+
</h3>
|
|
308
|
+
<div className={style.data_wrap}>
|
|
309
|
+
<ul
|
|
310
|
+
className={
|
|
311
|
+
'pl-[36px] ' +
|
|
312
|
+
//768px
|
|
313
|
+
'max-xl:pl-[26px]'
|
|
314
|
+
}
|
|
315
|
+
>
|
|
316
|
+
{careerList
|
|
317
|
+
.filter((item: any) => item.career_code === 'LC004')
|
|
318
|
+
.map((item: any, index) => (
|
|
319
|
+
<li key={index}>
|
|
320
|
+
<span
|
|
321
|
+
className={
|
|
322
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
323
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
324
|
+
//1280px
|
|
325
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
326
|
+
//768px
|
|
327
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
328
|
+
//480px
|
|
329
|
+
'max-xs:text-[14px] max-xs:leading-[26px]'
|
|
330
|
+
}
|
|
331
|
+
>
|
|
332
|
+
{searchColorLawyerText(item.career_txt, integrateSearch)}
|
|
333
|
+
</span>
|
|
334
|
+
</li>
|
|
335
|
+
))}
|
|
336
|
+
</ul>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
</div>
|
|
340
|
+
) : (
|
|
341
|
+
''
|
|
342
|
+
)}
|
|
343
|
+
|
|
344
|
+
{certiList.length > 0 ? (
|
|
345
|
+
<div>
|
|
346
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
347
|
+
<div className={''}>
|
|
348
|
+
<h3
|
|
349
|
+
tabIndex={-1}
|
|
350
|
+
ref={targetRefs.certi}
|
|
351
|
+
className={
|
|
352
|
+
'mb-[25px] text-[30px] font-[700] tracking-[-1.5px] text-[#285FA7] ' +
|
|
353
|
+
//1280px
|
|
354
|
+
'max-xl:text-[28px] ' +
|
|
355
|
+
//768px
|
|
356
|
+
'max-md:mb-[15px] max-md:text-[26px] ' +
|
|
357
|
+
//480px
|
|
358
|
+
'max-xs:text-[18px]'
|
|
359
|
+
}
|
|
360
|
+
id="certi"
|
|
361
|
+
>
|
|
362
|
+
자격 취득
|
|
363
|
+
</h3>
|
|
364
|
+
<div className={style.data_wrap}>
|
|
365
|
+
<ul
|
|
366
|
+
className={
|
|
367
|
+
'pl-[36px] ' +
|
|
368
|
+
//768px
|
|
369
|
+
'max-xl:pl-[26px]'
|
|
370
|
+
}
|
|
371
|
+
>
|
|
372
|
+
{certiList.map((item: any, index: number) => (
|
|
373
|
+
<li key={index}>
|
|
374
|
+
<span
|
|
375
|
+
className={
|
|
376
|
+
'relative text-[20px] font-[400] leading-[40px] tracking-[-0.5px] ' +
|
|
377
|
+
'before:absolute before:left-[-30px] before:mr-[5px] before:inline-block before:scale-[1.5] before:text-[#D0D0D0] before:content-["•"] ' +
|
|
378
|
+
//1280px
|
|
379
|
+
'max-xl:text-[18px] max-xl:leading-[38px] ' +
|
|
380
|
+
//768px
|
|
381
|
+
'max-md:text-[16px] max-md:leading-[34px] max-md:before:left-[-20px] ' +
|
|
382
|
+
//480px
|
|
383
|
+
'max-xs:text-[14px] max-xs:leading-[26px]'
|
|
384
|
+
}
|
|
385
|
+
>
|
|
386
|
+
{searchColorLawyerText(
|
|
387
|
+
codeList.filter((code: any) => code.code === item.certi_code)[0]
|
|
388
|
+
.code_name,
|
|
389
|
+
integrateSearch
|
|
390
|
+
)}
|
|
391
|
+
</span>
|
|
392
|
+
</li>
|
|
393
|
+
))}
|
|
394
|
+
</ul>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
) : (
|
|
399
|
+
''
|
|
400
|
+
)}
|
|
401
|
+
<div className={'my-8 h-[2px] w-[100%] bg-[#ebebeb] sm:my-20'}></div>
|
|
402
|
+
</div>
|
|
403
|
+
|
|
404
|
+
{speciality.length > 0 || successList.length > 0 || broadcastList.length > 0 || reviewList.length > 0 ? (
|
|
405
|
+
<div className={'flex w-[320px] flex-shrink-0 flex-col gap-[20px] max-lg:hidden'}>
|
|
406
|
+
{speciality && speciality.length > 1 ? (
|
|
407
|
+
<div className={''}>
|
|
408
|
+
<div
|
|
409
|
+
className={'mb-[15px] text-[24px] font-[700] leading-none tracking-[-1.2px]'}
|
|
410
|
+
id="field"
|
|
411
|
+
>
|
|
412
|
+
관련 업무분야
|
|
413
|
+
</div>
|
|
414
|
+
<div className={'mb-[30px]'}>
|
|
415
|
+
<ul className={'w-full'}>
|
|
416
|
+
{speciality.map((item, index: number) => {
|
|
417
|
+
// prettier-ignore
|
|
418
|
+
const url = codeList.filter(c => c.parent_code === 'center' && c.code_name.includes(item.career_txt)) && codeList.filter(c => c.parent_code === 'center' && c.code_name.includes(item.career_txt)).length > 0
|
|
419
|
+
? codeList.filter(c => c.parent_code === 'center' && c.code_name.includes(item.career_txt))[0].etc2
|
|
420
|
+
: 'https://www.daeryunlaw.com/';
|
|
421
|
+
|
|
422
|
+
const careerTxt = item.career_txt
|
|
423
|
+
? item.career_txt.replace('일반소송', '민사').replace('중재', '손해배상')
|
|
424
|
+
: '';
|
|
425
|
+
|
|
426
|
+
return (
|
|
427
|
+
<Link
|
|
428
|
+
href={url}
|
|
429
|
+
target="_blank"
|
|
430
|
+
key={index}
|
|
431
|
+
className={
|
|
432
|
+
'mr-[5px] mt-[5px] inline-block basis-[100%] flex-wrap rounded-[20px] border-[1px] border-solid border-[#dfdfdf] px-[10px] py-[4px] text-[16px] font-[700] tracking-[-0.9px] text-[#555] ' +
|
|
433
|
+
'group hover:border-[#285FA7] hover:text-[#285FA7] '
|
|
434
|
+
}
|
|
435
|
+
>
|
|
436
|
+
<span className={'flex items-center gap-[2px]'}>
|
|
437
|
+
<Image
|
|
438
|
+
src={
|
|
439
|
+
'https://d1tgonli21s4df.cloudfront.net/lawyer/hover_off.webp'
|
|
440
|
+
}
|
|
441
|
+
alt={careerTxt + '전문변호사'}
|
|
442
|
+
width={6}
|
|
443
|
+
height={6}
|
|
444
|
+
className={'group-hover:hidden'}
|
|
445
|
+
/>
|
|
446
|
+
<Image
|
|
447
|
+
src={
|
|
448
|
+
'https://d1tgonli21s4df.cloudfront.net/lawyer/hover_on.webp'
|
|
449
|
+
}
|
|
450
|
+
alt={careerTxt + '전문변호사'}
|
|
451
|
+
width={6}
|
|
452
|
+
height={6}
|
|
453
|
+
className={'hidden group-hover:block'}
|
|
454
|
+
/>
|
|
455
|
+
{searchColorLawyerText(careerTxt, integrateSearch)}
|
|
456
|
+
</span>
|
|
457
|
+
</Link>
|
|
458
|
+
);
|
|
459
|
+
})}
|
|
460
|
+
</ul>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
) : (
|
|
464
|
+
''
|
|
465
|
+
)}
|
|
466
|
+
|
|
467
|
+
{successList.length > 0 ? (
|
|
468
|
+
<div className={style.body_cont}>
|
|
469
|
+
<Link href={'/success/lawyer/' + lawyerInfo.l_name}>
|
|
470
|
+
<div
|
|
471
|
+
className={
|
|
472
|
+
'flex h-[80px] w-full items-center justify-between border-[1px] border-solid border-[#dfdfdf] px-[30px] text-[24px] font-[700] tracking-[-1.2px] text-[#333333]'
|
|
473
|
+
}
|
|
474
|
+
>
|
|
475
|
+
<p>업무사례</p>
|
|
476
|
+
<Image
|
|
477
|
+
src={'https://d1tgonli21s4df.cloudfront.net/lawyer/arrow_g.webp'}
|
|
478
|
+
alt={''}
|
|
479
|
+
title={''}
|
|
480
|
+
width={30}
|
|
481
|
+
height={20}
|
|
482
|
+
className={'h-[14px] w-[24px]'}
|
|
483
|
+
/>
|
|
484
|
+
</div>
|
|
485
|
+
</Link>
|
|
486
|
+
</div>
|
|
487
|
+
) : (
|
|
488
|
+
''
|
|
489
|
+
)}
|
|
490
|
+
|
|
491
|
+
{broadcastList.length > 0 ? (
|
|
492
|
+
<div className={style.body_cont}>
|
|
493
|
+
<Link href="/broadcast" className={''}>
|
|
494
|
+
<div
|
|
495
|
+
className={
|
|
496
|
+
'flex h-[80px] w-full items-center justify-between border-[1px] border-solid border-[#dfdfdf] px-[30px] text-[24px] font-[700] tracking-[-1.2px] text-[#333333]'
|
|
497
|
+
}
|
|
498
|
+
>
|
|
499
|
+
<p>언론보도</p>
|
|
500
|
+
<Image
|
|
501
|
+
src={'https://d1tgonli21s4df.cloudfront.net/lawyer/arrow_g.webp'}
|
|
502
|
+
alt={''}
|
|
503
|
+
title={''}
|
|
504
|
+
width={30}
|
|
505
|
+
height={20}
|
|
506
|
+
className={'h-[14px] w-[24px]'}
|
|
507
|
+
/>
|
|
508
|
+
</div>
|
|
509
|
+
</Link>
|
|
510
|
+
</div>
|
|
511
|
+
) : (
|
|
512
|
+
''
|
|
513
|
+
)}
|
|
514
|
+
{reviewList.length > 0 ? (
|
|
515
|
+
<div className={style.body_cont}>
|
|
516
|
+
<Link href="/reply" className={''}>
|
|
517
|
+
<div
|
|
518
|
+
className={
|
|
519
|
+
'flex h-[80px] w-full items-center justify-between border-[1px] border-solid border-[#dfdfdf] px-[30px] text-[24px] font-[700] tracking-[-1.2px] text-[#333333]'
|
|
520
|
+
}
|
|
521
|
+
>
|
|
522
|
+
<p>후기</p>
|
|
523
|
+
<Image
|
|
524
|
+
src={'https://d1tgonli21s4df.cloudfront.net/lawyer/arrow_g.webp'}
|
|
525
|
+
alt={''}
|
|
526
|
+
title={''}
|
|
527
|
+
width={30}
|
|
528
|
+
height={20}
|
|
529
|
+
className={'h-[14px] w-[24px]'}
|
|
530
|
+
/>
|
|
531
|
+
</div>
|
|
532
|
+
</Link>
|
|
533
|
+
</div>
|
|
534
|
+
) : (
|
|
535
|
+
''
|
|
536
|
+
)}
|
|
537
|
+
</div>
|
|
538
|
+
) : (
|
|
539
|
+
''
|
|
540
|
+
)}
|
|
541
|
+
</div>
|
|
542
|
+
);
|
|
543
|
+
};
|
|
544
|
+
export default CareerList;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface ILawyer {
|
|
2
|
+
l_id: string;
|
|
3
|
+
l_name: string;
|
|
4
|
+
l_name_en: string | null;
|
|
5
|
+
l_ability: string | null;
|
|
6
|
+
office_code: string | null;
|
|
7
|
+
lawyer_code: string | null;
|
|
8
|
+
detail_img: string | null;
|
|
9
|
+
l_introduce_main: string | null;
|
|
10
|
+
l_introduce: string | null;
|
|
11
|
+
l_keyword: string | null;
|
|
12
|
+
keywords: string[] | null;
|
|
13
|
+
l_sort_center: string[] | null;
|
|
14
|
+
nukki: string | null;
|
|
15
|
+
l_tel: string | null;
|
|
16
|
+
l_email: string | null;
|
|
17
|
+
l_position: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface ILawyerCareer {
|
|
20
|
+
idx: number;
|
|
21
|
+
l_id: string | null;
|
|
22
|
+
career_code: string | null;
|
|
23
|
+
career_txt: string | null;
|
|
24
|
+
}
|
|
25
|
+
export interface IBoard {
|
|
26
|
+
idx: number;
|
|
27
|
+
board_title: string;
|
|
28
|
+
board_summary: string;
|
|
29
|
+
board_code: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ISuccess {
|
|
32
|
+
idx: number;
|
|
33
|
+
crime_result: string;
|
|
34
|
+
sub_title: string;
|
|
35
|
+
contents: string;
|
|
36
|
+
keyword: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ILawyerCerti {
|
|
39
|
+
idx: number;
|
|
40
|
+
l_id: string;
|
|
41
|
+
certi_code: string | null;
|
|
42
|
+
}
|
|
43
|
+
export interface ICommonCode {
|
|
44
|
+
code: string;
|
|
45
|
+
code_name: string | null;
|
|
46
|
+
parent_code: string;
|
|
47
|
+
etc2: string | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export interface ILawyer {
|
|
2
|
+
l_id: string;
|
|
3
|
+
l_name: string;
|
|
4
|
+
l_name_en: string | null;
|
|
5
|
+
l_ability: string | null;
|
|
6
|
+
office_code: string | null;
|
|
7
|
+
lawyer_code: string | null;
|
|
8
|
+
detail_img: string | null;
|
|
9
|
+
l_introduce_main: string | null;
|
|
10
|
+
l_introduce: string | null;
|
|
11
|
+
l_keyword: string | null;
|
|
12
|
+
keywords: string[] | null;
|
|
13
|
+
l_sort_center: string[] | null;
|
|
14
|
+
nukki: string | null;
|
|
15
|
+
l_tel: string | null;
|
|
16
|
+
l_email: string | null;
|
|
17
|
+
l_position: string | null;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ILawyerCareer {
|
|
21
|
+
idx: number;
|
|
22
|
+
l_id: string | null;
|
|
23
|
+
career_code: string | null;
|
|
24
|
+
career_txt: string | null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface IBoard {
|
|
28
|
+
idx: number;
|
|
29
|
+
board_title: string;
|
|
30
|
+
board_summary: string;
|
|
31
|
+
board_code: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface ISuccess {
|
|
35
|
+
idx: number;
|
|
36
|
+
crime_result: string;
|
|
37
|
+
sub_title: string;
|
|
38
|
+
contents: string;
|
|
39
|
+
keyword: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface ILawyerCerti {
|
|
43
|
+
idx: number;
|
|
44
|
+
l_id: string;
|
|
45
|
+
certi_code: string | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ICommonCode {
|
|
49
|
+
code: string;
|
|
50
|
+
code_name: string | null;
|
|
51
|
+
parent_code: string;
|
|
52
|
+
etc2: string | null;
|
|
53
|
+
}
|