@npm_leadtech/legal-lib-components 5.11.11 → 5.11.13
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 -848
- 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/SearchSelect/SearchSelect.styled.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +12 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +12 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -5
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.ts +0 -5
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +12 -5
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +12 -5
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +7 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +7 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
- package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
- 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.styled.d.ts +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -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.d.ts +1 -0
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
- package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +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.d.ts +1 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
- package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
- 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.styled.d.ts +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +48 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +49 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
- 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.d.ts +1 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
- package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +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.d.ts +1 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +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.d.ts +1 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
- package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +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.d.ts +1 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
- 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.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
- 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.styled.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -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.d.ts +5 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
- 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.d.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
- package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
- 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.d.ts +1 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
- package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +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.styled.d.ts +1 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
- package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +54 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +55 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +2 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.ts +2 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +5 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.ts +5 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.js +2 -1
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +2 -1
- package/dist/src/globalStyles/styles.scss +0 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const CardFunctionalityStyled = styled.article `
|
|
3
|
+
border-radius: var(--global-border-radius);
|
|
4
|
+
box-shadow: var(--box-shadow-medium);
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: var(--global-gap);
|
|
8
|
+
padding: 1em;
|
|
9
|
+
|
|
10
|
+
.content-tags {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: var(--global-gap);
|
|
14
|
+
|
|
15
|
+
.content {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: calc(1rem / 2);
|
|
19
|
+
|
|
20
|
+
.header {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: 10px;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
|
|
26
|
+
.icon {
|
|
27
|
+
padding: 2px;
|
|
28
|
+
border-radius: var(--global-border-radius);
|
|
29
|
+
background: var(--primary-main-light-5);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.title {
|
|
33
|
+
color: var(--neutral-neutral-1);
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.text {
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
color: var(--neutral-neutral-1);
|
|
41
|
+
font-size: 14px;
|
|
42
|
+
display: -webkit-box;
|
|
43
|
+
-webkit-line-clamp: 2;
|
|
44
|
+
line-clamp: 2;
|
|
45
|
+
-webkit-box-orient: vertical;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tags {
|
|
50
|
+
display: flex;
|
|
51
|
+
gap: calc(1rem * 2);
|
|
52
|
+
flex-wrap: wrap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cta-card {
|
|
57
|
+
align-self: flex-start;
|
|
58
|
+
margin-top: 0;
|
|
59
|
+
}
|
|
60
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import styled from 'styled-components'
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
export const CardFunctionalityStyled = styled.article`
|
|
4
4
|
border-radius: var(--global-border-radius);
|
|
5
5
|
box-shadow: var(--box-shadow-medium);
|
|
6
6
|
display: flex;
|
|
@@ -58,4 +58,4 @@
|
|
|
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
|
-
|
|
5
|
+
import { CardFunctionalityStyled } from './CardFunctionality.styled'
|
|
6
6
|
|
|
7
7
|
export const CardFunctionality: React.FC<CardFunctionalityProps> = ({ icon, title, text, tags, cta }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<CardFunctionalityStyled>
|
|
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
|
+
</CardFunctionalityStyled>
|
|
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
|
-
|
|
4
|
+
import { ContactJumbotronStyled } from './ContactJumbotron.styled';
|
|
5
5
|
export const ContactJumbotron = ({ phoneBoxDesktopProps, emailContactBoxProps, faqsTitle, children, isJonSnow = false }) => {
|
|
6
|
-
return (_jsxs(
|
|
6
|
+
return (_jsxs(ContactJumbotronStyled, { 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
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ContactJumbotronStyled: 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 ContactJumbotronStyled = styled.article `
|
|
4
|
+
.contact__text__title {
|
|
5
|
+
color: var(--primary-main-dark-1);
|
|
6
|
+
margin-bottom: space(8);
|
|
7
|
+
font-size: 1.5rem;
|
|
8
|
+
font-weight: 500;
|
|
9
|
+
line-height: 2rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.contact__text__subtitle {
|
|
13
|
+
color: var(--neutral-neutral-1);
|
|
14
|
+
font-size: 1rem;
|
|
15
|
+
p {
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.contact__text .logo-text {
|
|
21
|
+
color: var(--neutral-neutral-2);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.logo-text {
|
|
25
|
+
margin-top: 3.25rem;
|
|
26
|
+
@media ${device['portrait-tablets']} {
|
|
27
|
+
margin-top: 4rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.logo-text img {
|
|
32
|
+
min-width: 52px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.faq-button {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
margin-top: space(4);
|
|
38
|
+
width: 100%;
|
|
39
|
+
@media ${device['portrait-tablets']} {
|
|
40
|
+
width: 10rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@import '../../../globalStyles/functions.scss';
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
4
3
|
|
|
5
|
-
.
|
|
4
|
+
export const ContactJumbotronStyled = styled.article`
|
|
6
5
|
.contact__text__title {
|
|
7
6
|
color: var(--primary-main-dark-1);
|
|
8
7
|
margin-bottom: space(8);
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
|
|
26
25
|
.logo-text {
|
|
27
26
|
margin-top: 3.25rem;
|
|
28
|
-
@
|
|
27
|
+
@media ${device['portrait-tablets']} {
|
|
29
28
|
margin-top: 4rem;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
@@ -38,8 +37,8 @@
|
|
|
38
37
|
display: inline-block;
|
|
39
38
|
margin-top: space(4);
|
|
40
39
|
width: 100%;
|
|
41
|
-
@
|
|
40
|
+
@media ${device['portrait-tablets']} {
|
|
42
41
|
width: 10rem;
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
|
-
|
|
44
|
+
`
|
|
@@ -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
|
-
|
|
6
|
+
import { ContactJumbotronStyled } from './ContactJumbotron.styled'
|
|
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
|
+
<ContactJumbotronStyled>
|
|
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
|
+
</ContactJumbotronStyled>
|
|
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
|
-
|
|
3
|
+
import { CookiePolicyBarStyled } from './CookiePolicyBar.styled';
|
|
4
4
|
export const CookiePolicyBar = ({ clickFunc, text }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(CookiePolicyBarStyled, { children: [_jsx(RichTextStrapi, { html: text, className: 'cookie-policy-bar__text sans-serif --extra-small' }), _jsx(Button, { dataQa: '', givenClass: 'accept-cookies-button', noLink: true, color: 'primary3', label: 'Accept Cookies', onClick: clickFunc })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CookiePolicyBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const CookiePolicyBarStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 0 1.5rem 1rem;
|
|
8
|
+
background-color: black;
|
|
9
|
+
color: var(--others-white);
|
|
10
|
+
position: fixed;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
z-index: 3;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
|
|
15
|
+
@media ${device['portrait-tablets']} {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
padding-bottom: 0;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.cookie-policy-bar__text {
|
|
23
|
+
margin: 1rem 0 0.5rem;
|
|
24
|
+
max-width: 48rem;
|
|
25
|
+
|
|
26
|
+
@media ${device['portrait-tablets']} {
|
|
27
|
+
margin-bottom: 1rem;
|
|
28
|
+
margin-right: 1.5rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media ${device.laptop} {
|
|
32
|
+
margin-right: 2.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
a {
|
|
36
|
+
text-decoration: underline;
|
|
37
|
+
color: var(--others-white);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.m-richText p {
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.accept-cookies-button {
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const CookiePolicyBarStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 0 1.5rem 1rem;
|
|
9
|
+
background-color: black;
|
|
10
|
+
color: var(--others-white);
|
|
11
|
+
position: fixed;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
z-index: 3;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
|
|
16
|
+
@media ${device['portrait-tablets']} {
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding-bottom: 0;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cookie-policy-bar__text {
|
|
24
|
+
margin: 1rem 0 0.5rem;
|
|
25
|
+
max-width: 48rem;
|
|
26
|
+
|
|
27
|
+
@media ${device['portrait-tablets']} {
|
|
28
|
+
margin-bottom: 1rem;
|
|
29
|
+
margin-right: 1.5rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media ${device.laptop} {
|
|
33
|
+
margin-right: 2.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
text-decoration: underline;
|
|
38
|
+
color: var(--others-white);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.m-richText p {
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.accept-cookies-button {
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
`
|
|
@@ -2,22 +2,20 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Button, RichTextStrapi } from '../../atoms'
|
|
4
4
|
import { type CookiePolicyBarProps } from './CookiePolicyBarProps'
|
|
5
|
-
|
|
5
|
+
import { CookiePolicyBarStyled } from './CookiePolicyBar.styled'
|
|
6
6
|
|
|
7
7
|
export const CookiePolicyBar: FC<CookiePolicyBarProps> = ({ clickFunc, text }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<CookiePolicyBarStyled>
|
|
10
10
|
<RichTextStrapi html={text} className='cookie-policy-bar__text sans-serif --extra-small' />
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
11
|
+
<Button
|
|
12
|
+
dataQa=''
|
|
13
|
+
givenClass='accept-cookies-button'
|
|
14
|
+
noLink
|
|
15
|
+
color='primary3'
|
|
16
|
+
label={'Accept Cookies'}
|
|
17
|
+
onClick={clickFunc}
|
|
18
|
+
/>
|
|
19
|
+
</CookiePolicyBarStyled>
|
|
22
20
|
)
|
|
23
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { ErrorContentRatafiaStyled } from './ErrorContentRatafia.styled';
|
|
3
3
|
export const ErrorContentRatafia = ({ title, errorMessage }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(ErrorContentRatafiaStyled, { children: [_jsx("h2", { className: 'error-content-ratafia__title', children: title }), _jsx("div", { className: 'error-content-ratafia__message', children: errorMessage })] }));
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ErrorContentRatafiaStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const ErrorContentRatafiaStyled = styled.div `
|
|
3
|
+
width: 100%;
|
|
4
|
+
color: var(--neutral-neutral-2);
|
|
5
|
+
|
|
6
|
+
.error-content-ratafia__title {
|
|
7
|
+
font-size: 1rem;
|
|
8
|
+
padding-bottom: 1rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.error-content-ratafia__message {
|
|
12
|
+
font-size: 1rem;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
line-height: 22px;
|
|
16
|
+
letter-spacing: -0.3px;
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
1
|
+
import styled from 'styled-components'
|
|
3
2
|
|
|
4
|
-
.
|
|
3
|
+
export const ErrorContentRatafiaStyled = styled.div`
|
|
5
4
|
width: 100%;
|
|
6
5
|
color: var(--neutral-neutral-2);
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
.error-content-ratafia__title {
|
|
8
8
|
font-size: 1rem;
|
|
9
9
|
padding-bottom: 1rem;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
.error-content-ratafia__message {
|
|
12
13
|
font-size: 1rem;
|
|
13
14
|
font-style: normal;
|
|
14
15
|
font-weight: 400;
|
|
15
16
|
line-height: 22px;
|
|
16
17
|
letter-spacing: -0.3px;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type ErrorContentRatafiaProps } from './ErrorContentRatafiaProps.types'
|
|
4
|
-
|
|
4
|
+
import { ErrorContentRatafiaStyled } from './ErrorContentRatafia.styled'
|
|
5
5
|
|
|
6
6
|
export const ErrorContentRatafia: FC<ErrorContentRatafiaProps> = ({ title, errorMessage }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<ErrorContentRatafiaStyled>
|
|
9
9
|
<h2 className='error-content-ratafia__title'>{title}</h2>
|
|
10
10
|
<div className='error-content-ratafia__message'>{errorMessage}</div>
|
|
11
|
-
</
|
|
11
|
+
</ErrorContentRatafiaStyled>
|
|
12
12
|
)
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FaqGroupStyled } from './FaqGroup.styled';
|
|
2
3
|
import { FaqItem } from '../../molecules';
|
|
3
|
-
// import './FaqGroup.scss'
|
|
4
4
|
export const FaqGroup = ({ title, slug, faqs = [], hasAllClosed = false, children }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(FaqGroupStyled, { id: slug, children: [_jsx("h2", { className: 'title', id: `${slug}-faqs`, children: title }), children, _jsx("div", { className: 'faqs', children: faqs.map((faq, index) => (_jsx(FaqItem, { ...faq, index: hasAllClosed ? index + 1 : index }, faq.id))) })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FaqGroupStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const FaqGroupStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: 32px;
|
|
7
|
+
|
|
8
|
+
.title {
|
|
9
|
+
color: var(--neutral-neutral-1);
|
|
10
|
+
font-size: 28px;
|
|
11
|
+
line-height: 32px;
|
|
12
|
+
letter-spacing: -0.3px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.faqs {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: var(--global-gap);
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import styled from 'styled-components'
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
export const FaqGroupStyled = styled.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
align-items: flex-start;
|
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
gap: var(--global-gap);
|
|
20
20
|
width: 100%;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type FaqGroupProps } from './FaqGroupProps'
|
|
4
|
+
import { FaqGroupStyled } from './FaqGroup.styled'
|
|
4
5
|
import { FaqItem } from '../../molecules'
|
|
5
|
-
// import './FaqGroup.scss'
|
|
6
6
|
|
|
7
7
|
export const FaqGroup: React.FC<FaqGroupProps> = ({ title, slug, faqs = [], hasAllClosed = false, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<FaqGroupStyled id={slug}>
|
|
10
10
|
<h2 className='title' id={`${slug}-faqs`}>
|
|
11
11
|
{title}
|
|
12
12
|
</h2>
|
|
@@ -16,6 +16,6 @@ export const FaqGroup: React.FC<FaqGroupProps> = ({ title, slug, faqs = [], hasA
|
|
|
16
16
|
<FaqItem key={faq.id} {...faq} index={hasAllClosed ? index + 1 : index} />
|
|
17
17
|
))}
|
|
18
18
|
</div>
|
|
19
|
-
</
|
|
19
|
+
</FaqGroupStyled>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FeatureRatafiaCardList } from '../../molecules';
|
|
3
|
-
|
|
3
|
+
import { FeaturesRatafiaContentStyled } from './FeaturesRatafiaContent.styled';
|
|
4
4
|
const FeaturesRatafiaContent = ({ title, description, notReleasedText = 'Coming Soon', features }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(FeaturesRatafiaContentStyled, { children: _jsxs("div", { className: 'features-ratafia-content__wrapper', children: [_jsxs("div", { className: 'features-ratafia-content__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight features-ratafia-content__wrapper__title__text', children: title }), _jsx("div", { className: 'sans-serif --super-medium features-ratafia-content__wrapper__title__description', children: description })] }), _jsx(FeatureRatafiaCardList, { features: features, notReleasedText: notReleasedText })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default FeaturesRatafiaContent;
|
package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FeaturesRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const FeaturesRatafiaContentStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
flex: 1 0 0;
|
|
8
|
+
gap: 1.5rem;
|
|
9
|
+
|
|
10
|
+
.features-ratafia-content__wrapper__title {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
align-self: stretch;
|
|
16
|
+
gap: 1rem;
|
|
17
|
+
|
|
18
|
+
&__text {
|
|
19
|
+
align-self: stretch;
|
|
20
|
+
color: var(--neutral-neutral-1);
|
|
21
|
+
}
|
|
22
|
+
&__description {
|
|
23
|
+
align-self: stretch;
|
|
24
|
+
color: var(--neutral-neutral-1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import styled from 'styled-components'
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
export const FeaturesRatafiaContentStyled = styled.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
justify-content: center;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
flex: 1 0 0;
|
|
9
9
|
gap: 1.5rem;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
.features-ratafia-content__wrapper__title {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
justify-content: center;
|
|
@@ -25,4 +25,4 @@
|
|
|
25
25
|
color: var(--neutral-neutral-1);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
`
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { FeatureRatafiaCardList } from '../../molecules'
|
|
4
4
|
import { type FeaturesRatafiaContentProps } from './FeaturesRatafiaContentProps.types'
|
|
5
|
-
|
|
5
|
+
import { FeaturesRatafiaContentStyled } from './FeaturesRatafiaContent.styled'
|
|
6
6
|
|
|
7
7
|
const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
|
|
8
8
|
title,
|
|
@@ -11,7 +11,7 @@ const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
|
|
|
11
11
|
features
|
|
12
12
|
}) => {
|
|
13
13
|
return (
|
|
14
|
-
<
|
|
14
|
+
<FeaturesRatafiaContentStyled>
|
|
15
15
|
<div className='features-ratafia-content__wrapper'>
|
|
16
16
|
<div className='features-ratafia-content__wrapper__title'>
|
|
17
17
|
<h2 className='sans-serif --super-large --bold-weight features-ratafia-content__wrapper__title__text'>
|
|
@@ -23,7 +23,7 @@ const FeaturesRatafiaContent: FC<FeaturesRatafiaContentProps> = ({
|
|
|
23
23
|
</div>
|
|
24
24
|
<FeatureRatafiaCardList features={features} notReleasedText={notReleasedText} />
|
|
25
25
|
</div>
|
|
26
|
-
</
|
|
26
|
+
</FeaturesRatafiaContentStyled>
|
|
27
27
|
)
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextInner, RichTextStrapi } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { GuideslinesContentStyled } from './GuidelinesContent.styled';
|
|
4
4
|
const GuidelinesContent = ({ title, image, detail, children }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(GuideslinesContentStyled, { children: [_jsxs("div", { className: 'guidelines-section-main wrapper', children: [_jsx("div", { className: 'guidelines-section__image big-devices', children: image }), _jsxs("div", { className: 'guidelines-section__texts', children: [_jsx("h2", { className: 'guidelines-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'guidelines-section__texts__body', children: children })] }), _jsx("div", { className: 'guidelines-section__image is-mobile', children: image })] }), Array.isArray(detail) && (_jsx("div", { className: 'guidelines-section-detail wrapper', children: detail.map((item, index) => (_jsxs("div", { className: 'guidelines-section-detail__item', children: [_jsx("div", { className: 'guidelines-section-detail__item__image', children: item.image }), _jsx("div", { className: 'guidelines-section-detail__item__title', children: item.title }), _jsx(RichTextStrapi, { html: item.body?.data?.childMarkdownRemark?.html })] }, index))) }))] }));
|
|
6
6
|
};
|
|
7
7
|
export default GuidelinesContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GuideslinesContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|