@daeryun/dr_components 0.8.48 → 0.8.50

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.
@@ -128,7 +128,16 @@ const SuccessNew = ({ data, tel }) => {
128
128
  {template
129
129
  .filter(t => t.parent === h2Template.idx)
130
130
  .map((h3Template, h3Index) => {
131
- return (<H3Contents key={'h3영역 ' + h3Index} h3Template={h3Template}/>);
131
+ return (<>
132
+ <H3Contents h3Template={h3Template} key={'h3영역' + h3Template.idx}/>
133
+ <span className={'mb-[44px] flex flex-col gap-[26px] px-[10px] sm:mx-[33px] sm:mb-[50px] sm:px-[18px] lg:mb-[78px] ' +
134
+ //520px
135
+ 'max-2sm:gap-[16px]'}>
136
+ {h3Template.reference_is_use &&
137
+ referenceLinkList.length > 0 && (<SeoAdditionalLink type={'더보기'} linkList={referenceLinkList.filter(i => i.tag_idx === h3Template.idx)}/>)}
138
+ {h3Template.news_is_use && newsLinkList.length > 0 && (<SeoAdditionalLink type={'관련기사'} linkList={newsLinkList.filter(i => i.tag_idx === h3Template.idx)}/>)}
139
+ </span>
140
+ </>);
132
141
  })}
133
142
  <span className={'flex flex-col gap-[26px] ' +
134
143
  //520px
@@ -190,7 +190,37 @@ const SuccessNew = ({ data, tel }: ISuccessNewPageTypes) => {
190
190
  .filter(t => t.parent === h2Template.idx)
191
191
  .map((h3Template, h3Index) => {
192
192
  return (
193
- <H3Contents key={'h3영역 ' + h3Index} h3Template={h3Template} />
193
+ <>
194
+ <H3Contents
195
+ h3Template={h3Template}
196
+ key={'h3영역' + h3Template.idx}
197
+ />
198
+ <span
199
+ className={
200
+ 'mb-[44px] flex flex-col gap-[26px] px-[10px] sm:mx-[33px] sm:mb-[50px] sm:px-[18px] lg:mb-[78px] ' +
201
+ //520px
202
+ 'max-2sm:gap-[16px]'
203
+ }
204
+ >
205
+ {h3Template.reference_is_use &&
206
+ referenceLinkList.length > 0 && (
207
+ <SeoAdditionalLink
208
+ type={'더보기'}
209
+ linkList={referenceLinkList.filter(
210
+ i => i.tag_idx === h3Template.idx
211
+ )}
212
+ />
213
+ )}
214
+ {h3Template.news_is_use && newsLinkList.length > 0 && (
215
+ <SeoAdditionalLink
216
+ type={'관련기사'}
217
+ linkList={newsLinkList.filter(
218
+ i => i.tag_idx === h3Template.idx
219
+ )}
220
+ />
221
+ )}
222
+ </span>
223
+ </>
194
224
  );
195
225
  })}
196
226
  <span