@npm_leadtech/legal-lib-components 5.7.1 → 5.7.2
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 +18 -1167
- package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +19 -1
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +19 -1
- package/dist/src/components/atoms/CardPane/CardPaneInfo.js +5 -4
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +14 -3
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +1 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +1 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.js +3 -2
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +28 -26
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +28 -26
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +22 -16
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +1 -5
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +0 -14
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +0 -14
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +1 -10
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +0 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +0 -1
- 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/molecules/Article/Article.js +3 -2
- package/dist/src/components/molecules/Article/Article.scss +17 -0
- package/dist/src/components/molecules/Article/Article.tsx +17 -2
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -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/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 +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +30 -0
- package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.scss → ErrorRatafiaPage.styled.ts} +3 -4
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +4 -3
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +1 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +59 -0
- package/dist/src/components/pages/FaqsPage/{FaqsPage.scss → FaqsPage.styled.ts} +3 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +4 -3
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.scss → KeyFactsResultRatafiaPage.styled.js} +4 -5
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +23 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +4 -3
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/LoginRatafiaPage/{LoginPageRatafia.scss → LoginRatafiaPage.styled.js} +5 -5
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +24 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +36 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +37 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/BlogSection/BlogSection.js +6 -4
- package/dist/src/components/sections/BlogSection/BlogSection.scss +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +53 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +54 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +13 -8
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
- 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.scss +0 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
- package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +14 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +15 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
- package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
- package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
- package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
- package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
- package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +0 -30
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +0 -6
- package/dist/images/componentsSvg/RatafiaIcon24px.js +0 -2
- package/dist/images/componentsSvg/RatafiaIcon24px.tsx +0 -18
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
- 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/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
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx
CHANGED
|
@@ -2,15 +2,15 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent'
|
|
4
4
|
import { type TryOurFreeLegalBlogsSectionProps } from './TryOurFreeLegalBlogsSectionProps.types'
|
|
5
|
-
|
|
5
|
+
import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled'
|
|
6
6
|
|
|
7
7
|
const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
|
|
10
10
|
<TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
|
|
11
11
|
{contentTryOurFreeLegalBlogs.children}
|
|
12
12
|
</TryOurFreeLegalBlogsContent>
|
|
13
|
-
</
|
|
13
|
+
</TryOurFreeLegalBlogsSectionStyled>
|
|
14
14
|
)
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { TryUsSectionStyled } from './TryUsSection.styled';
|
|
4
4
|
export const TryUsSection = ({ children, hasUserToken = false, cta }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(TryUsSectionStyled, { className: 'try-us-section', children: [children, !hasUserToken && _jsx(Button, { ...cta })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TryUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TryUsSectionStyled = styled.section `
|
|
4
|
+
padding: 2rem;
|
|
5
|
+
text-align: center;
|
|
6
|
+
background-color: var(--neutral-neutral-6);
|
|
7
|
+
color: var(--neutral-neutral-1);
|
|
8
|
+
|
|
9
|
+
.m-richText {
|
|
10
|
+
max-width: 50rem;
|
|
11
|
+
margin: 0 auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.e-button {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
margin-top: 1.5rem;
|
|
17
|
+
width: 100%;
|
|
18
|
+
|
|
19
|
+
@media ${device['landscape-tablets']} {
|
|
20
|
+
width: auto;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`;
|
package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const TryUsSectionStyled = styled.section`
|
|
5
5
|
padding: 2rem;
|
|
6
6
|
text-align: center;
|
|
7
7
|
background-color: var(--neutral-neutral-6);
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
margin-top: 1.5rem;
|
|
18
18
|
width: 100%;
|
|
19
19
|
|
|
20
|
-
@
|
|
20
|
+
@media ${device['landscape-tablets']} {
|
|
21
21
|
width: auto;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
`
|
|
@@ -2,13 +2,13 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
import { Button } from '../../atoms'
|
|
3
3
|
|
|
4
4
|
import { type TryUsSectionProps } from './TryUsSectionProps'
|
|
5
|
-
|
|
5
|
+
import { TryUsSectionStyled } from './TryUsSection.styled'
|
|
6
6
|
|
|
7
7
|
export const TryUsSection: FC<TryUsSectionProps> = ({ children, hasUserToken = false, cta }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<TryUsSectionStyled className='try-us-section'>
|
|
10
10
|
{children}
|
|
11
11
|
{!hasUserToken && <Button {...cta} />}
|
|
12
|
-
</
|
|
12
|
+
</TryUsSectionStyled>
|
|
13
13
|
)
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextStrapi } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { UnsubscribeSectionStyled } from './UnsubscribeSection.styled';
|
|
4
4
|
export const UnsubscribeSection = ({ text }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(UnsubscribeSectionStyled, { className: 'wrapper', children: _jsx("div", { className: 'unsubscribe', children: _jsx(RichTextStrapi, { ...text }) }) }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UnsubscribeSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const UnsubscribeSectionStyled = styled.section `
|
|
4
|
+
.unsubscribe {
|
|
5
|
+
div:first-child {
|
|
6
|
+
background: var(--neutral-neutral-6);
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-flow: row wrap;
|
|
9
|
+
margin-bottom: 4rem;
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
margin: 0 3rem 3rem 3rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.m-richText p + h2 {
|
|
16
|
+
margin-top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h2 {
|
|
20
|
+
color: var(--neutral-neutral-1);
|
|
21
|
+
background: var(--others-white);
|
|
22
|
+
width: 100%;
|
|
23
|
+
font-size: 1.75rem;
|
|
24
|
+
padding: 2rem 1rem 1rem 1rem;
|
|
25
|
+
|
|
26
|
+
@media ${device['landscape-tablets']} {
|
|
27
|
+
font-size: 2rem;
|
|
28
|
+
padding: 2.7rem 0 1rem 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.m-richText h2 + p {
|
|
33
|
+
padding-top: 1.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.m-richText p {
|
|
37
|
+
padding: 0 2rem 1.5rem 2rem;
|
|
38
|
+
width: 100%;
|
|
39
|
+
margin: 0;
|
|
40
|
+
|
|
41
|
+
@media ${device.laptop} {
|
|
42
|
+
padding: 0 8rem 1.5rem 8rem;
|
|
43
|
+
}
|
|
44
|
+
@media ${device.laptop} {
|
|
45
|
+
padding: 0 15rem 1.5rem 15rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
img {
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
display: block;
|
|
52
|
+
margin: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.image-preview {
|
|
56
|
+
margin: 0 auto;
|
|
57
|
+
padding: 0.5rem 0;
|
|
58
|
+
border: none;
|
|
59
|
+
width: auto;
|
|
60
|
+
height: auto;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const UnsubscribeSectionStyled = styled.section`
|
|
5
|
+
.unsubscribe {
|
|
6
|
+
div:first-child {
|
|
7
|
+
background: var(--neutral-neutral-6);
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-flow: row wrap;
|
|
10
|
+
margin-bottom: 4rem;
|
|
11
|
+
@media ${device['landscape-tablets']} {
|
|
12
|
+
margin: 0 3rem 3rem 3rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.m-richText p + h2 {
|
|
17
|
+
margin-top: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h2 {
|
|
21
|
+
color: var(--neutral-neutral-1);
|
|
22
|
+
background: var(--others-white);
|
|
23
|
+
width: 100%;
|
|
24
|
+
font-size: 1.75rem;
|
|
25
|
+
padding: 2rem 1rem 1rem 1rem;
|
|
26
|
+
|
|
27
|
+
@media ${device['landscape-tablets']} {
|
|
28
|
+
font-size: 2rem;
|
|
29
|
+
padding: 2.7rem 0 1rem 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.m-richText h2 + p {
|
|
34
|
+
padding-top: 1.5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.m-richText p {
|
|
38
|
+
padding: 0 2rem 1.5rem 2rem;
|
|
39
|
+
width: 100%;
|
|
40
|
+
margin: 0;
|
|
41
|
+
|
|
42
|
+
@media ${device.laptop} {
|
|
43
|
+
padding: 0 8rem 1.5rem 8rem;
|
|
44
|
+
}
|
|
45
|
+
@media ${device.laptop} {
|
|
46
|
+
padding: 0 15rem 1.5rem 15rem;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
img {
|
|
51
|
+
max-width: 100%;
|
|
52
|
+
display: block;
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.image-preview {
|
|
57
|
+
margin: 0 auto;
|
|
58
|
+
padding: 0.5rem 0;
|
|
59
|
+
border: none;
|
|
60
|
+
width: auto;
|
|
61
|
+
height: auto;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`
|
|
@@ -2,14 +2,14 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { RichTextStrapi } from '../../atoms'
|
|
4
4
|
import { type UnsubscribeSectionProps } from './UnsubscribeSectionProps'
|
|
5
|
-
|
|
5
|
+
import { UnsubscribeSectionStyled } from './UnsubscribeSection.styled'
|
|
6
6
|
|
|
7
7
|
export const UnsubscribeSection: React.FC<UnsubscribeSectionProps> = ({ text }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<UnsubscribeSectionStyled className='wrapper'>
|
|
10
10
|
<div className='unsubscribe'>
|
|
11
11
|
<RichTextStrapi {...text} />
|
|
12
12
|
</div>
|
|
13
|
-
</
|
|
13
|
+
</UnsubscribeSectionStyled>
|
|
14
14
|
)
|
|
15
15
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms/Button';
|
|
3
3
|
import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems';
|
|
4
|
-
|
|
4
|
+
import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled';
|
|
5
5
|
export const WhyLawDistrictSection = ({ title, items, userActive, link }) => {
|
|
6
6
|
if (items.length === 0)
|
|
7
7
|
return null;
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs(WhyLawDistrictSectionStyled, { className: 'whyLawDistrictSection', children: [_jsx("h2", { className: 'why-lawDistrict__title serif --hero', children: title }), _jsx(WhyLawDistrictItems, { items: items }), !userActive && (_jsx(Button, { givenClass: 'whyLawDistrictSection__button', label: link.cta, link: link.url, onClick: link.onClick, dataQa: link.dataQa, isExternal: true, hasNoFollow: true }))] }));
|
|
9
9
|
};
|
|
10
10
|
export default WhyLawDistrictSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WhyLawDistrictSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const WhyLawDistrictSectionStyled = styled.section `
|
|
4
|
+
text-align: center;
|
|
5
|
+
background-color: var(--neutral-neutral-6);
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding-bottom: 2rem;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
@media ${device['landscape-tablets']} {
|
|
12
|
+
padding-bottom: 0rem;
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.whyLawDistrictSection {
|
|
17
|
+
&__title {
|
|
18
|
+
@media ${device.laptop} {
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__button {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
width: 80%;
|
|
27
|
+
margin-bottom: 1rem;
|
|
28
|
+
|
|
29
|
+
@media ${device['landscape-tablets']} {
|
|
30
|
+
margin-bottom: 3.5rem;
|
|
31
|
+
display: inline-block;
|
|
32
|
+
width: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const WhyLawDistrictSectionStyled = styled.section`
|
|
5
|
+
text-align: center;
|
|
6
|
+
background-color: var(--neutral-neutral-6);
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding-bottom: 2rem;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
|
|
12
|
+
@media ${device['landscape-tablets']} {
|
|
13
|
+
padding-bottom: 0rem;
|
|
14
|
+
display: block;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.whyLawDistrictSection {
|
|
18
|
+
&__title {
|
|
19
|
+
@media ${device.laptop} {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__button {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 80%;
|
|
28
|
+
margin-bottom: 1rem;
|
|
29
|
+
|
|
30
|
+
@media ${device['landscape-tablets']} {
|
|
31
|
+
margin-bottom: 3.5rem;
|
|
32
|
+
display: inline-block;
|
|
33
|
+
width: auto;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`
|
|
@@ -3,14 +3,13 @@ import React from 'react'
|
|
|
3
3
|
import { Button } from '../../atoms/Button'
|
|
4
4
|
import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems'
|
|
5
5
|
import { type WhyLawDistrictSectionProps } from './WhyLawDistrictSectionProps.types'
|
|
6
|
-
|
|
7
|
-
// import './WhyLawDistrictSection.scss'
|
|
6
|
+
import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled'
|
|
8
7
|
|
|
9
8
|
export const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps> = ({ title, items, userActive, link }) => {
|
|
10
9
|
if (items.length === 0) return null
|
|
11
10
|
|
|
12
11
|
return (
|
|
13
|
-
<
|
|
12
|
+
<WhyLawDistrictSectionStyled className={'whyLawDistrictSection'}>
|
|
14
13
|
<h2 className={'why-lawDistrict__title serif --hero'}>{title}</h2>
|
|
15
14
|
<WhyLawDistrictItems items={items} />
|
|
16
15
|
|
|
@@ -25,7 +24,7 @@ export const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps> = ({ ti
|
|
|
25
24
|
hasNoFollow
|
|
26
25
|
/>
|
|
27
26
|
)}
|
|
28
|
-
</
|
|
27
|
+
</WhyLawDistrictSectionStyled>
|
|
29
28
|
)
|
|
30
29
|
}
|
|
31
30
|
|
package/dist/src/custom.d.ts
CHANGED
|
@@ -82,33 +82,3 @@
|
|
|
82
82
|
@import '../components/organisms/MobileBottomBar/MobileBottomBar.scss';
|
|
83
83
|
@import '../components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss';
|
|
84
84
|
@import '../components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss';
|
|
85
|
-
|
|
86
|
-
@import '../components/sections/AboutUsSection/AboutUsSection.scss';
|
|
87
|
-
@import '../components/sections/AsideMenuSection/AsideMenuSection.scss';
|
|
88
|
-
@import '../components/sections/AsSeeInSection/AsSeeInSection.scss';
|
|
89
|
-
@import '../components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss';
|
|
90
|
-
@import '../components/sections/BlogSection/BlogSection.scss';
|
|
91
|
-
@import '../components/sections/ContactSection/ContactSection.scss';
|
|
92
|
-
@import '../components/sections/ExpertsSection/ExpertsSection.scss';
|
|
93
|
-
@import '../components/sections/FaqSection/FaqSection.scss';
|
|
94
|
-
@import '../components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss';
|
|
95
|
-
@import '../components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss';
|
|
96
|
-
@import '../components/sections/GuidelinesSection/GuidelinesSection.scss';
|
|
97
|
-
@import '../components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss';
|
|
98
|
-
@import '../components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss';
|
|
99
|
-
@import '../components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss';
|
|
100
|
-
@import '../components/sections/LearnMoreSection/LearnMoreSection.scss';
|
|
101
|
-
@import '../components/sections/LegalSection/LegalSection.scss';
|
|
102
|
-
@import '../components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss';
|
|
103
|
-
@import '../components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss';
|
|
104
|
-
@import '../components/sections/StepsRatafiaSection/StepsRatafiaSection.scss';
|
|
105
|
-
@import '../components/sections/TryItRatafiaSection/TryItRatafiaSection.scss';
|
|
106
|
-
@import '../components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss';
|
|
107
|
-
@import '../components/sections/TryUsSection/TryUsSection.scss';
|
|
108
|
-
@import '../components/sections/UnsubscribeSection/UnsubscribeSection.scss';
|
|
109
|
-
@import '../components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss';
|
|
110
|
-
|
|
111
|
-
@import '../components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss';
|
|
112
|
-
@import '../components/pages/FaqsPage/FaqsPage.scss';
|
|
113
|
-
@import '../components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss';
|
|
114
|
-
@import '../components/pages/LoginRatafiaPage/LoginPageRatafia.scss';
|