@daeryun/dr_components 0.8.54 → 0.8.56
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 +7 -2
- package/dist/components/page/FieldNew/FieldNewView.tsx +12 -2
- 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);
|
|
@@ -72,8 +74,11 @@ const FieldNewView = ({ data, tel }) => {
|
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
}, [template]);
|
|
75
|
-
return (
|
|
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
|
|
@@ -165,6 +170,6 @@ const FieldNewView = ({ data, tel }) => {
|
|
|
165
170
|
</div>) : (<></>)}
|
|
166
171
|
</FieldWrapper>
|
|
167
172
|
</div>
|
|
168
|
-
|
|
173
|
+
</div>);
|
|
169
174
|
};
|
|
170
175
|
export default FieldNewView;
|
|
@@ -96,8 +96,18 @@ const FieldNewView = ({ data, tel }: IFieldNewPageTypes) => {
|
|
|
96
96
|
}, [template]);
|
|
97
97
|
|
|
98
98
|
return (
|
|
99
|
-
|
|
99
|
+
<div
|
|
100
|
+
itemScope={isFaqActive ? undefined : true}
|
|
101
|
+
itemType={isFaqActive ? undefined : 'https://schema.org/FAQPage'}
|
|
102
|
+
ref={printRef}
|
|
103
|
+
>
|
|
100
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>
|
|
101
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]">
|
|
102
112
|
<div
|
|
103
113
|
className={
|
|
@@ -297,7 +307,7 @@ const FieldNewView = ({ data, tel }: IFieldNewPageTypes) => {
|
|
|
297
307
|
)}
|
|
298
308
|
</FieldWrapper>
|
|
299
309
|
</div>
|
|
300
|
-
|
|
310
|
+
</div>
|
|
301
311
|
);
|
|
302
312
|
};
|
|
303
313
|
|
|
@@ -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>
|