@daeryun/dr_components 1.3.26 → 1.3.28

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.
@@ -0,0 +1,444 @@
1
+ 'use client';
2
+
3
+ import ContentList from '../SuccessNew/components/ContentList';
4
+ import { Fragment, useEffect, useRef, useState } from 'react';
5
+ import useBrowser from '../../hook/useBrowser';
6
+ import { ILawyerTypes, ISeoTemplateTypes } from '../SuccessNew/SuccessNewType';
7
+ import { htmlUrlDecode } from '../../../lib';
8
+ import H2Contents from '../SuccessNew/components/H2Contents';
9
+ import H3Contents from '../SuccessNew/components/H3Contents';
10
+ import SeoAdditionalLink from '../SuccessNew/components/SeoAdditionalLink';
11
+ import PdfPrintCopyLink from '../../PdfPrintCopyLink/PdfPrintCopyLink';
12
+ import SeoYoutube from '../../Seo/SeoYoutube';
13
+ import SeoStrength from '../../Seo/SeoStrength';
14
+ import SeoConsulting from '../../Seo/SeoConsulting';
15
+ import LawInfoContentList from '../SuccessNew/components/LawInfoContentList';
16
+ import { SuccessCase } from '../SuccessNew/components/SuccessCase';
17
+ import { FieldCase } from '../SuccessNew/components/FieldCase';
18
+ import { IBlogPageTypes } from './BlogTypes';
19
+ import Link from 'next/link';
20
+ import Image from 'next/image';
21
+ import Arrow from '../../../asset/images/success_new/left.webp';
22
+ import RightArrow from '../../../asset/images/success_new/right.webp';
23
+ import BlogWrapper from './BlogWrapper';
24
+
25
+ const BlogView = ({ data, tel }: IBlogPageTypes) => {
26
+ const {
27
+ template,
28
+ contentsList,
29
+ h2List,
30
+ fieldData,
31
+ successData,
32
+ referenceLinkList,
33
+ newsLinkList,
34
+ shortsLinkList,
35
+ youtubeLinkList,
36
+ initialData,
37
+ nextPost,
38
+ prevPost,
39
+ faqElementMaxCountInContents
40
+ } = data;
41
+ const { width } = useBrowser(true);
42
+ const [isFaqActive, setIsFaqActive] = useState<boolean>(false);
43
+ const printRef = useRef<HTMLDivElement>(null);
44
+
45
+ const h1Title: string = template
46
+ .map(temp => temp.tag === 'h1' && temp.tag_title)
47
+ .filter(temp => temp !== false)
48
+ .toString();
49
+ const h1Description: string = template
50
+ .map(temp => temp.tag === 'h1' && temp.description)
51
+ .filter(temp => temp !== false)
52
+ .toString();
53
+
54
+ const handleScrollToElement = (idx: number) => {
55
+ if (typeof window != 'undefined') {
56
+ const element = document.getElementById(idx.toString());
57
+ if (element) {
58
+ const topOffset = element.getBoundingClientRect().top;
59
+ window.scrollTo({
60
+ top: window.scrollY + topOffset - 150,
61
+ behavior: 'smooth'
62
+ });
63
+ }
64
+ }
65
+ };
66
+
67
+ const handleFaqItemType = (isFaqActive: boolean, faqElementMaxCountInContents?: number): string | undefined => {
68
+ if (isFaqActive && faqElementMaxCountInContents === 0) {
69
+ return undefined;
70
+ }
71
+
72
+ if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
73
+ return 'https://schema.org/FAQPage';
74
+ }
75
+
76
+ return 'https://schema.org/FAQPage';
77
+ };
78
+
79
+ const handleFaqItemScope = (isFaqActive: boolean, faqElementMaxCountInContents?: number): true | undefined => {
80
+ if (isFaqActive && faqElementMaxCountInContents === 0) {
81
+ return undefined;
82
+ }
83
+
84
+ if (isFaqActive && (faqElementMaxCountInContents as number) >= 2) {
85
+ return true;
86
+ }
87
+
88
+ return true;
89
+ };
90
+
91
+ const convertFaqItemType = (template: ISeoTemplateTypes): ISeoTemplateTypes => {
92
+ if ((faqElementMaxCountInContents as number) >= 2) {
93
+ // const before = template.description;
94
+
95
+ // faqElementMaxCountInContents가 두 개 이상일 경우, template 내부에 FAQPage itemtype을 지운다. FAQPage 중복 이슈로 인한 코드임
96
+ template.description = template.description.replaceAll(
97
+ '&lt;div itemscope="" itemtype="https://schema.org/FAQPage"&gt;',
98
+ '&lt;div&gt;'
99
+ );
100
+
101
+ // 교체가 되었는지 확인
102
+ // console.log('교체 발생:', before !== template.description);
103
+ // console.log('FAQPage 포함 여부:', template.description.includes('FAQPage'));
104
+
105
+ return template;
106
+ }
107
+
108
+ return template;
109
+ };
110
+
111
+ // console.log('isFaqActive:', isFaqActive);
112
+ // console.log('faqElementMaxCountInContents:', faqElementMaxCountInContents);
113
+ // console.log('handleFaqItemType 결과:', handleFaqItemType(isFaqActive, faqElementMaxCountInContents as number));
114
+
115
+ useEffect(() => {
116
+ if (template) {
117
+ // 초기화
118
+ setIsFaqActive(false);
119
+
120
+ for (const data of template) {
121
+ // console.log("faq 활성화: ", data['active_faq']);
122
+ if (data['active_faq']) {
123
+ setIsFaqActive(true);
124
+ }
125
+ }
126
+ }
127
+ }, [template]);
128
+
129
+ return (
130
+ <div
131
+ itemScope={handleFaqItemScope(isFaqActive, faqElementMaxCountInContents as number)}
132
+ itemType={handleFaqItemType(isFaqActive, faqElementMaxCountInContents as number)}
133
+ ref={printRef}
134
+ >
135
+ <div id={'sub_contents'}>
136
+ <BlogWrapper>
137
+ <PdfPrintCopyLink
138
+ fileName={template.filter(t => t.tag === 'h1')[0].tag_title}
139
+ printRef={printRef}
140
+ />
141
+ <div className=" relative m-auto mb-[60px] mt-[7em] max-sm:mt-[70px] max-xs:mb-[30px] lg:mt-[5em]">
142
+ <div className="m-auto mt-[3em] flex gap-[120px] max-5xl:gap-[80px] max-xl:flex-col max-xl:gap-0 lg:mt-[5em]">
143
+ <div>
144
+ <div>
145
+ <h1
146
+ className={
147
+ 'break-keep text-[52.5px] font-[800] tracking-[-2.1px] text-[#285FA7] max-3xl:text-5xl max-md:text-4xl max-xs:text-[28px]'
148
+ }
149
+ >
150
+ {h1Title}
151
+ </h1>
152
+ <div
153
+ className={
154
+ 'mb-[54px] mt-[16px] whitespace-break-spaces text-[16px] font-normal tracking-[-0.96px] xs:text-[18px] sm:mb-[62px] sm:mt-[26px] sm:text-[20px] lg:mb-[75px] lg:mt-[37.5px] lg:text-[24px]'
155
+ }
156
+ >
157
+ <div
158
+ id={'ck-content'}
159
+ dangerouslySetInnerHTML={{
160
+ __html: htmlUrlDecode(
161
+ h1Description.replace('../../UploadFile', '/SE2/upload') as string
162
+ )
163
+ }}
164
+ />
165
+ </div>
166
+ </div>
167
+
168
+ <article>
169
+ <ContentList
170
+ template={template}
171
+ h2List={h2List ? h2List : []}
172
+ onScrollToElement={handleScrollToElement}
173
+ />
174
+ {h2List &&
175
+ h2List.map((h2Template, index) => (
176
+ <section
177
+ className={'mt-[52px] sm:mt-[62px] lg:mt-[75px]'}
178
+ key={'h2영역' + h2Template.idx}
179
+ >
180
+ <H2Contents
181
+ h2Template={convertFaqItemType(h2Template)}
182
+ index={index}
183
+ faqCount={h2Template?.faqCount}
184
+ />
185
+ {template
186
+ .filter(t => t.parent === h2Template.idx)
187
+ .map(h3Template => {
188
+ const refer_is_use = h3Template.reference_is_use;
189
+ const refer_length = referenceLinkList.length;
190
+ const refer_content_length = referenceLinkList.filter(
191
+ i => i.tag_idx === h3Template.idx
192
+ ).length;
193
+
194
+ const news_is_use = h3Template.news_is_use;
195
+ const news_length = newsLinkList.length;
196
+ const news_content_length = newsLinkList.filter(
197
+ i => i.tag_idx === h3Template.idx
198
+ ).length;
199
+
200
+ return (
201
+ <Fragment key={'h3Contents_section_' + h3Template.idx}>
202
+ <H3Contents
203
+ h3Template={convertFaqItemType(h3Template)}
204
+ faqCount={h3Template?.faqCount}
205
+ />
206
+ {(refer_is_use &&
207
+ refer_length > 0 &&
208
+ refer_content_length > 0) ||
209
+ (news_is_use &&
210
+ news_length > 0 &&
211
+ news_content_length > 0) ? (
212
+ <span
213
+ className={
214
+ 'mb-[44px] flex w-full flex-col gap-[26px] px-[10px] sm:mx-[33px] sm:mb-[50px] sm:px-[18px] lg:mb-[78px] ' +
215
+ //520px
216
+ 'max-2sm:gap-[16px]'
217
+ }
218
+ >
219
+ {refer_is_use && refer_length > 0 && (
220
+ <SeoAdditionalLink
221
+ type={'더보기'}
222
+ linkList={referenceLinkList.filter(
223
+ i => i.tag_idx === h3Template.idx
224
+ )}
225
+ />
226
+ )}
227
+ {news_is_use && news_length > 0 && (
228
+ <SeoAdditionalLink
229
+ type={'관련기사'}
230
+ linkList={newsLinkList.filter(
231
+ i => i.tag_idx === h3Template.idx
232
+ )}
233
+ />
234
+ )}
235
+ </span>
236
+ ) : (
237
+ <></>
238
+ )}
239
+ </Fragment>
240
+ );
241
+ })}
242
+ <span className={'flex flex-col gap-[26px] max-2sm:gap-[16px]'}>
243
+ {h2Template.reference_is_use && referenceLinkList.length > 0 && (
244
+ <SeoAdditionalLink
245
+ type={'더보기'}
246
+ linkList={referenceLinkList.filter(
247
+ i => i.tag_idx === h2Template.idx
248
+ )}
249
+ />
250
+ )}
251
+ {h2Template.news_is_use && newsLinkList.length > 0 && (
252
+ <SeoAdditionalLink
253
+ type={'관련기사'}
254
+ linkList={newsLinkList.filter(
255
+ i => i.tag_idx === h2Template.idx
256
+ )}
257
+ />
258
+ )}
259
+ {h2Template.youtube_is_use && (
260
+ <>
261
+ {shortsLinkList.length > 0 && (
262
+ <SeoYoutube
263
+ type={'shorts'}
264
+ linkList={shortsLinkList.filter(
265
+ i => i.tag_idx === h2Template.idx
266
+ )}
267
+ />
268
+ )}
269
+ {youtubeLinkList.length > 0 && (
270
+ <SeoYoutube
271
+ type={'youtube'}
272
+ linkList={youtubeLinkList.filter(
273
+ i => i.tag_idx === h2Template.idx
274
+ )}
275
+ />
276
+ )}
277
+ </>
278
+ )}
279
+ </span>
280
+ </section>
281
+ ))}
282
+ </article>
283
+ {width >= 1280 ? (
284
+ <div className={'flex flex-col gap-[60px] lg:mt-[60px]'}>
285
+ {contentsList && contentsList.length > 0 ? (
286
+ <LawInfoContentList
287
+ contentsList={contentsList}
288
+ template={template}
289
+ className={''}
290
+ />
291
+ ) : (
292
+ <></>
293
+ )}
294
+
295
+ <div className={'relative w-full '}>
296
+ <SeoStrength initialData={initialData} />
297
+ </div>
298
+ <SeoConsulting tel={tel} />
299
+ </div>
300
+ ) : (
301
+ <></>
302
+ )}
303
+ </div>
304
+
305
+ {(fieldData.length > 0 || successData.length > 0) && (
306
+ <span
307
+ className={
308
+ 'relative mb-[30px] mt-[170px] w-[340px] shrink-0 ' +
309
+ 'max-3xl:mt-[150px] max-3xl:w-[300px] ' +
310
+ 'max-xl:mt-[50px] max-xl:w-full max-xl:pt-0'
311
+ }
312
+ >
313
+ <span
314
+ id={'fixSideBar'}
315
+ className={
316
+ 'top-[140px] flex w-[340px] flex-col gap-[50px] xl:sticky ' +
317
+ 'max-3xl:w-[300px] max-xl:w-full'
318
+ }
319
+ >
320
+ {successData.length > 0 && <SuccessCase successData={successData} />}
321
+ {fieldData.length > 0 && <FieldCase fieldData={fieldData} />}
322
+ </span>
323
+ </span>
324
+ )}
325
+ </div>
326
+ </div>
327
+ </BlogWrapper>
328
+ <BlogWrapper className=" m-auto mt-[7em] max-md2:mt-[0] max-xs:mb-[30px] lg:mt-[5em] ">
329
+ <div className="max-4xl: m-auto">
330
+ {width < 1280 ? (
331
+ <div className="max-4xl: m-auto flex flex-col gap-[60px]">
332
+ {contentsList && contentsList.length > 0 ? (
333
+ <LawInfoContentList
334
+ contentsList={contentsList}
335
+ template={template}
336
+ className={''}
337
+ />
338
+ ) : (
339
+ <></>
340
+ )}
341
+
342
+ <div className={'relative w-full lg:mb-20'}>
343
+ <SeoStrength initialData={initialData} />
344
+ </div>
345
+ <SeoConsulting tel={tel} />
346
+ </div>
347
+ ) : (
348
+ <></>
349
+ )}
350
+ <div className="m-auto mt-[60px] max-md:mb-[30px]">
351
+ <div
352
+ className={
353
+ 'flex flex-col items-start justify-between md:mb-[60px] lg:flex-row lg:items-center'
354
+ }
355
+ >
356
+ <div
357
+ className={
358
+ 'mb-6 flex w-full flex-col gap-[8px] lg:mb-0 lg:w-auto lg:flex-row lg:items-center lg:gap-[20px] lg2:gap-[28px]'
359
+ }
360
+ >
361
+ <Image
362
+ src={Arrow}
363
+ alt={'화살표'}
364
+ title={'화살표'}
365
+ width={15}
366
+ height={15}
367
+ className={'m-auto hidden lg:block'}
368
+ />
369
+ <p className={'shrink-0 text-[18px] text-[#285FA7] '}>이전글</p>
370
+ {prevPost ? (
371
+ <Link href={prevPost.pathname + String(prevPost.idx)}>
372
+ <p
373
+ className={
374
+ 'w-full truncate text-[16px] xs:text-[18px] lg:w-[13em] xl:w-[16em] xxl:text-[20px] 4xl:w-[20em] '
375
+ }
376
+ >
377
+ {prevPost.title}
378
+ </p>
379
+ </Link>
380
+ ) : (
381
+ <p
382
+ className={
383
+ 'truncate text-[16px] lg:w-[13em] xl:w-[16em] xxl:text-[20px] 4xl:w-[20em]'
384
+ }
385
+ >
386
+ 이전글이 없습니다.
387
+ </p>
388
+ )}
389
+ </div>
390
+
391
+ <Link href={`/info`} className={'hidden w-[198px] shrink-0 max-xxl:w-[138px] lg:block'}>
392
+ <button
393
+ className={
394
+ 'rounded-[30px] border-[1px] border-solid border-[#b0b0b0] bg-[#41464C] px-[40px] py-[10px] text-[#fff] xxl:px-[70px] xxl:py-[15px]'
395
+ }
396
+ >
397
+ 목록보기
398
+ </button>
399
+ </Link>
400
+
401
+ <div
402
+ className={
403
+ 'flex w-full flex-col justify-end gap-[8px] lg:w-auto lg:flex-row lg:items-center lg:gap-[20px] lg2:gap-[28px]'
404
+ }
405
+ >
406
+ <p className={'shrink-0 text-[18px] text-[#285FA7]'}>다음글</p>
407
+ {nextPost ? (
408
+ <Link href={nextPost.pathname + String(nextPost.idx)}>
409
+ <p
410
+ className={
411
+ 'w-full truncate text-[16px] xs:text-[18px] lg:w-[13em] xl:w-[16em] xxl:text-[20px] 4xl:w-[20em] '
412
+ }
413
+ >
414
+ {nextPost.title}
415
+ </p>
416
+ </Link>
417
+ ) : (
418
+ <p
419
+ className={
420
+ 'truncate xs:text-[18px] lg:w-[13em] xl:w-[16em] xxl:text-[20px] 4xl:w-[20em] '
421
+ }
422
+ >
423
+ 다음글이 없습니다.
424
+ </p>
425
+ )}
426
+ <Image
427
+ src={RightArrow}
428
+ alt={'화살표'}
429
+ title={'화살표'}
430
+ width={15}
431
+ height={15}
432
+ className={'m-auto hidden lg:block'}
433
+ />
434
+ </div>
435
+ </div>
436
+ </div>
437
+ </div>
438
+ </BlogWrapper>
439
+ </div>
440
+ </div>
441
+ );
442
+ };
443
+
444
+ export default BlogView;
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface WrapperProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ children: ReactNode;
4
+ className?: string;
5
+ id?: string;
6
+ }
7
+ declare const BlogWrapper: React.ForwardRefExoticComponent<WrapperProps & React.RefAttributes<HTMLDivElement>>;
8
+ export default BlogWrapper;
@@ -0,0 +1,30 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { forwardRef } from 'react';
13
+ const BlogWrapper = forwardRef((_a, ref) => {
14
+ var { children, className = '', id } = _a, others = __rest(_a, ["children", "className", "id"]);
15
+ return (<div id={id} className={'relative mx-auto w-full max-w-[1920px] px-[190px] ' +
16
+ 'max-5xl:px-[100px] ' +
17
+ // 1500px
18
+ 'max-3xl:px-[80px] ' +
19
+ // 1024px - dev Tablets
20
+ 'max-lg:px-[60px] ' +
21
+ // 900px - design Tablets
22
+ 'max-md2:px-[40px] ' +
23
+ // 520px - dev Mobile ( 320px - design Mobile )
24
+ 'max-2sm:px-[20px] ' +
25
+ className} ref={ref} {...others}>
26
+ {children}
27
+ </div>);
28
+ });
29
+ BlogWrapper.displayName = 'LawInfoWrapper';
30
+ export default BlogWrapper;
@@ -0,0 +1,36 @@
1
+ import React, { ReactNode, forwardRef } from 'react';
2
+
3
+ interface WrapperProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ children: ReactNode;
5
+ className?: string; // 스타일 추가
6
+ id?: string;
7
+ }
8
+
9
+ const BlogWrapper = forwardRef<HTMLDivElement, WrapperProps>(({ children, className = '', id, ...others }, ref) => {
10
+ return (
11
+ <div
12
+ id={id}
13
+ className={
14
+ 'relative mx-auto w-full max-w-[1920px] px-[190px] ' +
15
+ 'max-5xl:px-[100px] ' +
16
+ // 1500px
17
+ 'max-3xl:px-[80px] ' +
18
+ // 1024px - dev Tablets
19
+ 'max-lg:px-[60px] ' +
20
+ // 900px - design Tablets
21
+ 'max-md2:px-[40px] ' +
22
+ // 520px - dev Mobile ( 320px - design Mobile )
23
+ 'max-2sm:px-[20px] ' +
24
+ className
25
+ }
26
+ ref={ref}
27
+ {...others}
28
+ >
29
+ {children}
30
+ </div>
31
+ );
32
+ });
33
+
34
+ BlogWrapper.displayName = 'LawInfoWrapper';
35
+
36
+ export default BlogWrapper;
@@ -31,3 +31,5 @@ export { default as BroadcastDetail } from './Broadcast/BroadcastDetail';
31
31
  export { default as SuccessList } from './Success/SuccessList';
32
32
  export { default as TrendList } from './Trend/TrendList';
33
33
  export { default as TrendDetail } from './Trend/TrendDetail';
34
+ export { default as Blog } from './Blog/Blog';
35
+ export { default as BlogView } from './Blog/BlogView';
@@ -33,3 +33,5 @@ export { default as BroadcastDetail } from './Broadcast/BroadcastDetail';
33
33
  export { default as SuccessList } from './Success/SuccessList';
34
34
  export { default as TrendList } from './Trend/TrendList';
35
35
  export { default as TrendDetail } from './Trend/TrendDetail';
36
+ export { default as Blog } from './Blog/Blog';
37
+ export { default as BlogView } from './Blog/BlogView';
@@ -33,3 +33,5 @@ export { default as BroadcastDetail } from './Broadcast/BroadcastDetail';
33
33
  export { default as SuccessList } from './Success/SuccessList';
34
34
  export { default as TrendList } from './Trend/TrendList';
35
35
  export { default as TrendDetail } from './Trend/TrendDetail';
36
+ export { default as Blog } from './Blog/Blog';
37
+ export { default as BlogView } from './Blog/BlogView';
@@ -186,20 +186,17 @@ export function categoryMenuName({ url }) {
186
186
  else if (url.includes('/system')) {
187
187
  return { title: '그룹소개', subTitle: '대륜만의 조력 시스템', address: 'system' };
188
188
  }
189
- else if (url.includes('/system')) {
190
- return { title: '그룹소개', subTitle: '대륜만의 조력 시스템', address: 'system' };
191
- }
192
189
  else if (url.includes('/faq')) {
193
190
  return { title: '업무사례', subTitle: '법률지식인', address: 'faq' };
194
191
  }
195
192
  else if (url.includes('/lawfirm')) {
196
193
  return { title: '대륜소개', subTitle: '로펌 3.0', address: 'lawfirm' };
197
194
  }
198
- else if (allUrl.includes('comp') && url.includes('/merit')) {
199
- return { title: '기업의뢰인을 위한 장점', subTitle: '', address: 'merit' };
195
+ else if (allUrl.includes('merit') && url.includes('/merit')) {
196
+ return { title: '기업의뢰인을 위한 장점', subTitle: '기업의뢰인을 위한 장점', address: 'merit' };
200
197
  }
201
198
  else if (allUrl.includes('trend') && url.includes('/trend')) {
202
- return { title: '판결분석/최신동향', subTitle: '', address: 'trend' };
199
+ return { title: '판결분석/최신동향', subTitle: '판결분석/최신동향', address: 'trend' };
203
200
  }
204
201
  else {
205
202
  return { title: '', subTitle: '', address: '/' };
@@ -151,16 +151,14 @@ export function categoryMenuName({ url }: { url: string }): {
151
151
  return { title: '업무분야', subTitle: '음주 처벌수위 사전검토', address: 'detective' };
152
152
  } else if (url.includes('/system')) {
153
153
  return { title: '그룹소개', subTitle: '대륜만의 조력 시스템', address: 'system' };
154
- } else if (url.includes('/system')) {
155
- return { title: '그룹소개', subTitle: '대륜만의 조력 시스템', address: 'system' };
156
154
  } else if (url.includes('/faq')) {
157
155
  return { title: '업무사례', subTitle: '법률지식인', address: 'faq' };
158
156
  } else if (url.includes('/lawfirm')) {
159
157
  return { title: '대륜소개', subTitle: '로펌 3.0', address: 'lawfirm' };
160
- } else if (allUrl.includes('comp') && url.includes('/merit')) {
161
- return { title: '기업의뢰인을 위한 장점', subTitle: '', address: 'merit' };
158
+ } else if (allUrl.includes('merit') && url.includes('/merit')) {
159
+ return { title: '기업의뢰인을 위한 장점', subTitle: '기업의뢰인을 위한 장점', address: 'merit' };
162
160
  } else if (allUrl.includes('trend') && url.includes('/trend')) {
163
- return { title: '판결분석/최신동향', subTitle: '', address: 'trend' };
161
+ return { title: '판결분석/최신동향', subTitle: '판결분석/최신동향', address: 'trend' };
164
162
  } else {
165
163
  return { title: '', subTitle: '', address: '/' };
166
164
  }