@npm_leadtech/legal-lib-components 5.22.12 → 5.23.0
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/images/componentsSvg/PhoneIcon24px.tsx +2 -4
- package/dist/src/components/atoms/index.d.ts +0 -2
- package/dist/src/components/atoms/index.js +0 -2
- package/dist/src/components/atoms/index.ts +0 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +5 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +2 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +2 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +2 -1
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +17 -14
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +17 -14
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +2 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +4 -1
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +4 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/componentsSvg/IconWeb.d.ts +0 -2
- package/dist/images/componentsSvg/IconWeb.js +0 -4
- package/dist/images/componentsSvg/IconWeb.tsx +0 -31
- package/dist/images/componentsSvg/PhoneIcon.d.ts +0 -6
- package/dist/images/componentsSvg/PhoneIcon.js +0 -4
- package/dist/images/componentsSvg/PhoneIcon.tsx +0 -18
- package/dist/images/svg/facebook.svg +0 -4
- package/dist/images/svg/icon-24-px-satisfaction-grey.svg +0 -3
- package/dist/images/svg/icon-24-px-security_black.svg +0 -3
- package/dist/images/svg/linkedin.svg +0 -4
- package/dist/images/svg/pinterest.svg +0 -4
- package/dist/images/svg/x.svg +0 -4
- package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +0 -3
- package/dist/src/components/atoms/FixedFooter/FixedFooter.js +0 -73
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.d.ts +0 -1
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +0 -813
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +0 -814
- package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +0 -304
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.d.ts +0 -68
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.js +0 -1
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.ts +0 -70
- package/dist/src/components/atoms/FixedFooter/index.d.ts +0 -2
- package/dist/src/components/atoms/FixedFooter/index.js +0 -2
- package/dist/src/components/atoms/FixedFooter/index.ts +0 -2
- package/dist/src/components/atoms/PreFooter/PreFooter.d.ts +0 -3
- package/dist/src/components/atoms/PreFooter/PreFooter.js +0 -8
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.d.ts +0 -1
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.js +0 -43
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.ts +0 -43
- package/dist/src/components/atoms/PreFooter/PreFooter.tsx +0 -34
- package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +0 -8
- package/dist/src/components/atoms/PreFooter/PreFooterProps.js +0 -1
- package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +0 -8
- package/dist/src/components/atoms/PreFooter/index.d.ts +0 -2
- package/dist/src/components/atoms/PreFooter/index.js +0 -2
- package/dist/src/components/atoms/PreFooter/index.ts +0 -2
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { Button } from '../Button'
|
|
2
|
-
import { ContactBox } from '../../molecules/ContactBox'
|
|
3
|
-
import { Disclaimer } from '../Disclaimer'
|
|
4
|
-
import { FixedFooterProps } from './FixedFooterProps'
|
|
5
|
-
import { FixedFooterStyled } from './FixedFooter.styled'
|
|
6
|
-
import { IconWeb } from '../../../../images/componentsSvg/IconWeb'
|
|
7
|
-
import { Logo } from '../Logo'
|
|
8
|
-
import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon'
|
|
9
|
-
import React from 'react'
|
|
10
|
-
import { WideInfoBar } from '../WideInfoBar'
|
|
11
|
-
import facebook from '../../../../images/svg/facebook.svg'
|
|
12
|
-
import guaranteeIconGrey from '../../../../images/svg/icon-24-px-satisfaction-grey.svg'
|
|
13
|
-
import linkedin from '../../../../images/svg/linkedin.svg'
|
|
14
|
-
import pinterest from '../../../../images/svg/pinterest.svg'
|
|
15
|
-
import securityIconBlack from '../../../../images/svg/icon-24-px-security_black.svg'
|
|
16
|
-
import x from '../../../../images/svg/x.svg'
|
|
17
|
-
|
|
18
|
-
export const FixedFooter: React.FC<FixedFooterProps> = ({
|
|
19
|
-
config = {
|
|
20
|
-
siteName: 'LawDistrict',
|
|
21
|
-
sitePhone: '123-456-7890',
|
|
22
|
-
siteSchedule: 'Monday - Friday, 9am - 5pm',
|
|
23
|
-
siteUrl: 'https://www.lawdistrict.com',
|
|
24
|
-
hasGrav: true,
|
|
25
|
-
hasCookieMessage: true,
|
|
26
|
-
hasContactBar: false,
|
|
27
|
-
hasTrustPilot: true,
|
|
28
|
-
isJonSnow: false,
|
|
29
|
-
isSEMPage: false,
|
|
30
|
-
isMobile: false,
|
|
31
|
-
isTablet: false,
|
|
32
|
-
isDesktop: true,
|
|
33
|
-
isAnonymousPayment: false,
|
|
34
|
-
hide: false,
|
|
35
|
-
noFooter: false
|
|
36
|
-
},
|
|
37
|
-
footer = {
|
|
38
|
-
disclaimerText: '',
|
|
39
|
-
guaranteeText: '',
|
|
40
|
-
securityText: '',
|
|
41
|
-
bottomFixedBlock: <></>,
|
|
42
|
-
createDocumentBlock: <></>,
|
|
43
|
-
trustPilotWidget: <></>
|
|
44
|
-
},
|
|
45
|
-
preFooter = {
|
|
46
|
-
show: true,
|
|
47
|
-
title: 'Try LawDistrict Now',
|
|
48
|
-
columns: [
|
|
49
|
-
'Instant and complete access to our entire library of legal forms',
|
|
50
|
-
'Edit, download and print in PDF and Word format from any device',
|
|
51
|
-
'Save time and money on legal document creation'
|
|
52
|
-
],
|
|
53
|
-
hasButton: true,
|
|
54
|
-
buttonLabel: 'Get Unlimited Access Now',
|
|
55
|
-
buttonLink: './',
|
|
56
|
-
buttonClick: () => {}
|
|
57
|
-
},
|
|
58
|
-
productsBlock = {
|
|
59
|
-
title: 'Products',
|
|
60
|
-
productsCategories: <></>,
|
|
61
|
-
allProductsLink: <></>
|
|
62
|
-
},
|
|
63
|
-
popularDocumentsBlock = {
|
|
64
|
-
title: 'Popular Documents',
|
|
65
|
-
popularDocuments: <></>
|
|
66
|
-
},
|
|
67
|
-
companyBlock = {
|
|
68
|
-
title: 'Company',
|
|
69
|
-
links: <></>
|
|
70
|
-
},
|
|
71
|
-
helpBlock = {
|
|
72
|
-
title: 'Help',
|
|
73
|
-
links: <></>
|
|
74
|
-
},
|
|
75
|
-
resourcesBlock = {
|
|
76
|
-
title: 'Resources',
|
|
77
|
-
links: <></>
|
|
78
|
-
},
|
|
79
|
-
languageSelector = {
|
|
80
|
-
show: false,
|
|
81
|
-
content: <></>
|
|
82
|
-
}
|
|
83
|
-
}) => {
|
|
84
|
-
return (
|
|
85
|
-
<FixedFooterStyled>
|
|
86
|
-
{preFooter.show && (
|
|
87
|
-
<section className={'prefooter'}>
|
|
88
|
-
<div className='wrapper'>
|
|
89
|
-
<div className='prefooter-container'>
|
|
90
|
-
<div className='serif --hero prefooter__title'>{preFooter.title}</div>
|
|
91
|
-
<div className={'prefooter--columns'}>
|
|
92
|
-
{preFooter.columns.map((column, index) => (
|
|
93
|
-
<p key={index} className='prefooter--columns__text'>
|
|
94
|
-
{column}
|
|
95
|
-
</p>
|
|
96
|
-
))}
|
|
97
|
-
</div>
|
|
98
|
-
{preFooter.hasButton && (
|
|
99
|
-
<Button
|
|
100
|
-
label={preFooter.buttonLabel}
|
|
101
|
-
onClick={preFooter.buttonClick}
|
|
102
|
-
link={preFooter.buttonLink}
|
|
103
|
-
dataQa={'cta-footer'}
|
|
104
|
-
isExternal
|
|
105
|
-
hasNoFollow
|
|
106
|
-
/>
|
|
107
|
-
)}
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</section>
|
|
111
|
-
)}
|
|
112
|
-
{config.isSEMPage && config.isMobile && (
|
|
113
|
-
<footer className={'sem-footer'}>
|
|
114
|
-
<section className={'sem-footer__wrapper'}>
|
|
115
|
-
<ul className='sem-footer__legal-links'>{companyBlock.links}</ul>
|
|
116
|
-
<div className='sem-footer__contact-info'>
|
|
117
|
-
<div className='sem-footer__contact-info__phone'>
|
|
118
|
-
<PhoneIcon width={20} height={20} fill={'white'} />
|
|
119
|
-
<b>{config.sitePhone} </b>
|
|
120
|
-
</div>
|
|
121
|
-
<div className='sem-footer__contact-info__schedule'>{config.siteSchedule}</div>
|
|
122
|
-
</div>
|
|
123
|
-
<div className='fixed-container'>{footer.createDocumentBlock}</div>
|
|
124
|
-
</section>
|
|
125
|
-
</footer>
|
|
126
|
-
)}
|
|
127
|
-
{!config.isSEMPage && (
|
|
128
|
-
<footer>
|
|
129
|
-
{!config.hide && !config.noFooter ? (
|
|
130
|
-
<>
|
|
131
|
-
<div className='language-selector-mobile-container'>
|
|
132
|
-
{languageSelector.show === true && languageSelector.content}
|
|
133
|
-
</div>
|
|
134
|
-
<section className={'footer__wrapper'}>
|
|
135
|
-
<div className={'footer__products'}>
|
|
136
|
-
<p className={'sans-serif --small footer-links__title'}>{productsBlock.title}</p>
|
|
137
|
-
{productsBlock.productsCategories}
|
|
138
|
-
<div className={'sans-serif --extra-small product-categories'}>{productsBlock.allProductsLink}</div>
|
|
139
|
-
</div>
|
|
140
|
-
<div className={'footer__popular-documents'}>
|
|
141
|
-
<p className={'sans-serif --small footer-links__title'}>{popularDocumentsBlock.title}</p>
|
|
142
|
-
<ul>{popularDocumentsBlock.popularDocuments}</ul>
|
|
143
|
-
{config.isTablet && (
|
|
144
|
-
<div className='footer__help__tablet'>
|
|
145
|
-
<p className={'sans-serif --small footer-links__title'}>{helpBlock.title}</p>
|
|
146
|
-
<ul>{helpBlock.links}</ul>
|
|
147
|
-
</div>
|
|
148
|
-
)}
|
|
149
|
-
</div>
|
|
150
|
-
{(config.isMobile || config.isDesktop) && (
|
|
151
|
-
<div className={'footer__company'}>
|
|
152
|
-
<p className={'sans-serif --small footer-links__title'}>{companyBlock.title}</p>
|
|
153
|
-
<ul>{companyBlock.links}</ul>
|
|
154
|
-
</div>
|
|
155
|
-
)}
|
|
156
|
-
<div className='footer__company__resources__findUs'>
|
|
157
|
-
{config.isTablet && (
|
|
158
|
-
<>
|
|
159
|
-
<p className={'sans-serif --small footer-links__title'}>{companyBlock.title}</p>
|
|
160
|
-
<ul>{companyBlock.links}</ul>
|
|
161
|
-
|
|
162
|
-
{!config.isJonSnow && config.hasGrav && config.isTablet && (
|
|
163
|
-
<div className='footer__resources'>
|
|
164
|
-
<p className={'sans-serif --small footer-links__title'}>{resourcesBlock.title}</p>
|
|
165
|
-
<ul>{resourcesBlock.links}</ul>
|
|
166
|
-
</div>
|
|
167
|
-
)}
|
|
168
|
-
</>
|
|
169
|
-
)}
|
|
170
|
-
</div>
|
|
171
|
-
{!config.isTablet && (
|
|
172
|
-
<div className={'footer__help__resources'}>
|
|
173
|
-
<div>
|
|
174
|
-
<div className='footer__help'>
|
|
175
|
-
<p className={'sans-serif --small footer-links__title'}>{helpBlock.title}</p>
|
|
176
|
-
<ul>{helpBlock.links}</ul>
|
|
177
|
-
</div>
|
|
178
|
-
{!config.isJonSnow && config.hasGrav && (
|
|
179
|
-
<div className='footer__resources'>
|
|
180
|
-
<p className={'sans-serif --small footer-links__title'}>{resourcesBlock.title}</p>
|
|
181
|
-
<ul>{resourcesBlock.links}</ul>
|
|
182
|
-
</div>
|
|
183
|
-
)}
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
)}
|
|
187
|
-
<div className={'footer__findUs'}>
|
|
188
|
-
<div className='find-us-container'>
|
|
189
|
-
{!config.isJonSnow && (
|
|
190
|
-
<>
|
|
191
|
-
<div className='find-us-content'>
|
|
192
|
-
<p className={'sans-serif --small footer-links__title'}>Find us</p>
|
|
193
|
-
<ul>
|
|
194
|
-
<li>
|
|
195
|
-
<a
|
|
196
|
-
href={'https://www.facebook.com/lawdistrictlegal'}
|
|
197
|
-
rel='noopener noreferrer'
|
|
198
|
-
target='_blank'
|
|
199
|
-
>
|
|
200
|
-
<img src={facebook} alt='Facebook logo' width='32' height='32' />
|
|
201
|
-
</a>
|
|
202
|
-
</li>
|
|
203
|
-
<li>
|
|
204
|
-
<a href={'https://twitter.com/district_law'} rel='noopener noreferrer' target='_blank'>
|
|
205
|
-
<img src={x} alt='Twitter logo' width='32' height='32' />
|
|
206
|
-
</a>
|
|
207
|
-
</li>
|
|
208
|
-
<li>
|
|
209
|
-
<a
|
|
210
|
-
href={'https://www.linkedin.com/company/law-district/'}
|
|
211
|
-
rel='noopener noreferrer'
|
|
212
|
-
target='_blank'
|
|
213
|
-
>
|
|
214
|
-
<img src={linkedin} alt='Linkedin logo' width='32' height='32' />
|
|
215
|
-
</a>
|
|
216
|
-
</li>
|
|
217
|
-
<li>
|
|
218
|
-
<a
|
|
219
|
-
href={'https://www.pinterest.com/lawdistrict/'}
|
|
220
|
-
rel='noopener noreferrer'
|
|
221
|
-
target='_blank'
|
|
222
|
-
>
|
|
223
|
-
<img src={pinterest} alt='Pinterest logo' width='32' height='32' />
|
|
224
|
-
</a>
|
|
225
|
-
</li>
|
|
226
|
-
</ul>
|
|
227
|
-
</div>
|
|
228
|
-
<div className={'footer-contact-box'}>
|
|
229
|
-
<span className='footer-contact-box_phone'>{config.sitePhone}</span>
|
|
230
|
-
<Button
|
|
231
|
-
centered
|
|
232
|
-
isExternal
|
|
233
|
-
link={`tel:${config.sitePhone}`}
|
|
234
|
-
givenClass={'footer-contact-box-button'}
|
|
235
|
-
label={config.sitePhone}
|
|
236
|
-
dataQa={'footer_contact_box'}
|
|
237
|
-
/>
|
|
238
|
-
<span className='footer-contact-box_schedule'>{config.siteSchedule}</span>
|
|
239
|
-
</div>
|
|
240
|
-
</>
|
|
241
|
-
)}
|
|
242
|
-
<div className={'footer__logo'}>
|
|
243
|
-
<Logo
|
|
244
|
-
className='footer__lawdistrict'
|
|
245
|
-
siteName={config.siteName}
|
|
246
|
-
width='138'
|
|
247
|
-
height='24'
|
|
248
|
-
type='white'
|
|
249
|
-
/>
|
|
250
|
-
</div>
|
|
251
|
-
</div>
|
|
252
|
-
{config.hasTrustPilot && footer.trustPilotWidget}
|
|
253
|
-
</div>
|
|
254
|
-
{!config.isJonSnow && (
|
|
255
|
-
<div className={'footer-mobile-contact-box'}>
|
|
256
|
-
<ContactBox
|
|
257
|
-
mobile={true}
|
|
258
|
-
phone={config.sitePhone}
|
|
259
|
-
schedule={config.siteSchedule}
|
|
260
|
-
mobileGtmTag='clicked_phone_footer'
|
|
261
|
-
dataQa='footer_contact_box'
|
|
262
|
-
darkMode
|
|
263
|
-
/>
|
|
264
|
-
</div>
|
|
265
|
-
)}
|
|
266
|
-
</section>
|
|
267
|
-
</>
|
|
268
|
-
) : null}
|
|
269
|
-
{config.hasContactBar && (
|
|
270
|
-
<WideInfoBar>
|
|
271
|
-
<>
|
|
272
|
-
<div className={`contact-bar-wrapper ${(config.isJonSnow || config.isAnonymousPayment) && 'hidden'}`}>
|
|
273
|
-
<IconWeb />
|
|
274
|
-
<div className='contact-bar-wrapper__text'>
|
|
275
|
-
<div className='is-mobile'>
|
|
276
|
-
<a className='phone' href={`tel:${config.sitePhone}`}>
|
|
277
|
-
<strong>{config.sitePhone}</strong>
|
|
278
|
-
</a>
|
|
279
|
-
{` - ${config.siteSchedule}`}
|
|
280
|
-
</div>
|
|
281
|
-
<div className='no-mobile'>
|
|
282
|
-
<strong>{config.sitePhone}</strong> - {config.siteSchedule}
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
</div>
|
|
286
|
-
<div className='contact-bar-wrapper'>
|
|
287
|
-
<img src={securityIconBlack} alt='' />
|
|
288
|
-
<p className='contact-bar-wrapper__text'>{footer.securityText}</p>
|
|
289
|
-
</div>
|
|
290
|
-
<div className='contact-bar-wrapper'>
|
|
291
|
-
<img src={guaranteeIconGrey} alt='' />
|
|
292
|
-
<p className='contact-bar-wrapper__text'>{footer.guaranteeText}</p>
|
|
293
|
-
</div>
|
|
294
|
-
</>
|
|
295
|
-
</WideInfoBar>
|
|
296
|
-
)}
|
|
297
|
-
{footer.disclaimerText && <Disclaimer text={footer.disclaimerText} siteUrl={config.siteUrl} />}
|
|
298
|
-
<div className='fixed-container'>{footer.createDocumentBlock}</div>
|
|
299
|
-
</footer>
|
|
300
|
-
)}
|
|
301
|
-
{footer.bottomFixedBlock}
|
|
302
|
-
</FixedFooterStyled>
|
|
303
|
-
)
|
|
304
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface Link {
|
|
3
|
-
label: string;
|
|
4
|
-
url: string;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
}
|
|
7
|
-
export interface FixedFooterProps {
|
|
8
|
-
config: {
|
|
9
|
-
siteName: string;
|
|
10
|
-
sitePhone: string;
|
|
11
|
-
siteSchedule: string;
|
|
12
|
-
siteUrl: string;
|
|
13
|
-
hasGrav: boolean;
|
|
14
|
-
hasCookieMessage: boolean;
|
|
15
|
-
hasContactBar: boolean;
|
|
16
|
-
hasTrustPilot: boolean;
|
|
17
|
-
isJonSnow: boolean;
|
|
18
|
-
isSEMPage: boolean;
|
|
19
|
-
isMobile: boolean;
|
|
20
|
-
isTablet: boolean;
|
|
21
|
-
isDesktop: boolean;
|
|
22
|
-
isAnonymousPayment: boolean;
|
|
23
|
-
hide: boolean;
|
|
24
|
-
noFooter: boolean;
|
|
25
|
-
};
|
|
26
|
-
footer: {
|
|
27
|
-
disclaimerText: string;
|
|
28
|
-
guaranteeText: string;
|
|
29
|
-
securityText: string;
|
|
30
|
-
bottomFixedBlock: React.ReactNode;
|
|
31
|
-
createDocumentBlock: React.ReactNode;
|
|
32
|
-
trustPilotWidget: React.ReactNode;
|
|
33
|
-
};
|
|
34
|
-
preFooter: {
|
|
35
|
-
show: boolean;
|
|
36
|
-
title: string;
|
|
37
|
-
columns: string[];
|
|
38
|
-
hasButton: boolean;
|
|
39
|
-
buttonLabel: string;
|
|
40
|
-
buttonLink: string;
|
|
41
|
-
buttonClick: () => void;
|
|
42
|
-
};
|
|
43
|
-
productsBlock: {
|
|
44
|
-
title: string;
|
|
45
|
-
productsCategories: React.ReactNode;
|
|
46
|
-
allProductsLink: React.ReactNode;
|
|
47
|
-
};
|
|
48
|
-
popularDocumentsBlock: {
|
|
49
|
-
title: string;
|
|
50
|
-
popularDocuments: React.ReactNode;
|
|
51
|
-
};
|
|
52
|
-
companyBlock: {
|
|
53
|
-
title: string;
|
|
54
|
-
links: React.ReactNode;
|
|
55
|
-
};
|
|
56
|
-
helpBlock: {
|
|
57
|
-
title: string;
|
|
58
|
-
links: React.ReactNode;
|
|
59
|
-
};
|
|
60
|
-
resourcesBlock: {
|
|
61
|
-
title: string;
|
|
62
|
-
links: React.ReactNode;
|
|
63
|
-
};
|
|
64
|
-
languageSelector: {
|
|
65
|
-
show: boolean;
|
|
66
|
-
content: React.ReactNode;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export interface Link {
|
|
4
|
-
label: string
|
|
5
|
-
url: string
|
|
6
|
-
onClick: () => void
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface FixedFooterProps {
|
|
10
|
-
config: {
|
|
11
|
-
siteName: string
|
|
12
|
-
sitePhone: string
|
|
13
|
-
siteSchedule: string
|
|
14
|
-
siteUrl: string
|
|
15
|
-
hasGrav: boolean
|
|
16
|
-
hasCookieMessage: boolean
|
|
17
|
-
hasContactBar: boolean
|
|
18
|
-
hasTrustPilot: boolean
|
|
19
|
-
isJonSnow: boolean
|
|
20
|
-
isSEMPage: boolean
|
|
21
|
-
isMobile: boolean
|
|
22
|
-
isTablet: boolean
|
|
23
|
-
isDesktop: boolean
|
|
24
|
-
isAnonymousPayment: boolean
|
|
25
|
-
hide: boolean
|
|
26
|
-
noFooter: boolean
|
|
27
|
-
}
|
|
28
|
-
footer: {
|
|
29
|
-
disclaimerText: string
|
|
30
|
-
guaranteeText: string
|
|
31
|
-
securityText: string
|
|
32
|
-
bottomFixedBlock: React.ReactNode
|
|
33
|
-
createDocumentBlock: React.ReactNode
|
|
34
|
-
trustPilotWidget: React.ReactNode
|
|
35
|
-
}
|
|
36
|
-
preFooter: {
|
|
37
|
-
show: boolean
|
|
38
|
-
title: string
|
|
39
|
-
columns: string[]
|
|
40
|
-
hasButton: boolean
|
|
41
|
-
buttonLabel: string
|
|
42
|
-
buttonLink: string
|
|
43
|
-
buttonClick: () => void
|
|
44
|
-
}
|
|
45
|
-
productsBlock: {
|
|
46
|
-
title: string
|
|
47
|
-
productsCategories: React.ReactNode
|
|
48
|
-
allProductsLink: React.ReactNode
|
|
49
|
-
}
|
|
50
|
-
popularDocumentsBlock: {
|
|
51
|
-
title: string
|
|
52
|
-
popularDocuments: React.ReactNode
|
|
53
|
-
}
|
|
54
|
-
companyBlock: {
|
|
55
|
-
title: string
|
|
56
|
-
links: React.ReactNode
|
|
57
|
-
}
|
|
58
|
-
helpBlock: {
|
|
59
|
-
title: string
|
|
60
|
-
links: React.ReactNode
|
|
61
|
-
}
|
|
62
|
-
resourcesBlock: {
|
|
63
|
-
title: string
|
|
64
|
-
links: React.ReactNode
|
|
65
|
-
}
|
|
66
|
-
languageSelector: {
|
|
67
|
-
show: boolean
|
|
68
|
-
content: React.ReactNode
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from '../Button';
|
|
3
|
-
import { PreFooterStyled } from './PreFooter.styled';
|
|
4
|
-
export const PreFooter = ({ siteName, content, ctaLabel, ctaOnClick, ctaDataQa, ctaLink }) => {
|
|
5
|
-
return (_jsx(PreFooterStyled, { children: _jsx("div", { className: 'wrapper', children: _jsxs("div", { className: 'prefooter', children: [_jsxs("div", { className: 'serif --hero prefooter__title', children: ["Try ", siteName, " Now"] }), _jsx("div", { className: 'prefooter__columns', children: content.map((text, index) => {
|
|
6
|
-
return (_jsx("p", { className: 'prefooter__columns__text', children: text }, index));
|
|
7
|
-
}) }), _jsx(Button, { label: ctaLabel, onClick: ctaOnClick, link: ctaLink, dataQa: ctaDataQa, isExternal: true, hasNoFollow: true })] }) }) }));
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PreFooterStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const PreFooterStyled = styled.section `
|
|
4
|
-
background-color: var(--primary-main-light-6);
|
|
5
|
-
text-align: center;
|
|
6
|
-
|
|
7
|
-
.prefooter {
|
|
8
|
-
margin: 0 1.5rem;
|
|
9
|
-
|
|
10
|
-
@media ${device['landscape-tablets']} {
|
|
11
|
-
margin: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__title {
|
|
15
|
-
color: var(--neutral-neutral-1);
|
|
16
|
-
display: inline-block;
|
|
17
|
-
margin: 2rem 0 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__columns {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
|
|
26
|
-
@media ${device['landscape-tablets']} {
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
margin: 0 1rem;
|
|
29
|
-
align-items: flex-start;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__text {
|
|
33
|
-
width: 16.375rem;
|
|
34
|
-
color: var(--neutral-neutral-1);
|
|
35
|
-
margin: 2rem 0.5rem 0 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.e-button {
|
|
39
|
-
display: inline-block;
|
|
40
|
-
margin: 2rem 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
export const PreFooterStyled = styled.section`
|
|
4
|
-
background-color: var(--primary-main-light-6);
|
|
5
|
-
text-align: center;
|
|
6
|
-
|
|
7
|
-
.prefooter {
|
|
8
|
-
margin: 0 1.5rem;
|
|
9
|
-
|
|
10
|
-
@media ${device['landscape-tablets']} {
|
|
11
|
-
margin: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__title {
|
|
15
|
-
color: var(--neutral-neutral-1);
|
|
16
|
-
display: inline-block;
|
|
17
|
-
margin: 2rem 0 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__columns {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
|
|
26
|
-
@media ${device['landscape-tablets']} {
|
|
27
|
-
flex-direction: row;
|
|
28
|
-
margin: 0 1rem;
|
|
29
|
-
align-items: flex-start;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__text {
|
|
33
|
-
width: 16.375rem;
|
|
34
|
-
color: var(--neutral-neutral-1);
|
|
35
|
-
margin: 2rem 0.5rem 0 0.5rem;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.e-button {
|
|
39
|
-
display: inline-block;
|
|
40
|
-
margin: 2rem 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { Button } from '../Button'
|
|
4
|
-
import { PreFooterProps } from './PreFooterProps'
|
|
5
|
-
import { PreFooterStyled } from './PreFooter.styled'
|
|
6
|
-
|
|
7
|
-
export const PreFooter: React.FC<PreFooterProps> = ({
|
|
8
|
-
siteName,
|
|
9
|
-
content,
|
|
10
|
-
ctaLabel,
|
|
11
|
-
ctaOnClick,
|
|
12
|
-
ctaDataQa,
|
|
13
|
-
ctaLink
|
|
14
|
-
}) => {
|
|
15
|
-
return (
|
|
16
|
-
<PreFooterStyled>
|
|
17
|
-
<div className='wrapper'>
|
|
18
|
-
<div className='prefooter'>
|
|
19
|
-
<div className='serif --hero prefooter__title'>Try {siteName} Now</div>
|
|
20
|
-
<div className='prefooter__columns'>
|
|
21
|
-
{content.map((text, index) => {
|
|
22
|
-
return (
|
|
23
|
-
<p key={index} className='prefooter__columns__text'>
|
|
24
|
-
{text}
|
|
25
|
-
</p>
|
|
26
|
-
)
|
|
27
|
-
})}
|
|
28
|
-
</div>
|
|
29
|
-
<Button label={ctaLabel} onClick={ctaOnClick} link={ctaLink} dataQa={ctaDataQa} isExternal hasNoFollow />
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</PreFooterStyled>
|
|
33
|
-
)
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|