@npm_leadtech/legal-lib-components 5.9.4 → 5.10.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/css/styles.css +847 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +1 -1
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +17 -14
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +17 -14
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +2 -2
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +1 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +5 -6
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +5 -6
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +1 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
- package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.styled.ts → AboutUsContent.scss} +11 -13
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
- package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
- package/dist/src/components/organisms/Accordion/Accordion.scss +4 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +4 -3
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
- package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.styled.ts → CardFunctionality.scss} +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
- package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.styled.ts → ContactJumbotron.scss} +7 -6
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +54 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +13 -11
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.styled.ts → ErrorContentRatafia.scss} +6 -7
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
- package/dist/src/components/organisms/FaqGroup/{FaqGroup.styled.ts → FaqGroup.scss} +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.styled.ts → FeaturesRatafiaContent.scss} +4 -4
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
- package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.styled.ts → GuidelinesContent.scss} +17 -17
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.styled.ts → JumbotronRatafiaContent.scss} +7 -6
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.styled.ts → KeyFactsLoadingContentRatafia.scss} +25 -24
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +23 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
- package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.styled.js → LanguageSelectorMobile.scss} +6 -6
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
- package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.styled.ts → LayoutRatafia.scss} +13 -12
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
- package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.styled.ts → ListStepsGetForm.scss} +7 -7
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +16 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +8 -4
- package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.styled.ts → MobileBottomBar.scss} +6 -6
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +10 -5
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
- package/dist/src/globalStyles/styles.scss +22 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +0 -59
- package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.styled.js +0 -5
- package/dist/src/components/organisms/Accordion/Accordion.styled.ts +0 -6
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +0 -11
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +0 -12
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +0 -22
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +0 -23
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +0 -1
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +0 -60
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +0 -1
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +0 -43
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +0 -1
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +0 -54
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +0 -55
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +0 -18
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +0 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +0 -21
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +0 -27
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +0 -138
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +0 -26
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +0 -144
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +0 -21
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +0 -22
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +0 -5
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +0 -70
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +0 -91
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +0 -34
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +0 -14
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +0 -15
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +0 -45
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +0 -11
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +0 -12
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -49
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -50
|
@@ -5,6 +5,6 @@ import { DisclaimerStyled } from './Disclaimer.styled';
|
|
|
5
5
|
const Disclaimer = ({ givenClass, text, disclaimerLinks = false, complexCopyRight, complexCopyRightMobile, simpleCopyRight }) => {
|
|
6
6
|
const showDisclaimerLinks = disclaimerLinks && _jsx(React.Fragment, { children: complexCopyRight });
|
|
7
7
|
const showDisclaimerLinkMobile = disclaimerLinks && (_jsx(React.Fragment, { children: _jsxs("div", { className: 'disclaimer__copy', children: [complexCopyRightMobile, _jsx("p", { children: simpleCopyRight })] }) }));
|
|
8
|
-
return (_jsx(DisclaimerStyled, { className: `
|
|
8
|
+
return (_jsx(DisclaimerStyled, { className: `disclaimer ${givenClass}`, children: _jsxs("div", { className: `wrapper sans-serif --extra-small`, children: [_jsx("div", { className: 'disclaimer__copy', children: text }), disclaimerLinks ? _jsx("p", { className: 'desktop_view', children: showDisclaimerLinks }) : _jsx("p", { children: simpleCopyRight }), disclaimerLinks && _jsx("div", { className: 'disclaimer__copy mobile_view', children: showDisclaimerLinkMobile })] }) }));
|
|
9
9
|
};
|
|
10
10
|
export default Disclaimer;
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import { device, size } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const DisclaimerStyled = styled.div `
|
|
4
|
-
padding: 1rem;
|
|
4
|
+
padding: 1rem 2rem;
|
|
5
5
|
@media ${device.laptop} {
|
|
6
6
|
padding: 1rem 0;
|
|
7
7
|
}
|
|
8
|
+
background-color: var(--neutral-main);
|
|
9
|
+
color: var(--neutral-neutral-4);
|
|
8
10
|
|
|
9
|
-
&.
|
|
10
|
-
&__wrapper {
|
|
11
|
-
background-color: var(--neutral-main);
|
|
12
|
-
color: var(--neutral-neutral-4);
|
|
13
|
-
|
|
14
|
-
.standard {
|
|
15
|
-
color: var(--neutral-neutral-4);
|
|
16
|
-
text-decoration: underline;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.grey-color {
|
|
11
|
+
&.white-color {
|
|
22
12
|
color: var(--neutral-neutral-1);
|
|
23
13
|
background-color: var(--neutral-neutral-4);
|
|
14
|
+
a {
|
|
15
|
+
color: var(--neutral-neutral-1);
|
|
16
|
+
text-decoration: underline;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
&.grey-color {
|
|
20
|
+
color: var(--neutral-neutral-4);
|
|
21
|
+
background-color: var(--neutral-main);
|
|
22
|
+
a {
|
|
23
|
+
color: var(--neutral-neutral-4);
|
|
24
|
+
text-decoration: underline;
|
|
25
|
+
}
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
.disclaimer__copy {
|
|
@@ -29,6 +31,7 @@ export const DisclaimerStyled = styled.div `
|
|
|
29
31
|
|
|
30
32
|
.desktop_view {
|
|
31
33
|
display: block;
|
|
34
|
+
margin-top: 1rem;
|
|
32
35
|
|
|
33
36
|
@media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
|
|
34
37
|
display: none;
|
|
@@ -2,26 +2,28 @@ import { device, size } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const DisclaimerStyled = styled.div`
|
|
5
|
-
padding: 1rem;
|
|
5
|
+
padding: 1rem 2rem;
|
|
6
6
|
@media ${device.laptop} {
|
|
7
7
|
padding: 1rem 0;
|
|
8
8
|
}
|
|
9
|
+
background-color: var(--neutral-main);
|
|
10
|
+
color: var(--neutral-neutral-4);
|
|
9
11
|
|
|
10
|
-
&.
|
|
11
|
-
&__wrapper {
|
|
12
|
-
background-color: var(--neutral-main);
|
|
13
|
-
color: var(--neutral-neutral-4);
|
|
14
|
-
|
|
15
|
-
.standard {
|
|
16
|
-
color: var(--neutral-neutral-4);
|
|
17
|
-
text-decoration: underline;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.grey-color {
|
|
12
|
+
&.white-color {
|
|
23
13
|
color: var(--neutral-neutral-1);
|
|
24
14
|
background-color: var(--neutral-neutral-4);
|
|
15
|
+
a {
|
|
16
|
+
color: var(--neutral-neutral-1);
|
|
17
|
+
text-decoration: underline;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&.grey-color {
|
|
21
|
+
color: var(--neutral-neutral-4);
|
|
22
|
+
background-color: var(--neutral-main);
|
|
23
|
+
a {
|
|
24
|
+
color: var(--neutral-neutral-4);
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
}
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.disclaimer__copy {
|
|
@@ -30,6 +32,7 @@ export const DisclaimerStyled = styled.div`
|
|
|
30
32
|
|
|
31
33
|
.desktop_view {
|
|
32
34
|
display: block;
|
|
35
|
+
margin-top: 1rem;
|
|
33
36
|
|
|
34
37
|
@media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
|
|
35
38
|
display: none;
|
|
@@ -24,8 +24,8 @@ const Disclaimer: FC<DisclaimerProps> = ({
|
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
|
-
<DisclaimerStyled className={`
|
|
28
|
-
<div className={
|
|
27
|
+
<DisclaimerStyled className={`disclaimer ${givenClass}`}>
|
|
28
|
+
<div className={`wrapper sans-serif --extra-small`}>
|
|
29
29
|
<div className='disclaimer__copy'>{text}</div>
|
|
30
30
|
{disclaimerLinks ? <p className='desktop_view'>{showDisclaimerLinks}</p> : <p>{simpleCopyRight}</p>}
|
|
31
31
|
{disclaimerLinks && <div className='disclaimer__copy mobile_view'>{showDisclaimerLinkMobile}</div>}
|
|
@@ -3,6 +3,6 @@ import { WideInfoBarStyled } from './WideInfoBar.styled';
|
|
|
3
3
|
const WideInfoBar = ({ children, color }) => {
|
|
4
4
|
if (children === undefined)
|
|
5
5
|
return null;
|
|
6
|
-
return (_jsx(WideInfoBarStyled, { className: `wide-info-bar ${color ?? ''}`, children: _jsx("div", { className: 'wide-info-bar__wrapper', children: children }) }));
|
|
6
|
+
return (_jsx(WideInfoBarStyled, { className: `wide-info-bar ${color ?? ''}`, children: _jsx("div", { className: 'wide-info-bar__wrapper wrapper', children: children }) }));
|
|
7
7
|
};
|
|
8
8
|
export default WideInfoBar;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const WideInfoBarStyled = styled.div `
|
|
4
|
-
background-color: var(--neutral-neutral-6);
|
|
5
4
|
font-family: var(--font-sans);
|
|
5
|
+
background-color: var(--neutral-neutral-5);
|
|
6
6
|
color: var(--neutral-neutral-1);
|
|
7
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
7
8
|
|
|
8
9
|
&.green {
|
|
9
10
|
background-color: var(--primary-main-light-6);
|
|
@@ -15,18 +16,16 @@ export const WideInfoBarStyled = styled.div `
|
|
|
15
16
|
display: flex;
|
|
16
17
|
flex-flow: column nowrap;
|
|
17
18
|
justify-content: space-between;
|
|
18
|
-
|
|
19
|
-
margin: auto;
|
|
20
|
-
padding: 0.5rem 3.5rem 0.5rem 1.5rem;
|
|
19
|
+
padding: 1rem 2rem;
|
|
21
20
|
|
|
22
21
|
@media ${device['landscape-tablets']} {
|
|
23
22
|
flex-flow: row;
|
|
24
23
|
font-size: 0.9rem;
|
|
25
|
-
padding:
|
|
24
|
+
padding: 0;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
@media ${device.desktop} {
|
|
29
|
-
padding: 0
|
|
28
|
+
padding: 0;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
}
|
|
@@ -2,9 +2,10 @@ import { device } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const WideInfoBarStyled = styled.div`
|
|
5
|
-
background-color: var(--neutral-neutral-6);
|
|
6
5
|
font-family: var(--font-sans);
|
|
6
|
+
background-color: var(--neutral-neutral-5);
|
|
7
7
|
color: var(--neutral-neutral-1);
|
|
8
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
8
9
|
|
|
9
10
|
&.green {
|
|
10
11
|
background-color: var(--primary-main-light-6);
|
|
@@ -16,18 +17,16 @@ export const WideInfoBarStyled = styled.div`
|
|
|
16
17
|
display: flex;
|
|
17
18
|
flex-flow: column nowrap;
|
|
18
19
|
justify-content: space-between;
|
|
19
|
-
|
|
20
|
-
margin: auto;
|
|
21
|
-
padding: 0.5rem 3.5rem 0.5rem 1.5rem;
|
|
20
|
+
padding: 1rem 2rem;
|
|
22
21
|
|
|
23
22
|
@media ${device['landscape-tablets']} {
|
|
24
23
|
flex-flow: row;
|
|
25
24
|
font-size: 0.9rem;
|
|
26
|
-
padding:
|
|
25
|
+
padding: 0;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
@media ${device.desktop} {
|
|
30
|
-
padding: 0
|
|
29
|
+
padding: 0;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
}
|
|
@@ -10,7 +10,7 @@ const WideInfoBar: FC<WideInfoBarProps> = ({ children, color }) => {
|
|
|
10
10
|
if (children === undefined) return null
|
|
11
11
|
return (
|
|
12
12
|
<WideInfoBarStyled className={`wide-info-bar ${color ?? ''}`}>
|
|
13
|
-
<div className='wide-info-bar__wrapper'>{children}</div>
|
|
13
|
+
<div className='wide-info-bar__wrapper wrapper'>{children}</div>
|
|
14
14
|
</WideInfoBarStyled>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AboutUsContentStyled } from './AboutUsContent.styled';
|
|
3
2
|
import { Button } from '../../atoms';
|
|
3
|
+
// import './AboutUsContent.scss'
|
|
4
4
|
const AboutUsContent = ({ children, image, button }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'about-us-content', children: [_jsx("div", { className: 'about-us-content__image', children: image }), _jsxs("div", { className: 'about-us-content__body', children: [children, button != null && (_jsx("div", { className: 'about-us-content__body__button', children: _jsx(Button, { ...button }) }))] })] }));
|
|
6
6
|
};
|
|
7
7
|
export default AboutUsContent;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.about-us-content {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-flow: row wrap;
|
|
7
7
|
justify-content: center;
|
|
8
8
|
|
|
9
|
-
@
|
|
9
|
+
@include landscape-tablets {
|
|
10
10
|
flex-flow: row nowrap;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
&__body {
|
|
14
14
|
margin-top: 1rem;
|
|
15
15
|
margin-bottom: 2rem;
|
|
16
16
|
font-family: var(--font-sans);
|
|
17
17
|
|
|
18
|
-
@
|
|
18
|
+
@include landscape-tablets {
|
|
19
19
|
flex-basis: 50%;
|
|
20
20
|
margin-top: 0;
|
|
21
21
|
margin-bottom: 3rem;
|
|
@@ -32,24 +32,22 @@ export const AboutUsContentStyled = styled.div`
|
|
|
32
32
|
font-family: var(--font-sans);
|
|
33
33
|
.e-button {
|
|
34
34
|
display: block;
|
|
35
|
-
|
|
36
|
-
@media ${device['landscape-tablets']} {
|
|
35
|
+
@include landscape-tablets {
|
|
37
36
|
display: inline-block;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
|
-
|
|
43
|
-
.about-us-content__image {
|
|
41
|
+
&__image {
|
|
44
42
|
margin-bottom: 1rem;
|
|
45
43
|
|
|
46
|
-
@
|
|
44
|
+
@include landscape-tablets {
|
|
47
45
|
margin-bottom: 0;
|
|
48
46
|
margin-right: 1rem;
|
|
49
47
|
flex-basis: 50%;
|
|
50
48
|
}
|
|
51
49
|
|
|
52
|
-
@
|
|
50
|
+
@include laptop {
|
|
53
51
|
margin-bottom: -3rem;
|
|
54
52
|
}
|
|
55
53
|
|
|
@@ -57,4 +55,4 @@ export const AboutUsContentStyled = styled.div`
|
|
|
57
55
|
width: 100%;
|
|
58
56
|
}
|
|
59
57
|
}
|
|
60
|
-
|
|
58
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type AboutUsContentProps } from './AboutUsContentProps.types'
|
|
4
|
-
import { AboutUsContentStyled } from './AboutUsContent.styled'
|
|
5
4
|
import { Button } from '../../atoms'
|
|
5
|
+
// import './AboutUsContent.scss'
|
|
6
6
|
|
|
7
7
|
const AboutUsContent: FC<AboutUsContentProps> = ({ children, image, button }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div className='about-us-content'>
|
|
10
10
|
<div className={'about-us-content__image'}>{image}</div>
|
|
11
11
|
<div className={'about-us-content__body'}>
|
|
12
12
|
{children}
|
|
@@ -16,7 +16,7 @@ const AboutUsContent: FC<AboutUsContentProps> = ({ children, image, button }) =>
|
|
|
16
16
|
</div>
|
|
17
17
|
)}
|
|
18
18
|
</div>
|
|
19
|
-
</
|
|
19
|
+
</div>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -3,13 +3,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { AccordionItem } from '../../molecules';
|
|
5
5
|
import { AccordionProvider } from './Accordion.context';
|
|
6
|
-
import
|
|
6
|
+
// import './Accordion.scss'
|
|
7
7
|
export const Accordion = ({ data, defaultActiveIndex = 0, defaultHeightItem }) => {
|
|
8
8
|
const [activeIndex, setActiveIndex] = useState(defaultActiveIndex);
|
|
9
9
|
const handleItemClick = (index) => {
|
|
10
10
|
setActiveIndex((prevIndex) => (prevIndex === index ? -1 : index));
|
|
11
11
|
};
|
|
12
|
-
return (_jsx(AccordionProvider, { elements: data.length, children: _jsx(
|
|
12
|
+
return (_jsx(AccordionProvider, { elements: data.length, children: _jsx("div", { className: 'accordion', children: data.map((item, index) => (_jsx(AccordionItem, { accordionRightContent: item?.accordionRightContent, defaultHeightItem: defaultHeightItem, index: index, isOpen: activeIndex === index, onClick: () => {
|
|
13
13
|
handleItemClick(index);
|
|
14
14
|
}, title: item.title, children: item.children }, index))) }) }));
|
|
15
15
|
};
|
|
@@ -3,7 +3,8 @@ import React, { useState } from 'react'
|
|
|
3
3
|
import { AccordionItem } from '../../molecules'
|
|
4
4
|
import { type AccordionProps } from './AccordionProps.types'
|
|
5
5
|
import { AccordionProvider } from './Accordion.context'
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
// import './Accordion.scss'
|
|
7
8
|
|
|
8
9
|
export const Accordion = ({ data, defaultActiveIndex = 0, defaultHeightItem }: AccordionProps): React.JSX.Element => {
|
|
9
10
|
const [activeIndex, setActiveIndex] = useState(defaultActiveIndex)
|
|
@@ -14,7 +15,7 @@ export const Accordion = ({ data, defaultActiveIndex = 0, defaultHeightItem }: A
|
|
|
14
15
|
|
|
15
16
|
return (
|
|
16
17
|
<AccordionProvider elements={data.length}>
|
|
17
|
-
<
|
|
18
|
+
<div className='accordion'>
|
|
18
19
|
{data.map((item, index) => (
|
|
19
20
|
<AccordionItem
|
|
20
21
|
accordionRightContent={item?.accordionRightContent}
|
|
@@ -30,7 +31,7 @@ export const Accordion = ({ data, defaultActiveIndex = 0, defaultHeightItem }: A
|
|
|
30
31
|
{item.children}
|
|
31
32
|
</AccordionItem>
|
|
32
33
|
))}
|
|
33
|
-
</
|
|
34
|
+
</div>
|
|
34
35
|
</AccordionProvider>
|
|
35
36
|
)
|
|
36
37
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Article } from '../../molecules';
|
|
3
|
-
import
|
|
3
|
+
// import './ArticlesList.scss'
|
|
4
4
|
const ArticlesList = ({ articles = [] }) => {
|
|
5
5
|
if (articles?.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("div", { className: 'articles_wrapper', children: articles.map((article) => (_jsx(Article, { ...article }, `article_${article?.id}`))) }));
|
|
8
8
|
};
|
|
9
9
|
export default ArticlesList;
|
|
@@ -3,17 +3,17 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { Article, type ArticleProps } from '../../molecules'
|
|
5
5
|
import { type ArticlesListProps } from './ArticlesListProps.types'
|
|
6
|
-
import
|
|
6
|
+
// import './ArticlesList.scss'
|
|
7
7
|
|
|
8
8
|
const ArticlesList: FC<ArticlesListProps> = ({ articles = [] }) => {
|
|
9
9
|
if (articles?.length === 0) return null
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<
|
|
12
|
+
<div className='articles_wrapper'>
|
|
13
13
|
{articles.map((article: ArticleProps) => (
|
|
14
14
|
<Article key={`article_${article?.id}`} {...article} />
|
|
15
15
|
))}
|
|
16
|
-
</
|
|
16
|
+
</div>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AsSeenInContentStyled } from './AsSeeInContent.styled';
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { RichTextInner } from '../../atoms';
|
|
4
3
|
import { TrustworthyWebsites } from '../../molecules/TrustworthyWebsites';
|
|
4
|
+
// import './AsSeeInContent.scss'
|
|
5
5
|
const AsSeeInContent = ({ children, trustWorthyImages }) => {
|
|
6
6
|
if (trustWorthyImages.images.length === 0) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
|
-
return (_jsxs(
|
|
9
|
+
return (_jsxs(_Fragment, { children: [_jsx(RichTextInner, { customClass: 'as-see-in-content__text', children: children }), _jsx(TrustworthyWebsites, { images: trustWorthyImages.images })] }));
|
|
10
10
|
};
|
|
11
11
|
export default AsSeeInContent;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.as-see-in-content {
|
|
5
|
+
display: flex;
|
|
6
|
+
|
|
7
|
+
&__text {
|
|
8
|
+
justify-content: center;
|
|
9
|
+
text-align: center;
|
|
10
|
+
|
|
11
|
+
#articles,
|
|
12
|
+
#legal-documents {
|
|
13
|
+
color: var(--primary-main-light-1);
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
a {
|
|
18
|
+
color: var(--primary-main-light-1);
|
|
19
|
+
font-weight: 400 !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type AsSeeInContentProps } from './AsSeeInContentProps.types'
|
|
4
|
-
import { AsSeenInContentStyled } from './AsSeeInContent.styled'
|
|
5
4
|
import { RichTextInner } from '../../atoms'
|
|
6
5
|
import { TrustworthyWebsites } from '../../molecules/TrustworthyWebsites'
|
|
6
|
+
// import './AsSeeInContent.scss'
|
|
7
7
|
|
|
8
8
|
const AsSeeInContent: FC<AsSeeInContentProps> = ({ children, trustWorthyImages }) => {
|
|
9
9
|
if (trustWorthyImages.images.length === 0) {
|
|
@@ -11,10 +11,10 @@ const AsSeeInContent: FC<AsSeeInContentProps> = ({ children, trustWorthyImages }
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
|
-
|
|
14
|
+
<>
|
|
15
15
|
<RichTextInner customClass='as-see-in-content__text'>{children}</RichTextInner>
|
|
16
16
|
<TrustworthyWebsites images={trustWorthyImages.images} />
|
|
17
|
-
|
|
17
|
+
</>
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Tag } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './CardFunctionality.scss'
|
|
4
4
|
export const CardFunctionality = ({ icon, title, text, tags, cta }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("article", { className: 'card-functionality', children: [_jsxs("div", { className: 'content-tags', children: [_jsxs("div", { className: 'content', children: [_jsxs("div", { className: 'header', children: [_jsx("div", { className: 'icon', children: icon }), _jsx("p", { className: 'title', children: title })] }), _jsx("div", { title: text, className: 'text', children: text })] }), _jsx("div", { className: 'tags', children: tags.map((tag) => (_jsx(Tag, { ...tag }, tag.id))) })] }), _jsx(Button, { ...cta, givenClass: 'cta-card' })] }));
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.card-functionality {
|
|
4
4
|
border-radius: var(--global-border-radius);
|
|
5
5
|
box-shadow: var(--box-shadow-medium);
|
|
6
6
|
display: flex;
|
|
@@ -58,4 +58,4 @@ export const CardFunctionalityStyled = styled.article`
|
|
|
58
58
|
align-self: flex-start;
|
|
59
59
|
margin-top: 0;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
}
|
|
@@ -2,11 +2,11 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Button, Tag } from '../../atoms'
|
|
4
4
|
import { type CardFunctionalityProps } from './CardFunctionalityProps'
|
|
5
|
-
import
|
|
5
|
+
// import './CardFunctionality.scss'
|
|
6
6
|
|
|
7
7
|
export const CardFunctionality: React.FC<CardFunctionalityProps> = ({ icon, title, text, tags, cta }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<article className='card-functionality'>
|
|
10
10
|
<div className='content-tags'>
|
|
11
11
|
<div className='content'>
|
|
12
12
|
<div className='header'>
|
|
@@ -24,6 +24,6 @@ export const CardFunctionality: React.FC<CardFunctionalityProps> = ({ icon, titl
|
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
<Button {...cta} givenClass='cta-card' />
|
|
27
|
-
</
|
|
27
|
+
</article>
|
|
28
28
|
)
|
|
29
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { EmailContactBox, PhoneContactBoxDesktop } from '../../molecules';
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
|
-
import
|
|
4
|
+
// import './ContactJumbotron.scss'
|
|
5
5
|
export const ContactJumbotron = ({ phoneBoxDesktopProps, emailContactBoxProps, faqsTitle, children, isJonSnow = false }) => {
|
|
6
|
-
return (_jsxs(
|
|
6
|
+
return (_jsxs("div", { className: 'contact__text', children: [!isJonSnow && _jsx(PhoneContactBoxDesktop, { ...phoneBoxDesktopProps }), _jsx("h2", { className: 'contact__text__title sans-serif', children: faqsTitle }), _jsx("div", { className: 'contact__text__subtitle sans-serif', children: children }), !isJonSnow && (_jsx(Button, { givenClass: 'faq-button', color: 'secondary', label: 'Visit FAQ Page', link: '/faqs/', dataQa: 'visitFaq' })), _jsx(EmailContactBox, { ...emailContactBoxProps })] }));
|
|
7
7
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
@import '../../../globalStyles/functions.scss';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
.contact__text {
|
|
5
6
|
.contact__text__title {
|
|
6
7
|
color: var(--primary-main-dark-1);
|
|
7
8
|
margin-bottom: space(8);
|
|
@@ -24,7 +25,7 @@ export const ContactJumbotronStyled = styled.article`
|
|
|
24
25
|
|
|
25
26
|
.logo-text {
|
|
26
27
|
margin-top: 3.25rem;
|
|
27
|
-
@
|
|
28
|
+
@include portrait-tablets {
|
|
28
29
|
margin-top: 4rem;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
@@ -37,8 +38,8 @@ export const ContactJumbotronStyled = styled.article`
|
|
|
37
38
|
display: inline-block;
|
|
38
39
|
margin-top: space(4);
|
|
39
40
|
width: 100%;
|
|
40
|
-
@
|
|
41
|
+
@include portrait-tablets {
|
|
41
42
|
width: 10rem;
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
+
}
|
|
@@ -3,7 +3,7 @@ import React from 'react'
|
|
|
3
3
|
import { EmailContactBox, PhoneContactBoxDesktop } from '../../molecules'
|
|
4
4
|
import { Button } from '../../atoms'
|
|
5
5
|
import { type ContactJumbotronProps } from './ContactJumbotronProps.types'
|
|
6
|
-
import
|
|
6
|
+
// import './ContactJumbotron.scss'
|
|
7
7
|
|
|
8
8
|
export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
|
|
9
9
|
phoneBoxDesktopProps,
|
|
@@ -13,7 +13,7 @@ export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
|
|
|
13
13
|
isJonSnow = false
|
|
14
14
|
}) => {
|
|
15
15
|
return (
|
|
16
|
-
<
|
|
16
|
+
<div className='contact__text'>
|
|
17
17
|
{!isJonSnow && <PhoneContactBoxDesktop {...phoneBoxDesktopProps} />}
|
|
18
18
|
<h2 className='contact__text__title sans-serif'>{faqsTitle}</h2>
|
|
19
19
|
<div className='contact__text__subtitle sans-serif'>{children}</div>
|
|
@@ -27,6 +27,6 @@ export const ContactJumbotron: React.FC<ContactJumbotronProps> = ({
|
|
|
27
27
|
/>
|
|
28
28
|
)}
|
|
29
29
|
<EmailContactBox {...emailContactBoxProps} />
|
|
30
|
-
</
|
|
30
|
+
</div>
|
|
31
31
|
)
|
|
32
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button, RichTextStrapi } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './CookiePolicyBar.scss'
|
|
4
4
|
export const CookiePolicyBar = ({ clickFunc, text }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'cookie-policy-bar', children: [_jsx(RichTextStrapi, { html: text, className: 'cookie-policy-bar__text sans-serif --extra-small' }), _jsx("div", { className: 'cookie-policy-bar__button-container', children: _jsx(Button, { dataQa: '', givenClass: 'accept-cookies-button', noLink: true, color: 'primary3', label: 'Accept Cookies', onClick: clickFunc }) })] }));
|
|
6
6
|
};
|