@daeryun/dr_components 0.8.55 → 0.8.57
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.
- package/dist/components/page/FieldNew/FieldNewView.jsx +5 -0
- package/dist/components/page/FieldNew/FieldNewView.tsx +6 -0
- package/dist/components/page/LawInfoNew/LawInfoNewTypes.d.ts +3 -3
- package/dist/components/page/LawInfoNew/LawInfoNewTypes.ts +3 -3
- package/dist/components/page/SuccessNew/SuccessNewView.jsx +5 -8
- package/dist/components/page/SuccessNew/SuccessNewView.tsx +10 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import { htmlUrlDecode } from '../../../lib';
|
|
|
6
6
|
import H2Contents from '../SuccessNew/components/H2Contents';
|
|
7
7
|
import H3Contents from '../SuccessNew/components/H3Contents';
|
|
8
8
|
import SeoAdditionalLink from '../SuccessNew/components/SeoAdditionalLink';
|
|
9
|
+
import PdfPrintCopyLink from '../../PdfPrintCopyLink/PdfPrintCopyLink';
|
|
9
10
|
import SeoYoutube from '../../Seo/SeoYoutube';
|
|
10
11
|
import SeoStrength from '../../Seo/SeoStrength';
|
|
11
12
|
import SeoConsulting from '../../Seo/SeoConsulting';
|
|
@@ -15,6 +16,7 @@ import { SuccessCase } from '../SuccessNew/components/SuccessCase';
|
|
|
15
16
|
import { FieldCase } from '../SuccessNew/components/FieldCase';
|
|
16
17
|
import FieldWrapper from './FieldWrapper';
|
|
17
18
|
const FieldNewView = ({ data, tel }) => {
|
|
19
|
+
var _a;
|
|
18
20
|
const { template, contentsList, h2List, lawyerData, fieldData, successData, groupTopTenLawyerList, referenceLinkList, newsLinkList, shortsLinkList, youtubeLinkList, initialData } = data;
|
|
19
21
|
const { width } = useBrowser(true);
|
|
20
22
|
const [relatedCaseLawyerList, setRelatedCaseLawyerList] = useState(lawyerData);
|
|
@@ -74,6 +76,9 @@ const FieldNewView = ({ data, tel }) => {
|
|
|
74
76
|
}, [template]);
|
|
75
77
|
return (<div itemScope={isFaqActive ? undefined : true} itemType={isFaqActive ? undefined : 'https://schema.org/FAQPage'} ref={printRef}>
|
|
76
78
|
<div id={'sub_contents'}>
|
|
79
|
+
<FieldWrapper>
|
|
80
|
+
<PdfPrintCopyLink fileName={((_a = template.find(t => t.tag === 'h1')) === null || _a === void 0 ? void 0 : _a.tag_title) || ''} printRef={printRef}/>
|
|
81
|
+
</FieldWrapper>
|
|
77
82
|
<FieldWrapper className="relative m-auto mb-[100px] mt-[7em] w-[90%] font-[SUIT] max-sm:mt-[70px] max-xs:mb-[30px] lg:mt-[5em]">
|
|
78
83
|
<div className={'m-auto mt-[3em] flex gap-[120px] ' +
|
|
79
84
|
//1700px
|
|
@@ -102,6 +102,12 @@ const FieldNewView = ({ data, tel }: IFieldNewPageTypes) => {
|
|
|
102
102
|
ref={printRef}
|
|
103
103
|
>
|
|
104
104
|
<div id={'sub_contents'}>
|
|
105
|
+
<FieldWrapper>
|
|
106
|
+
<PdfPrintCopyLink
|
|
107
|
+
fileName={template.find(t => t.tag === 'h1')?.tag_title || ''}
|
|
108
|
+
printRef={printRef}
|
|
109
|
+
/>
|
|
110
|
+
</FieldWrapper>
|
|
105
111
|
<FieldWrapper className="relative m-auto mb-[100px] mt-[7em] w-[90%] font-[SUIT] max-sm:mt-[70px] max-xs:mb-[30px] lg:mt-[5em]">
|
|
106
112
|
<div
|
|
107
113
|
className={
|
|
@@ -6,18 +6,18 @@ export interface ILawInfoNewPageTypes {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ILawInfoNewTypes {
|
|
8
8
|
template: ISeoTemplateTypes[];
|
|
9
|
-
contentsList: IContentsListTypes[] | null;
|
|
10
9
|
h2List: ISeoTemplateTypes[] | null;
|
|
10
|
+
contentsList: IContentsListTypes[] | null;
|
|
11
11
|
prevPost: {
|
|
12
12
|
idx: number;
|
|
13
13
|
title: string;
|
|
14
14
|
pathname: string;
|
|
15
|
-
};
|
|
15
|
+
} | null;
|
|
16
16
|
nextPost: {
|
|
17
17
|
idx: number;
|
|
18
18
|
title: string;
|
|
19
19
|
pathname: string;
|
|
20
|
-
};
|
|
20
|
+
} | null;
|
|
21
21
|
lawyerData: ILawyerTypes[];
|
|
22
22
|
fieldData: IFieldTypes[];
|
|
23
23
|
successData: ISuccessTypes[];
|
|
@@ -14,10 +14,10 @@ export interface ILawInfoNewPageTypes {
|
|
|
14
14
|
}
|
|
15
15
|
export interface ILawInfoNewTypes {
|
|
16
16
|
template: ISeoTemplateTypes[];
|
|
17
|
-
contentsList: IContentsListTypes[] | null;
|
|
18
17
|
h2List: ISeoTemplateTypes[] | null;
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
contentsList: IContentsListTypes[] | null;
|
|
19
|
+
prevPost: { idx: number; title: string; pathname: string } | null;
|
|
20
|
+
nextPost: { idx: number; title: string; pathname: string } | null;
|
|
21
21
|
lawyerData: ILawyerTypes[];
|
|
22
22
|
fieldData: IFieldTypes[];
|
|
23
23
|
successData: ISuccessTypes[];
|
|
@@ -87,14 +87,11 @@ const SuccessNewView = ({ data, tel }) => {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}, [template]);
|
|
90
|
-
return (<div itemScope={!isFaqActive} itemType={!isFaqActive ? 'https://schema.org/FAQPage' : ''} ref={printRef}>
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</div>
|
|
96
|
-
</SuccessWrapper>
|
|
97
|
-
</section>
|
|
90
|
+
return (<div id="sub_contents" itemScope={!isFaqActive} itemType={!isFaqActive ? 'https://schema.org/FAQPage' : ''} ref={printRef}>
|
|
91
|
+
<SuccessWrapper>
|
|
92
|
+
<PdfPrintCopyLink fileName={h1Title} printRef={printRef}/>
|
|
93
|
+
</SuccessWrapper>
|
|
94
|
+
|
|
98
95
|
<SuccessWrapper className="relative m-auto mb-[100px] mt-[7em] font-[SUIT] max-sm:mt-[70px] max-xs:mb-[30px] lg:mt-[5em]">
|
|
99
96
|
<div className="m-auto mt-[3em] flex gap-[120px] max-5xl:gap-[80px] max-3xl:gap-10 max-xl:flex-col max-xl:gap-0 lg:mt-[5em]">
|
|
100
97
|
<div>
|
|
@@ -116,14 +116,16 @@ const SuccessNewView = ({ data, tel }: ISuccessNewPageTypes) => {
|
|
|
116
116
|
}, [template]);
|
|
117
117
|
|
|
118
118
|
return (
|
|
119
|
-
<div
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
<div
|
|
120
|
+
id="sub_contents"
|
|
121
|
+
itemScope={!isFaqActive}
|
|
122
|
+
itemType={!isFaqActive ? 'https://schema.org/FAQPage' : ''}
|
|
123
|
+
ref={printRef}
|
|
124
|
+
>
|
|
125
|
+
<SuccessWrapper>
|
|
126
|
+
<PdfPrintCopyLink fileName={h1Title} printRef={printRef} />
|
|
127
|
+
</SuccessWrapper>
|
|
128
|
+
|
|
127
129
|
<SuccessWrapper className="relative m-auto mb-[100px] mt-[7em] font-[SUIT] max-sm:mt-[70px] max-xs:mb-[30px] lg:mt-[5em]">
|
|
128
130
|
<div className="m-auto mt-[3em] flex gap-[120px] max-5xl:gap-[80px] max-3xl:gap-10 max-xl:flex-col max-xl:gap-0 lg:mt-[5em]">
|
|
129
131
|
<div>
|