@daeryun/dr_components 0.8.35 → 0.8.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.
@@ -1,3 +1,3 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 127.086 47">
2
- <path id="패스_4073" data-name="패스 4073" d="M0,0H127.086L114.979,25.026,127.086,47H0Z" fill="#80377A"/>
2
+ <path id="패스_4073" data-name="패스 4073" d="M0,0H127.086L114.979,25.026,127.086,47H0Z" fill="#5D5D5D"/>
3
3
  </svg>
@@ -47,7 +47,7 @@ const SeoAdditionalLink = ({ type, linkList }) => {
47
47
  {type}
48
48
  </p>
49
49
  </span>
50
- <ul className={'flex flex-col gap-[20px] py-[24px] text-[20px] font-normal tracking-[-0.7px] text-[#80377A] ' +
50
+ <ul className={'flex flex-col gap-[20px] py-[24px] text-[20px] tracking-[-0.7px] text-black ' +
51
51
  //1500px
52
52
  'max-3xl:text-[18px] ' +
53
53
  //640px
@@ -64,9 +64,12 @@ const SeoAdditionalLink = ({ type, linkList }) => {
64
64
  <Image src={IconLinkArrow} alt={''} width={8} height={14} className={'relative mr-2 h-[14px] w-[8px] object-contain ' +
65
65
  //640px
66
66
  'max-sm:mr-0 max-sm:w-[6px]'}/>
67
- <p className={'line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'}>
68
- {linkData.title}
69
- </p>
67
+ <span className={'relative '}>
68
+ <div className={'z[-1] absolute bottom-0 h-1/2 w-full bg-[#fdfd77]'}></div>
69
+ <p className={'relative line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'}>
70
+ {linkData.title}
71
+ </p>
72
+ </span>
70
73
  <Image src={IconLinkOn} alt={''} width={16} height={16} className={'inline aspect-square w-[16px] shrink-0 ' +
71
74
  //1500px
72
75
  'max-3xl:w-[14px] ' +
@@ -67,7 +67,7 @@ const SeoAdditionalLink = ({ type, linkList }: { type: string; linkList: IAddLin
67
67
  </span>
68
68
  <ul
69
69
  className={
70
- 'flex flex-col gap-[20px] py-[24px] text-[20px] font-normal tracking-[-0.7px] text-[#80377A] ' +
70
+ 'flex flex-col gap-[20px] py-[24px] text-[20px] tracking-[-0.7px] text-black ' +
71
71
  //1500px
72
72
  'max-3xl:text-[18px] ' +
73
73
  //640px
@@ -97,13 +97,16 @@ const SeoAdditionalLink = ({ type, linkList }: { type: string; linkList: IAddLin
97
97
  'max-sm:mr-0 max-sm:w-[6px]'
98
98
  }
99
99
  />
100
- <p
101
- className={
102
- 'line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'
103
- }
104
- >
105
- {linkData.title}
106
- </p>
100
+ <span className={'relative '}>
101
+ <div className={'z[-1] absolute bottom-0 h-1/2 w-full bg-[#fdfd77]'}></div>
102
+ <p
103
+ className={
104
+ 'relative line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'
105
+ }
106
+ >
107
+ {linkData.title}
108
+ </p>
109
+ </span>
107
110
  <Image
108
111
  src={IconLinkOn}
109
112
  alt={''}
@@ -44,7 +44,7 @@ const SeoAdditionalLink = ({ type, linkList }) => {
44
44
  {type}
45
45
  </p>
46
46
  </span>
47
- <ul className={'flex flex-col gap-[20px] py-[24px] text-[20px] font-normal tracking-[-0.7px] text-[#80377A] ' +
47
+ <ul className={'flex flex-col gap-[20px] py-[24px] text-[20px] tracking-[-0.7px] text-black ' +
48
48
  //1500px
49
49
  'max-3xl:text-[18px] ' +
50
50
  //640px
@@ -52,25 +52,26 @@ const SeoAdditionalLink = ({ type, linkList }) => {
52
52
  {linkList
53
53
  .filter(l => l.title.length > 0)
54
54
  .map(linkData => (<li key={linkData.title + linkData.idx}>
55
- <Link href={linkData.link} className={'relative flex w-fit items-center gap-[16px] font-[600] ' +
56
- //640px
57
- 'max-sm:gap-[8px] '} onClick={() => {
55
+ <Link href={linkData.link} className={'relative flex w-fit items-center gap-[8px] font-[600] '} onClick={() => {
58
56
  if (type === '더보기')
59
57
  referClick();
60
58
  else
61
59
  newsClick();
62
60
  }}>
63
- <Image src={'/images/sub_page/link_arrow.webp'} alt={''} width={8} height={14} className={'relative h-[14px] w-[8px] object-contain ' +
61
+ <Image src={'/images/sub_page/link_arrow.webp'} alt={''} width={8} height={14} className={'relative mr-2 h-[14px] w-[8px] object-contain ' +
64
62
  //640px
65
- 'max-sm:w-[6px] '}/>
66
- <p className={'line-clamp-1 leading-[1.25] max-md:line-clamp-none'}>
67
- {linkData.title}
68
- <Image src={'/images/sub_page/link_on.webp'} alt={''} width={16} height={16} className={'ml-[6px] inline aspect-square w-[16px] ' +
63
+ 'max-sm:mr-0 max-sm:w-[6px]'}/>
64
+ <span className={'relative '}>
65
+ <div className={'z[-1] absolute bottom-0 h-1/2 w-full bg-[#fdfd77]'}></div>
66
+ <p className={'relative line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'}>
67
+ {linkData.title}
68
+ </p>
69
+ </span>
70
+ <Image src={'/images/sub_page/link_on.webp'} alt={''} width={16} height={16} className={'inline aspect-square w-[16px] shrink-0 ' +
69
71
  //1500px
70
72
  'max-3xl:w-[14px] ' +
71
73
  //640px
72
74
  'max-sm:w-[12px] '}/>
73
- </p>
74
75
  </Link>
75
76
  </li>))}
76
77
  </ul>
@@ -63,7 +63,7 @@ const SeoAdditionalLink = ({ type, linkList }: { type: string; linkList: IAddLin
63
63
  </span>
64
64
  <ul
65
65
  className={
66
- 'flex flex-col gap-[20px] py-[24px] text-[20px] font-normal tracking-[-0.7px] text-[#80377A] ' +
66
+ 'flex flex-col gap-[20px] py-[24px] text-[20px] tracking-[-0.7px] text-black ' +
67
67
  //1500px
68
68
  'max-3xl:text-[18px] ' +
69
69
  //640px
@@ -76,11 +76,7 @@ const SeoAdditionalLink = ({ type, linkList }: { type: string; linkList: IAddLin
76
76
  <li key={linkData.title + linkData.idx}>
77
77
  <Link
78
78
  href={linkData.link}
79
- className={
80
- 'relative flex w-fit items-center gap-[16px] font-[600] ' +
81
- //640px
82
- 'max-sm:gap-[8px] '
83
- }
79
+ className={'relative flex w-fit items-center gap-[8px] font-[600] '}
84
80
  onClick={() => {
85
81
  if (type === '더보기') referClick();
86
82
  else newsClick();
@@ -92,27 +88,34 @@ const SeoAdditionalLink = ({ type, linkList }: { type: string; linkList: IAddLin
92
88
  width={8}
93
89
  height={14}
94
90
  className={
95
- 'relative h-[14px] w-[8px] object-contain ' +
91
+ 'relative mr-2 h-[14px] w-[8px] object-contain ' +
96
92
  //640px
97
- 'max-sm:w-[6px] '
93
+ 'max-sm:mr-0 max-sm:w-[6px]'
98
94
  }
99
95
  />
100
- <p className={'line-clamp-1 leading-[1.25] max-md:line-clamp-none'}>
101
- {linkData.title}
102
- <Image
103
- src={'/images/sub_page/link_on.webp'}
104
- alt={''}
105
- width={16}
106
- height={16}
96
+ <span className={'relative '}>
97
+ <div className={'z[-1] absolute bottom-0 h-1/2 w-full bg-[#fdfd77]'}></div>
98
+ <p
107
99
  className={
108
- 'ml-[6px] inline aspect-square w-[16px] ' +
109
- //1500px
110
- 'max-3xl:w-[14px] ' +
111
- //640px
112
- 'max-sm:w-[12px] '
100
+ 'relative line-clamp-1 flex items-center leading-[1.25] max-md:line-clamp-none'
113
101
  }
114
- />
115
- </p>
102
+ >
103
+ {linkData.title}
104
+ </p>
105
+ </span>
106
+ <Image
107
+ src={'/images/sub_page/link_on.webp'}
108
+ alt={''}
109
+ width={16}
110
+ height={16}
111
+ className={
112
+ 'inline aspect-square w-[16px] shrink-0 ' +
113
+ //1500px
114
+ 'max-3xl:w-[14px] ' +
115
+ //640px
116
+ 'max-sm:w-[12px] '
117
+ }
118
+ />
116
119
  </Link>
117
120
  </li>
118
121
  ))}
@@ -1727,10 +1727,6 @@ video {
1727
1727
  margin-left: 5.08px;
1728
1728
  }
1729
1729
 
1730
- .ml-\[6px\] {
1731
- margin-left: 6px;
1732
- }
1733
-
1734
1730
  .ml-\[8px\] {
1735
1731
  margin-left: 8px;
1736
1732
  }
@@ -2196,6 +2192,10 @@ video {
2196
2192
  height: 0px;
2197
2193
  }
2198
2194
 
2195
+ .h-1\/2 {
2196
+ height: 50%;
2197
+ }
2198
+
2199
2199
  .h-10 {
2200
2200
  height: 2.5rem;
2201
2201
  }
@@ -5273,6 +5273,11 @@ video {
5273
5273
  background-color: rgb(235 235 235 / var(--tw-bg-opacity));
5274
5274
  }
5275
5275
 
5276
+ .bg-\[\#fdfd77\] {
5277
+ --tw-bg-opacity: 1;
5278
+ background-color: rgb(253 253 119 / var(--tw-bg-opacity));
5279
+ }
5280
+
5276
5281
  .bg-\[\#fff\] {
5277
5282
  --tw-bg-opacity: 1;
5278
5283
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));