@daeryun/dr_components 0.7.95 → 0.7.97

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.
Files changed (58) hide show
  1. package/dist/asset/images/success_new/arrow.svg +13 -0
  2. package/dist/asset/images/success_new/arrow_full.webp +0 -0
  3. package/dist/asset/images/success_new/arrow_line.webp +0 -0
  4. package/dist/asset/images/success_new/dia_dot.svg +3 -0
  5. package/dist/asset/images/success_new/field_icon.webp +0 -0
  6. package/dist/asset/images/success_new/label.svg +10 -0
  7. package/dist/asset/images/success_new/left.webp +0 -0
  8. package/dist/asset/images/success_new/right.webp +0 -0
  9. package/dist/asset/images/success_new/right_arrow.svg +4 -0
  10. package/dist/asset/images/success_new/up_right.svg +3 -0
  11. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  12. package/dist/components/Daeryuntalk/ChatConversation.jsx +1 -0
  13. package/dist/components/Daeryuntalk/ChatConversation.tsx +1 -0
  14. package/dist/components/Daeryuntalk/ChatHomeView.jsx +2 -2
  15. package/dist/components/Daeryuntalk/ChatHomeView.tsx +2 -2
  16. package/dist/components/Daeryuntalk/ChatWidget.jsx +2 -0
  17. package/dist/components/Daeryuntalk/ChatWidget.tsx +2 -0
  18. package/dist/components/Daeryuntalk/History/AuthForm.jsx +2 -2
  19. package/dist/components/Daeryuntalk/History/AuthForm.tsx +2 -4
  20. package/dist/components/Daeryuntalk/Toast/DaeryuntalkToastProvider.d.ts +17 -7
  21. package/dist/components/Daeryuntalk/Toast/DaeryuntalkToastProvider.jsx +14 -18
  22. package/dist/components/Daeryuntalk/Toast/DaeryuntalkToastProvider.tsx +25 -38
  23. package/dist/components/Daeryuntalk/Toast/ToastRender.d.ts +1 -0
  24. package/dist/components/Daeryuntalk/Toast/ToastRender.jsx +17 -0
  25. package/dist/components/Daeryuntalk/Toast/ToastRender.tsx +27 -0
  26. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.js +2 -2
  27. package/dist/components/Daeryuntalk/_hooks/talkprovider/useChatHandler.ts +2 -3
  28. package/dist/components/Daeryuntalk/index.tsx +1 -0
  29. package/dist/components/page/SuccessNew/SuccessNew.d.ts +3 -0
  30. package/dist/components/page/SuccessNew/SuccessNew.jsx +234 -0
  31. package/dist/components/page/SuccessNew/SuccessNew.tsx +430 -0
  32. package/dist/components/page/SuccessNew/SuccessNewType.d.ts +143 -0
  33. package/dist/components/page/SuccessNew/SuccessNewType.js +1 -0
  34. package/dist/components/page/SuccessNew/SuccessNewType.ts +155 -0
  35. package/dist/components/page/SuccessNew/components/ContentList.d.ts +9 -0
  36. package/dist/components/page/SuccessNew/components/ContentList.jsx +45 -0
  37. package/dist/components/page/SuccessNew/components/ContentList.tsx +124 -0
  38. package/dist/components/page/SuccessNew/components/FieldCase.d.ts +5 -0
  39. package/dist/components/page/SuccessNew/components/FieldCase.jsx +59 -0
  40. package/dist/components/page/SuccessNew/components/FieldCase.tsx +101 -0
  41. package/dist/components/page/SuccessNew/components/H2Contents.d.ts +7 -0
  42. package/dist/components/page/SuccessNew/components/H2Contents.jsx +19 -0
  43. package/dist/components/page/SuccessNew/components/H2Contents.tsx +49 -0
  44. package/dist/components/page/SuccessNew/components/H3Contents.d.ts +6 -0
  45. package/dist/components/page/SuccessNew/components/H3Contents.jsx +24 -0
  46. package/dist/components/page/SuccessNew/components/H3Contents.tsx +58 -0
  47. package/dist/components/page/SuccessNew/components/LawInfoContentList.d.ts +8 -0
  48. package/dist/components/page/SuccessNew/components/LawInfoContentList.jsx +77 -0
  49. package/dist/components/page/SuccessNew/components/LawInfoContentList.tsx +122 -0
  50. package/dist/components/page/SuccessNew/components/SeoAdditionalLink.d.ts +7 -0
  51. package/dist/components/page/SuccessNew/components/SeoAdditionalLink.jsx +80 -0
  52. package/dist/components/page/SuccessNew/components/SeoAdditionalLink.tsx +125 -0
  53. package/dist/components/page/SuccessNew/components/SuccessCase.d.ts +5 -0
  54. package/dist/components/page/SuccessNew/components/SuccessCase.jsx +64 -0
  55. package/dist/components/page/SuccessNew/components/SuccessCase.tsx +105 -0
  56. package/dist/styles/globals.css +524 -0
  57. package/dist/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +1 -1
@@ -0,0 +1,155 @@
1
+ import { IInitialDataTypes } from '../../common';
2
+
3
+ export interface ISuccessNewPageTypes {
4
+ data: ISuccessNewTypes;
5
+ tel: string;
6
+ }
7
+ export interface ISuccessNewTypes {
8
+ template: ISeoTemplateTypes[];
9
+ contentsList: IContentsListTypes[] | null;
10
+ h2List: ISeoTemplateTypes[] | null;
11
+ imgData: IImgsTypes[] | null;
12
+ lawyerData: ILawyerTypes[];
13
+ fieldData: IFieldTypes[];
14
+ successData: ISuccessTypes[];
15
+ groupTopTenLawyerList: ILawyerTypes[];
16
+ referenceLinkList: IAddLinkTypes[];
17
+ newsLinkList: IAddLinkTypes[];
18
+ shortsLinkList: IAddLinkTypes[];
19
+ youtubeLinkList: IAddLinkTypes[];
20
+ pn: PnType;
21
+ initialData: IInitialDataTypes;
22
+ }
23
+
24
+ export interface ISeoTemplateTypes {
25
+ type: string;
26
+ idx: number;
27
+ tag: string;
28
+ parent: number;
29
+ description: string;
30
+ tag_title: string;
31
+ type_idx: number;
32
+ is_index: boolean | null;
33
+ hit: number;
34
+ center_code: string;
35
+ is_editor: boolean;
36
+ sub_title?: string | null;
37
+ crime_result?: string | null;
38
+ case_number?: string | null;
39
+ deleted_at?: string | null;
40
+ template_type?: string | null;
41
+ img?: string | null;
42
+ alt?: string | null;
43
+ created_at?: Date | null;
44
+ creator?: string | null;
45
+ modified_at?: Date | null;
46
+ modifier?: string | null;
47
+ is_consult: boolean | null;
48
+ reference_is_use: boolean | null;
49
+ news_is_use: boolean | null;
50
+ youtube_is_use: boolean | null;
51
+ active_faq: boolean;
52
+ }
53
+
54
+ export interface IContentsListTypes {
55
+ center_code: string;
56
+ domain: string;
57
+ tag_title: string;
58
+ type_idx: number;
59
+ }
60
+
61
+ export interface ILawyerTypes {
62
+ lawyer_name: string | null;
63
+ l_ability: string;
64
+ l_tel: string;
65
+ l_id: string;
66
+ l_del: string;
67
+ mark: string;
68
+ lawyer_code: string;
69
+ lawyer_position: string;
70
+ img_url: string;
71
+ career_txt?: string;
72
+ }
73
+
74
+ export interface IFieldTypes {
75
+ idx: number;
76
+ title_text: string;
77
+ field_title?: string;
78
+ pathname: string;
79
+ domain?: string;
80
+ center_code?: string;
81
+ }
82
+
83
+ export interface ISuccessTypes {
84
+ idx: number;
85
+ contents_id: number;
86
+ contents_type: string;
87
+ sub_title: string;
88
+ tag_title: string;
89
+ type_idx: string;
90
+ code_desc: string;
91
+ domain?: string;
92
+ }
93
+
94
+ export interface IImgsTypes {
95
+ img_type: string;
96
+ lawyer_name: string | null;
97
+ alt: string;
98
+ img_url: string;
99
+ l_del: string;
100
+ code_name: string;
101
+ careers_summary: string;
102
+ l_id: string;
103
+ }
104
+
105
+ export interface IAddLinkTypes {
106
+ type_idx: number;
107
+ tag_idx: number;
108
+ type: string;
109
+ seo_type: string;
110
+ title: string;
111
+ link: string;
112
+ idx: number;
113
+ }
114
+
115
+ export interface ICanonicalTypes {
116
+ title: string;
117
+ type_idx: number;
118
+ center_code: string;
119
+ crime_code: string;
120
+ url: string;
121
+ }
122
+
123
+ export interface ICanonicalTypes {
124
+ title: string;
125
+ type_idx: number;
126
+ center_code: string;
127
+ crime_code: string;
128
+ url: string;
129
+ }
130
+
131
+ export interface ILegalDocumentImageObjectTypes {
132
+ alt: string;
133
+ img_type: string;
134
+ img_url: string;
135
+ l_del: string;
136
+ l_id: string;
137
+ lawyer_name: string;
138
+ }
139
+
140
+ export interface PnType {
141
+ prev: {
142
+ id: number;
143
+ title: string;
144
+ created_at: string;
145
+ is_top: boolean;
146
+ pathname: string;
147
+ } | null;
148
+ next: {
149
+ id: number;
150
+ title: string;
151
+ created_at: string;
152
+ is_top: boolean;
153
+ pathname: string;
154
+ } | null;
155
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ISeoTemplateTypes } from '../SuccessNewType';
3
+ declare const ContentList: ({ onScrollToElement, onImageMove, h2List, template }: {
4
+ onScrollToElement: (idx: number) => void;
5
+ onImageMove?: () => void;
6
+ h2List: ISeoTemplateTypes[];
7
+ template: ISeoTemplateTypes[];
8
+ }) => React.JSX.Element;
9
+ export default ContentList;
@@ -0,0 +1,45 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import ArrowLine from '../../../../asset/images/success_new/arrow_line.webp';
4
+ import ArrowFull from '../../../../asset/images/success_new/arrow_full.webp';
5
+ const ContentList = ({ onScrollToElement, onImageMove, h2List, template }) => {
6
+ return (<details open className={'relative w-full border border-solid border-[#285FA7] px-[16px] pb-[36px] pt-[40px] xs:px-[26px] sm:px-[32px] sm:py-[54px] lg:px-[47.25px]'}>
7
+ <summary className={'absolute right-[10px] top-[8px] text-right text-[16px] font-[200] tracking-[6.75px] text-[#285FA7] xs:top-[10px] sm:right-[18px] sm:top-[16px] sm:text-[20px] lg:right-[24.75px] lg:top-[23.25px] lg:text-[22.5px]'}>
8
+ CONTENTS
9
+ </summary>
10
+ <ul className={'flex flex-col gap-[20px] text-[18px] font-bold tracking-[-1px] text-[#285FA7] xs:text-[20px] sm:text-[24px] lg:text-[26.25px]'}>
11
+ {h2List &&
12
+ h2List
13
+ .filter(i => i.is_index)
14
+ .map((h2Template, index) => {
15
+ return (<li className={' w-fit cursor-pointer'} key={'목차' + h2Template.idx} onClick={() => {
16
+ onScrollToElement(h2Template.idx);
17
+ }}>
18
+ <div className={'group ml-[15px] w-fit break-keep px-[4px] py-[4px] -indent-[15px] hover:bg-[#FAFAFA] sm:px-[8px] sm:py-[7.5px]'}>
19
+ {index + 1}. {h2Template.tag_title}
20
+ <Image src={ArrowLine} alt={'arrow_line'} width={25} height={25} priority className={'mb-1 ml-[8px] inline h-auto w-[20px] group-hover:hidden sm:ml-[12px] sm:w-[25px]'}/>
21
+ <Image src={ArrowFull} alt={'arrow_full'} width={25} height={25} priority className={'mb-1 ml-[8px] hidden h-auto w-[20px] group-hover:visible group-hover:inline sm:ml-[12px] sm:w-[25px]'}/>
22
+ </div>
23
+
24
+ {template.filter(t => t.parent === h2Template.idx && t.is_index).length > 0 ? (<ul className={'mb-[7.5px] ml-[27.75px] mt-[8px] text-[16px] font-normal tracking-[-0.9px] sm:text-[20px] lg:text-[22.5px]'}>
25
+ {template
26
+ .filter(t => t.parent === h2Template.idx && t.is_index)
27
+ .map(h3Template => {
28
+ return (<li className={'mr-[10px] break-keep -indent-[10px] hover:font-bold'} key={'h3목차' + h3Template.idx} onClick={event => {
29
+ event.stopPropagation();
30
+ onScrollToElement(h3Template.idx);
31
+ }}>
32
+ - {h3Template.tag_title}
33
+ </li>);
34
+ })}
35
+ </ul>) : null}
36
+ </li>);
37
+ })}
38
+ </ul>
39
+
40
+ {onImageMove ? (<button onClick={onImageMove} className={'mt-[40px] px-[2px] text-[16px] font-bold tracking-[-0.9px] text-[#285FA7] hover:bg-[#FAFAFA] focus:bg-[#FAFAFA] sm:px-[8px] sm:text-[18px] lg:text-[20px] '}>
41
+ ▶︎ 결과 이미지 바로 보러가기
42
+ </button>) : (<></>)}
43
+ </details>);
44
+ };
45
+ export default ContentList;
@@ -0,0 +1,124 @@
1
+ import Image from 'next/image';
2
+ import React from 'react';
3
+ import { ISeoTemplateTypes } from '../SuccessNewType';
4
+ import ArrowLine from '../../../../asset/images/success_new/arrow_line.webp';
5
+ import ArrowFull from '../../../../asset/images/success_new/arrow_full.webp';
6
+
7
+ const ContentList = ({
8
+ onScrollToElement,
9
+ onImageMove,
10
+ h2List,
11
+ template
12
+ }: {
13
+ onScrollToElement: (idx: number) => void;
14
+ onImageMove?: () => void;
15
+ h2List: ISeoTemplateTypes[];
16
+ template: ISeoTemplateTypes[];
17
+ }) => {
18
+ return (
19
+ <details
20
+ open
21
+ className={
22
+ 'relative w-full border border-solid border-[#285FA7] px-[16px] pb-[36px] pt-[40px] xs:px-[26px] sm:px-[32px] sm:py-[54px] lg:px-[47.25px]'
23
+ }
24
+ >
25
+ <summary
26
+ className={
27
+ 'absolute right-[10px] top-[8px] text-right text-[16px] font-[200] tracking-[6.75px] text-[#285FA7] xs:top-[10px] sm:right-[18px] sm:top-[16px] sm:text-[20px] lg:right-[24.75px] lg:top-[23.25px] lg:text-[22.5px]'
28
+ }
29
+ >
30
+ CONTENTS
31
+ </summary>
32
+ <ul
33
+ className={
34
+ 'flex flex-col gap-[20px] text-[18px] font-bold tracking-[-1px] text-[#285FA7] xs:text-[20px] sm:text-[24px] lg:text-[26.25px]'
35
+ }
36
+ >
37
+ {h2List &&
38
+ h2List
39
+ .filter(i => i.is_index)
40
+ .map((h2Template, index) => {
41
+ return (
42
+ <li
43
+ className={' w-fit cursor-pointer'}
44
+ key={'목차' + h2Template.idx}
45
+ onClick={() => {
46
+ onScrollToElement(h2Template.idx);
47
+ }}
48
+ >
49
+ <div
50
+ className={
51
+ 'group ml-[15px] w-fit break-keep px-[4px] py-[4px] -indent-[15px] hover:bg-[#FAFAFA] sm:px-[8px] sm:py-[7.5px]'
52
+ }
53
+ >
54
+ {index + 1}. {h2Template.tag_title}
55
+ <Image
56
+ src={ArrowLine}
57
+ alt={'arrow_line'}
58
+ width={25}
59
+ height={25}
60
+ priority
61
+ className={
62
+ 'mb-1 ml-[8px] inline h-auto w-[20px] group-hover:hidden sm:ml-[12px] sm:w-[25px]'
63
+ }
64
+ />
65
+ <Image
66
+ src={ArrowFull}
67
+ alt={'arrow_full'}
68
+ width={25}
69
+ height={25}
70
+ priority
71
+ className={
72
+ 'mb-1 ml-[8px] hidden h-auto w-[20px] group-hover:visible group-hover:inline sm:ml-[12px] sm:w-[25px]'
73
+ }
74
+ />
75
+ </div>
76
+
77
+ {template.filter(t => t.parent === h2Template.idx && t.is_index).length > 0 ? (
78
+ <ul
79
+ className={
80
+ 'mb-[7.5px] ml-[27.75px] mt-[8px] text-[16px] font-normal tracking-[-0.9px] sm:text-[20px] lg:text-[22.5px]'
81
+ }
82
+ >
83
+ {template
84
+ .filter(t => t.parent === h2Template.idx && t.is_index)
85
+ .map(h3Template => {
86
+ return (
87
+ <li
88
+ className={
89
+ 'mr-[10px] break-keep -indent-[10px] hover:font-bold'
90
+ }
91
+ key={'h3목차' + h3Template.idx}
92
+ onClick={event => {
93
+ event.stopPropagation();
94
+ onScrollToElement(h3Template.idx);
95
+ }}
96
+ >
97
+ - {h3Template.tag_title}
98
+ </li>
99
+ );
100
+ })}
101
+ </ul>
102
+ ) : null}
103
+ </li>
104
+ );
105
+ })}
106
+ </ul>
107
+
108
+ {onImageMove ? (
109
+ <button
110
+ onClick={onImageMove}
111
+ className={
112
+ 'mt-[40px] px-[2px] text-[16px] font-bold tracking-[-0.9px] text-[#285FA7] hover:bg-[#FAFAFA] focus:bg-[#FAFAFA] sm:px-[8px] sm:text-[18px] lg:text-[20px] '
113
+ }
114
+ >
115
+ ▶︎ 결과 이미지 바로 보러가기
116
+ </button>
117
+ ) : (
118
+ <></>
119
+ )}
120
+ </details>
121
+ );
122
+ };
123
+
124
+ export default ContentList;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IFieldTypes } from '../SuccessNewType';
3
+ export declare const FieldCase: ({ fieldData }: {
4
+ fieldData: IFieldTypes[];
5
+ }) => React.JSX.Element;
@@ -0,0 +1,59 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import IconArrow from '../../../../asset/images/success_new/up_right.svg';
4
+ import IconDot from '../../../../asset/images/success_new/dia_dot.svg';
5
+ import IconRightArrow from '../../../../asset/images/success_new/right_arrow.svg';
6
+ export const FieldCase = ({ fieldData }) => {
7
+ const SERVICE_DOMAIN = process.env.NEXT_PUBLIC_SERVICE_DOMAIN;
8
+ return (<div className={'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
9
+ 'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '}>
10
+ <span className={'flex h-fit w-full items-center justify-between'}>
11
+ <p className={'text-[26px] font-[800] tracking-[-0.5px] text-[#80377A] ' +
12
+ //1500px
13
+ 'max-3xl:text-[24px] ' +
14
+ //1280px
15
+ 'max-xl:text-[26px]'}>
16
+ 관련 업무분야
17
+ </p>
18
+ <Link href={'/field/area'} className={'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
19
+ 'hover:bg-[#722D6D] ' +
20
+ //1500px
21
+ 'max-3xl:h-[30px] max-3xl:w-[90px] '} title={'업무분야 더보기'}>
22
+ <p className={'w-fit text-[18px] font-[600] leading-none text-white ' +
23
+ //1500px
24
+ 'max-3xl:text-[16px] '}>
25
+ 더보기
26
+ </p>
27
+ <IconRightArrow className={'h-auto w-[14px] ' +
28
+ //1500px
29
+ 'max-3xl:w-[12px] '}/>
30
+ </Link>
31
+ </span>
32
+ <span className={'mt-[30px] flex flex-col gap-3 '}>
33
+ {fieldData === null || fieldData === void 0 ? void 0 : fieldData.map(i => {
34
+ var _a;
35
+ return (<Link href={((_a = i.domain) !== null && _a !== void 0 ? _a : '') + i.pathname + i.idx} key={i.pathname + i.idx} target={i.domain ? '_blank' : i.pathname.includes(SERVICE_DOMAIN !== null && SERVICE_DOMAIN !== void 0 ? SERVICE_DOMAIN : '') ? '' : '_blank'} className={'flex w-fit items-start gap-[10px] text-[20px] font-medium tracking-[-0.4px] hover:text-[#285FA7] ' +
36
+ //1500px
37
+ 'max-3xl:text-[18px] ' +
38
+ //1280px
39
+ 'max-xl:text-[20px] ' +
40
+ //768px
41
+ 'max-md:text-[18px]'}>
42
+ <IconDot className={'mt-3 inline shrink-0 ' +
43
+ //1500px
44
+ 'max-3xl:mt-[9px]'}/>
45
+ <div>
46
+ {i.title_text}
47
+ <IconArrow aria-label={'새창열림'} className={'mb-[5px] ml-2 inline h-[10px] w-[10px] ' +
48
+ //1500px
49
+ 'max-3xl:h-[9px] max-3xl:w-[9px] ' +
50
+ //1280px
51
+ 'max-xl:mb-[3px] max-xl:h-[10px] max-xl:w-[10px] ' +
52
+ //1500px
53
+ 'max-md:mb-[7px] max-md:h-[9px] max-md:w-[9px] '}/>
54
+ </div>
55
+ </Link>);
56
+ })}
57
+ </span>
58
+ </div>);
59
+ };
@@ -0,0 +1,101 @@
1
+ import Link from 'next/link';
2
+ import React from 'react';
3
+ import IconArrow from '../../../../asset/images/success_new/up_right.svg';
4
+ import IconDot from '../../../../asset/images/success_new/dia_dot.svg';
5
+ import IconRightArrow from '../../../../asset/images/success_new/right_arrow.svg';
6
+ import { IFieldTypes } from '../SuccessNewType';
7
+
8
+ export const FieldCase = ({ fieldData }: { fieldData: IFieldTypes[] }) => {
9
+ const SERVICE_DOMAIN = process.env.NEXT_PUBLIC_SERVICE_DOMAIN;
10
+
11
+ return (
12
+ <div
13
+ className={
14
+ 'relative h-auto w-full border-l-[1px] border-t-[1px] border-solid border-[#B9B9B9] pb-[45px] pl-[26px] pt-[30px] ' +
15
+ 'before:absolute before:left-0 before:top-0 before:block before:aspect-square before:w-[15px] before:bg-[#B9B9B9] before:content-[""] '
16
+ }
17
+ >
18
+ <span className={'flex h-fit w-full items-center justify-between'}>
19
+ <p
20
+ className={
21
+ 'text-[26px] font-[800] tracking-[-0.5px] text-[#80377A] ' +
22
+ //1500px
23
+ 'max-3xl:text-[24px] ' +
24
+ //1280px
25
+ 'max-xl:text-[26px]'
26
+ }
27
+ >
28
+ 관련 업무분야
29
+ </p>
30
+ <Link
31
+ href={'/field/area'}
32
+ className={
33
+ 'flex h-[35px] w-[100px] items-center justify-center gap-[4px] bg-[#5D5D5D] ' +
34
+ 'hover:bg-[#722D6D] ' +
35
+ //1500px
36
+ 'max-3xl:h-[30px] max-3xl:w-[90px] '
37
+ }
38
+ title={'업무분야 더보기'}
39
+ >
40
+ <p
41
+ className={
42
+ 'w-fit text-[18px] font-[600] leading-none text-white ' +
43
+ //1500px
44
+ 'max-3xl:text-[16px] '
45
+ }
46
+ >
47
+ 더보기
48
+ </p>
49
+ <IconRightArrow
50
+ className={
51
+ 'h-auto w-[14px] ' +
52
+ //1500px
53
+ 'max-3xl:w-[12px] '
54
+ }
55
+ />
56
+ </Link>
57
+ </span>
58
+ <span className={'mt-[30px] flex flex-col gap-3 '}>
59
+ {fieldData?.map(i => (
60
+ <Link
61
+ href={(i.domain ?? '') + i.pathname + i.idx}
62
+ key={i.pathname + i.idx}
63
+ target={i.domain ? '_blank' : i.pathname.includes(SERVICE_DOMAIN ?? '') ? '' : '_blank'}
64
+ className={
65
+ 'flex w-fit items-start gap-[10px] text-[20px] font-medium tracking-[-0.4px] hover:text-[#285FA7] ' +
66
+ //1500px
67
+ 'max-3xl:text-[18px] ' +
68
+ //1280px
69
+ 'max-xl:text-[20px] ' +
70
+ //768px
71
+ 'max-md:text-[18px]'
72
+ }
73
+ >
74
+ <IconDot
75
+ className={
76
+ 'mt-3 inline shrink-0 ' +
77
+ //1500px
78
+ 'max-3xl:mt-[9px]'
79
+ }
80
+ />
81
+ <div>
82
+ {i.title_text}
83
+ <IconArrow
84
+ aria-label={'새창열림'}
85
+ className={
86
+ 'mb-[5px] ml-2 inline h-[10px] w-[10px] ' +
87
+ //1500px
88
+ 'max-3xl:h-[9px] max-3xl:w-[9px] ' +
89
+ //1280px
90
+ 'max-xl:mb-[3px] max-xl:h-[10px] max-xl:w-[10px] ' +
91
+ //1500px
92
+ 'max-md:mb-[7px] max-md:h-[9px] max-md:w-[9px] '
93
+ }
94
+ />
95
+ </div>
96
+ </Link>
97
+ ))}
98
+ </span>
99
+ </div>
100
+ );
101
+ };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ISeoTemplateTypes } from '../SuccessNewType';
3
+ declare const H2Contents: ({ h2Template, index }: {
4
+ h2Template: ISeoTemplateTypes;
5
+ index: number;
6
+ }) => React.JSX.Element;
7
+ export default H2Contents;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { htmlUrlDecode } from '../../../../lib';
3
+ const H2Contents = ({ h2Template, index }) => {
4
+ const { active_faq } = h2Template;
5
+ return (<div itemScope={active_faq ? undefined : true} itemProp={active_faq ? '' : 'mainEntity'} itemType={active_faq ? '' : 'https://schema.org/Question'}>
6
+ <h2 className={'flex h-fit w-full items-center break-keep rounded-[40px] bg-[#285FA7] py-[6.75px] pl-[40px] pr-[20px] -indent-[20px] text-[20px] font-bold leading-[28px] tracking-tight text-white sm:pl-[46px] sm:pr-[26px] sm:text-[26px] sm:leading-[34px] lg:pl-[53px] lg:pr-[33px] lg:text-[31.5px] lg:leading-[38px]'} id={h2Template.idx.toString()} itemProp={active_faq ? '' : 'name'}>
7
+ {index + 1}. {h2Template.tag_title}
8
+ </h2>
9
+ <div className={'px-[10px] sm:px-[18px]'}>
10
+ {/*h2 설명글*/}
11
+ <div className={'lg::mt-[37.5px] mb-[44px] mt-[26px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:mt-[32px] sm:text-[17.25px] lg:mb-[78px]'} itemScope={active_faq ? undefined : true} itemProp={active_faq ? '' : 'acceptedAnswer'} itemType={active_faq ? '' : 'https://schema.org/Answer'}>
12
+ {h2Template.is_editor ? (<div itemProp={active_faq ? '' : 'text'} id={'ck-content'} dangerouslySetInnerHTML={{
13
+ __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
14
+ }}/>) : (<div itemProp={active_faq ? '' : 'text'}>{h2Template.description}</div>)}
15
+ </div>
16
+ </div>
17
+ </div>);
18
+ };
19
+ export default H2Contents;
@@ -0,0 +1,49 @@
1
+ import React from 'react';
2
+ import { ISeoTemplateTypes } from '../SuccessNewType';
3
+ import { htmlUrlDecode } from '../../../../lib';
4
+ const H2Contents = ({ h2Template, index }: { h2Template: ISeoTemplateTypes; index: number }) => {
5
+ const { active_faq } = h2Template;
6
+
7
+ return (
8
+ <div
9
+ itemScope={active_faq ? undefined : true}
10
+ itemProp={active_faq ? '' : 'mainEntity'}
11
+ itemType={active_faq ? '' : 'https://schema.org/Question'}
12
+ >
13
+ <h2
14
+ className={
15
+ 'flex h-fit w-full items-center break-keep rounded-[40px] bg-[#285FA7] py-[6.75px] pl-[40px] pr-[20px] -indent-[20px] text-[20px] font-bold leading-[28px] tracking-tight text-white sm:pl-[46px] sm:pr-[26px] sm:text-[26px] sm:leading-[34px] lg:pl-[53px] lg:pr-[33px] lg:text-[31.5px] lg:leading-[38px]'
16
+ }
17
+ id={h2Template.idx.toString()}
18
+ itemProp={active_faq ? '' : 'name'}
19
+ >
20
+ {index + 1}. {h2Template.tag_title}
21
+ </h2>
22
+ <div className={'px-[10px] sm:px-[18px]'}>
23
+ {/*h2 설명글*/}
24
+ <div
25
+ className={
26
+ 'lg::mt-[37.5px] mb-[44px] mt-[26px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:mt-[32px] sm:text-[17.25px] lg:mb-[78px]'
27
+ }
28
+ itemScope={active_faq ? undefined : true}
29
+ itemProp={active_faq ? '' : 'acceptedAnswer'}
30
+ itemType={active_faq ? '' : 'https://schema.org/Answer'}
31
+ >
32
+ {h2Template.is_editor ? (
33
+ <div
34
+ itemProp={active_faq ? '' : 'text'}
35
+ id={'ck-content'}
36
+ dangerouslySetInnerHTML={{
37
+ __html: htmlUrlDecode(h2Template.description.replace('../../UploadFile', '/SE2/upload'))
38
+ }}
39
+ />
40
+ ) : (
41
+ <div itemProp={active_faq ? '' : 'text'}>{h2Template.description}</div>
42
+ )}
43
+ </div>
44
+ </div>
45
+ </div>
46
+ );
47
+ };
48
+
49
+ export default H2Contents;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { ISeoTemplateTypes } from '../SuccessNewType';
3
+ declare const H3Contents: ({ h3Template }: {
4
+ h3Template: ISeoTemplateTypes;
5
+ }) => React.JSX.Element;
6
+ export default H3Contents;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import Image from 'next/image';
3
+ import { htmlUrlDecode } from '../../../../lib';
4
+ import FieldIcon from '../../../../asset/images/success_new/field_icon.webp';
5
+ const H3Contents = ({ h3Template }) => {
6
+ const { active_faq } = h3Template;
7
+ return (<>
8
+ <div className={'px-[10px] sm:px-[18px]'} key={'h3영역' + h3Template.idx} itemScope={active_faq ? undefined : true} itemProp={active_faq ? '' : 'mainEntity'} itemType={active_faq ? '' : 'https://schema.org/Question'}>
9
+ {/*h3*/}
10
+ <h3 className={'mb-[16px] flex items-center break-keep text-[18px] font-bold tracking-[-0.96px] text-[#285FA7] sm:mb-[18px] sm:text-[22px] lg:mb-[22.5px] lg:text-[24px]'} id={h3Template.idx.toString()} itemProp={active_faq ? '' : 'name'}>
11
+ {/*모든 seo 체크로 변경*/}
12
+ <Image src={FieldIcon} alt={'h3 img'} width={27} height={26} className={'mr-[8px] h-auto max-sm:w-[22px]'}/>
13
+ {h3Template.tag_title}
14
+ </h3>
15
+ {/*h3 설명글*/}
16
+ <div itemScope={active_faq ? undefined : true} itemProp={active_faq ? '' : 'acceptedAnswer'} itemType={active_faq ? '' : 'https://schema.org/Answer'}>
17
+ <div className={'mb-[44px] whitespace-break-spaces text-[16px] tracking-[-0.69px] sm:mx-[20px] sm:mx-[33px] sm:mb-[50px] sm:text-[17.25px] lg:mb-[78px]'} itemProp={active_faq ? '' : 'text'} id={'ck-content'} dangerouslySetInnerHTML={{
18
+ __html: htmlUrlDecode(h3Template.description.replace('../../UploadFile', '/SE2/upload'))
19
+ }}></div>
20
+ </div>
21
+ </div>
22
+ </>);
23
+ };
24
+ export default H3Contents;