@daeryun/dr_components 0.8.34 → 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={''}
@@ -120,7 +120,7 @@ const FieldNew = ({ data, tel }) => {
120
120
  //520px
121
121
  'max-2sm:gap-[16px]'}>
122
122
  {h2Template.reference_is_use &&
123
- referenceLinkList.length > 0 && (<SeoAdditionalLink type={'참고'} linkList={referenceLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
123
+ referenceLinkList.length > 0 && (<SeoAdditionalLink type={'더보기'} linkList={referenceLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
124
124
  {h2Template.news_is_use && newsLinkList.length > 0 && (<SeoAdditionalLink type={'관련기사'} linkList={newsLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
125
125
  {h2Template.youtube_is_use && (<>
126
126
  {shortsLinkList.length > 0 && (<SeoYoutube type={'shorts'} linkList={shortsLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
@@ -187,7 +187,7 @@ const FieldNew = ({ data, tel }: IFieldNewPageTypes) => {
187
187
  {h2Template.reference_is_use &&
188
188
  referenceLinkList.length > 0 && (
189
189
  <SeoAdditionalLink
190
- type={'참고'}
190
+ type={'더보기'}
191
191
  linkList={referenceLinkList.filter(
192
192
  i => i.tag_idx === h2Template.idx
193
193
  )}
@@ -159,11 +159,11 @@ const SuccessNew = ({ data, tel }) => {
159
159
  </article>
160
160
 
161
161
  {width >= 1280 ? (<div className={'flex flex-col gap-[60px] lg:mt-[60px]'}>
162
- <LawInfoContentList contentsList={contentsList} template={template} className={''}/>
163
162
  <div className={'relative w-full '}>
164
163
  <SeoStrength initialData={initialData}/>
165
164
  </div>
166
- <SeoConsulting tel={tel}/>
165
+ <SeoConsulting tel={tel}/>{' '}
166
+ <LawInfoContentList contentsList={contentsList} template={template} className={''}/>
167
167
  </div>) : (<></>)}
168
168
  </div>
169
169
 
@@ -186,11 +186,11 @@ const SuccessNew = ({ data, tel }) => {
186
186
  <div className="m-auto mt-[7em] max-w-screen-2xl max-md2:mt-[0] max-xs:mb-[30px] lg:mt-[5em] ">
187
187
  {width < 1280 ? (<>
188
188
  <div className="m-auto flex flex-col gap-[60px] max-4xl:w-[90%]">
189
- <LawInfoContentList contentsList={contentsList} template={template}/>
190
189
  <div className={'relative w-full '}>
191
190
  <SeoStrength initialData={initialData}/>
192
191
  </div>
193
192
  <SeoConsulting tel={tel}/>
193
+ <LawInfoContentList contentsList={contentsList} template={template}/>
194
194
  </div>
195
195
  </>) : (<></>)}
196
196
  {/* 이전글 다음글 */}
@@ -277,11 +277,11 @@ const SuccessNew = ({ data, tel }: ISuccessNewPageTypes) => {
277
277
 
278
278
  {width >= 1280 ? (
279
279
  <div className={'flex flex-col gap-[60px] lg:mt-[60px]'}>
280
- <LawInfoContentList contentsList={contentsList} template={template} className={''} />
281
280
  <div className={'relative w-full '}>
282
281
  <SeoStrength initialData={initialData} />
283
282
  </div>
284
- <SeoConsulting tel={tel} />
283
+ <SeoConsulting tel={tel} />{' '}
284
+ <LawInfoContentList contentsList={contentsList} template={template} className={''} />
285
285
  </div>
286
286
  ) : (
287
287
  <></>
@@ -324,11 +324,11 @@ const SuccessNew = ({ data, tel }: ISuccessNewPageTypes) => {
324
324
  {width < 1280 ? (
325
325
  <>
326
326
  <div className="m-auto flex flex-col gap-[60px] max-4xl:w-[90%]">
327
- <LawInfoContentList contentsList={contentsList} template={template} />
328
327
  <div className={'relative w-full '}>
329
328
  <SeoStrength initialData={initialData} />
330
329
  </div>
331
330
  <SeoConsulting tel={tel} />
331
+ <LawInfoContentList contentsList={contentsList} template={template} />
332
332
  </div>
333
333
  </>
334
334
  ) : (
@@ -116,7 +116,7 @@ const SuccessNewView = ({ data, tel }) => {
116
116
  .filter(t => t.parent === h2Template.idx)
117
117
  .map((h3Template, h3Index) => (<H3Contents h3Template={h3Template} key={'h3영역' + h3Template.idx}/>))}
118
118
  <span className="flex flex-col gap-[26px] max-2sm:gap-[16px]">
119
- {h2Template.reference_is_use && referenceLinkList.length > 0 && (<SeoAdditionalLink type="참고" linkList={referenceLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
119
+ {h2Template.reference_is_use && referenceLinkList.length > 0 && (<SeoAdditionalLink type="더보기" linkList={referenceLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
120
120
  {h2Template.news_is_use && newsLinkList.length > 0 && (<SeoAdditionalLink type="관련기사" linkList={newsLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
121
121
  {h2Template.youtube_is_use && (<>
122
122
  {shortsLinkList.length > 0 && (<SeoYoutube type={'shorts'} linkList={shortsLinkList.filter(i => i.tag_idx === h2Template.idx)}/>)}
@@ -166,7 +166,7 @@ const SuccessNewView = ({ data, tel }: ISuccessNewPageTypes) => {
166
166
  <span className="flex flex-col gap-[26px] max-2sm:gap-[16px]">
167
167
  {h2Template.reference_is_use && referenceLinkList.length > 0 && (
168
168
  <SeoAdditionalLink
169
- type="참고"
169
+ type="더보기"
170
170
  linkList={referenceLinkList.filter(i => i.tag_idx === h2Template.idx)}
171
171
  />
172
172
  )}
@@ -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));