@npm_leadtech/legal-lib-components 5.3.10 → 5.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +77 -1049
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
- package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.styled.ts → ErrorRatafiaPage.scss} +4 -3
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +3 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
- package/dist/src/components/pages/FaqsPage/{FaqsPage.styled.ts → FaqsPage.scss} +4 -3
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +3 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.styled.js → KeyFactsResultRatafiaPage.scss} +5 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +3 -4
- package/dist/src/components/pages/LoginRatafiaPage/{LoginRatafiaPage.styled.js → LoginPageRatafia.scss} +5 -5
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +98 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +99 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/BlogSection/BlogSection.js +2 -1
- package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +1 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +32 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +3 -2
- package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
- package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +1 -0
- package/dist/src/components/sections/ContactSection/ContactSection.styled.js +89 -0
- package/dist/src/components/sections/ContactSection/{ContactSection.scss → ContactSection.styled.ts} +9 -9
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
- package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +14 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +15 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
- package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
- package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
- package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
- package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
- package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
- package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
- package/dist/src/globalStyles/styles.scss +4 -24
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +0 -30
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +0 -59
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +0 -23
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +0 -24
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -98
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +0 -50
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +0 -57
- package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -33
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +0 -26
- package/dist/src/components/sections/FaqSection/FaqSection.scss +0 -31
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -57
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +0 -12
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +0 -41
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +0 -41
- package/dist/src/components/sections/LegalSection/LegalSection.scss +0 -120
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +0 -47
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +0 -42
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +0 -53
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +0 -69
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +0 -11
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +0 -62
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -35
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type LegalSectionProps } from './LegalSectionProps'
|
|
4
|
+
import { LegalSectionStyled } from './LegalSection.styled'
|
|
4
5
|
import { RichTextStrapi } from '../../atoms'
|
|
5
|
-
// import './LegalSection.scss'
|
|
6
6
|
|
|
7
7
|
export const LegalSection: React.FC<LegalSectionProps> = ({ text }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<LegalSectionStyled className={'wrapper'}>
|
|
10
10
|
<div className='legal'>
|
|
11
11
|
<RichTextStrapi {...text} />
|
|
12
12
|
</div>
|
|
13
|
-
</
|
|
13
|
+
</LegalSectionStyled>
|
|
14
14
|
)
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules';
|
|
3
|
-
|
|
3
|
+
import { MidBannerRatafiaSectionStyled } from './MidBannerRatafiaSection.styled';
|
|
4
4
|
const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: 'mid-banner-ratafia-section__wrapper', children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: 'mid-banner-ratafia-section__wrapper__sample', children: _jsx(MidBannerRatafiaSample, { image: image }) })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default MidBannerRatafiaSection;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MidBannerRatafiaSectionStyled: 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/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MidBannerRatafiaSectionStyled = styled.section `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-content: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 2rem 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device.desktop} {
|
|
11
|
+
padding: 3rem 2rem;
|
|
12
|
+
}
|
|
13
|
+
@media ${device['desktop-xl']} {
|
|
14
|
+
padding: 3rem 7.5rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mid-banner-ratafia-section {
|
|
18
|
+
&__wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
flex: 1 0 0;
|
|
23
|
+
|
|
24
|
+
padding: 2rem;
|
|
25
|
+
gap: 3rem;
|
|
26
|
+
|
|
27
|
+
max-width: 1200px;
|
|
28
|
+
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
background: var(--neutral-neutral-6);
|
|
31
|
+
|
|
32
|
+
@media ${device.desktop} {
|
|
33
|
+
padding: 3rem 5rem 0.5rem 4rem;
|
|
34
|
+
gap: 5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__sample {
|
|
38
|
+
display: none;
|
|
39
|
+
|
|
40
|
+
@media ${device.desktop} {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const MidBannerRatafiaSectionStyled = styled.section`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-content: center;
|
|
8
|
+
width: 100%;
|
|
9
|
+
padding: 2rem 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device.desktop} {
|
|
12
|
+
padding: 3rem 2rem;
|
|
13
|
+
}
|
|
14
|
+
@media ${device['desktop-xl']} {
|
|
15
|
+
padding: 3rem 7.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mid-banner-ratafia-section {
|
|
19
|
+
&__wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: flex-start;
|
|
23
|
+
flex: 1 0 0;
|
|
24
|
+
|
|
25
|
+
padding: 2rem;
|
|
26
|
+
gap: 3rem;
|
|
27
|
+
|
|
28
|
+
max-width: 1200px;
|
|
29
|
+
|
|
30
|
+
border-radius: 16px;
|
|
31
|
+
background: var(--neutral-neutral-6);
|
|
32
|
+
|
|
33
|
+
@media ${device.desktop} {
|
|
34
|
+
padding: 3rem 5rem 0.5rem 4rem;
|
|
35
|
+
gap: 5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__sample {
|
|
39
|
+
display: none;
|
|
40
|
+
|
|
41
|
+
@media ${device.desktop} {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules'
|
|
4
4
|
import { type MidBannerRatafiaSectionProps } from './MidBannerRatafiaSectionProps.types'
|
|
5
|
-
|
|
5
|
+
import { MidBannerRatafiaSectionStyled } from './MidBannerRatafiaSection.styled'
|
|
6
6
|
|
|
7
7
|
const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
8
8
|
title,
|
|
@@ -13,7 +13,7 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
13
13
|
image
|
|
14
14
|
}) => {
|
|
15
15
|
return (
|
|
16
|
-
<
|
|
16
|
+
<MidBannerRatafiaSectionStyled className='mid-banner-ratafia-section'>
|
|
17
17
|
<div className='mid-banner-ratafia-section__wrapper'>
|
|
18
18
|
<MidBannerRatafiaContent
|
|
19
19
|
title={title}
|
|
@@ -26,7 +26,7 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
26
26
|
<MidBannerRatafiaSample image={image} />
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
|
-
</
|
|
29
|
+
</MidBannerRatafiaSectionStyled>
|
|
30
30
|
)
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { PeopleSayAboutUsSectionStyled } from './PeopleSayAboutUsSection.styled';
|
|
2
3
|
import { TrustPilot } from '../../atoms';
|
|
3
|
-
// import './PeopleSayAboutUsSection.scss'
|
|
4
4
|
const PeopleSayAboutUsSection = ({ title, testimonialsSectionContent, contentTrustPilot }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(PeopleSayAboutUsSectionStyled, { className: 'people-say', children: [Boolean(title) && _jsx("h2", { className: 'people-say__title', children: title }), testimonialsSectionContent, contentTrustPilot && _jsx(TrustPilot, { children: contentTrustPilot.children })] }));
|
|
6
6
|
};
|
|
7
7
|
export default PeopleSayAboutUsSection;
|
package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PeopleSayAboutUsSectionStyled: 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/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PeopleSayAboutUsSectionStyled = styled.section `
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin: 0 auto;
|
|
6
|
+
text-align: center;
|
|
7
|
+
padding: 1.5rem;
|
|
8
|
+
|
|
9
|
+
@media ${device.laptop} {
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media ${device.desktop} {
|
|
14
|
+
max-width: $max-width;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.people-say {
|
|
18
|
+
&__title {
|
|
19
|
+
font-family: var(--font-serif);
|
|
20
|
+
font-size: 32px;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
line-height: 42px;
|
|
23
|
+
letter-spacing: -0.3px;
|
|
24
|
+
text-align: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.richt-text-strapi {
|
|
28
|
+
text-align: left;
|
|
29
|
+
margin-top: 2rem;
|
|
30
|
+
|
|
31
|
+
> p,
|
|
32
|
+
> blockquote {
|
|
33
|
+
margin-top: 1.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
blockquote {
|
|
37
|
+
padding: 1rem;
|
|
38
|
+
background: var(--neutral-neutral-6);
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`;
|
package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const PeopleSayAboutUsSectionStyled = styled.section`
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
text-align: center;
|
|
8
|
+
padding: 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device.laptop} {
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media ${device.desktop} {
|
|
15
|
+
max-width: $max-width;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.people-say {
|
|
19
|
+
&__title {
|
|
20
|
+
font-family: var(--font-serif);
|
|
21
|
+
font-size: 32px;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
line-height: 42px;
|
|
24
|
+
letter-spacing: -0.3px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.richt-text-strapi {
|
|
29
|
+
text-align: left;
|
|
30
|
+
margin-top: 2rem;
|
|
31
|
+
|
|
32
|
+
> p,
|
|
33
|
+
> blockquote {
|
|
34
|
+
margin-top: 1.5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
blockquote {
|
|
38
|
+
padding: 1rem;
|
|
39
|
+
background: var(--neutral-neutral-6);
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import React, { type FC } from 'react'
|
|
4
4
|
|
|
5
5
|
import { type PeopleSayAboutUsSectionProps } from './PeopleSayAboutUsSectionProps.types'
|
|
6
|
+
import { PeopleSayAboutUsSectionStyled } from './PeopleSayAboutUsSection.styled'
|
|
6
7
|
import { TrustPilot } from '../../atoms'
|
|
7
|
-
// import './PeopleSayAboutUsSection.scss'
|
|
8
8
|
|
|
9
9
|
const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps> = ({
|
|
10
10
|
title,
|
|
@@ -12,11 +12,11 @@ const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps> = ({
|
|
|
12
12
|
contentTrustPilot
|
|
13
13
|
}) => {
|
|
14
14
|
return (
|
|
15
|
-
<
|
|
15
|
+
<PeopleSayAboutUsSectionStyled className='people-say'>
|
|
16
16
|
{Boolean(title) && <h2 className='people-say__title'>{title}</h2>}
|
|
17
17
|
{testimonialsSectionContent}
|
|
18
18
|
{contentTrustPilot && <TrustPilot>{contentTrustPilot.children}</TrustPilot>}
|
|
19
|
-
</
|
|
19
|
+
</PeopleSayAboutUsSectionStyled>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StepsRatafiaContent } from '../../organisms';
|
|
3
|
+
import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled';
|
|
3
4
|
import { Video } from '../../atoms';
|
|
4
|
-
// import './StepsRatafiaSection.scss'
|
|
5
5
|
const StepsRatafiaSection = ({ title, steps, videoUrl }) => {
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx(StepsRatafiaSectionStyled, { className: 'steps-ratafia-section', children: _jsxs("div", { className: 'steps-ratafia-section__wrapper', children: [_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, autoPlay: true, loop: true }) }), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps }) })] }) }));
|
|
7
7
|
};
|
|
8
8
|
export default StepsRatafiaSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StepsRatafiaSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const StepsRatafiaSectionStyled = styled.section `
|
|
4
|
+
z-index: 999;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
@media ${device.desktop} {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.steps-ratafia-section {
|
|
15
|
+
&__wrapper {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-items: center;
|
|
20
|
+
align-self: stretch;
|
|
21
|
+
|
|
22
|
+
gap: 3rem;
|
|
23
|
+
padding: 2rem 1.5rem 3rem 1.5rem;
|
|
24
|
+
|
|
25
|
+
max-width: 1200px;
|
|
26
|
+
|
|
27
|
+
@media ${device.desktop} {
|
|
28
|
+
padding: 3rem 0 3rem 0;
|
|
29
|
+
}
|
|
30
|
+
@media ${device['desktop-xl']} {
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__video {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
|
|
40
|
+
max-width: 1024px;
|
|
41
|
+
@media ${device['desktop-xl']} {
|
|
42
|
+
max-width: 720px;
|
|
43
|
+
}
|
|
44
|
+
video {
|
|
45
|
+
border-radius: 8px;
|
|
46
|
+
box-shadow: 0 0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25);
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
&__content {
|
|
51
|
+
flex: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const StepsRatafiaSectionStyled = styled.section`
|
|
5
|
+
z-index: 999;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
@media ${device.desktop} {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
align-self: stretch;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.steps-ratafia-section {
|
|
16
|
+
&__wrapper {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
|
|
23
|
+
gap: 3rem;
|
|
24
|
+
padding: 2rem 1.5rem 3rem 1.5rem;
|
|
25
|
+
|
|
26
|
+
max-width: 1200px;
|
|
27
|
+
|
|
28
|
+
@media ${device.desktop} {
|
|
29
|
+
padding: 3rem 0 3rem 0;
|
|
30
|
+
}
|
|
31
|
+
@media ${device['desktop-xl']} {
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__video {
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
|
|
41
|
+
max-width: 1024px;
|
|
42
|
+
@media ${device['desktop-xl']} {
|
|
43
|
+
max-width: 720px;
|
|
44
|
+
}
|
|
45
|
+
video {
|
|
46
|
+
border-radius: 8px;
|
|
47
|
+
box-shadow: 0 0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25);
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&__content {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`
|
|
@@ -2,13 +2,12 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { StepsRatafiaContent } from '../../organisms'
|
|
4
4
|
import { type StepsRatafiaSectionProps } from './StepsRatafiaSectionProps.types'
|
|
5
|
+
import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled'
|
|
5
6
|
import { Video } from '../../atoms'
|
|
6
7
|
|
|
7
|
-
// import './StepsRatafiaSection.scss'
|
|
8
|
-
|
|
9
8
|
const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl }) => {
|
|
10
9
|
return (
|
|
11
|
-
<
|
|
10
|
+
<StepsRatafiaSectionStyled className='steps-ratafia-section'>
|
|
12
11
|
<div className='steps-ratafia-section__wrapper'>
|
|
13
12
|
<div className='steps-ratafia-section__wrapper__video'>
|
|
14
13
|
<Video videoSrcURL={videoUrl} autoPlay loop />
|
|
@@ -17,7 +16,7 @@ const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, video
|
|
|
17
16
|
<StepsRatafiaContent title={title} steps={steps} />
|
|
18
17
|
</div>
|
|
19
18
|
</div>
|
|
20
|
-
</
|
|
19
|
+
</StepsRatafiaSectionStyled>
|
|
21
20
|
)
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { TryItRatafiaSectionStyled } from './TryItRatafiaSection.styled';
|
|
2
3
|
// import './TryItRatafiaSection.scss'
|
|
3
4
|
const TryItRatafiaSection = ({ icon, paragraph, children }) => {
|
|
4
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(TryItRatafiaSectionStyled, { className: 'try-it-ratafia-section', children: _jsxs("div", { className: 'try-it-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'try-it-ratafia-section__wrapper__content', children: [icon !== null && _jsx("div", { className: 'try-it-ratafia-section__wrapper__content__icon', children: icon }), _jsx("h2", { className: 'sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title', children: paragraph })] }), _jsx("span", { className: 'try-it-ratafia-section__wrapper__children', children: children })] }) }));
|
|
5
6
|
};
|
|
6
7
|
export default TryItRatafiaSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TryItRatafiaSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TryItRatafiaSectionStyled = styled.section `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-content: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 2rem 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device.laptop} {
|
|
11
|
+
padding: 3rem 2rem;
|
|
12
|
+
}
|
|
13
|
+
@media ${device['desktop-xl']} {
|
|
14
|
+
padding: 3rem 7.5rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.try-it-ratafia-section {
|
|
18
|
+
&__wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
align-items: center;
|
|
23
|
+
align-self: stretch;
|
|
24
|
+
|
|
25
|
+
padding: 1.5rem;
|
|
26
|
+
gap: 1.5rem;
|
|
27
|
+
|
|
28
|
+
border-radius: 16px;
|
|
29
|
+
|
|
30
|
+
max-width: 1200px;
|
|
31
|
+
|
|
32
|
+
@media ${device['landscape-tablets']} {
|
|
33
|
+
padding: 2rem;
|
|
34
|
+
gap: 2.5rem;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
}
|
|
37
|
+
@media ${device.laptop} {
|
|
38
|
+
padding: 2.5rem 2.5rem 2.5rem 4rem;
|
|
39
|
+
gap: 5rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__content {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
flex: 1 0 0;
|
|
47
|
+
align-self: stretch;
|
|
48
|
+
|
|
49
|
+
gap: 1rem;
|
|
50
|
+
|
|
51
|
+
@media ${device['landscape-tablets']} {
|
|
52
|
+
padding: 3rem 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__icon {
|
|
56
|
+
width: 48px;
|
|
57
|
+
height: 48px;
|
|
58
|
+
}
|
|
59
|
+
&__title {
|
|
60
|
+
align-self: stretch;
|
|
61
|
+
color: var(--others-white);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__children {
|
|
66
|
+
max-width: 460px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const TryItRatafiaSectionStyled = styled.section`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-content: center;
|
|
8
|
+
width: 100%;
|
|
9
|
+
padding: 2rem 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device.laptop} {
|
|
12
|
+
padding: 3rem 2rem;
|
|
13
|
+
}
|
|
14
|
+
@media ${device['desktop-xl']} {
|
|
15
|
+
padding: 3rem 7.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.try-it-ratafia-section {
|
|
19
|
+
&__wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
align-items: center;
|
|
24
|
+
align-self: stretch;
|
|
25
|
+
|
|
26
|
+
padding: 1.5rem;
|
|
27
|
+
gap: 1.5rem;
|
|
28
|
+
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
|
|
31
|
+
max-width: 1200px;
|
|
32
|
+
|
|
33
|
+
@media ${device['landscape-tablets']} {
|
|
34
|
+
padding: 2rem;
|
|
35
|
+
gap: 2.5rem;
|
|
36
|
+
flex-direction: row;
|
|
37
|
+
}
|
|
38
|
+
@media ${device.laptop} {
|
|
39
|
+
padding: 2.5rem 2.5rem 2.5rem 4rem;
|
|
40
|
+
gap: 5rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__content {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
align-items: flex-start;
|
|
47
|
+
flex: 1 0 0;
|
|
48
|
+
align-self: stretch;
|
|
49
|
+
|
|
50
|
+
gap: 1rem;
|
|
51
|
+
|
|
52
|
+
@media ${device['landscape-tablets']} {
|
|
53
|
+
padding: 3rem 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__icon {
|
|
57
|
+
width: 48px;
|
|
58
|
+
height: 48px;
|
|
59
|
+
}
|
|
60
|
+
&__title {
|
|
61
|
+
align-self: stretch;
|
|
62
|
+
color: var(--others-white);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__children {
|
|
67
|
+
max-width: 460px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type TryItRatafiaSectionProps } from './TryItRatafiaSectionProps.types'
|
|
4
|
+
import { TryItRatafiaSectionStyled } from './TryItRatafiaSection.styled'
|
|
4
5
|
// import './TryItRatafiaSection.scss'
|
|
5
6
|
|
|
6
7
|
const TryItRatafiaSection: FC<TryItRatafiaSectionProps> = ({ icon, paragraph, children }) => {
|
|
7
8
|
return (
|
|
8
|
-
<
|
|
9
|
+
<TryItRatafiaSectionStyled className='try-it-ratafia-section'>
|
|
9
10
|
<div className='try-it-ratafia-section__wrapper background-ratafia-animation'>
|
|
10
11
|
<div className='try-it-ratafia-section__wrapper__content'>
|
|
11
12
|
{icon !== null && <div className={'try-it-ratafia-section__wrapper__content__icon'}>{icon}</div>}
|
|
@@ -15,7 +16,7 @@ const TryItRatafiaSection: FC<TryItRatafiaSectionProps> = ({ icon, paragraph, ch
|
|
|
15
16
|
</div>
|
|
16
17
|
<span className='try-it-ratafia-section__wrapper__children'>{children}</span>
|
|
17
18
|
</div>
|
|
18
|
-
</
|
|
19
|
+
</TryItRatafiaSectionStyled>
|
|
19
20
|
)
|
|
20
21
|
}
|
|
21
22
|
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
|
|
3
|
-
|
|
3
|
+
import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
|
|
4
4
|
const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
|
|
6
6
|
};
|
|
7
7
|
export default TryOurFreeLegalBlogsSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TryOurFreeLegalBlogsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TryOurFreeLegalBlogsSectionStyled = styled.section `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
|
|
7
|
+
@media ${device['landscape-tablets']} {
|
|
8
|
+
flex-flow: row nowrap;
|
|
9
|
+
}
|
|
10
|
+
`;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const TryOurFreeLegalBlogsSectionStyled = styled.section`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
|
|
8
|
+
@media ${device['landscape-tablets']} {
|
|
9
|
+
flex-flow: row nowrap;
|
|
10
|
+
}
|
|
11
|
+
`
|