@npm_leadtech/legal-lib-components 5.21.1 → 5.21.2

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 (63) hide show
  1. package/dist/images/componentsSvg/PhoneIcon24px.tsx +2 -4
  2. package/dist/src/components/atoms/index.d.ts +0 -2
  3. package/dist/src/components/atoms/index.js +0 -2
  4. package/dist/src/components/atoms/index.ts +0 -2
  5. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
  6. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +5 -2
  7. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +2 -0
  8. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +2 -0
  9. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
  10. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
  11. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +2 -1
  12. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +2 -1
  13. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +17 -14
  14. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +17 -14
  15. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
  16. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -1
  17. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +2 -0
  18. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +2 -0
  19. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +4 -1
  20. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +4 -1
  21. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
  22. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -1
  23. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -1
  24. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
  25. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
  26. package/dist/tsconfig.build.tsbuildinfo +1 -1
  27. package/package.json +1 -1
  28. package/dist/images/componentsSvg/IconWeb.d.ts +0 -2
  29. package/dist/images/componentsSvg/IconWeb.js +0 -4
  30. package/dist/images/componentsSvg/IconWeb.tsx +0 -31
  31. package/dist/images/componentsSvg/PhoneIcon.d.ts +0 -6
  32. package/dist/images/componentsSvg/PhoneIcon.js +0 -4
  33. package/dist/images/componentsSvg/PhoneIcon.tsx +0 -18
  34. package/dist/images/svg/facebook.svg +0 -4
  35. package/dist/images/svg/icon-24-px-satisfaction-grey.svg +0 -3
  36. package/dist/images/svg/icon-24-px-security_black.svg +0 -3
  37. package/dist/images/svg/linkedin.svg +0 -4
  38. package/dist/images/svg/pinterest.svg +0 -4
  39. package/dist/images/svg/x.svg +0 -4
  40. package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +0 -3
  41. package/dist/src/components/atoms/FixedFooter/FixedFooter.js +0 -73
  42. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.d.ts +0 -1
  43. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +0 -394
  44. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +0 -395
  45. package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +0 -303
  46. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.d.ts +0 -68
  47. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.js +0 -1
  48. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.ts +0 -70
  49. package/dist/src/components/atoms/FixedFooter/index.d.ts +0 -2
  50. package/dist/src/components/atoms/FixedFooter/index.js +0 -2
  51. package/dist/src/components/atoms/FixedFooter/index.ts +0 -2
  52. package/dist/src/components/atoms/PreFooter/PreFooter.d.ts +0 -3
  53. package/dist/src/components/atoms/PreFooter/PreFooter.js +0 -8
  54. package/dist/src/components/atoms/PreFooter/PreFooter.styled.d.ts +0 -1
  55. package/dist/src/components/atoms/PreFooter/PreFooter.styled.js +0 -43
  56. package/dist/src/components/atoms/PreFooter/PreFooter.styled.ts +0 -43
  57. package/dist/src/components/atoms/PreFooter/PreFooter.tsx +0 -34
  58. package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +0 -8
  59. package/dist/src/components/atoms/PreFooter/PreFooterProps.js +0 -1
  60. package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +0 -8
  61. package/dist/src/components/atoms/PreFooter/index.d.ts +0 -2
  62. package/dist/src/components/atoms/PreFooter/index.js +0 -2
  63. package/dist/src/components/atoms/PreFooter/index.ts +0 -2
@@ -1,395 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const FixedFooterStyled = styled.div`
4
- .footer {
5
- margin-top: auto;
6
- left: 0;
7
- bottom: 0;
8
- position: static;
9
- width: 100%;
10
- background-color: var(--primary-main-dark-2);
11
- color: var(--primary-main-light-6);
12
- }
13
-
14
- .language-selector-mobile-container {
15
- max-width: 1200px;
16
- margin: auto;
17
- padding: 2.75rem 1rem 1rem;
18
- }
19
-
20
- @media (min-width: 720px) {
21
- .language-selector-mobile-container {
22
- display: none;
23
- }
24
- }
25
-
26
- .footer a {
27
- color: var(--primary-main-light-6);
28
- text-decoration: none;
29
- }
30
-
31
- .footer li {
32
- margin-bottom: 1.25rem;
33
- }
34
-
35
- .footer li a {
36
- padding: 0.5rem 0;
37
- }
38
-
39
- .footer li:last-child {
40
- margin-bottom: 0;
41
- }
42
-
43
- .footer__wrapper {
44
- display: flex;
45
- flex-flow: row wrap;
46
- max-width: 1200px;
47
- width: 100%;
48
- justify-content: center;
49
- margin: 0 auto;
50
- padding: 1rem 1rem 2.75rem;
51
- grid-row-gap: 32px;
52
- }
53
-
54
- @media (min-width: 960px) {
55
- .footer__wrapper {
56
- padding: 2.75rem 0;
57
- }
58
- }
59
-
60
- .footer__wrapper__logo {
61
- width: 45%;
62
- max-width: 45%;
63
- display: flex;
64
- align-items: baseline;
65
- }
66
-
67
- @media (min-width: 720px) {
68
- .footer__wrapper__logo {
69
- width: 100%;
70
- max-width: 100%;
71
- }
72
- }
73
-
74
- .sem-footer__wrapper {
75
- display: flex;
76
- flex-flow: column wrap;
77
- width: 100%;
78
- max-width: 1200px;
79
- justify-content: space-between;
80
- margin: auto;
81
- padding: 1rem 1rem 2.75rem;
82
- grid-row-gap: 32px;
83
- }
84
-
85
- @media (min-width: 960px) {
86
- .sem-footer__wrapper {
87
- flex-flow: row wrap;
88
- padding: 1.5rem 1rem;
89
- }
90
- }
91
-
92
- .sem-footer__legal-links {
93
- display: flex;
94
- flex-flow: row wrap;
95
- align-items: center;
96
- gap: 1rem;
97
- }
98
-
99
- .sem-footer__legal-links li {
100
- margin-bottom: 0;
101
- }
102
-
103
- .sem-footer__contact-info {
104
- display: flex;
105
- flex-flow: column;
106
- column-gap: 0.5rem;
107
- row-gap: 0.25rem;
108
- }
109
-
110
- @media (min-width: 575px) {
111
- .sem-footer__contact-info {
112
- flex-flow: row;
113
- }
114
- }
115
-
116
- .sem-footer__contact-info__phone {
117
- display: flex;
118
- align-items: center;
119
- font-size: 0.8rem;
120
- }
121
-
122
- .sem-footer__contact-info__schedule {
123
- font-size: 0.75rem;
124
- }
125
-
126
- .fixed-container {
127
- position: fixed;
128
- bottom: 0;
129
- z-index: 3;
130
- width: 100%;
131
- }
132
-
133
- .footer__products,
134
- .footer__popular-documents,
135
- .footer__company {
136
- width: 100%;
137
- max-width: 50%;
138
- display: flex;
139
- flex-flow: column wrap;
140
- justify-content: flex-start;
141
- }
142
-
143
- .footer__products p,
144
- .footer__popular-documents p,
145
- .footer__company p {
146
- margin-bottom: 1.5rem;
147
- }
148
-
149
- @media (min-width: 575px) {
150
- .footer__products,
151
- .footer__popular-documents,
152
- .footer__company {
153
- max-width: 28%;
154
- padding-right: 1.5rem;
155
- }
156
- }
157
-
158
- @media (min-width: 960px) {
159
- .footer__products,
160
- .footer__popular-documents,
161
- .footer__company {
162
- max-width: 20%;
163
- }
164
- }
165
-
166
- @media (max-width: 575px) {
167
- .footer__products,
168
- .footer__popular-documents,
169
- .footer__company {
170
- max-width: 100%;
171
- }
172
- }
173
-
174
- .footer__company__resources__findUs .footer__resources,
175
- .footer__help__resources .footer__resources {
176
- margin-top: 22px;
177
- }
178
-
179
- .footer__help__resources,
180
- .footer__company {
181
- display: flex;
182
- flex-flow: column wrap;
183
- justify-content: flex-start;
184
- margin-bottom: 0;
185
- max-width: 50%;
186
- width: 100%;
187
- }
188
-
189
- @media (min-width: 575px) and (max-width: 960px) {
190
- .footer__help__resources,
191
- .footer__company {
192
- display: block;
193
- }
194
- }
195
-
196
- .footer__help__resources p,
197
- .footer__company p {
198
- margin-bottom: 1.5rem;
199
- }
200
-
201
- @media (min-width: 575px) {
202
- .footer__help__resources,
203
- .footer__company {
204
- max-width: 22.5%;
205
- padding-right: 1rem;
206
- }
207
- }
208
-
209
- @media (min-width: 960px) {
210
- .footer__help__resources,
211
- .footer__company {
212
- max-width: 15%;
213
- }
214
- }
215
-
216
- .footer__findUs {
217
- display: flex;
218
- flex-flow: row nowrap;
219
- flex-direction: column;
220
- max-width: 100%;
221
- }
222
-
223
- .footer__findUs .trustpilot-widget {
224
- margin-top: 0;
225
- }
226
-
227
- @media (min-width: 575px) {
228
- .footer__findUs .trustpilot-widget {
229
- margin-top: 22px;
230
- }
231
- }
232
-
233
- @media (min-width: 720px) {
234
- .footer__findUs {
235
- display: block;
236
- max-width: 20%;
237
- }
238
- }
239
-
240
- @media (min-width: 960px) {
241
- .footer__findUs {
242
- max-width: 15%;
243
- }
244
- }
245
-
246
- @media (max-width: 575px) {
247
- .footer__findUs {
248
- width: 100%;
249
- }
250
- }
251
-
252
- .footer__findUs ul {
253
- display: flex;
254
- flex-direction: row;
255
- }
256
-
257
- .footer__findUs ul li {
258
- margin-right: 0.4rem;
259
- }
260
-
261
- .footer-links__title {
262
- width: 100%;
263
- text-transform: uppercase;
264
- font-weight: bold;
265
- color: var(--primary-main-light-4);
266
- }
267
-
268
- .product-categories {
269
- cursor: pointer;
270
- display: flex;
271
- flex-flow: row wrap;
272
- align-items: flex-start;
273
- flex-direction: row;
274
- justify-content: space-between;
275
- list-style-type: none;
276
- font-family: 'Inter', sans-serif;
277
- font-size: 12px;
278
- font-weight: bold;
279
- font-stretch: normal;
280
- font-style: normal;
281
- line-height: 1.33;
282
- letter-spacing: -0.3px;
283
- padding-top: 1rem;
284
- width: 100%;
285
- padding-bottom: 0.6rem;
286
- }
287
-
288
- .product-categories:not(:last-child) {
289
- border-bottom: 1px solid var(--primary-main);
290
- }
291
-
292
- .product-categories:has(.open) {
293
- padding-bottom: 0;
294
- }
295
-
296
- .expand-icon {
297
- width: 10px;
298
- height: 13px;
299
- transform: rotate(90deg);
300
- margin-right: 8px;
301
- }
302
-
303
- .expand-icon:before,
304
- .expand-icon:after {
305
- width: 2px;
306
- background-color: var(--others-white);
307
- }
308
-
309
- .expand-icon.open {
310
- transform: rotate(-90deg);
311
- }
312
-
313
- .rotate {
314
- transform: rotate(180deg);
315
- }
316
-
317
- .list-box {
318
- background-color: var(--primary-main-dark-1);
319
- width: 100%;
320
- padding-left: 0.5rem;
321
- margin-top: 0.6rem;
322
- }
323
-
324
- .list-products {
325
- margin: 14px 0;
326
- }
327
-
328
- .footer__media__logos__wrapper {
329
- width: 84%;
330
- display: flex;
331
- justify-content: space-around;
332
- padding-bottom: 35px;
333
- flex-wrap: wrap;
334
- flex-direction: row;
335
- }
336
-
337
- .footer__media__logos__wrapper .logo {
338
- display: inline-flex;
339
- padding-left: 20px;
340
- align-items: center;
341
- height: 59px;
342
- }
343
-
344
- .footer__media__logos__wrapper .logo:first-child {
345
- padding-left: 0;
346
- }
347
-
348
- @media (max-width: 720px) {
349
- .footer__media__logos__wrapper {
350
- width: 100%;
351
- padding-bottom: 15px;
352
- flex-wrap: wrap;
353
- }
354
-
355
- .footer__media__logos__wrapper .logo {
356
- width: 50%;
357
- }
358
- }
359
-
360
- .separator {
361
- display: block;
362
- width: 84%;
363
- height: 1px;
364
- background-color: var(--primary-main-light-1);
365
- margin-bottom: 30px;
366
- }
367
-
368
- @media (max-width: 720px) {
369
- .separator {
370
- width: 100%;
371
- }
372
- }
373
-
374
- .footer-trustpilot {
375
- display: none;
376
- }
377
-
378
- @media (min-width: 720px) {
379
- .footer-trustpilot {
380
- display: flex;
381
- }
382
- }
383
-
384
- .footer-trustpilot-mobile {
385
- display: flex;
386
- width: 100%;
387
- margin: 1rem 0 2rem 0;
388
- }
389
-
390
- @media (min-width: 720px) {
391
- .footer-trustpilot-mobile {
392
- display: none;
393
- }
394
- }
395
- `
@@ -1,303 +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_phone-button'}
235
- label={config.sitePhone}
236
- dataQa={'footer_contact_box'}
237
- />
238
- </div>
239
- </>
240
- )}
241
- <div className={'footer__logo'}>
242
- <Logo
243
- className='footer__lawdistrict'
244
- siteName={config.siteName}
245
- width='138'
246
- height='24'
247
- type='white'
248
- />
249
- </div>
250
- </div>
251
- {config.hasTrustPilot && footer.trustPilotWidget}
252
- </div>
253
- {!config.isJonSnow && (
254
- <div className={'footer__mobile-contact'}>
255
- <ContactBox
256
- mobile={true}
257
- phone={config.sitePhone}
258
- schedule={config.siteSchedule}
259
- mobileGtmTag='clicked_phone_footer'
260
- dataQa='footer_contact_box'
261
- darkMode
262
- />
263
- </div>
264
- )}
265
- </section>
266
- </>
267
- ) : null}
268
- {config.hasContactBar && (
269
- <WideInfoBar>
270
- <>
271
- <div className={`contact-bar-wrapper ${(config.isJonSnow || config.isAnonymousPayment) && 'hidden'}`}>
272
- <IconWeb />
273
- <div className='contact-bar-wrapper__text'>
274
- <div className='is-mobile'>
275
- <a className='phone' href={`tel:${config.sitePhone}`}>
276
- <strong>{config.sitePhone}</strong>
277
- </a>
278
- {` - ${config.siteSchedule}`}
279
- </div>
280
- <div className='no-mobile'>
281
- <strong>{config.sitePhone}</strong> - {config.siteSchedule}
282
- </div>
283
- </div>
284
- </div>
285
- <div className='contact-bar-wrapper'>
286
- <img src={securityIconBlack} alt='' />
287
- <p className='contact-bar-wrapper__text'>{footer.securityText}</p>
288
- </div>
289
- <div className='contact-bar-wrapper'>
290
- <img src={guaranteeIconGrey} alt='' />
291
- <p className='contact-bar-wrapper__text'>{footer.guaranteeText}</p>
292
- </div>
293
- </>
294
- </WideInfoBar>
295
- )}
296
- <Disclaimer text={footer.disclaimerText} siteUrl={config.siteUrl} />
297
- <div className='fixed-container'>{footer.createDocumentBlock}</div>
298
- </footer>
299
- )}
300
- {footer.bottomFixedBlock}
301
- </FixedFooterStyled>
302
- )
303
- }