@npm_leadtech/legal-lib-components 5.3.10 → 5.3.11
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 +77 -1049
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
- package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.styled.ts → ErrorRatafiaPage.scss} +4 -3
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +3 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
- package/dist/src/components/pages/FaqsPage/{FaqsPage.styled.ts → FaqsPage.scss} +4 -3
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +3 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.styled.js → KeyFactsResultRatafiaPage.scss} +5 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +3 -4
- package/dist/src/components/pages/LoginRatafiaPage/{LoginRatafiaPage.styled.js → LoginPageRatafia.scss} +5 -5
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +98 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +99 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/BlogSection/BlogSection.js +2 -1
- package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +32 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +3 -2
- package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
- package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +1 -0
- package/dist/src/components/sections/ContactSection/ContactSection.styled.js +89 -0
- package/dist/src/components/sections/ContactSection/{ContactSection.scss → ContactSection.styled.ts} +9 -9
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
- package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +14 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +15 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
- package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
- package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
- package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
- package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
- package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
- package/dist/src/globalStyles/styles.scss +4 -24
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +0 -30
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +0 -59
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +0 -23
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +0 -24
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -98
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +0 -50
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +0 -57
- package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -33
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +0 -26
- package/dist/src/components/sections/FaqSection/FaqSection.scss +0 -31
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -57
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +0 -12
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +0 -41
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +0 -41
- package/dist/src/components/sections/LegalSection/LegalSection.scss +0 -120
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +0 -47
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +0 -42
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +0 -53
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +0 -69
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +0 -11
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +0 -62
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -35
|
@@ -3,11 +3,11 @@ import { Button } from '../../atoms';
|
|
|
3
3
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
4
4
|
import { ErrorContentRatafia } from '../../organisms';
|
|
5
5
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia';
|
|
6
|
-
import
|
|
6
|
+
// import './ErrorRatafiaPage.scss'
|
|
7
7
|
export const ErrorRatafiaPage = ({ header, errorContent, disclaimer, goToDashboardCta, tryAgainCta }) => {
|
|
8
8
|
const ctas = (_jsxs("div", { className: 'error-ratafia-page__ctas', children: [_jsx(Button, { givenClass: 'error-ratafia-page__ctas__button', dataQa: tryAgainCta.dataQa, color: 'primary', label: tryAgainCta.label, onClick: tryAgainCta.handleOnClick, link: tryAgainCta.link }), _jsx(Button, { givenClass: 'error-ratafia-page__ctas__button', dataQa: goToDashboardCta.dataQa, color: 'secondary', label: goToDashboardCta.label, onClick: goToDashboardCta.handleOnClick, link: goToDashboardCta.link })] }));
|
|
9
9
|
const content = _jsx(ErrorContentRatafia, { title: errorContent.title, errorMessage: errorContent.errorMessage });
|
|
10
10
|
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
11
11
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctas] }));
|
|
12
|
-
return (_jsx(
|
|
12
|
+
return (_jsx("div", { className: 'error-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
13
13
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
.error-ratafia-page {
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-direction: column;
|
|
6
7
|
align-items: flex-start;
|
|
@@ -28,4 +29,4 @@ export const ErrorRatafiaPageStyled = styled.div`
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
+
}
|
|
@@ -5,8 +5,7 @@ import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
|
5
5
|
import { ErrorContentRatafia } from '../../organisms'
|
|
6
6
|
import { type ErrorRatafiaPageProps } from './ErrorRatafiaPageProps.types'
|
|
7
7
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
-
|
|
9
|
-
import { ErrorRatafiaPageStyled } from './ErrorRatafiaPage.styled'
|
|
8
|
+
// import './ErrorRatafiaPage.scss'
|
|
10
9
|
|
|
11
10
|
export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
12
11
|
header,
|
|
@@ -56,7 +55,7 @@ export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
|
56
55
|
)
|
|
57
56
|
|
|
58
57
|
return (
|
|
59
|
-
<
|
|
58
|
+
<div className='error-ratafia-page'>
|
|
60
59
|
<LayoutRatafia
|
|
61
60
|
header={header}
|
|
62
61
|
content={content}
|
|
@@ -64,6 +63,6 @@ export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
|
64
63
|
footerDesktop={footerDesktop}
|
|
65
64
|
footerMobile={footerMobile}
|
|
66
65
|
/>
|
|
67
|
-
</
|
|
66
|
+
</div>
|
|
68
67
|
)
|
|
69
68
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsideMenuSection, FaqSection } from '../../sections';
|
|
3
|
-
import
|
|
3
|
+
// import './FaqsPage.scss'
|
|
4
4
|
export const FaqsPage = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'faq-page', children: [_jsxs("div", { className: 'titles', children: [_jsx("h1", { className: 'title', children: title }), _jsx("h2", { className: 'subtitle', children: subtitle })] }), _jsxs("div", { className: 'main-content', children: [_jsx(AsideMenuSection, { ...asideMenuSectionProps }), _jsx(FaqSection, { ...faqSectionProps })] })] }));
|
|
6
6
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
.faq-page {
|
|
4
5
|
.titles {
|
|
5
6
|
display: flex;
|
|
6
7
|
padding: 40px 24px;
|
|
@@ -57,4 +58,4 @@ export const FaqsPageStyled = styled.div`
|
|
|
57
58
|
gap: 106px;
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
+
}
|
|
@@ -2,12 +2,11 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { AsideMenuSection, FaqSection } from '../../sections'
|
|
4
4
|
import { type FaqsPageProps } from './FaqsPageProps'
|
|
5
|
-
|
|
6
|
-
import { FaqsPageStyled } from './FaqsPage.styled'
|
|
5
|
+
// import './FaqsPage.scss'
|
|
7
6
|
|
|
8
7
|
export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
9
8
|
return (
|
|
10
|
-
<
|
|
9
|
+
<div className='faq-page'>
|
|
11
10
|
<div className='titles'>
|
|
12
11
|
<h1 className='title'>{title}</h1>
|
|
13
12
|
<h2 className='subtitle'>{subtitle}</h2>
|
|
@@ -16,6 +15,6 @@ export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSe
|
|
|
16
15
|
<AsideMenuSection {...asideMenuSectionProps} />
|
|
17
16
|
<FaqSection {...faqSectionProps} />
|
|
18
17
|
</div>
|
|
19
|
-
</
|
|
18
|
+
</div>
|
|
20
19
|
)
|
|
21
20
|
}
|
|
@@ -3,13 +3,13 @@ import { KeyFactsLoadingContentRatafia, KeyFactsResultContentRatafia } from '../
|
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
4
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
5
5
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia';
|
|
6
|
-
import
|
|
6
|
+
// import './KeyFactsResultRatafiaPage.scss'
|
|
7
7
|
export const KeyFactsResultRatafiaPage = ({ header, resultContent, reviewContent, disclaimer, cta, loadingIcon, loadingText, isLoading }) => {
|
|
8
8
|
const loadingContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsLoadingContentRatafia, { documentName: resultContent.documentName, icon: loadingIcon, text: loadingText }) }));
|
|
9
9
|
const loadedContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsResultContentRatafia, { result: resultContent, review: reviewContent }) }));
|
|
10
10
|
const ctaButton = isLoading ? null : (_jsx(Button, { givenClass: 'key-facts-result-page__content__cta', dataQa: cta.dataQa, color: 'primary', label: cta.label, onClick: cta.handleOnClick, noLink: true }));
|
|
11
11
|
const footerDesktop = (_jsx("div", { className: 'key-facts-result-page__footer-desktop', children: _jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }) }));
|
|
12
12
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctaButton] }));
|
|
13
|
-
return (_jsx(
|
|
13
|
+
return (_jsx("div", { className: 'key-facts-result-page', children: _jsx(LayoutRatafia, { header: header, content: isLoading ? loadingContent : loadedContent, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
14
14
|
};
|
|
15
15
|
export default KeyFactsResultRatafiaPage;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
background-color: var(--neutral-neutral-6);
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
4
3
|
|
|
4
|
+
.key-facts-result-page {
|
|
5
|
+
background-color: var(--neutral-neutral-6);
|
|
5
6
|
&__content {
|
|
6
7
|
display: flex;
|
|
7
8
|
flex-direction: column;
|
|
@@ -19,4 +20,4 @@ export const KeyFactsResultRatafiaPageStyled = styled.div `
|
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
+
}
|
|
@@ -5,8 +5,7 @@ import { Button } from '../../atoms'
|
|
|
5
5
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
6
6
|
import { type KeyFactsResultRatafiaPageProps } from './KeyFactsResultRatafiaPageProps.types'
|
|
7
7
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
-
|
|
9
|
-
import { KeyFactsResultRatafiaPageStyled } from './KeyFactsResultRatafiaPage.styled'
|
|
8
|
+
// import './KeyFactsResultRatafiaPage.scss'
|
|
10
9
|
|
|
11
10
|
export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps> = ({
|
|
12
11
|
header,
|
|
@@ -60,7 +59,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
|
|
|
60
59
|
)
|
|
61
60
|
|
|
62
61
|
return (
|
|
63
|
-
<
|
|
62
|
+
<div className='key-facts-result-page'>
|
|
64
63
|
<LayoutRatafia
|
|
65
64
|
header={header}
|
|
66
65
|
content={isLoading ? loadingContent : loadedContent}
|
|
@@ -68,7 +67,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
|
|
|
68
67
|
footerDesktop={footerDesktop}
|
|
69
68
|
footerMobile={footerMobile}
|
|
70
69
|
/>
|
|
71
|
-
</
|
|
70
|
+
</div>
|
|
72
71
|
)
|
|
73
72
|
}
|
|
74
73
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
background-color: var(--neutral-neutral-6);
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
4
3
|
|
|
4
|
+
.login-ratafia-page {
|
|
5
|
+
background-color: var(--neutral-neutral-6);
|
|
5
6
|
&__ctas {
|
|
6
7
|
text-align: center;
|
|
7
8
|
&__button {
|
|
@@ -9,7 +10,6 @@ export const LoginRatafiaPageStyled = styled.div `
|
|
|
9
10
|
width: 100%;
|
|
10
11
|
margin-bottom: 1rem;
|
|
11
12
|
}
|
|
12
|
-
|
|
13
13
|
&__signIn {
|
|
14
14
|
&__button {
|
|
15
15
|
background: none;
|
|
@@ -20,4 +20,4 @@ export const LoginRatafiaPageStyled = styled.div `
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
}
|
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { LayoutRatafia, LoginRatafiaContent } from '../../organisms';
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
4
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
5
|
-
import
|
|
5
|
+
// import './LoginPageRatafia.scss'
|
|
6
6
|
export const LoginRatafiaPage = ({ header, loginContent, ctaAnalizeDocument, ctaSignIn, disclaimer }) => {
|
|
7
7
|
const ctas = (_jsxs("div", { className: 'login-ratafia-page__ctas', children: [_jsx(Button, { givenClass: 'login-ratafia-page__ctas__button', color: 'primary', dataQa: ctaAnalizeDocument.dataQa, label: ctaAnalizeDocument.label, onClick: ctaAnalizeDocument.onClick, noLink: true, disabled: ctaAnalizeDocument.disabled }), _jsxs("span", { className: 'login-ratafia-page__ctas__signIn', children: [ctaSignIn.text, _jsx("button", { className: 'login-ratafia-page__ctas__signIn__button', "data-qa": ctaSignIn.link.dataQa, onClick: ctaSignIn.link.onClick, children: ctaSignIn.link.text })] })] }));
|
|
8
8
|
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, legalAdviceText: disclaimer.legalAdviceText, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
9
9
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctas] }));
|
|
10
10
|
const content = (_jsx(LoginRatafiaContent, { title: loginContent.title, email: loginContent.email, policy: loginContent.policy }));
|
|
11
|
-
return (_jsx(
|
|
11
|
+
return (_jsx("div", { className: 'login-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
12
12
|
};
|
|
@@ -5,7 +5,7 @@ import { Button } from '../../atoms'
|
|
|
5
5
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
6
6
|
import { type LoginRatafiaPageProps } from './LoginRatafiaPageProps'
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
// import './LoginPageRatafia.scss'
|
|
9
9
|
|
|
10
10
|
export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
|
|
11
11
|
header,
|
|
@@ -60,7 +60,7 @@ export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
|
|
|
60
60
|
)
|
|
61
61
|
|
|
62
62
|
return (
|
|
63
|
-
<
|
|
63
|
+
<div className='login-ratafia-page'>
|
|
64
64
|
<LayoutRatafia
|
|
65
65
|
header={header}
|
|
66
66
|
content={content}
|
|
@@ -68,6 +68,6 @@ export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
|
|
|
68
68
|
footerDesktop={footerDesktop}
|
|
69
69
|
footerMobile={footerMobile}
|
|
70
70
|
/>
|
|
71
|
-
</
|
|
71
|
+
</div>
|
|
72
72
|
)
|
|
73
73
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AboutUsContent } from '../../organisms/AboutUsContent';
|
|
3
|
-
|
|
3
|
+
import { AboutUsSectionStyled } from './AboutUsSection.styled';
|
|
4
4
|
const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default AboutUsSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AboutUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const AboutUsSectionStyled = styled.div `
|
|
4
|
+
padding-top: 1.125rem;
|
|
5
|
+
background: var(--primary-main-light-6);
|
|
6
|
+
margin-bottom: 3rem;
|
|
7
|
+
|
|
8
|
+
@media ${device.laptop} {
|
|
9
|
+
margin-bottom: 5rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.about-us-section {
|
|
13
|
+
&__title {
|
|
14
|
+
text-align: center;
|
|
15
|
+
margin-bottom: 1rem;
|
|
16
|
+
&__text {
|
|
17
|
+
text-transform: uppercase;
|
|
18
|
+
font-size: 0.8rem;
|
|
19
|
+
line-height: 1.2;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
font-family: var(--font-sans);
|
|
22
|
+
color: var(--neutral-neutral-2);
|
|
23
|
+
padding-bottom: 0.5rem;
|
|
24
|
+
border-bottom: 1px solid var(--neutral-neutral-3);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__sub-title {
|
|
29
|
+
margin-bottom: 1.5rem;
|
|
30
|
+
text-align: center;
|
|
31
|
+
font-size: 2rem;
|
|
32
|
+
line-height: 1.2;
|
|
33
|
+
letter-spacing: -0.4px;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
font-family: var(--font-serif);
|
|
36
|
+
color: var(--neutral-neutral-1);
|
|
37
|
+
|
|
38
|
+
@media ${device['landscape-tablets']} {
|
|
39
|
+
font-size: 2.3rem;
|
|
40
|
+
max-width: $sm;
|
|
41
|
+
margin: 0 auto 2rem auto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media ${device.desktop} {
|
|
45
|
+
max-width: 792px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media ${device.laptop} {
|
|
49
|
+
font-size: 3rem;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const AboutUsSectionStyled = styled.div`
|
|
5
|
+
padding-top: 1.125rem;
|
|
6
|
+
background: var(--primary-main-light-6);
|
|
7
|
+
margin-bottom: 3rem;
|
|
8
|
+
|
|
9
|
+
@media ${device.laptop} {
|
|
10
|
+
margin-bottom: 5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.about-us-section {
|
|
14
|
+
&__title {
|
|
15
|
+
text-align: center;
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
&__text {
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
font-size: 0.8rem;
|
|
20
|
+
line-height: 1.2;
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
font-family: var(--font-sans);
|
|
23
|
+
color: var(--neutral-neutral-2);
|
|
24
|
+
padding-bottom: 0.5rem;
|
|
25
|
+
border-bottom: 1px solid var(--neutral-neutral-3);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__sub-title {
|
|
30
|
+
margin-bottom: 1.5rem;
|
|
31
|
+
text-align: center;
|
|
32
|
+
font-size: 2rem;
|
|
33
|
+
line-height: 1.2;
|
|
34
|
+
letter-spacing: -0.4px;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
font-family: var(--font-serif);
|
|
37
|
+
color: var(--neutral-neutral-1);
|
|
38
|
+
|
|
39
|
+
@media ${device['landscape-tablets']} {
|
|
40
|
+
font-size: 2.3rem;
|
|
41
|
+
max-width: $sm;
|
|
42
|
+
margin: 0 auto 2rem auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media ${device.desktop} {
|
|
46
|
+
max-width: 792px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media ${device.laptop} {
|
|
50
|
+
font-size: 3rem;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`
|
|
@@ -3,11 +3,11 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { AboutUsContent } from '../../organisms/AboutUsContent'
|
|
5
5
|
import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
|
|
6
|
-
|
|
6
|
+
import { AboutUsSectionStyled } from './AboutUsSection.styled'
|
|
7
7
|
|
|
8
8
|
const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<AboutUsSectionStyled className='about-us-section'>
|
|
11
11
|
<div className='wrapper wrapper--responsive'>
|
|
12
12
|
<div className='about-us-section__title'>
|
|
13
13
|
<span className='about-us-section__title__text'>{title}</span>
|
|
@@ -18,7 +18,7 @@ const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAbout
|
|
|
18
18
|
{contentAboutUs.children}
|
|
19
19
|
</AboutUsContent>
|
|
20
20
|
</div>
|
|
21
|
-
</
|
|
21
|
+
</AboutUsSectionStyled>
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsSeeInContent } from '../../organisms';
|
|
3
|
-
|
|
3
|
+
import { AsSeeInSectionStyled } from './AsSeeInSection.styled';
|
|
4
4
|
const AsSeeInSection = ({ title, contentAsSeeIn, contactSectionTitle, contactSectionText, contactSectionBlocks }) => {
|
|
5
5
|
if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs(AsSeeInSectionStyled, { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), Array.isArray(contactSectionBlocks) && contactSectionBlocks.length > 0 && (_jsxs("div", { className: 'contact-us-section', children: [_jsx("h2", { className: 'contact-us-section__title', children: contactSectionTitle }), _jsx("p", { className: 'contact-us-section__text', children: contactSectionText }), Array.isArray(contactSectionBlocks) && (_jsx("div", { className: 'contact-us-section-blocks', children: contactSectionBlocks.map((item, index) => (_jsxs("div", { className: 'contact-us-section-blocks__item', children: [_jsx("div", { className: 'contact-us-section-blocks__item__image', children: item.image }), _jsx("div", { className: 'contact-us-section-blocks__item__title', children: item.title }), _jsx("p", { className: 'contact-us-section-blocks__item__text', children: item.body })] }, index))) }))] }))] }));
|
|
9
9
|
};
|
|
10
10
|
export default AsSeeInSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AsSeeInSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const AsSeeInSectionStyled = styled.section `
|
|
4
|
+
flex-shrink: 0;
|
|
5
|
+
background-color: get-color(secondary, main-light-5);
|
|
6
|
+
@media ${device.laptop} {
|
|
7
|
+
margin-top: 12rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.as-seen-in-section-box {
|
|
11
|
+
.as-seen-in-section {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
15
|
+
background: get-color(others, white);
|
|
16
|
+
transform: translateY(-5rem);
|
|
17
|
+
padding: 1.5rem 0;
|
|
18
|
+
|
|
19
|
+
@media ${device.laptop} {
|
|
20
|
+
transform: translateY(-50%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__title {
|
|
24
|
+
color: var(--neutral-neutral-2);
|
|
25
|
+
text-align: center;
|
|
26
|
+
font-size: 32px;
|
|
27
|
+
font-family: var(--font-serif);
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
line-height: 42px;
|
|
31
|
+
letter-spacing: -0.3px;
|
|
32
|
+
margin: 1rem 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.contact-us-section {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
transform: translateY(-5rem);
|
|
41
|
+
color: var(--neutral-neutral-1);
|
|
42
|
+
margin-top: 1rem;
|
|
43
|
+
|
|
44
|
+
&__title {
|
|
45
|
+
text-align: center;
|
|
46
|
+
font-size: 32px;
|
|
47
|
+
font-family: $font-serif;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
line-height: 42px;
|
|
51
|
+
letter-spacing: -0.3px;
|
|
52
|
+
margin: 1rem 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__text {
|
|
56
|
+
text-align: center;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
margin: 0 0 2rem 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-blocks {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
gap: 1rem;
|
|
67
|
+
|
|
68
|
+
@media ${device.laptop} {
|
|
69
|
+
flex-direction: row;
|
|
70
|
+
gap: 2.5rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__item {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
align-items: center;
|
|
77
|
+
background-color: white;
|
|
78
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
79
|
+
border-radius: 0.25rem;
|
|
80
|
+
min-width: 200px;
|
|
81
|
+
padding: 1rem;
|
|
82
|
+
|
|
83
|
+
&__image {
|
|
84
|
+
width: 2rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__title {
|
|
88
|
+
margin-top: 1rem;
|
|
89
|
+
line-height: 1rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__text {
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const AsSeeInSectionStyled = styled.section`
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
background-color: get-color(secondary, main-light-5);
|
|
7
|
+
@media ${device.laptop} {
|
|
8
|
+
margin-top: 12rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.as-seen-in-section-box {
|
|
12
|
+
.as-seen-in-section {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
16
|
+
background: get-color(others, white);
|
|
17
|
+
transform: translateY(-5rem);
|
|
18
|
+
padding: 1.5rem 0;
|
|
19
|
+
|
|
20
|
+
@media ${device.laptop} {
|
|
21
|
+
transform: translateY(-50%);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__title {
|
|
25
|
+
color: var(--neutral-neutral-2);
|
|
26
|
+
text-align: center;
|
|
27
|
+
font-size: 32px;
|
|
28
|
+
font-family: var(--font-serif);
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
line-height: 42px;
|
|
32
|
+
letter-spacing: -0.3px;
|
|
33
|
+
margin: 1rem 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.contact-us-section {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
transform: translateY(-5rem);
|
|
42
|
+
color: var(--neutral-neutral-1);
|
|
43
|
+
margin-top: 1rem;
|
|
44
|
+
|
|
45
|
+
&__title {
|
|
46
|
+
text-align: center;
|
|
47
|
+
font-size: 32px;
|
|
48
|
+
font-family: $font-serif;
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: 400;
|
|
51
|
+
line-height: 42px;
|
|
52
|
+
letter-spacing: -0.3px;
|
|
53
|
+
margin: 1rem 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__text {
|
|
57
|
+
text-align: center;
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
margin: 0 0 2rem 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&-blocks {
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
gap: 1rem;
|
|
68
|
+
|
|
69
|
+
@media ${device.laptop} {
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
gap: 2.5rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__item {
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
align-items: center;
|
|
78
|
+
background-color: white;
|
|
79
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
80
|
+
border-radius: 0.25rem;
|
|
81
|
+
min-width: 200px;
|
|
82
|
+
padding: 1rem;
|
|
83
|
+
|
|
84
|
+
&__image {
|
|
85
|
+
width: 2rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__title {
|
|
89
|
+
margin-top: 1rem;
|
|
90
|
+
line-height: 1rem;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__text {
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { AsSeeInContent } from '../../organisms'
|
|
4
4
|
import { type AsSeeInSectionProps } from './AsSeeInSectionProps.types'
|
|
5
|
-
|
|
5
|
+
import { AsSeeInSectionStyled } from './AsSeeInSection.styled'
|
|
6
6
|
|
|
7
7
|
const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
8
8
|
title,
|
|
@@ -16,7 +16,7 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
|
-
<
|
|
19
|
+
<AsSeeInSectionStyled className='as-seen-in-section-box'>
|
|
20
20
|
<div className='as-seen-in-section wrapper'>
|
|
21
21
|
<h2 className='as-seen-in-section__title'>{title}</h2>
|
|
22
22
|
<AsSeeInContent trustWorthyImages={contentAsSeeIn.trustWorthyImages}>{contentAsSeeIn.children}</AsSeeInContent>
|
|
@@ -38,7 +38,7 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
|
38
38
|
)}
|
|
39
39
|
</div>
|
|
40
40
|
)}
|
|
41
|
-
</
|
|
41
|
+
</AsSeeInSectionStyled>
|
|
42
42
|
)
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { AsideMenuSectionStyled } from './AsideMenuSection.styled';
|
|
3
3
|
export const AsideMenuSection = ({ items, title = '', onClickHandler }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(AsideMenuSectionStyled, { className: 'asideMenu', children: [title.length > 0 && _jsx("div", { className: 'title sans-serif --big', children: title }), _jsx("ul", { className: 'list', children: items.map((item, index) => (_jsx("li", { className: `navItem ${index === 0 ? 'inView' : ''}`, id: `list-item-${item.slug}`, onClick: onClickHandler, onKeyUp: () => onClickHandler, role: 'menuitem', children: onClickHandler !== undefined ? _jsx("span", { children: item.text }) : _jsx("a", { href: `#${item.slug}`, children: item.text }) }, item.id))) })] }));
|
|
5
5
|
};
|