@npm_leadtech/legal-lib-components 5.6.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +1167 -3
- package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +6 -0
- package/dist/images/componentsSvg/RatafiaIcon24px.js +2 -0
- package/dist/images/componentsSvg/RatafiaIcon24px.tsx +18 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.js +2 -3
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +26 -28
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +26 -28
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +16 -22
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +5 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +14 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +14 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +10 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +5 -3
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +5 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +2 -3
- 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.scss +52 -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.scss +0 -1
- 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.scss +50 -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.scss +57 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/BlogSection/BlogSection.js +1 -2
- package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +2 -3
- package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
- package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss} +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.scss +1 -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.scss +31 -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.scss +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +1 -2
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +2 -3
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +12 -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.ts → HowGetYourFormsSection.scss} +8 -7
- 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.scss +41 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +3 -6
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +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.ts → LearnMoreSection.scss} +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.scss +120 -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.scss +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.scss +42 -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.scss +53 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +4 -3
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +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.ts → TryUsSection.scss} +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.scss +62 -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.scss +35 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +4 -3
- package/dist/src/globalStyles/styles.scss +30 -0
- 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.styled.d.ts +0 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +0 -53
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +0 -54
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +0 -36
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -37
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +0 -51
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +0 -52
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +0 -54
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +0 -55
- package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +0 -1
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -32
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -33
- package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +0 -1
- package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -89
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -27
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -28
- package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +0 -1
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +0 -29
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +0 -30
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -56
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -57
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +0 -14
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +0 -15
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -10
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -11
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -24
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +0 -39
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +0 -40
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +0 -1
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +0 -40
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +0 -41
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +0 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +0 -106
- package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +0 -1
- package/dist/src/components/sections/LegalSection/LegalSection.styled.js +0 -121
- package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +0 -122
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -46
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -47
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +0 -43
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +0 -44
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +0 -55
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +0 -56
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +0 -70
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +0 -71
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -10
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -11
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +0 -23
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +0 -1
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +0 -63
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +0 -64
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -36
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -37
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export const RatafiaIcon24px = ({ className }) => (_jsx("svg", { width: '17', height: '16', viewBox: '0 0 17 16', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: _jsx("g", { id: 'Icon/Symbol/AI_24px', children: _jsx("path", { id: 'path', fillRule: 'evenodd', clipRule: 'evenodd', d: 'M13.6732 1.14034C13.4454 0.509208 12.5528 0.509208 12.3251 1.14034L11.9922 2.06282C11.9198 2.26336 11.7619 2.42127 11.5614 2.49363L10.6389 2.82651C10.0078 3.05426 10.0078 3.94684 10.6389 4.17458L11.5614 4.50746C11.7619 4.57982 11.9198 4.73773 11.9922 4.93827L12.3251 5.86075C12.5528 6.49189 13.4454 6.49188 13.6732 5.86075L14.006 4.93827C14.0784 4.73773 14.2363 4.57982 14.4369 4.50746L15.3593 4.17458C15.9905 3.94684 15.9905 3.05426 15.3593 2.82651L14.4369 2.49363C14.2363 2.42127 14.0784 2.26336 14.006 2.06282L13.6732 1.14034ZM8.53354 4.24146C8.07805 2.97919 6.29289 2.97919 5.8374 4.24146L5.07821 6.34533C4.93348 6.74641 4.61768 7.06222 4.21659 7.20695L2.11272 7.96613C0.850447 8.42162 0.850449 10.2068 2.11272 10.6623L4.21659 11.4215C4.61768 11.5662 4.93348 11.882 5.07821 12.2831L5.8374 14.387C6.29289 15.6492 8.07805 15.6492 8.53354 14.387L9.29272 12.2831C9.43745 11.882 9.75326 11.5662 10.1543 11.4215L12.2582 10.6623C13.5205 10.2068 13.5205 8.42162 12.2582 7.96613L10.1543 7.20695C9.75326 7.06222 9.43745 6.74641 9.29272 6.34533L8.53354 4.24146Z', fill: '#078080' }) }) }));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
interface RatafiaIcon24pxProps {
|
|
3
|
+
className: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export const RatafiaIcon24px: FC<RatafiaIcon24pxProps> = ({ className }: RatafiaIcon24pxProps) => (
|
|
7
|
+
<svg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
8
|
+
<g id='Icon/Symbol/AI_24px'>
|
|
9
|
+
<path
|
|
10
|
+
id='path'
|
|
11
|
+
fillRule='evenodd'
|
|
12
|
+
clipRule='evenodd'
|
|
13
|
+
d='M13.6732 1.14034C13.4454 0.509208 12.5528 0.509208 12.3251 1.14034L11.9922 2.06282C11.9198 2.26336 11.7619 2.42127 11.5614 2.49363L10.6389 2.82651C10.0078 3.05426 10.0078 3.94684 10.6389 4.17458L11.5614 4.50746C11.7619 4.57982 11.9198 4.73773 11.9922 4.93827L12.3251 5.86075C12.5528 6.49189 13.4454 6.49188 13.6732 5.86075L14.006 4.93827C14.0784 4.73773 14.2363 4.57982 14.4369 4.50746L15.3593 4.17458C15.9905 3.94684 15.9905 3.05426 15.3593 2.82651L14.4369 2.49363C14.2363 2.42127 14.0784 2.26336 14.006 2.06282L13.6732 1.14034ZM8.53354 4.24146C8.07805 2.97919 6.29289 2.97919 5.8374 4.24146L5.07821 6.34533C4.93348 6.74641 4.61768 7.06222 4.21659 7.20695L2.11272 7.96613C0.850447 8.42162 0.850449 10.2068 2.11272 10.6623L4.21659 11.4215C4.61768 11.5662 4.93348 11.882 5.07821 12.2831L5.8374 14.387C6.29289 15.6492 8.07805 15.6492 8.53354 14.387L9.29272 12.2831C9.43745 11.882 9.75326 11.5662 10.1543 11.4215L12.2582 10.6623C13.5205 10.2068 13.5205 8.42162 12.2582 7.96613L10.1543 7.20695C9.75326 7.06222 9.43745 6.74641 9.29272 6.34533L8.53354 4.24146Z'
|
|
14
|
+
fill='#078080'
|
|
15
|
+
/>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
18
|
+
)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ContactCardStyled } from './ContactCard.styled';
|
|
3
3
|
const ContactCard = ({ id, title, image, body = '', url, isClickableOnDesktop = true, dataQa }) => {
|
|
4
|
-
|
|
5
|
-
return (_jsx(ContactCardStyled, { children: isClickableOnDesktop ? (_jsx("a", { className: 'contact-card', "data-qa": dataQa, href: url, target: '_self', children: contactCardContent })) : (_jsxs("div", { children: [_jsx("div", { className: 'contact-card contact-card-desktop', "data-qa": dataQa, children: contactCardContent }), _jsx("a", { className: 'contact-card contact-card-mobile', "data-qa": dataQa, href: url, target: '_self', children: contactCardContent })] })) }, id));
|
|
4
|
+
return (_jsxs(ContactCardStyled, { className: 'contact-card', children: [_jsx("div", { className: 'contact-card__icon', children: isClickableOnDesktop ? (_jsx("a", { className: 'contact-card__icon__image', "data-qa": dataQa, href: url, target: '_self', children: image })) : (_jsxs("div", { children: [_jsx("div", { className: 'contact-card__icon__image contact-card__icon__image-desktop', children: image }), _jsx("a", { className: 'contact-card__icon__image contact-card__icon__image-mobile', "data-qa": dataQa, href: url, children: image })] })) }), _jsx("div", { className: 'contact-card__title', children: title }), _jsx("p", { className: 'contact-card__text', children: body })] }, id));
|
|
6
5
|
};
|
|
7
6
|
export default ContactCard;
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const ContactCardStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
background-color: white;
|
|
8
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
9
|
+
border-radius: 0.25rem;
|
|
10
|
+
min-width: 200px;
|
|
11
|
+
padding: 1rem;
|
|
12
|
+
|
|
4
13
|
.contact-card {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
&__icon {
|
|
15
|
+
&__image {
|
|
16
|
+
width: 2rem;
|
|
17
|
+
}
|
|
18
|
+
&__image-desktop {
|
|
19
|
+
display: none;
|
|
20
|
+
@media ${device.laptop} {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&__image-mobile {
|
|
25
|
+
@media ${device.laptop} {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
19
29
|
}
|
|
20
30
|
&__title {
|
|
21
31
|
margin-top: 1rem;
|
|
22
|
-
|
|
23
|
-
line-height: 1.375rem;
|
|
32
|
+
line-height: 1rem;
|
|
24
33
|
}
|
|
25
34
|
&__text {
|
|
26
|
-
font-size:
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.contact-card-desktop {
|
|
30
|
-
display: none;
|
|
31
|
-
@media ${device.desktop} {
|
|
32
|
-
display: flex;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.contact-card-mobile {
|
|
36
|
-
@media ${device.desktop} {
|
|
37
|
-
display: none;
|
|
35
|
+
font-size: 14px;
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
38
|
`;
|
|
@@ -2,40 +2,38 @@ import { device } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const ContactCardStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
background-color: white;
|
|
9
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
10
|
+
border-radius: 0.25rem;
|
|
11
|
+
min-width: 200px;
|
|
12
|
+
padding: 1rem;
|
|
13
|
+
|
|
5
14
|
.contact-card {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
&__icon {
|
|
16
|
+
&__image {
|
|
17
|
+
width: 2rem;
|
|
18
|
+
}
|
|
19
|
+
&__image-desktop {
|
|
20
|
+
display: none;
|
|
21
|
+
@media ${device.laptop} {
|
|
22
|
+
display: block;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&__image-mobile {
|
|
26
|
+
@media ${device.laptop} {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
20
30
|
}
|
|
21
31
|
&__title {
|
|
22
32
|
margin-top: 1rem;
|
|
23
|
-
|
|
24
|
-
line-height: 1.375rem;
|
|
33
|
+
line-height: 1rem;
|
|
25
34
|
}
|
|
26
35
|
&__text {
|
|
27
|
-
font-size:
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.contact-card-desktop {
|
|
31
|
-
display: none;
|
|
32
|
-
@media ${device.desktop} {
|
|
33
|
-
display: flex;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.contact-card-mobile {
|
|
37
|
-
@media ${device.desktop} {
|
|
38
|
-
display: none;
|
|
36
|
+
font-size: 14px;
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
`
|
|
@@ -13,30 +13,24 @@ const ContactCard: FC<ContactCardProps> = ({
|
|
|
13
13
|
isClickableOnDesktop = true,
|
|
14
14
|
dataQa
|
|
15
15
|
}) => {
|
|
16
|
-
const contactCardContent = (
|
|
17
|
-
<>
|
|
18
|
-
<div className='contact-card__image'>{image}</div>
|
|
19
|
-
<div className='contact-card__title'>{title}</div>
|
|
20
|
-
<p className='contact-card__text'>{body}</p>
|
|
21
|
-
</>
|
|
22
|
-
)
|
|
23
|
-
|
|
24
16
|
return (
|
|
25
|
-
<ContactCardStyled key={id}>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
) : (
|
|
31
|
-
<div>
|
|
32
|
-
<div className='contact-card contact-card-desktop' data-qa={dataQa}>
|
|
33
|
-
{contactCardContent}
|
|
34
|
-
</div>
|
|
35
|
-
<a className='contact-card contact-card-mobile' data-qa={dataQa} href={url} target='_self'>
|
|
36
|
-
{contactCardContent}
|
|
17
|
+
<ContactCardStyled className='contact-card' key={id}>
|
|
18
|
+
<div className='contact-card__icon'>
|
|
19
|
+
{isClickableOnDesktop ? (
|
|
20
|
+
<a className='contact-card__icon__image' data-qa={dataQa} href={url} target='_self'>
|
|
21
|
+
{image}
|
|
37
22
|
</a>
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
) : (
|
|
24
|
+
<div>
|
|
25
|
+
<div className='contact-card__icon__image contact-card__icon__image-desktop'>{image}</div>
|
|
26
|
+
<a className='contact-card__icon__image contact-card__icon__image-mobile' data-qa={dataQa} href={url}>
|
|
27
|
+
{image}
|
|
28
|
+
</a>
|
|
29
|
+
</div>
|
|
30
|
+
)}
|
|
31
|
+
</div>
|
|
32
|
+
<div className='contact-card__title'>{title}</div>
|
|
33
|
+
<p className='contact-card__text'>{body}</p>
|
|
40
34
|
</ContactCardStyled>
|
|
41
35
|
)
|
|
42
36
|
}
|
|
@@ -2,14 +2,18 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { DocumentStatusStyled } from './DocumentStatus.styled';
|
|
3
3
|
import { Done24px } from '../../../../images/componentsSvg/Done24px';
|
|
4
4
|
import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p';
|
|
5
|
+
import { RatafiaIcon24px } from '../../../../images/componentsSvg/RatafiaIcon24px';
|
|
5
6
|
import { Time24px } from '../../../../images/componentsSvg/Time24px';
|
|
6
|
-
const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText }) => {
|
|
7
|
+
const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText, statusAIReviewedText }) => {
|
|
7
8
|
if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
|
|
8
9
|
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-completed', children: [_jsx(Done24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusCompletedText })] }));
|
|
9
10
|
}
|
|
10
11
|
if (type === 'new') {
|
|
11
12
|
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-new', children: [_jsx(NewRelease24p, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusNewText })] }));
|
|
12
13
|
}
|
|
14
|
+
if (type === 'ai_reviewed') {
|
|
15
|
+
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-ai-reviewed', children: [_jsx(RatafiaIcon24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusAIReviewedText })] }));
|
|
16
|
+
}
|
|
13
17
|
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --in-progress', children: [_jsx(Time24px, { className: 'icon' }), _jsx("span", { className: 'sans-serif --small', children: statusInProgressText })] }));
|
|
14
18
|
};
|
|
15
19
|
export default DocumentStatus;
|
|
@@ -61,5 +61,19 @@ export const DocumentStatusStyled = styled.div `
|
|
|
61
61
|
margin-right: 1.4rem;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
&.--is-ai-reviewed {
|
|
66
|
+
padding: 0.25rem;
|
|
67
|
+
gap: 0.25rem;
|
|
68
|
+
background-color: var(--primary-main-light-5);
|
|
69
|
+
border-color: var(--primary-main-light-3);
|
|
70
|
+
color: var(--primary-main);
|
|
71
|
+
|
|
72
|
+
svg {
|
|
73
|
+
path {
|
|
74
|
+
fill: var(--primary-main);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
64
78
|
}
|
|
65
79
|
`;
|
|
@@ -62,5 +62,19 @@ export const DocumentStatusStyled = styled.div`
|
|
|
62
62
|
margin-right: 1.4rem;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
&.--is-ai-reviewed {
|
|
67
|
+
padding: 0.25rem;
|
|
68
|
+
gap: 0.25rem;
|
|
69
|
+
background-color: var(--primary-main-light-5);
|
|
70
|
+
border-color: var(--primary-main-light-3);
|
|
71
|
+
color: var(--primary-main);
|
|
72
|
+
|
|
73
|
+
svg {
|
|
74
|
+
path {
|
|
75
|
+
fill: var(--primary-main);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
65
79
|
}
|
|
66
80
|
`
|
|
@@ -4,13 +4,15 @@ import { type DocumentStatusProps } from './DocumentStatusProps.types'
|
|
|
4
4
|
import { DocumentStatusStyled } from './DocumentStatus.styled'
|
|
5
5
|
import { Done24px } from '../../../../images/componentsSvg/Done24px'
|
|
6
6
|
import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p'
|
|
7
|
+
import { RatafiaIcon24px } from '../../../../images/componentsSvg/RatafiaIcon24px'
|
|
7
8
|
import { Time24px } from '../../../../images/componentsSvg/Time24px'
|
|
8
9
|
|
|
9
10
|
const DocumentStatus: FC<DocumentStatusProps> = ({
|
|
10
11
|
type,
|
|
11
12
|
statusCompletedText,
|
|
12
13
|
statusNewText,
|
|
13
|
-
statusInProgressText
|
|
14
|
+
statusInProgressText,
|
|
15
|
+
statusAIReviewedText
|
|
14
16
|
}) => {
|
|
15
17
|
if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
|
|
16
18
|
return (
|
|
@@ -26,6 +28,13 @@ const DocumentStatus: FC<DocumentStatusProps> = ({
|
|
|
26
28
|
</DocumentStatusStyled>
|
|
27
29
|
)
|
|
28
30
|
}
|
|
31
|
+
if (type === 'ai_reviewed') {
|
|
32
|
+
return (
|
|
33
|
+
<DocumentStatusStyled data-testid='document-status' className={'document-status --is-ai-reviewed'}>
|
|
34
|
+
<RatafiaIcon24px className='icon' /> <span className={'sans-serif --small'}>{statusAIReviewedText}</span>
|
|
35
|
+
</DocumentStatusStyled>
|
|
36
|
+
)
|
|
37
|
+
}
|
|
29
38
|
return (
|
|
30
39
|
<DocumentStatusStyled data-testid='document-status' className={'document-status --in-progress'}>
|
|
31
40
|
<Time24px className='icon' />
|
|
@@ -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
|
}
|