@daeryun/dr_components 0.4.96 → 0.4.99

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.
Files changed (45) hide show
  1. package/dist/asset/images/header/head_link.svg +3 -0
  2. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  3. package/dist/components/Header/HeaderWrapper.d.ts +8 -0
  4. package/dist/components/Header/HeaderWrapper.jsx +8 -0
  5. package/dist/components/Header/HeaderWrapper.tsx +22 -0
  6. package/dist/components/Header/MobileHeader.jsx +3 -3
  7. package/dist/components/Header/MobileHeader.tsx +3 -3
  8. package/dist/components/Header/PcHeader.jsx +6 -4
  9. package/dist/components/Header/PcHeader.tsx +13 -4
  10. package/dist/components/index.js +1 -0
  11. package/dist/components/index.ts +1 -0
  12. package/dist/components/page/LawyerDetail/BasicInfo.d.ts +8 -0
  13. package/dist/components/page/LawyerDetail/BasicInfo.jsx +127 -0
  14. package/dist/components/page/LawyerDetail/BasicInfo.tsx +265 -0
  15. package/dist/components/page/LawyerDetail/CareerList.d.ts +20 -0
  16. package/dist/components/page/LawyerDetail/CareerList.jsx +289 -0
  17. package/dist/components/page/LawyerDetail/CareerList.tsx +544 -0
  18. package/dist/components/page/LawyerDetail/ILawyerDetailTypes.d.ts +48 -0
  19. package/dist/components/page/LawyerDetail/ILawyerDetailTypes.jsx +1 -0
  20. package/dist/components/page/LawyerDetail/ILawyerDetailTypes.tsx +53 -0
  21. package/dist/components/page/LawyerDetail/Introduce.d.ts +7 -0
  22. package/dist/components/page/LawyerDetail/Introduce.jsx +25 -0
  23. package/dist/components/page/LawyerDetail/Introduce.tsx +41 -0
  24. package/dist/components/page/LawyerDetail/LawyerDetail.d.ts +11 -0
  25. package/dist/components/page/LawyerDetail/LawyerDetail.jsx +117 -0
  26. package/dist/components/page/LawyerDetail/LawyerDetail.stories.d.ts +6 -0
  27. package/dist/components/page/LawyerDetail/LawyerDetail.stories.jsx +2485 -0
  28. package/dist/components/page/LawyerDetail/LawyerDetail.stories.tsx +2495 -0
  29. package/dist/components/page/LawyerDetail/LawyerDetail.tsx +180 -0
  30. package/dist/components/page/LawyerDetail/MobileRelatedPage.d.ts +10 -0
  31. package/dist/components/page/LawyerDetail/MobileRelatedPage.jsx +45 -0
  32. package/dist/components/page/LawyerDetail/MobileRelatedPage.tsx +118 -0
  33. package/dist/components/page/LawyerDetail/MobileSpeciality.d.ts +9 -0
  34. package/dist/components/page/LawyerDetail/MobileSpeciality.jsx +59 -0
  35. package/dist/components/page/LawyerDetail/MobileSpeciality.tsx +113 -0
  36. package/dist/components/page/LawyerDetail/MobileTabButton.d.ts +5 -0
  37. package/dist/components/page/LawyerDetail/MobileTabButton.jsx +20 -0
  38. package/dist/components/page/LawyerDetail/MobileTabButton.tsx +35 -0
  39. package/dist/components/page/LawyerDetail/PcTabButton.d.ts +8 -0
  40. package/dist/components/page/LawyerDetail/PcTabButton.jsx +102 -0
  41. package/dist/components/page/LawyerDetail/PcTabButton.tsx +182 -0
  42. package/dist/components/page/LawyerDetail/detail.module.css +602 -0
  43. package/dist/styles/globals.css +692 -4
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +1 -1
@@ -0,0 +1,127 @@
1
+ import Image from 'next/image';
2
+ import Link from 'next/link';
3
+ import React, { useEffect, useState } from 'react';
4
+ import { insert } from '../../../lib/conversion';
5
+ import * as gtag from '../../../lib/gtag';
6
+ import mobile from 'is-mobile';
7
+ import { searchColorLawyerText } from '../../common/integrate';
8
+ const BasicInfo = ({ lawyerInfo, codeList, integrateSearch }) => {
9
+ const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
10
+ const lawyerImagePath = imagePath + '/upload/lawyer';
11
+ const [isMobile, setIsMobile] = useState(false);
12
+ const handleOnClickLawyerTel = () => {
13
+ if (isMobile) {
14
+ insert('lawyer_tel', isMobile);
15
+ gtag.event({
16
+ action: 'lawyer_tel',
17
+ category: 'tel',
18
+ label: '변호사 전화버튼',
19
+ value: '1'
20
+ });
21
+ try {
22
+ // @ts-ignore
23
+ AM_PL('/lawyer_tel');
24
+ }
25
+ catch (e) { }
26
+ }
27
+ };
28
+ useEffect(() => {
29
+ const is_mobile = mobile();
30
+ setIsMobile(is_mobile);
31
+ }, []);
32
+ return (<div className={'relative w-full pb-[120px] max-md:pb-0'}>
33
+ {/*#F8F8F8 배경 768px부터 hidden*/}
34
+ <div className={'absolute bottom-0 h-[386px] w-full bg-[#F8F8F8] max-md:hidden'}></div>
35
+
36
+ <div className={'relative mx-auto max-w-screen-2xl'}>
37
+ <div className={'relative mx-auto h-[630px] w-[90%] max-xl:h-[580px] max-lg:h-[500px] max-md2:h-[450px] max-md:w-full max-xs:h-[360px]'}>
38
+ <Image src={'https://d1tgonli21s4df.cloudfront.net/lawyer/bg_pc.webp'} alt={'변호사 리스트 배경'} fill className={'object-cover max-sm:hidden'}/>
39
+ <Image src={'https://d1tgonli21s4df.cloudfront.net/lawyer/bg_pc.webp'} alt={'변호사 리스트 배경'} fill className={'object-cover sm:hidden'}/>
40
+ {/*변호사 이미지*/}
41
+ <div className={'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:h-[510px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'}>
42
+ <Image src={`${lawyerImagePath}/${lawyerInfo.nukki}`} alt={lawyerInfo.l_name + ' 변호사'} title={lawyerInfo.l_name + ' 변호사'} unoptimized={true} priority={true} sizes="(max-width: 700px)" fill className={'translate-y-7 scale-110 object-contain max-xl:translate-y-5 max-md:object-center max-xs:translate-y-3'}/>
43
+ </div>
44
+ {/*h1 sr_only*/}
45
+ <h1 className={'sr-only'}>
46
+ {lawyerInfo.l_name}{' '}
47
+ {codeList.filter((item) => item.code === lawyerInfo.lawyer_code)[0].code_name}
48
+ </h1>
49
+ {/*이름 pc*/}
50
+ <p className={'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-20 max-md2:bottom-[60px] max-md2:right-[60px] max-md:hidden'}>
51
+ <span className={'mb-1 block text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[60px] max-md2:mb-0 max-md2:text-[54px] max-xs:text-[40px] '}>
52
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
53
+ </span>
54
+ {lawyerInfo.l_position ? (<span className={'text-[28px] font-[500] leading-[1.42] tracking-[-0.7px] ' +
55
+ 'max-xl:text-[26px] ' +
56
+ 'max-lg:text-[24px] ' +
57
+ 'max-md2:text-[22px] '}>
58
+ &nbsp;
59
+ {lawyerInfo.l_position}
60
+ </span>) : (<></>)}
61
+ </p>
62
+ {/*lawyer_code, l_ability, tel pc*/}
63
+ <div className={'absolute bottom-[-50px] right-10 z-10 grid w-full grid-cols-3 place-items-center bg-[#1E395C] text-center text-[24px] leading-[1.25] tracking-[-0.9px] text-white ' +
64
+ 'tracking-[-0.9px] ' +
65
+ (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
66
+ ? 'h-[100px] max-w-[1050px] max-xl:h-[110px] max-xl:max-w-[820px] max-lg:h-[100px] max-lg:max-w-[700px] max-md2:h-[90px] max-md2:max-w-[640px] '
67
+ : 'h-[100px] max-w-[900px] max-xl:h-[90px] max-xl:max-w-[800px] max-lg:h-[80px] max-lg:max-w-[700px] max-md2:h-[75px] max-md2:max-w-[640px] ') +
68
+ 'max-xl:text-[22px] ' +
69
+ ' max-lg:text-[20px] ' +
70
+ 'max-md2:right-5 max-md2:text-[18px] ' +
71
+ 'max-md:hidden'}>
72
+ <p className={'relative w-full font-[800]'}>
73
+ &nbsp;
74
+ {searchColorLawyerText(codeList.filter((item) => item.code === lawyerInfo.lawyer_code)[0].code_name, integrateSearch)}
75
+ <span className={'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'}></span>
76
+ </p>
77
+ <h2 className={(lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
78
+ ? 'break-keep px-1 xl:whitespace-pre-wrap '
79
+ : 'whitespace-pre-wrap break-keep px-3 ') + 'relative w-full font-[500]'}>
80
+ {lawyerInfo.l_ability}
81
+
82
+ <span className={'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'}></span>
83
+ </h2>
84
+ <p className={'flex w-full items-center justify-center gap-2 font-[700]'}>
85
+ {lawyerInfo.l_tel && (<Link href={'tel:' + lawyerInfo.l_tel} onClick={handleOnClickLawyerTel} aria-label={lawyerInfo.l_name + '변호사에게 전화하기 ' + lawyerInfo.l_tel}>
86
+ T. {searchColorLawyerText(lawyerInfo.l_tel, integrateSearch)}
87
+ </Link>)}
88
+ {lawyerInfo.l_email ? (<Link href={'/mail?lawyer=' + lawyerInfo.l_name} rel={'nofollow'} className={'block w-fit'} aria-label={lawyerInfo.l_name + '변호사에게 메일보내기 ' + lawyerInfo.l_email}>
89
+ <Image src={'https://d1tgonli21s4df.cloudfront.net/lawyer/email_icon.webp'} alt={'이메일'} width={64} height={64} className={'w-[38px] max-xl:w-[32px] max-lg:w-[30px] max-xs:w-[26px]'}/>
90
+ </Link>) : (<></>)}
91
+ </p>
92
+ </div>
93
+ </div>
94
+ </div>
95
+
96
+ {/*이름 mobile*/}
97
+ <p className={'mx-auto mt-4 w-[90%] md:hidden'}>
98
+ <span className={'text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px] '}>
99
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
100
+ </span>
101
+ {lawyerInfo.l_position ? (<span className={'text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px] '}>
102
+ &nbsp;
103
+ {lawyerInfo.l_position}
104
+ </span>) : (<></>)}
105
+ </p>
106
+
107
+ {/*lawyer_code, l_ability, tel mobile*/}
108
+ <div className={'mt-[18px] flex h-[150px] w-[70%] min-w-[340px] flex-col justify-between bg-[#1E395C] px-5 py-[22px] text-[18px] leading-[1.25] tracking-[-0.9px] text-white md:hidden'}>
109
+ <p className={'font-[800]'}>
110
+ {searchColorLawyerText(codeList.filter((item) => item.code === lawyerInfo.lawyer_code)[0].code_name, integrateSearch)}
111
+ </p>
112
+ <p className={'font-[500] max-2sm:whitespace-pre-wrap'}>{lawyerInfo.l_ability}</p>
113
+ <p className={'flex items-center gap-2'}>
114
+ {lawyerInfo.l_tel && (<Link href={'tel:' + lawyerInfo.l_tel} onClick={handleOnClickLawyerTel} className={'text-[16px] '} aria-label={lawyerInfo.l_name + '변호사에게 전화하기 ' + lawyerInfo.l_tel}>
115
+ T.{' '}
116
+ <span className={'font-[600] underline underline-offset-[6px]'}>
117
+ {searchColorLawyerText(lawyerInfo.l_tel, integrateSearch)}
118
+ </span>
119
+ </Link>)}
120
+ {lawyerInfo.l_email ? (<Link href={'/mail?lawyer=' + lawyerInfo.l_name} rel={'nofollow'} className={'block w-fit'} aria-label={lawyerInfo.l_name + '변호사에게 메일보내기 ' + lawyerInfo.l_email}>
121
+ <Image src={'/images/lawyer/email_icon.webp'} alt={'이메일'} width={64} height={64} className={'w-[38px] max-xl:w-[32px] max-lg:w-[30px] max-xs:w-[26px]'}/>
122
+ </Link>) : (<></>)}
123
+ </p>
124
+ </div>
125
+ </div>);
126
+ };
127
+ export default BasicInfo;
@@ -0,0 +1,265 @@
1
+ import Image from 'next/image';
2
+ import Link from 'next/link';
3
+ import React, { useEffect, useState } from 'react';
4
+ import { insert } from '../../../lib/conversion';
5
+ import * as gtag from '../../../lib/gtag';
6
+ import mobile from 'is-mobile';
7
+ import { ILawyer } from './ILawyerDetailTypes';
8
+ import { searchColorLawyerText } from '../../common/integrate';
9
+
10
+ const BasicInfo = ({
11
+ lawyerInfo,
12
+ codeList,
13
+ integrateSearch
14
+ }: {
15
+ lawyerInfo: ILawyer;
16
+ codeList: any[];
17
+ integrateSearch: string;
18
+ }) => {
19
+ const imagePath: string = process.env.NEXT_PUBLIC_S3_URL + '';
20
+ const lawyerImagePath: string = imagePath + '/upload/lawyer';
21
+ const [isMobile, setIsMobile] = useState<boolean>(false);
22
+
23
+ const handleOnClickLawyerTel = () => {
24
+ if (isMobile) {
25
+ insert('lawyer_tel', isMobile);
26
+
27
+ gtag.event({
28
+ action: 'lawyer_tel',
29
+ category: 'tel',
30
+ label: '변호사 전화버튼',
31
+ value: '1'
32
+ });
33
+
34
+ try {
35
+ // @ts-ignore
36
+ AM_PL('/lawyer_tel');
37
+ } catch (e) {}
38
+ }
39
+ };
40
+
41
+ useEffect(() => {
42
+ const is_mobile = mobile();
43
+ setIsMobile(is_mobile);
44
+ }, []);
45
+
46
+ return (
47
+ <div className={'relative w-full pb-[120px] max-md:pb-0'}>
48
+ {/*#F8F8F8 배경 768px부터 hidden*/}
49
+ <div className={'absolute bottom-0 h-[386px] w-full bg-[#F8F8F8] max-md:hidden'}></div>
50
+
51
+ <div className={'relative mx-auto max-w-screen-2xl'}>
52
+ <div
53
+ className={
54
+ 'relative mx-auto h-[630px] w-[90%] max-xl:h-[580px] max-lg:h-[500px] max-md2:h-[450px] max-md:w-full max-xs:h-[360px]'
55
+ }
56
+ >
57
+ <Image
58
+ src={'https://d1tgonli21s4df.cloudfront.net/lawyer/bg_pc.webp'}
59
+ alt={'변호사 리스트 배경'}
60
+ fill
61
+ className={'object-cover max-sm:hidden'}
62
+ />
63
+ <Image
64
+ src={'https://d1tgonli21s4df.cloudfront.net/lawyer/bg_pc.webp'}
65
+ alt={'변호사 리스트 배경'}
66
+ fill
67
+ className={'object-cover sm:hidden'}
68
+ />
69
+ {/*변호사 이미지*/}
70
+ <div
71
+ className={
72
+ 'absolute bottom-0 left-[50px] h-[569px] w-[515px] overflow-hidden max-xl:h-[510px] max-lg:h-[450px] max-md:left-1/2 max-md:h-[400px] max-md:-translate-x-1/2 max-xs:h-[317px] max-xs:w-[286px]'
73
+ }
74
+ >
75
+ <Image
76
+ src={`${lawyerImagePath}/${lawyerInfo.nukki}`}
77
+ alt={lawyerInfo.l_name + ' 변호사'}
78
+ title={lawyerInfo.l_name + ' 변호사'}
79
+ unoptimized={true}
80
+ priority={true}
81
+ sizes="(max-width: 700px)"
82
+ fill
83
+ className={
84
+ 'translate-y-7 scale-110 object-contain max-xl:translate-y-5 max-md:object-center max-xs:translate-y-3'
85
+ }
86
+ />
87
+ </div>
88
+ {/*h1 sr_only*/}
89
+ <h1 className={'sr-only'}>
90
+ {lawyerInfo.l_name}{' '}
91
+ {codeList.filter((item: any) => item.code === lawyerInfo.lawyer_code)[0].code_name}
92
+ </h1>
93
+ {/*이름 pc*/}
94
+ <p
95
+ className={
96
+ 'absolute bottom-[128px] right-[100px] z-10 text-right max-xl:bottom-[100px] max-lg:bottom-20 max-lg:right-20 max-md2:bottom-[60px] max-md2:right-[60px] max-md:hidden'
97
+ }
98
+ >
99
+ <span
100
+ className={
101
+ 'mb-1 block text-[70px] font-[800] leading-[1.14] tracking-[-0.9px] max-xl:text-[64px] max-lg:text-[60px] max-md2:mb-0 max-md2:text-[54px] max-xs:text-[40px] '
102
+ }
103
+ >
104
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
105
+ </span>
106
+ {lawyerInfo.l_position ? (
107
+ <span
108
+ className={
109
+ 'text-[28px] font-[500] leading-[1.42] tracking-[-0.7px] ' +
110
+ 'max-xl:text-[26px] ' +
111
+ 'max-lg:text-[24px] ' +
112
+ 'max-md2:text-[22px] '
113
+ }
114
+ >
115
+ &nbsp;
116
+ {lawyerInfo.l_position}
117
+ </span>
118
+ ) : (
119
+ <></>
120
+ )}
121
+ </p>
122
+ {/*lawyer_code, l_ability, tel pc*/}
123
+ <div
124
+ className={
125
+ 'absolute bottom-[-50px] right-10 z-10 grid w-full grid-cols-3 place-items-center bg-[#1E395C] text-center text-[24px] leading-[1.25] tracking-[-0.9px] text-white ' +
126
+ 'tracking-[-0.9px] ' +
127
+ (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
128
+ ? 'h-[100px] max-w-[1050px] max-xl:h-[110px] max-xl:max-w-[820px] max-lg:h-[100px] max-lg:max-w-[700px] max-md2:h-[90px] max-md2:max-w-[640px] '
129
+ : 'h-[100px] max-w-[900px] max-xl:h-[90px] max-xl:max-w-[800px] max-lg:h-[80px] max-lg:max-w-[700px] max-md2:h-[75px] max-md2:max-w-[640px] ') +
130
+ 'max-xl:text-[22px] ' +
131
+ ' max-lg:text-[20px] ' +
132
+ 'max-md2:right-5 max-md2:text-[18px] ' +
133
+ 'max-md:hidden'
134
+ }
135
+ >
136
+ <p className={'relative w-full font-[800]'}>
137
+ &nbsp;
138
+ {searchColorLawyerText(
139
+ codeList.filter((item: any) => item.code === lawyerInfo.lawyer_code)[0].code_name,
140
+ integrateSearch
141
+ )}
142
+ <span
143
+ className={
144
+ 'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'
145
+ }
146
+ ></span>
147
+ </p>
148
+ <h2
149
+ className={
150
+ (lawyerInfo.l_ability && lawyerInfo.l_ability.length > 30
151
+ ? 'break-keep px-1 xl:whitespace-pre-wrap '
152
+ : 'whitespace-pre-wrap break-keep px-3 ') + 'relative w-full font-[500]'
153
+ }
154
+ >
155
+ {lawyerInfo.l_ability}
156
+
157
+ <span
158
+ className={
159
+ 'absolute right-0 top-1/2 block h-[50px] w-[2px] -translate-y-1/2 bg-white bg-opacity-20'
160
+ }
161
+ ></span>
162
+ </h2>
163
+ <p className={'flex w-full items-center justify-center gap-2 font-[700]'}>
164
+ {lawyerInfo.l_tel && (
165
+ <Link
166
+ href={'tel:' + lawyerInfo.l_tel}
167
+ onClick={handleOnClickLawyerTel}
168
+ aria-label={lawyerInfo.l_name + '변호사에게 전화하기 ' + lawyerInfo.l_tel}
169
+ >
170
+ T. {searchColorLawyerText(lawyerInfo.l_tel, integrateSearch)}
171
+ </Link>
172
+ )}
173
+ {lawyerInfo.l_email ? (
174
+ <Link
175
+ href={'/mail?lawyer=' + lawyerInfo.l_name}
176
+ rel={'nofollow'}
177
+ className={'block w-fit'}
178
+ aria-label={lawyerInfo.l_name + '변호사에게 메일보내기 ' + lawyerInfo.l_email}
179
+ >
180
+ <Image
181
+ src={'https://d1tgonli21s4df.cloudfront.net/lawyer/email_icon.webp'}
182
+ alt={'이메일'}
183
+ width={64}
184
+ height={64}
185
+ className={'w-[38px] max-xl:w-[32px] max-lg:w-[30px] max-xs:w-[26px]'}
186
+ />
187
+ </Link>
188
+ ) : (
189
+ <></>
190
+ )}
191
+ </p>
192
+ </div>
193
+ </div>
194
+ </div>
195
+
196
+ {/*이름 mobile*/}
197
+ <p className={'mx-auto mt-4 w-[90%] md:hidden'}>
198
+ <span
199
+ className={
200
+ 'text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px] '
201
+ }
202
+ >
203
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
204
+ </span>
205
+ {lawyerInfo.l_position ? (
206
+ <span className={'text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px] '}>
207
+ &nbsp;
208
+ {lawyerInfo.l_position}
209
+ </span>
210
+ ) : (
211
+ <></>
212
+ )}
213
+ </p>
214
+
215
+ {/*lawyer_code, l_ability, tel mobile*/}
216
+ <div
217
+ className={
218
+ 'mt-[18px] flex h-[150px] w-[70%] min-w-[340px] flex-col justify-between bg-[#1E395C] px-5 py-[22px] text-[18px] leading-[1.25] tracking-[-0.9px] text-white md:hidden'
219
+ }
220
+ >
221
+ <p className={'font-[800]'}>
222
+ {searchColorLawyerText(
223
+ codeList.filter((item: any) => item.code === lawyerInfo.lawyer_code)[0].code_name,
224
+ integrateSearch
225
+ )}
226
+ </p>
227
+ <p className={'font-[500] max-2sm:whitespace-pre-wrap'}>{lawyerInfo.l_ability}</p>
228
+ <p className={'flex items-center gap-2'}>
229
+ {lawyerInfo.l_tel && (
230
+ <Link
231
+ href={'tel:' + lawyerInfo.l_tel}
232
+ onClick={handleOnClickLawyerTel}
233
+ className={'text-[16px] '}
234
+ aria-label={lawyerInfo.l_name + '변호사에게 전화하기 ' + lawyerInfo.l_tel}
235
+ >
236
+ T.{' '}
237
+ <span className={'font-[600] underline underline-offset-[6px]'}>
238
+ {searchColorLawyerText(lawyerInfo.l_tel, integrateSearch)}
239
+ </span>
240
+ </Link>
241
+ )}
242
+ {lawyerInfo.l_email ? (
243
+ <Link
244
+ href={'/mail?lawyer=' + lawyerInfo.l_name}
245
+ rel={'nofollow'}
246
+ className={'block w-fit'}
247
+ aria-label={lawyerInfo.l_name + '변호사에게 메일보내기 ' + lawyerInfo.l_email}
248
+ >
249
+ <Image
250
+ src={'/images/lawyer/email_icon.webp'}
251
+ alt={'이메일'}
252
+ width={64}
253
+ height={64}
254
+ className={'w-[38px] max-xl:w-[32px] max-lg:w-[30px] max-xs:w-[26px]'}
255
+ />
256
+ </Link>
257
+ ) : (
258
+ <></>
259
+ )}
260
+ </p>
261
+ </div>
262
+ </div>
263
+ );
264
+ };
265
+ export default BasicInfo;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { IBoard, ILawyer, ILawyerCareer, ISuccess } from './ILawyerDetailTypes';
3
+ declare const CareerList: ({ lawyerInfo, careerList, certiList, codeList, speciality, successList, broadcastList, reviewList, targetRefs, integrateSearch, targetTitleRefs }: {
4
+ lawyerInfo: ILawyer;
5
+ careerList: ILawyerCareer[];
6
+ certiList: {
7
+ idx: number;
8
+ l_id: string;
9
+ certi_code: string | null;
10
+ }[];
11
+ speciality: ILawyerCareer[];
12
+ codeList: any[];
13
+ targetRefs: any;
14
+ targetTitleRefs: any;
15
+ successList: ISuccess[];
16
+ broadcastList: IBoard[];
17
+ reviewList: IBoard[];
18
+ integrateSearch: string;
19
+ }) => React.JSX.Element;
20
+ export default CareerList;