@daeryun/dr_components 1.1.70 → 1.1.71

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.
@@ -1,20 +1,21 @@
1
1
  import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import { htmlTagRemove } from '../../../lib';
4
+ import Img from '../../../asset/images/success/best_badge.webp';
4
5
  const ListCard = ({ item, isBest }) => {
5
6
  return (<Link href={{ pathname: item.pathname + item.id }} className={'relative flex h-[440px] w-full flex-col rounded-[5px] bg-[#F8F8F8] px-[30px] pb-[30px] pt-8 max-xs:h-[400px] max-xs:px-6 max-xs:pb-6 max-xs:pt-7'}>
6
7
  {isBest && (<span className={'absolute right-[35px] top-[-18px] flex h-[90px] w-[90px] flex-col items-center justify-center gap-[10px] rounded-[5px] bg-[#9E142D] ' +
7
8
  'max-xl:right-[32px] max-xl:top-[-16px] max-xl:h-[80px] max-xl:w-[80px] ' +
8
9
  'max-xs:right-[30px] max-xs:top-[-14px] max-xs:h-[70px] max-xs:w-[70px] '}>
9
10
  <span className={'relative block h-6 w-[26px] max-xs:h-5 max-xs:w-6'}>
10
- <Image src={'/images/success/list/best_badge.webp'} alt={''} fill sizes={'26px'} className={'object-contain'}/>
11
+ <Image src={Img} alt={''} fill sizes={'26px'} className={'object-contain'}/>
11
12
  </span>
12
13
  <span className={'text-[18px] font-extrabold leading-none tracking-[0px] text-white max-xs:text-[16px]'}>
13
14
  BEST
14
15
  </span>
15
16
  </span>)}
16
17
 
17
- <p className={'text-mainRed mb-[34px] flex h-10 w-fit min-w-[100px] items-center justify-center rounded-full border-[2px] border-solid border-[#A91C364D] bg-white px-3 text-[20px] font-bold tracking-[-2px] ' +
18
+ <p className={'mb-[34px] flex h-10 w-fit min-w-[100px] items-center justify-center rounded-full border-[2px] border-solid border-[#A91C364D] bg-white px-3 text-[20px] font-bold tracking-[-2px] text-[#AB0634] ' +
18
19
  'max-xs:h-9 max-xs:min-w-20 max-xs:text-[18px]'}>
19
20
  {item.center_name}
20
21
  </p>
@@ -2,7 +2,7 @@ import Link from 'next/link';
2
2
  import Image from 'next/image';
3
3
  import { ISuccessListTypes } from './SuccessListTypes';
4
4
  import { htmlTagRemove } from '../../../lib';
5
-
5
+ import Img from '../../../asset/images/success/best_badge.webp';
6
6
  const ListCard = ({ item, isBest }: { item: ISuccessListTypes; isBest: boolean }) => {
7
7
  return (
8
8
  <Link
@@ -20,13 +20,7 @@ const ListCard = ({ item, isBest }: { item: ISuccessListTypes; isBest: boolean }
20
20
  }
21
21
  >
22
22
  <span className={'relative block h-6 w-[26px] max-xs:h-5 max-xs:w-6'}>
23
- <Image
24
- src={'/images/success/list/best_badge.webp'}
25
- alt={''}
26
- fill
27
- sizes={'26px'}
28
- className={'object-contain'}
29
- />
23
+ <Image src={Img} alt={''} fill sizes={'26px'} className={'object-contain'} />
30
24
  </span>
31
25
  <span
32
26
  className={
@@ -40,7 +34,7 @@ const ListCard = ({ item, isBest }: { item: ISuccessListTypes; isBest: boolean }
40
34
 
41
35
  <p
42
36
  className={
43
- 'text-mainRed mb-[34px] flex h-10 w-fit min-w-[100px] items-center justify-center rounded-full border-[2px] border-solid border-[#A91C364D] bg-white px-3 text-[20px] font-bold tracking-[-2px] ' +
37
+ 'mb-[34px] flex h-10 w-fit min-w-[100px] items-center justify-center rounded-full border-[2px] border-solid border-[#A91C364D] bg-white px-3 text-[20px] font-bold tracking-[-2px] text-[#AB0634] ' +
44
38
  'max-xs:h-9 max-xs:min-w-20 max-xs:text-[18px]'
45
39
  }
46
40
  >