@daeryun/dr_components 1.2.35 → 1.2.36

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.
@@ -137,24 +137,32 @@ const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSe
137
137
  </div>
138
138
  </Container>
139
139
  {/*이름 mobile*/}
140
- <div className={'mx-auto mt-4 flex justify-between md:hidden ' +
141
- (isUseWrapper ? 'max-md:px-10 max-2sm:px-5' : ' w-[90%] ')}>
142
- <span className={'text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px] '}>
143
- {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
144
- </span>
145
- {lawyerInfo.l_position ? (<span className={'text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px] '}>
146
- &nbsp;
147
- {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
148
- </span>) : (<></>)}
149
-
150
- {lawyerInfo.l_introduce_shorts && (<div className={'flex h-[49px] w-[189px] cursor-pointer items-center justify-center gap-[4px] rounded-[24.5px] bg-[#fff] text-[22px] font-[600]'} onClick={() => {
140
+ <div className={'mx-auto mt-4 md:hidden ' + (isUseWrapper ? 'max-md:px-10 max-2sm:px-5' : ' w-[90%] ')}>
141
+ {lawyerInfo.l_introduce_shorts ? (<>
142
+ <div className={'flex items-center justify-between'}>
143
+ <span className={'whitespace-nowrap text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px]'}>
144
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
145
+ </span>
146
+ <div className={'flex h-[49px] w-[189px] shrink-0 cursor-pointer items-center justify-center gap-[4px] whitespace-nowrap rounded-[24.5px] bg-[#fff] text-[22px] font-[600]'} onClick={() => {
151
147
  setModalOn(true);
152
148
  }}>
153
- {' '}
154
- <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0'}/>
155
- 소개영상
156
- <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
157
- </div>)}
149
+ {' '}
150
+ <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0'}/>
151
+ 소개영상
152
+ <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
153
+ </div>
154
+ </div>
155
+ {lawyerInfo.l_position && (<span className={'mt-2 block text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px]'}>
156
+ {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
157
+ </span>)}
158
+ </>) : (<>
159
+ <span className={'block whitespace-nowrap text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px]'}>
160
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
161
+ </span>
162
+ {lawyerInfo.l_position && (<span className={'mt-2 block text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px]'}>
163
+ {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
164
+ </span>)}
165
+ </>)}
158
166
  </div>
159
167
 
160
168
  {/*lawyer_code, l_ability, tel mobile*/}
@@ -274,42 +274,72 @@ const BasicInfo = ({
274
274
  </div>
275
275
  </Container>
276
276
  {/*이름 mobile*/}
277
- <div
278
- className={
279
- 'mx-auto mt-4 flex justify-between md:hidden ' +
280
- (isUseWrapper ? 'max-md:px-10 max-2sm:px-5' : ' w-[90%] ')
281
- }
282
- >
283
- <span
284
- className={
285
- 'text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px] '
286
- }
287
- >
288
- {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
289
- </span>
290
- {lawyerInfo.l_position ? (
291
- <span className={'text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px] '}>
292
- &nbsp;
293
- {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
294
- </span>
277
+ <div className={'mx-auto mt-4 md:hidden ' + (isUseWrapper ? 'max-md:px-10 max-2sm:px-5' : ' w-[90%] ')}>
278
+ {lawyerInfo.l_introduce_shorts ? (
279
+ <>
280
+ <div className={'flex items-center justify-between'}>
281
+ <span
282
+ className={
283
+ 'whitespace-nowrap text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px]'
284
+ }
285
+ >
286
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
287
+ </span>
288
+ <div
289
+ className={
290
+ 'flex h-[49px] w-[189px] shrink-0 cursor-pointer items-center justify-center gap-[4px] whitespace-nowrap rounded-[24.5px] bg-[#fff] text-[22px] font-[600]'
291
+ }
292
+ onClick={() => {
293
+ setModalOn(true);
294
+ }}
295
+ >
296
+ {' '}
297
+ <Image
298
+ src={YoutubeLogo}
299
+ alt={'유튜브'}
300
+ width={50}
301
+ height={20}
302
+ className={'shrink-0'}
303
+ />
304
+ 소개영상
305
+ <Image
306
+ src={YoutubeArrow}
307
+ alt={'유튜브'}
308
+ width={13}
309
+ height={14}
310
+ className={'h-[14px]'}
311
+ />
312
+ </div>
313
+ </div>
314
+ {lawyerInfo.l_position && (
315
+ <span
316
+ className={
317
+ 'mt-2 block text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px]'
318
+ }
319
+ >
320
+ {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
321
+ </span>
322
+ )}
323
+ </>
295
324
  ) : (
296
- <></>
297
- )}
298
-
299
- {lawyerInfo.l_introduce_shorts && (
300
- <div
301
- className={
302
- 'flex h-[49px] w-[189px] cursor-pointer items-center justify-center gap-[4px] rounded-[24.5px] bg-[#fff] text-[22px] font-[600]'
303
- }
304
- onClick={() => {
305
- setModalOn(true);
306
- }}
307
- >
308
- {' '}
309
- <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0'} />
310
- 소개영상
311
- <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'} />
312
- </div>
325
+ <>
326
+ <span
327
+ className={
328
+ 'block whitespace-nowrap text-[50px] font-[800] leading-[1.14] tracking-[-0.9px] max-md:text-[46px] max-xs:text-[40px]'
329
+ }
330
+ >
331
+ {searchColorLawyerText(lawyerInfo.l_name, integrateSearch)}
332
+ </span>
333
+ {lawyerInfo.l_position && (
334
+ <span
335
+ className={
336
+ 'mt-2 block text-[22px] font-[600] leading-[1.42] tracking-[-0.7px] max-xs:text-[20px]'
337
+ }
338
+ >
339
+ {searchColorLawyerText(lawyerInfo.l_position, integrateSearch)}
340
+ </span>
341
+ )}
342
+ </>
313
343
  )}
314
344
  </div>
315
345