@daeryun/dr_components 0.7.67 → 0.7.70

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.
@@ -7,6 +7,8 @@ import mobile from 'is-mobile';
7
7
  import { searchColorLawyerText } from '../../../common/integrate';
8
8
  import { Wrapper } from '../../../index';
9
9
  import YoutubeLawyerModal from '../../../../components/Model/YoutubeLawyerModal';
10
+ import YoutubeLogo from '../../../../asset/images/youtube_logo.png';
11
+ import YoutubeArrow from '../../../../asset/images/youtube_arrow.png';
10
12
  const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSearch }) => {
11
13
  var _a, _b;
12
14
  const imagePath = process.env.NEXT_PUBLIC_S3_URL + '';
@@ -95,9 +97,9 @@ const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSe
95
97
  setModalOn(true);
96
98
  }}>
97
99
  {' '}
98
- <Image src={'/images/youtube_logo.png'} alt={'유튜브'} width={50} height={20} className={'shrink-0ㄴ'}/>
100
+ <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0ㄴ'}/>
99
101
  소개영상
100
- <Image src={'/images/youtube_arrow.png'} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
102
+ <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
101
103
  </div>)}
102
104
  </div>
103
105
  {/*lawyer_code, l_ability, tel pc*/}
@@ -148,9 +150,9 @@ const BasicInfo = ({ lawyerInfo, codeList, centerCode, isUseWrapper, integrateSe
148
150
  setModalOn(true);
149
151
  }}>
150
152
  {' '}
151
- <Image src={'/images/youtube_logo.png'} alt={'유튜브'} width={50} height={20} className={'shrink-0'}/>
153
+ <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0'}/>
152
154
  소개영상
153
- <Image src={'/images/youtube_arrow.png'} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
155
+ <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'}/>
154
156
  </div>)}
155
157
  </div>
156
158
 
@@ -8,6 +8,8 @@ import { ILawyer } from '../ILawyerDetailTypes';
8
8
  import { searchColorLawyerText } from '../../../common/integrate';
9
9
  import { Wrapper } from '../../../index';
10
10
  import YoutubeLawyerModal from '../../../../components/Model/YoutubeLawyerModal';
11
+ import YoutubeLogo from '../../../../asset/images/youtube_logo.png';
12
+ import YoutubeArrow from '../../../../asset/images/youtube_arrow.png';
11
13
  const BasicInfo = ({
12
14
  lawyerInfo,
13
15
  codeList,
@@ -177,7 +179,7 @@ const BasicInfo = ({
177
179
  >
178
180
  {' '}
179
181
  <Image
180
- src={'/images/youtube_logo.png'}
182
+ src={YoutubeLogo}
181
183
  alt={'유튜브'}
182
184
  width={50}
183
185
  height={20}
@@ -185,7 +187,7 @@ const BasicInfo = ({
185
187
  />
186
188
  소개영상
187
189
  <Image
188
- src={'/images/youtube_arrow.png'}
190
+ src={YoutubeArrow}
189
191
  alt={'유튜브'}
190
192
  width={13}
191
193
  height={14}
@@ -299,21 +301,9 @@ const BasicInfo = ({
299
301
  }}
300
302
  >
301
303
  {' '}
302
- <Image
303
- src={'/images/youtube_logo.png'}
304
- alt={'유튜브'}
305
- width={50}
306
- height={20}
307
- className={'shrink-0'}
308
- />
304
+ <Image src={YoutubeLogo} alt={'유튜브'} width={50} height={20} className={'shrink-0'} />
309
305
  소개영상
310
- <Image
311
- src={'/images/youtube_arrow.png'}
312
- alt={'유튜브'}
313
- width={13}
314
- height={14}
315
- className={'h-[14px]'}
316
- />
306
+ <Image src={YoutubeArrow} alt={'유튜브'} width={13} height={14} className={'h-[14px]'} />
317
307
  </div>
318
308
  )}
319
309
  </div>