@npm_leadtech/legal-lib-components 5.3.14 → 5.3.21
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 +0 -1075
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +3 -5
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +3 -5
- package/dist/src/components/atoms/index.d.ts +0 -1
- package/dist/src/components/atoms/index.js +0 -1
- package/dist/src/components/atoms/index.ts +0 -1
- package/dist/src/components/molecules/Article/Article.js +2 -3
- package/dist/src/components/molecules/Article/Article.scss +0 -17
- package/dist/src/components/molecules/Article/Article.tsx +2 -17
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
- package/dist/src/components/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
- package/dist/src/components/organisms/index.d.ts +0 -1
- package/dist/src/components/organisms/index.js +0 -1
- package/dist/src/components/organisms/index.ts +0 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
- package/dist/src/components/{organisms/ContactContent/ContactContent.styled.d.ts → sections/AboutUsSection/AboutUsSection.styled.d.ts} +1 -1
- 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 +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +97 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +98 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +21 -5
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +6 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -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 +4 -4
- package/dist/src/components/{atoms/ContactCard/ContactCard.styled.d.ts → sections/BlogSection/BlogSection.styled.d.ts} +1 -1
- 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 +8 -11
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -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/{molecules/ContactCardList/ContactCardList.styled.js → sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js} +5 -4
- package/dist/src/components/{molecules/ContactCardList/ContactCardList.styled.ts → sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts} +5 -4
- 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/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +0 -25
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
- package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +0 -4
- package/dist/src/components/atoms/ContactCard/ContactCard.js +0 -6
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +0 -38
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +0 -39
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +0 -38
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +0 -9
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +0 -1
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +0 -9
- package/dist/src/components/atoms/ContactCard/index.d.ts +0 -2
- package/dist/src/components/atoms/ContactCard/index.js +0 -1
- package/dist/src/components/atoms/ContactCard/index.ts +0 -2
- package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +0 -4
- package/dist/src/components/molecules/ContactCardList/ContactCardList.js +0 -7
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +0 -17
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +0 -4
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +0 -1
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +0 -5
- package/dist/src/components/molecules/ContactCardList/index.d.ts +0 -2
- package/dist/src/components/molecules/ContactCardList/index.js +0 -1
- package/dist/src/components/molecules/ContactCardList/index.ts +0 -2
- package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +0 -4
- package/dist/src/components/organisms/ContactContent/ContactContent.js +0 -9
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +0 -28
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +0 -29
- package/dist/src/components/organisms/ContactContent/ContactContent.tsx +0 -20
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +0 -6
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +0 -1
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +0 -7
- package/dist/src/components/organisms/ContactContent/index.d.ts +0 -2
- package/dist/src/components/organisms/ContactContent/index.js +0 -1
- package/dist/src/components/organisms/ContactContent/index.ts +0 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -36
- 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 -54
- 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
|
@@ -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'
|
|
5
6
|
import { ListStepsGetForm } from '../../organisms'
|
|
6
7
|
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
|
+
<HowGetYourFormsSectionStyled
|
|
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
|
+
</HowGetYourFormsSectionStyled>
|
|
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
|
-
|
|
3
|
+
import { JumbotronRatafiaSectionStyled } from './JumbotronRatafiaSection.styled';
|
|
4
4
|
const JumbotronRatafiaSection = ({ content, children }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(JumbotronRatafiaSectionStyled, { 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;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronRatafiaSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const JumbotronRatafiaSectionStyled = styled.section `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-content: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 2.5rem 1.5rem 6.5rem 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device.desktop} {
|
|
11
|
+
padding: 5rem 2rem 6.5rem 2rem;
|
|
12
|
+
}
|
|
13
|
+
@media ${device['desktop-xl']} {
|
|
14
|
+
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.jumbotron-ratafia-section {
|
|
18
|
+
&__wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
align-self: stretch;
|
|
24
|
+
gap: 2.5rem;
|
|
25
|
+
max-width: 1200px;
|
|
26
|
+
|
|
27
|
+
@media ${device['landscape-tablets']} {
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
}
|
|
30
|
+
@media ${device['desktop-xl']} {
|
|
31
|
+
gap: 5rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__children {
|
|
35
|
+
flex: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const JumbotronRatafiaSectionStyled = styled.section`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-content: center;
|
|
8
|
+
width: 100%;
|
|
9
|
+
padding: 2.5rem 1.5rem 6.5rem 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device.desktop} {
|
|
12
|
+
padding: 5rem 2rem 6.5rem 2rem;
|
|
13
|
+
}
|
|
14
|
+
@media ${device['desktop-xl']} {
|
|
15
|
+
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.jumbotron-ratafia-section {
|
|
19
|
+
&__wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
align-self: stretch;
|
|
25
|
+
gap: 2.5rem;
|
|
26
|
+
max-width: 1200px;
|
|
27
|
+
|
|
28
|
+
@media ${device['landscape-tablets']} {
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
}
|
|
31
|
+
@media ${device['desktop-xl']} {
|
|
32
|
+
gap: 5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__children {
|
|
36
|
+
flex: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`
|
|
@@ -2,16 +2,19 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent'
|
|
4
4
|
import { type JumbotronRatafiaSectionProps } from './JumbotronRatafiaSectionProps.types'
|
|
5
|
-
|
|
5
|
+
import { JumbotronRatafiaSectionStyled } from './JumbotronRatafiaSection.styled'
|
|
6
6
|
|
|
7
7
|
const JumbotronRatafiaSection: FC<JumbotronRatafiaSectionProps> = ({ content, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<JumbotronRatafiaSectionStyled
|
|
10
|
+
className='jumbotron-ratafia-section background-ratafia-animation'
|
|
11
|
+
id='ratafia-jumbotron'
|
|
12
|
+
>
|
|
10
13
|
<div className='jumbotron-ratafia-section__wrapper'>
|
|
11
14
|
<JumbotronRatafiaContent title={content.title} tags={content.tags} body={content.body} />
|
|
12
15
|
<span className='jumbotron-ratafia-section__wrapper__children'>{children}</span>
|
|
13
16
|
</div>
|
|
14
|
-
</
|
|
17
|
+
</JumbotronRatafiaSectionStyled>
|
|
15
18
|
)
|
|
16
19
|
}
|
|
17
20
|
|
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';
|
|
2
3
|
import { Tagline } from '../../atoms';
|
|
3
|
-
// import './JumbotronSimplifiedSection.scss'
|
|
4
4
|
export const JumbotronSimplifiedSection = ({ wrapperClassName = '', taglineProps, title, children }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(JumbotronSimplifiedSectionStyled, { 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
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronSimplifiedSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const JumbotronSimplifiedSectionStyled = styled.section `
|
|
4
|
+
background: var(--primary-main-light-6);
|
|
5
|
+
margin-bottom: -12rem;
|
|
6
|
+
text-align: center;
|
|
7
|
+
padding-bottom: 13rem;
|
|
8
|
+
|
|
9
|
+
@media ${device['landscape-tablets']} {
|
|
10
|
+
padding: 1.125rem 0 14.875rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.jumbotron--simplified__title {
|
|
14
|
+
font-size: 1.75rem;
|
|
15
|
+
line-height: 2.25rem;
|
|
16
|
+
margin-bottom: 0.5rem;
|
|
17
|
+
|
|
18
|
+
@media ${device['landscape-tablets']} {
|
|
19
|
+
font-size: 2.25rem;
|
|
20
|
+
line-height: 3rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media ${device.desktop} {
|
|
24
|
+
font-size: 3rem;
|
|
25
|
+
line-height: 3.375rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.jumbotron--simplified__subtitle {
|
|
30
|
+
color: var(--neutral-neutral-1);
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
line-height: 1.5rem;
|
|
33
|
+
|
|
34
|
+
@media ${device.desktop} {
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
margin: 0 auto;
|
|
37
|
+
max-width: 49rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`;
|
package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const JumbotronSimplifiedSectionStyled = styled.section`
|
|
5
|
+
background: var(--primary-main-light-6);
|
|
6
|
+
margin-bottom: -12rem;
|
|
7
|
+
text-align: center;
|
|
8
|
+
padding-bottom: 13rem;
|
|
9
|
+
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
padding: 1.125rem 0 14.875rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.jumbotron--simplified__title {
|
|
15
|
+
font-size: 1.75rem;
|
|
16
|
+
line-height: 2.25rem;
|
|
17
|
+
margin-bottom: 0.5rem;
|
|
18
|
+
|
|
19
|
+
@media ${device['landscape-tablets']} {
|
|
20
|
+
font-size: 2.25rem;
|
|
21
|
+
line-height: 3rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media ${device.desktop} {
|
|
25
|
+
font-size: 3rem;
|
|
26
|
+
line-height: 3.375rem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.jumbotron--simplified__subtitle {
|
|
31
|
+
color: var(--neutral-neutral-1);
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
line-height: 1.5rem;
|
|
34
|
+
|
|
35
|
+
@media ${device.desktop} {
|
|
36
|
+
font-size: 1rem;
|
|
37
|
+
margin: 0 auto;
|
|
38
|
+
max-width: 49rem;
|
|
39
|
+
}
|
|
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'
|
|
4
5
|
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
|
+
<JumbotronSimplifiedSectionStyled 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
|
+
</JumbotronSimplifiedSectionStyled>
|
|
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
|
-
|
|
3
|
+
import { LearnMoreSectionStyled } from './LearnMoreSection.styled';
|
|
4
4
|
const LearnMoreSection = ({ title, description, cta, faqs }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(LearnMoreSectionStyled, { 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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LearnMoreSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|