@npm_leadtech/legal-lib-components 5.16.10 → 5.17.1
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/css/styles.css +1 -1
- package/dist/images/componentsSvg/IconWeb.d.ts +2 -0
- package/dist/images/componentsSvg/IconWeb.js +4 -0
- package/dist/images/componentsSvg/IconWeb.tsx +31 -0
- package/dist/images/componentsSvg/PhoneIcon.d.ts +6 -0
- package/dist/images/componentsSvg/PhoneIcon.js +4 -0
- package/dist/images/componentsSvg/PhoneIcon.tsx +18 -0
- package/dist/images/componentsSvg/PhoneIcon24px.d.ts +9 -0
- package/dist/images/componentsSvg/PhoneIcon24px.js +2 -0
- package/dist/images/componentsSvg/PhoneIcon24px.tsx +4 -2
- package/dist/images/svg/facebook.svg +4 -0
- package/dist/images/svg/icon-24-px-satisfaction-grey.svg +3 -0
- package/dist/images/svg/icon-24-px-security_black.svg +3 -0
- package/dist/images/svg/linkedin.svg +4 -0
- package/dist/images/svg/pinterest.svg +4 -0
- package/dist/images/svg/x.svg +4 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +1 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +3 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.js +73 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.d.ts +1 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +394 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +395 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +307 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.d.ts +68 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.js +1 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooterProps.ts +79 -0
- package/dist/src/components/atoms/FixedFooter/index.d.ts +2 -0
- package/dist/src/components/atoms/FixedFooter/index.js +2 -0
- package/dist/src/components/atoms/FixedFooter/index.ts +2 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.d.ts +0 -1
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +1 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.d.ts +3 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.js +8 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.d.ts +1 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.js +43 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.styled.ts +43 -0
- package/dist/src/components/atoms/PreFooter/PreFooter.tsx +34 -0
- package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +8 -0
- package/dist/src/components/atoms/PreFooter/PreFooterProps.js +1 -0
- package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +8 -0
- package/dist/src/components/atoms/PreFooter/index.d.ts +2 -0
- package/dist/src/components/atoms/PreFooter/index.js +2 -0
- package/dist/src/components/atoms/PreFooter/index.ts +2 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
- package/dist/src/components/atoms/SemFooter/SemFooter.d.ts +3 -0
- package/dist/src/components/atoms/SemFooter/SemFooter.js +7 -0
- package/dist/src/components/atoms/SemFooter/SemFooter.styled.d.ts +1 -0
- package/dist/src/components/atoms/SemFooter/SemFooter.styled.js +59 -0
- package/dist/src/components/atoms/SemFooter/SemFooter.styled.ts +60 -0
- package/dist/src/components/atoms/SemFooter/SemFooter.tsx +26 -0
- package/dist/src/components/atoms/SemFooter/SemFooterProps.d.ts +8 -0
- package/dist/src/components/atoms/SemFooter/SemFooterProps.js +1 -0
- package/dist/src/components/atoms/SemFooter/SemFooterProps.ts +10 -0
- package/dist/src/components/atoms/SemFooter/index.d.ts +2 -0
- package/dist/src/components/atoms/SemFooter/index.js +2 -0
- package/dist/src/components/atoms/SemFooter/index.ts +2 -0
- package/dist/src/components/atoms/index.d.ts +3 -0
- package/dist/src/components/atoms/index.js +3 -0
- package/dist/src/components/atoms/index.ts +3 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +13 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +21 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.d.ts +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +1 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +8 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +8 -1
- package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +3 -4
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +0 -7
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +0 -7
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +2 -8
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.js +2 -11
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +2 -11
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
export interface Link {
|
|
4
|
+
label: string
|
|
5
|
+
url: string
|
|
6
|
+
onClick: () => void
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface LanguageSelectorProps {
|
|
10
|
+
currentLanguage: string
|
|
11
|
+
languages: {
|
|
12
|
+
code: string
|
|
13
|
+
name: string
|
|
14
|
+
}[]
|
|
15
|
+
onLanguageChange: (language: string) => void
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface FixedFooterProps {
|
|
19
|
+
config: {
|
|
20
|
+
siteName: string
|
|
21
|
+
sitePhone: string
|
|
22
|
+
siteSchedule: string
|
|
23
|
+
siteUrl: string
|
|
24
|
+
hasGrav: boolean
|
|
25
|
+
hasCookieMessage: boolean
|
|
26
|
+
hasContactBar: boolean
|
|
27
|
+
hasTrustPilot: boolean
|
|
28
|
+
isJonSnow: boolean
|
|
29
|
+
isSEMPage: boolean
|
|
30
|
+
isMobile: boolean
|
|
31
|
+
isTablet: boolean
|
|
32
|
+
isDesktop: boolean
|
|
33
|
+
isAnonymousPayment: boolean
|
|
34
|
+
hide: boolean
|
|
35
|
+
noFooter: boolean
|
|
36
|
+
}
|
|
37
|
+
footer: {
|
|
38
|
+
disclaimerText: string
|
|
39
|
+
guaranteeText: string
|
|
40
|
+
securityText: string
|
|
41
|
+
bottomFixedBlock: React.ReactNode
|
|
42
|
+
createDocumentBlock: React.ReactNode
|
|
43
|
+
trustPilotWidget: React.ReactNode
|
|
44
|
+
}
|
|
45
|
+
preFooter: {
|
|
46
|
+
show: boolean
|
|
47
|
+
title: string
|
|
48
|
+
columns: string[]
|
|
49
|
+
hasButton: boolean
|
|
50
|
+
buttonLabel: string
|
|
51
|
+
buttonLink: string
|
|
52
|
+
buttonClick: () => void
|
|
53
|
+
}
|
|
54
|
+
productsBlock: {
|
|
55
|
+
title: string
|
|
56
|
+
productsCategories: React.ReactNode
|
|
57
|
+
allProductsLink: React.ReactNode
|
|
58
|
+
}
|
|
59
|
+
popularDocumentsBlock: {
|
|
60
|
+
title: string
|
|
61
|
+
popularDocuments: React.ReactNode
|
|
62
|
+
}
|
|
63
|
+
companyBlock: {
|
|
64
|
+
title: string
|
|
65
|
+
links: React.ReactNode
|
|
66
|
+
}
|
|
67
|
+
helpBlock: {
|
|
68
|
+
title: string
|
|
69
|
+
links: React.ReactNode
|
|
70
|
+
}
|
|
71
|
+
resourcesBlock: {
|
|
72
|
+
title: string
|
|
73
|
+
links: React.ReactNode
|
|
74
|
+
}
|
|
75
|
+
languageSelector: {
|
|
76
|
+
show: boolean
|
|
77
|
+
content: React.ReactNode
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { GoogleButtonStyled } from './GoogleButton.styled';
|
|
3
3
|
import logoGoogle from '../../../../images/svg/logo-google.svg';
|
|
4
|
-
const GoogleButton = ({ onClick, label = 'Log In with Google'
|
|
5
|
-
return (_jsxs(GoogleButtonStyled, { type: 'button', className: 'google-button', onClick: onClick,
|
|
4
|
+
const GoogleButton = ({ onClick, label = 'Log In with Google' }) => {
|
|
5
|
+
return (_jsxs(GoogleButtonStyled, { type: 'button', className: 'google-button', onClick: onClick, children: [_jsx("img", { className: 'google-logo', src: logoGoogle, alt: '' }), _jsx("span", { children: label })] }));
|
|
6
6
|
};
|
|
7
7
|
export default GoogleButton;
|
|
@@ -4,9 +4,9 @@ import { type GoogleButtonProps } from './GoogleButtonProps.types'
|
|
|
4
4
|
import { GoogleButtonStyled } from './GoogleButton.styled'
|
|
5
5
|
import logoGoogle from '../../../../images/svg/logo-google.svg'
|
|
6
6
|
|
|
7
|
-
const GoogleButton: FC<GoogleButtonProps> = ({ onClick, label = 'Log In with Google'
|
|
7
|
+
const GoogleButton: FC<GoogleButtonProps> = ({ onClick, label = 'Log In with Google' }) => {
|
|
8
8
|
return (
|
|
9
|
-
<GoogleButtonStyled type='button' className='google-button' onClick={onClick}
|
|
9
|
+
<GoogleButtonStyled type='button' className='google-button' onClick={onClick}>
|
|
10
10
|
<img className='google-logo' src={logoGoogle} alt=''></img>
|
|
11
11
|
<span>{label}</span>
|
|
12
12
|
</GoogleButtonStyled>
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
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;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
`;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
`
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { PhoneIcon24px } from '../../../../images/componentsSvg/PhoneIcon24px';
|
|
3
|
+
import { FixedFooter } from '../FixedFooter';
|
|
4
|
+
import { StyledSemFooter } from './SemFooter.styled';
|
|
5
|
+
export const SemFooter = ({ sitePhone, siteSchedule, children, fixedFooterProps }) => {
|
|
6
|
+
return (_jsx(StyledSemFooter, { children: _jsxs("section", { className: 'sem-footer', children: [children, _jsxs("div", { className: 'sem-footer__contact-info', children: [_jsxs("div", { className: 'sem-footer__contact-info__phone', children: [_jsx(PhoneIcon24px, { width: '20', height: '20', fill: 'white' }), _jsxs("b", { children: [sitePhone, " "] })] }), _jsx("div", { className: 'sem-footer__contact-info__schedule', children: siteSchedule })] }), _jsx(FixedFooter, { ...fixedFooterProps })] }) }));
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSemFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const StyledSemFooter = styled.footer `
|
|
4
|
+
background-color: var(--primary-main-dark-2);
|
|
5
|
+
color: var(--primary-main-light-6);
|
|
6
|
+
margin-top: auto;
|
|
7
|
+
position: static;
|
|
8
|
+
width: 100%;
|
|
9
|
+
.sem-footer {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-flow: column wrap;
|
|
12
|
+
width: 100%;
|
|
13
|
+
max-width: $max-width;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
margin: auto;
|
|
16
|
+
padding: 1rem 1rem 2.75rem;
|
|
17
|
+
grid-row-gap: 32px;
|
|
18
|
+
|
|
19
|
+
@media ${device.laptop} {
|
|
20
|
+
flex-flow: row wrap;
|
|
21
|
+
padding: 1.5rem 7.5rem;
|
|
22
|
+
}
|
|
23
|
+
.legal-links {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-flow: row wrap;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 1rem;
|
|
28
|
+
|
|
29
|
+
li {
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
a {
|
|
32
|
+
color: var(--primary-main-light-6);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__contact-info {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-flow: column;
|
|
40
|
+
column-gap: 0.375rem;
|
|
41
|
+
row-gap: 0.25rem;
|
|
42
|
+
|
|
43
|
+
@media ${device['portrait-tablets']} {
|
|
44
|
+
flex-flow: row;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__phone {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
font-size: 0.8rem;
|
|
51
|
+
gap: 0.375rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__schedule {
|
|
55
|
+
font-size: 0.75rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const StyledSemFooter = styled.footer`
|
|
5
|
+
background-color: var(--primary-main-dark-2);
|
|
6
|
+
color: var(--primary-main-light-6);
|
|
7
|
+
margin-top: auto;
|
|
8
|
+
position: static;
|
|
9
|
+
width: 100%;
|
|
10
|
+
.sem-footer {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-flow: column wrap;
|
|
13
|
+
width: 100%;
|
|
14
|
+
max-width: $max-width;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
margin: auto;
|
|
17
|
+
padding: 1rem 1rem 2.75rem;
|
|
18
|
+
grid-row-gap: 32px;
|
|
19
|
+
|
|
20
|
+
@media ${device.laptop} {
|
|
21
|
+
flex-flow: row wrap;
|
|
22
|
+
padding: 1.5rem 7.5rem;
|
|
23
|
+
}
|
|
24
|
+
.legal-links {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-flow: row wrap;
|
|
27
|
+
align-items: center;
|
|
28
|
+
gap: 1rem;
|
|
29
|
+
|
|
30
|
+
li {
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
a {
|
|
33
|
+
color: var(--primary-main-light-6);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__contact-info {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-flow: column;
|
|
41
|
+
column-gap: 0.375rem;
|
|
42
|
+
row-gap: 0.25rem;
|
|
43
|
+
|
|
44
|
+
@media ${device['portrait-tablets']} {
|
|
45
|
+
flex-flow: row;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__phone {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
font-size: 0.8rem;
|
|
52
|
+
gap: 0.375rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__schedule {
|
|
56
|
+
font-size: 0.75rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { PhoneIcon24px } from '../../../../images/componentsSvg/PhoneIcon24px'
|
|
4
|
+
|
|
5
|
+
import { SemFooterProps } from './SemFooterProps'
|
|
6
|
+
|
|
7
|
+
import { FixedFooter } from '../FixedFooter'
|
|
8
|
+
import { StyledSemFooter } from './SemFooter.styled'
|
|
9
|
+
|
|
10
|
+
export const SemFooter: React.FC<SemFooterProps> = ({ sitePhone, siteSchedule, children, fixedFooterProps }) => {
|
|
11
|
+
return (
|
|
12
|
+
<StyledSemFooter>
|
|
13
|
+
<section className={'sem-footer'}>
|
|
14
|
+
{children}
|
|
15
|
+
<div className='sem-footer__contact-info'>
|
|
16
|
+
<div className='sem-footer__contact-info__phone'>
|
|
17
|
+
<PhoneIcon24px width='20' height='20' fill='white' />
|
|
18
|
+
<b>{sitePhone} </b>
|
|
19
|
+
</div>
|
|
20
|
+
<div className='sem-footer__contact-info__schedule'>{siteSchedule}</div>
|
|
21
|
+
</div>
|
|
22
|
+
<FixedFooter {...fixedFooterProps} />
|
|
23
|
+
</section>
|
|
24
|
+
</StyledSemFooter>
|
|
25
|
+
)
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -19,6 +19,7 @@ export * from './DocumentStatus';
|
|
|
19
19
|
export * from './DocumentTag';
|
|
20
20
|
export * from './ExpertCard';
|
|
21
21
|
export * from './FeatureRatafiaCard';
|
|
22
|
+
export * from './FixedFooter';
|
|
22
23
|
export * from './FormFaq';
|
|
23
24
|
export * from './GoogleButton';
|
|
24
25
|
export * from './IconImage';
|
|
@@ -36,6 +37,7 @@ export * from './MoreDocsItem';
|
|
|
36
37
|
export * from './NavMenuItem';
|
|
37
38
|
export * from './PaypalButton';
|
|
38
39
|
export * from './PopularDocsItem';
|
|
40
|
+
export * from './PreFooter';
|
|
39
41
|
export * from './ProgressBar';
|
|
40
42
|
export * from './Radio';
|
|
41
43
|
export * from './RemoveButton';
|
|
@@ -43,6 +45,7 @@ export * from './ReviewKeyFactsResultRatafia';
|
|
|
43
45
|
export * from './RichTextInner';
|
|
44
46
|
export * from './RichTextStrapi';
|
|
45
47
|
export * from './SearchSelect';
|
|
48
|
+
export * from './SemFooter';
|
|
46
49
|
export * from './ShowMoreBox';
|
|
47
50
|
export * from './SidemenuTab';
|
|
48
51
|
export * from './Spinner';
|
|
@@ -19,6 +19,7 @@ export * from './DocumentStatus';
|
|
|
19
19
|
export * from './DocumentTag';
|
|
20
20
|
export * from './ExpertCard';
|
|
21
21
|
export * from './FeatureRatafiaCard';
|
|
22
|
+
export * from './FixedFooter';
|
|
22
23
|
export * from './FormFaq';
|
|
23
24
|
export * from './GoogleButton';
|
|
24
25
|
export * from './IconImage';
|
|
@@ -36,6 +37,7 @@ export * from './MoreDocsItem';
|
|
|
36
37
|
export * from './NavMenuItem';
|
|
37
38
|
export * from './PaypalButton';
|
|
38
39
|
export * from './PopularDocsItem';
|
|
40
|
+
export * from './PreFooter';
|
|
39
41
|
export * from './ProgressBar';
|
|
40
42
|
export * from './Radio';
|
|
41
43
|
export * from './RemoveButton';
|
|
@@ -43,6 +45,7 @@ export * from './ReviewKeyFactsResultRatafia';
|
|
|
43
45
|
export * from './RichTextInner';
|
|
44
46
|
export * from './RichTextStrapi';
|
|
45
47
|
export * from './SearchSelect';
|
|
48
|
+
export * from './SemFooter';
|
|
46
49
|
export * from './ShowMoreBox';
|
|
47
50
|
export * from './SidemenuTab';
|
|
48
51
|
export * from './Spinner';
|