@npm_leadtech/legal-lib-components 5.3.21 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +1043 -2
- package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +4 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.js +6 -0
- package/dist/src/components/{sections/BlogSection/BlogSection.styled.d.ts → atoms/ContactCard/ContactCard.styled.d.ts} +1 -1
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +38 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +39 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +38 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +9 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +1 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +9 -0
- package/dist/src/components/atoms/ContactCard/index.d.ts +2 -0
- package/dist/src/components/atoms/ContactCard/index.js +1 -0
- package/dist/src/components/atoms/ContactCard/index.ts +2 -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/atoms/index.d.ts +1 -0
- package/dist/src/components/atoms/index.js +1 -0
- package/dist/src/components/atoms/index.ts +1 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +4 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.js +7 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +1 -0
- package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js → molecules/ContactCardList/ContactCardList.styled.js} +4 -5
- package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts → molecules/ContactCardList/ContactCardList.styled.ts} +4 -5
- package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +17 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +4 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +1 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ContactCardList/index.d.ts +2 -0
- package/dist/src/components/molecules/ContactCardList/index.js +1 -0
- package/dist/src/components/molecules/ContactCardList/index.ts +2 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +3 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
- package/dist/src/components/molecules/index.d.ts +1 -0
- package/dist/src/components/molecules/index.js +1 -0
- package/dist/src/components/molecules/index.ts +1 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +4 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.js +9 -0
- package/dist/src/components/{sections/AboutUsSection/AboutUsSection.styled.d.ts → organisms/ContactContent/ContactContent.styled.d.ts} +1 -1
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +28 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +29 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.tsx +20 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +6 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +1 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +7 -0
- package/dist/src/components/organisms/ContactContent/index.d.ts +2 -0
- package/dist/src/components/organisms/ContactContent/index.js +1 -0
- package/dist/src/components/organisms/ContactContent/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/components/organisms/index.js +1 -0
- package/dist/src/components/organisms/index.ts +1 -0
- 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 +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +36 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +5 -21
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +3 -6
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +3 -6
- 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 +25 -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 +25 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -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 -97
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -98
- 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.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/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,57 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.features-ratafia-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
padding: 2rem 1.5rem;
|
|
13
|
+
|
|
14
|
+
@include laptop {
|
|
15
|
+
padding: 3rem 2rem;
|
|
16
|
+
gap: 1.5rem;
|
|
17
|
+
}
|
|
18
|
+
@include desktop-xl {
|
|
19
|
+
padding: 3rem 0;
|
|
20
|
+
gap: 5rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__wrapper {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
align-self: stretch;
|
|
28
|
+
|
|
29
|
+
width: 100%;
|
|
30
|
+
max-width: 1200px;
|
|
31
|
+
|
|
32
|
+
@include laptop {
|
|
33
|
+
gap: 1.5rem;
|
|
34
|
+
}
|
|
35
|
+
@include desktop-xl {
|
|
36
|
+
gap: 5rem;
|
|
37
|
+
}
|
|
38
|
+
&__content {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__children {
|
|
43
|
+
display: none;
|
|
44
|
+
//TODO: Check again with the real container;
|
|
45
|
+
min-width: 50%;
|
|
46
|
+
|
|
47
|
+
@include desktop {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
align-items: center;
|
|
51
|
+
}
|
|
52
|
+
img {
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { FeaturesRatafiaContent } from '../../organisms'
|
|
4
4
|
import { type FeaturesRatafiaSectionProps } from './FeaturesRatafiaSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './FeaturesRatafiaSection.scss'
|
|
6
6
|
|
|
7
7
|
const FeaturesRatafiaSection: FC<FeaturesRatafiaSectionProps> = ({ content, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<section className='features-ratafia-section'>
|
|
10
10
|
<div className='features-ratafia-section__wrapper'>
|
|
11
11
|
<div className='features-ratafia-section__wrapper__content'>
|
|
12
12
|
<FeaturesRatafiaContent
|
|
@@ -18,7 +18,7 @@ const FeaturesRatafiaSection: FC<FeaturesRatafiaSectionProps> = ({ content, chil
|
|
|
18
18
|
</div>
|
|
19
19
|
<span className='features-ratafia-section__wrapper__children'>{children}</span>
|
|
20
20
|
</div>
|
|
21
|
-
</
|
|
21
|
+
</section>
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CardFunctionality } from '../../organisms';
|
|
3
|
-
import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled';
|
|
4
3
|
// import './FunctionalityCardsSection.scss'
|
|
5
4
|
export const FunctionalityCardsSection = ({ cards = [] }) => {
|
|
6
5
|
if (cards.length === 0)
|
|
7
6
|
return null;
|
|
8
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("section", { className: 'functionality-cards', children: cards.map((card) => (_jsx(CardFunctionality, { ...card }, card.id))) }));
|
|
9
8
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.functionality-cards {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: $global-gap;
|
|
8
|
+
margin-bottom: 2rem;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
@include laptop {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
width: 50%;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx
CHANGED
|
@@ -2,17 +2,16 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { CardFunctionality } from '../../organisms'
|
|
4
4
|
import { type FunctionalityCardsSectionProps } from './FunctionalityCardsSectionProps'
|
|
5
|
-
import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled'
|
|
6
5
|
// import './FunctionalityCardsSection.scss'
|
|
7
6
|
|
|
8
7
|
export const FunctionalityCardsSection: React.FC<FunctionalityCardsSectionProps> = ({ cards = [] }) => {
|
|
9
8
|
if (cards.length === 0) return null
|
|
10
9
|
|
|
11
10
|
return (
|
|
12
|
-
<
|
|
11
|
+
<section className='functionality-cards'>
|
|
13
12
|
{cards.map((card) => (
|
|
14
13
|
<CardFunctionality key={card.id} {...card} />
|
|
15
14
|
))}
|
|
16
|
-
</
|
|
15
|
+
</section>
|
|
17
16
|
)
|
|
18
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { GuidelinesContent } from '../../organisms/GuidelinesContent';
|
|
3
|
-
import
|
|
3
|
+
// import './GuidelinesSection.scss'
|
|
4
4
|
const GuidelinesSection = ({ contentGuidelines }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: 'guidelines-section', children: _jsx(GuidelinesContent, { title: contentGuidelines.title, image: contentGuidelines.image, detail: contentGuidelines.detail, children: contentGuidelines.children }) }));
|
|
6
6
|
};
|
|
7
7
|
export default GuidelinesSection;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.guidelines-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
background: get-color(neutral, neutral-6);
|
|
9
|
+
padding-top: 2rem;
|
|
10
|
+
padding-bottom: 2rem;
|
|
11
|
+
margin-top: 3rem;
|
|
12
|
+
}
|
|
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { GuidelinesContent } from '../../organisms/GuidelinesContent'
|
|
4
4
|
import { type GuidelinesSectionProps } from './GuidelinesSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './GuidelinesSection.scss'
|
|
6
6
|
|
|
7
7
|
const GuidelinesSection: FC<GuidelinesSectionProps> = ({ contentGuidelines }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<section className='guidelines-section'>
|
|
10
10
|
<GuidelinesContent
|
|
11
11
|
title={contentGuidelines.title}
|
|
12
12
|
image={contentGuidelines.image}
|
|
@@ -14,7 +14,7 @@ const GuidelinesSection: FC<GuidelinesSectionProps> = ({ contentGuidelines }) =>
|
|
|
14
14
|
>
|
|
15
15
|
{contentGuidelines.children}
|
|
16
16
|
</GuidelinesContent>
|
|
17
|
-
</
|
|
17
|
+
</section>
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { HowGetYourFormsSectionStyled } from './HowGetYourFormsSection.styled';
|
|
3
2
|
import { ListStepsGetForm } from '../../organisms';
|
|
4
3
|
import imageFile from '../../../../images/png/graphics-grey-02.png';
|
|
4
|
+
// import './HowGetYourFormsSection.scss'
|
|
5
5
|
const HowGetYourFormsSection = ({ title = '', steps = [], hasBackgroundImage = true }) => {
|
|
6
6
|
if (steps.length === 0)
|
|
7
7
|
return null;
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs("section", { className: 'how-it-works-wrapper', style: hasBackgroundImage ? { backgroundImage: `url(${imageFile})` } : {}, children: [_jsx("p", { className: 'works-title serif --super-large', children: title }), _jsx(ListStepsGetForm, { steps: steps })] }));
|
|
9
9
|
};
|
|
10
10
|
export default HowGetYourFormsSection;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.how-it-works-wrapper {
|
|
5
5
|
background-color: var(--neutral-neutral-6);
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
@include laptop {
|
|
7
8
|
background-repeat: no-repeat;
|
|
8
9
|
background-position: top right;
|
|
9
10
|
background-size: 21rem;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
@media only screen and (max-width: $
|
|
13
|
+
@media only screen and (max-width: #{$md}) {
|
|
13
14
|
background-image: none !important;
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -18,8 +19,8 @@ export const HowGetYourFormsSectionStyled = styled.section`
|
|
|
18
19
|
font-family: var(--font-serif);
|
|
19
20
|
text-align: center;
|
|
20
21
|
padding-top: 4rem;
|
|
21
|
-
@media only screen and (max-width: $
|
|
22
|
+
@media only screen and (max-width: #{$md}) {
|
|
22
23
|
padding-top: 2.5rem;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
+
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
4
|
import { type HowGetYourFormsSectionProps } from './HowGetYourFormsSectionProps.types'
|
|
5
|
-
import { HowGetYourFormsSectionStyled } from './HowGetYourFormsSection.styled'
|
|
6
5
|
import { ListStepsGetForm } from '../../organisms'
|
|
7
6
|
import imageFile from '../../../../images/png/graphics-grey-02.png'
|
|
7
|
+
// import './HowGetYourFormsSection.scss'
|
|
8
8
|
|
|
9
9
|
const HowGetYourFormsSection: React.FC<HowGetYourFormsSectionProps> = ({
|
|
10
10
|
title = '',
|
|
@@ -13,13 +13,13 @@ const HowGetYourFormsSection: React.FC<HowGetYourFormsSectionProps> = ({
|
|
|
13
13
|
}) => {
|
|
14
14
|
if (steps.length === 0) return null
|
|
15
15
|
return (
|
|
16
|
-
<
|
|
16
|
+
<section
|
|
17
17
|
className='how-it-works-wrapper'
|
|
18
18
|
style={hasBackgroundImage ? { backgroundImage: `url(${imageFile})` } : {}}
|
|
19
19
|
>
|
|
20
20
|
<p className='works-title serif --super-large'>{title}</p>
|
|
21
21
|
<ListStepsGetForm steps={steps} />
|
|
22
|
-
</
|
|
22
|
+
</section>
|
|
23
23
|
)
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent';
|
|
3
|
-
import
|
|
3
|
+
// import './JumbotronRatafiaSection.scss'
|
|
4
4
|
const JumbotronRatafiaSection = ({ content, children }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: 'jumbotron-ratafia-section background-ratafia-animation', id: 'ratafia-jumbotron', children: _jsxs("div", { className: 'jumbotron-ratafia-section__wrapper', children: [_jsx(JumbotronRatafiaContent, { title: content.title, tags: content.tags, body: content.body }), _jsx("span", { className: 'jumbotron-ratafia-section__wrapper__children', children: children })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default JumbotronRatafiaSection;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
2
|
+
|
|
3
|
+
.jumbotron-ratafia-section {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-content: center;
|
|
7
|
+
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
padding: 2.5rem 1.5rem 6.5rem 1.5rem;
|
|
11
|
+
|
|
12
|
+
@include desktop {
|
|
13
|
+
padding: 5rem 2rem 6.5rem 2rem;
|
|
14
|
+
}
|
|
15
|
+
@include desktop-xl {
|
|
16
|
+
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
align-self: stretch;
|
|
25
|
+
|
|
26
|
+
gap: 2.5rem;
|
|
27
|
+
|
|
28
|
+
max-width: 1200px;
|
|
29
|
+
|
|
30
|
+
@include landscape-tablets {
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
}
|
|
33
|
+
@include desktop-xl {
|
|
34
|
+
gap: 5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__children {
|
|
38
|
+
flex: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -2,19 +2,16 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent'
|
|
4
4
|
import { type JumbotronRatafiaSectionProps } from './JumbotronRatafiaSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './JumbotronRatafiaSection.scss'
|
|
6
6
|
|
|
7
7
|
const JumbotronRatafiaSection: FC<JumbotronRatafiaSectionProps> = ({ content, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
10
|
-
className='jumbotron-ratafia-section background-ratafia-animation'
|
|
11
|
-
id='ratafia-jumbotron'
|
|
12
|
-
>
|
|
9
|
+
<section className='jumbotron-ratafia-section background-ratafia-animation' id='ratafia-jumbotron'>
|
|
13
10
|
<div className='jumbotron-ratafia-section__wrapper'>
|
|
14
11
|
<JumbotronRatafiaContent title={content.title} tags={content.tags} body={content.body} />
|
|
15
12
|
<span className='jumbotron-ratafia-section__wrapper__children'>{children}</span>
|
|
16
13
|
</div>
|
|
17
|
-
</
|
|
14
|
+
</section>
|
|
18
15
|
)
|
|
19
16
|
}
|
|
20
17
|
|
package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { JumbotronSimplifiedSectionStyled } from './JumbotronSimplifiedSection.styled';
|
|
3
2
|
import { Tagline } from '../../atoms';
|
|
3
|
+
// import './JumbotronSimplifiedSection.scss'
|
|
4
4
|
export const JumbotronSimplifiedSection = ({ wrapperClassName = '', taglineProps, title, children }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: `jumbotron--simplified ${wrapperClassName}`, children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx(Tagline, { ...taglineProps }), _jsx("h1", { className: 'serif jumbotron--simplified__title', children: title }), children] }) }));
|
|
6
6
|
};
|
package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.jumbotron--simplified {
|
|
5
|
+
background: var(--primary-main-light-6);
|
|
6
|
+
margin-bottom: -12rem;
|
|
7
|
+
text-align: center;
|
|
8
|
+
padding-bottom: 13rem;
|
|
9
|
+
|
|
10
|
+
@include landscape-tablets {
|
|
11
|
+
padding: 1.125rem 0 14.875rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.jumbotron--simplified__title {
|
|
16
|
+
font-size: 1.75rem;
|
|
17
|
+
line-height: 2.25rem;
|
|
18
|
+
margin-bottom: 0.5rem;
|
|
19
|
+
|
|
20
|
+
@include landscape-tablets {
|
|
21
|
+
font-size: 2.25rem;
|
|
22
|
+
line-height: 3rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include desktop {
|
|
26
|
+
font-size: 3rem;
|
|
27
|
+
line-height: 3.375rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.jumbotron--simplified__subtitle {
|
|
32
|
+
color: var(--neutral-neutral-1);
|
|
33
|
+
font-size: 1rem;
|
|
34
|
+
line-height: 1.5rem;
|
|
35
|
+
|
|
36
|
+
@include desktop {
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
margin: 0 auto;
|
|
39
|
+
max-width: 49rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type JumbotronSimplifiedSectionProps } from './JumbotronSimplifiedSectionProps.types'
|
|
4
|
-
import { JumbotronSimplifiedSectionStyled } from './JumbotronSimplifiedSection.styled'
|
|
5
4
|
import { Tagline } from '../../atoms'
|
|
5
|
+
// import './JumbotronSimplifiedSection.scss'
|
|
6
6
|
|
|
7
7
|
export const JumbotronSimplifiedSection: FC<JumbotronSimplifiedSectionProps> = ({
|
|
8
8
|
wrapperClassName = '',
|
|
@@ -11,12 +11,12 @@ export const JumbotronSimplifiedSection: FC<JumbotronSimplifiedSectionProps> = (
|
|
|
11
11
|
children
|
|
12
12
|
}) => {
|
|
13
13
|
return (
|
|
14
|
-
<
|
|
14
|
+
<section className={`jumbotron--simplified ${wrapperClassName}`}>
|
|
15
15
|
<div className='wrapper wrapper--responsive'>
|
|
16
16
|
<Tagline {...taglineProps} />
|
|
17
17
|
<h1 className='serif jumbotron--simplified__title'>{title}</h1>
|
|
18
18
|
{children}
|
|
19
19
|
</div>
|
|
20
|
-
</
|
|
20
|
+
</section>
|
|
21
21
|
)
|
|
22
22
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './LearnMoreSection.scss'
|
|
4
4
|
const LearnMoreSection = ({ title, description, cta, faqs }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: 'learn-more__wrapper', children: _jsxs("div", { className: 'wrapper', children: [_jsxs("div", { className: 'learn-more__info', children: [_jsx("h2", { className: 'learn-more__title serif --super-large', children: title }), _jsx("p", { className: 'learn-more__description sans-serif --regular', children: description })] }), _jsxs("div", { className: 'learn-more__faqs', children: [_jsx("ul", { children: faqs }), _jsx(Button, { dataQa: '', color: 'primary3', label: cta, link: '/faqs/' })] })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default LearnMoreSection;
|