@npm_leadtech/legal-lib-components 5.3.21 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +1042 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +4 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.js +7 -0
- package/dist/src/components/{sections/BlogSection/BlogSection.styled.d.ts → atoms/ContactCard/ContactCard.styled.d.ts} +1 -1
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +40 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +41 -0
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +44 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +9 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +1 -0
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +9 -0
- package/dist/src/components/atoms/ContactCard/index.d.ts +2 -0
- package/dist/src/components/atoms/ContactCard/index.js +1 -0
- package/dist/src/components/atoms/ContactCard/index.ts +2 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +5 -3
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +5 -3
- package/dist/src/components/atoms/index.d.ts +1 -0
- package/dist/src/components/atoms/index.js +1 -0
- package/dist/src/components/atoms/index.ts +1 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +4 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.js +7 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +1 -0
- package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js → molecules/ContactCardList/ContactCardList.styled.js} +4 -5
- package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts → molecules/ContactCardList/ContactCardList.styled.ts} +4 -5
- package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +17 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +4 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +1 -0
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ContactCardList/index.d.ts +2 -0
- package/dist/src/components/molecules/ContactCardList/index.js +1 -0
- package/dist/src/components/molecules/ContactCardList/index.ts +2 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
- package/dist/src/components/molecules/index.d.ts +1 -0
- package/dist/src/components/molecules/index.js +1 -0
- package/dist/src/components/molecules/index.ts +1 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +4 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.js +9 -0
- package/dist/src/components/{sections/AboutUsSection/AboutUsSection.styled.d.ts → organisms/ContactContent/ContactContent.styled.d.ts} +1 -1
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +28 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +29 -0
- package/dist/src/components/organisms/ContactContent/ContactContent.tsx +20 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +6 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +1 -0
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +7 -0
- package/dist/src/components/organisms/ContactContent/index.d.ts +2 -0
- package/dist/src/components/organisms/ContactContent/index.js +1 -0
- package/dist/src/components/organisms/ContactContent/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/components/organisms/index.js +1 -0
- package/dist/src/components/organisms/index.ts +1 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +37 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +5 -21
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +3 -6
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +3 -6
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/BlogSection/BlogSection.js +1 -2
- package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +2 -3
- package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
- package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss} +9 -9
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
- package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +1 -2
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +2 -3
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +12 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
- package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.styled.ts → HowGetYourFormsSection.scss} +8 -7
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +3 -6
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
- package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.styled.ts → LearnMoreSection.scss} +12 -12
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
- package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
- package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +42 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +4 -3
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
- package/dist/src/components/sections/TryUsSection/{TryUsSection.styled.ts → TryUsSection.scss} +5 -5
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +35 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +4 -3
- package/dist/src/globalStyles/styles.scss +25 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +0 -53
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +0 -54
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +0 -97
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -98
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +0 -51
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +0 -52
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +0 -54
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +0 -55
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -32
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -33
- package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +0 -1
- package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -89
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -27
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -28
- package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +0 -1
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +0 -29
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +0 -30
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -56
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -57
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -10
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -11
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -24
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +0 -39
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +0 -40
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +0 -1
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +0 -40
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +0 -41
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +0 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +0 -106
- package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +0 -1
- package/dist/src/components/sections/LegalSection/LegalSection.styled.js +0 -121
- package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +0 -122
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -46
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -47
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +0 -43
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +0 -44
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +0 -55
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +0 -56
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +0 -70
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +0 -71
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -10
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -11
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +0 -23
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +0 -1
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +0 -63
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +0 -64
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -36
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -37
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AsSeeInContent } from '../../organisms';
|
|
3
|
-
import
|
|
2
|
+
import { AsSeeInContent, ContactContent } from '../../organisms';
|
|
3
|
+
// import './AsSeeInSection.scss'
|
|
4
4
|
const AsSeeInSection = ({ title, contentAsSeeIn, contactSectionTitle, contactSectionText, contactSectionBlocks }) => {
|
|
5
5
|
if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs("section", { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), _jsx(ContactContent, { title: contactSectionTitle, text: contactSectionText, contactCards: contactSectionBlocks })] }));
|
|
9
9
|
};
|
|
10
10
|
export default AsSeeInSection;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.as-seen-in-section-box {
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
background-color: get-color(secondary, main-light-5);
|
|
7
|
+
padding: 0 1.5rem;
|
|
8
|
+
|
|
9
|
+
@include laptop {
|
|
10
|
+
margin-top: 12rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.as-seen-in-section {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
17
|
+
background: get-color(others, white);
|
|
18
|
+
transform: translateY(-5rem);
|
|
19
|
+
padding: 1.5rem 0;
|
|
20
|
+
|
|
21
|
+
@include laptop {
|
|
22
|
+
transform: translateY(-50%);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__title {
|
|
26
|
+
color: var(--neutral-neutral-2);
|
|
27
|
+
text-align: center;
|
|
28
|
+
font-size: 32px;
|
|
29
|
+
font-family: var(--font-serif);
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
line-height: 42px;
|
|
33
|
+
letter-spacing: -0.3px;
|
|
34
|
+
margin: 1rem 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
|
-
import { AsSeeInContent } from '../../organisms'
|
|
3
|
+
import { AsSeeInContent, ContactContent } from '../../organisms'
|
|
4
4
|
import { type AsSeeInSectionProps } from './AsSeeInSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './AsSeeInSection.scss'
|
|
6
6
|
|
|
7
7
|
const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
8
8
|
title,
|
|
@@ -16,29 +16,13 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
|
-
<
|
|
19
|
+
<section className='as-seen-in-section-box'>
|
|
20
20
|
<div className='as-seen-in-section wrapper'>
|
|
21
21
|
<h2 className='as-seen-in-section__title'>{title}</h2>
|
|
22
22
|
<AsSeeInContent trustWorthyImages={contentAsSeeIn.trustWorthyImages}>{contentAsSeeIn.children}</AsSeeInContent>
|
|
23
23
|
</div>
|
|
24
|
-
{
|
|
25
|
-
|
|
26
|
-
<h2 className='contact-us-section__title'>{contactSectionTitle}</h2>
|
|
27
|
-
<p className='contact-us-section__text'>{contactSectionText}</p>
|
|
28
|
-
{Array.isArray(contactSectionBlocks) && (
|
|
29
|
-
<div className='contact-us-section-blocks'>
|
|
30
|
-
{contactSectionBlocks.map((item, index) => (
|
|
31
|
-
<div className='contact-us-section-blocks__item' key={index}>
|
|
32
|
-
<div className='contact-us-section-blocks__item__image'>{item.image}</div>
|
|
33
|
-
<div className='contact-us-section-blocks__item__title'>{item.title}</div>
|
|
34
|
-
<p className='contact-us-section-blocks__item__text'>{item.body}</p>
|
|
35
|
-
</div>
|
|
36
|
-
))}
|
|
37
|
-
</div>
|
|
38
|
-
)}
|
|
39
|
-
</div>
|
|
40
|
-
)}
|
|
41
|
-
</AsSeeInSectionStyled>
|
|
24
|
+
<ContactContent title={contactSectionTitle} text={contactSectionText} contactCards={contactSectionBlocks} />
|
|
25
|
+
</section>
|
|
42
26
|
)
|
|
43
27
|
}
|
|
44
28
|
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { type AsSeeInContentProps } from '../../organisms
|
|
1
|
+
import { type AsSeeInContentProps } from '../../organisms';
|
|
2
|
+
import { ContactCardProps } from '../../atoms';
|
|
2
3
|
export interface AsSeeInSectionProps {
|
|
3
4
|
title: string;
|
|
4
5
|
contentAsSeeIn: AsSeeInContentProps;
|
|
5
6
|
contactSectionTitle: string;
|
|
6
7
|
contactSectionText: string;
|
|
7
|
-
contactSectionBlocks?:
|
|
8
|
-
image: React.ReactNode;
|
|
9
|
-
title: string;
|
|
10
|
-
body: string;
|
|
11
|
-
}[];
|
|
8
|
+
contactSectionBlocks?: ContactCardProps[];
|
|
12
9
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { type AsSeeInContentProps } from '../../organisms
|
|
1
|
+
import { type AsSeeInContentProps } from '../../organisms'
|
|
2
|
+
import { ContactCardProps } from '../../atoms'
|
|
2
3
|
|
|
3
4
|
export interface AsSeeInSectionProps {
|
|
4
5
|
title: string
|
|
5
6
|
contentAsSeeIn: AsSeeInContentProps
|
|
6
7
|
contactSectionTitle: string
|
|
7
8
|
contactSectionText: string
|
|
8
|
-
contactSectionBlocks?:
|
|
9
|
-
image: React.ReactNode
|
|
10
|
-
title: string
|
|
11
|
-
body: string
|
|
12
|
-
}[]
|
|
9
|
+
contactSectionBlocks?: ContactCardProps[]
|
|
13
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './AsideMenuSection.scss'
|
|
3
3
|
export const AsideMenuSection = ({ items, title = '', onClickHandler }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("aside", { className: 'asideMenu', children: [title.length > 0 && _jsx("div", { className: 'title sans-serif --big', children: title }), _jsx("ul", { className: 'list', children: items.map((item, index) => (_jsx("li", { className: `navItem ${index === 0 ? 'inView' : ''}`, id: `list-item-${item.slug}`, onClick: onClickHandler, onKeyUp: () => onClickHandler, role: 'menuitem', children: onClickHandler !== undefined ? _jsx("span", { children: item.text }) : _jsx("a", { href: `#${item.slug}`, children: item.text }) }, item.id))) })] }));
|
|
5
5
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.asideMenu {
|
|
4
|
+
.title {
|
|
5
|
+
color: var(--neutral-neutral-1);
|
|
6
|
+
font-weight: bold;
|
|
7
|
+
padding-bottom: 1rem;
|
|
8
|
+
border-bottom: get-color(neutral, neutral-4) 1px solid;
|
|
9
|
+
margin-bottom: 1.5rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.list {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
position: sticky;
|
|
16
|
+
top: 17%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.navItem {
|
|
20
|
+
color: var(--neutral-neutral-1);
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
line-height: 18px;
|
|
23
|
+
letter-spacing: -0.3px;
|
|
24
|
+
padding: 16px 0;
|
|
25
|
+
border-top: get-color(neutral, neutral-4) 1px solid;
|
|
26
|
+
border-bottom: get-color(neutral, neutral-4) 1px solid;
|
|
27
|
+
|
|
28
|
+
span {
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.inView {
|
|
33
|
+
span,
|
|
34
|
+
a {
|
|
35
|
+
color: var(--primary-main);
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:first-child {
|
|
41
|
+
padding-top: 0;
|
|
42
|
+
border: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:last-child {
|
|
46
|
+
padding-bottom: 0;
|
|
47
|
+
border: none;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type AsideMenuSectionProps } from './AsideMenuSectionProps'
|
|
4
|
-
import
|
|
4
|
+
// import './AsideMenuSection.scss'
|
|
5
5
|
|
|
6
6
|
export const AsideMenuSection: React.FC<AsideMenuSectionProps> = ({ items, title = '', onClickHandler }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<aside className='asideMenu'>
|
|
9
9
|
{title.length > 0 && <div className='title sans-serif --big'>{title}</div>}
|
|
10
10
|
<ul className='list'>
|
|
11
11
|
{items.map((item, index) => (
|
|
@@ -21,6 +21,6 @@ export const AsideMenuSection: React.FC<AsideMenuSectionProps> = ({ items, title
|
|
|
21
21
|
</li>
|
|
22
22
|
))}
|
|
23
23
|
</ul>
|
|
24
|
-
</
|
|
24
|
+
</aside>
|
|
25
25
|
)
|
|
26
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { BenefitRatafiaCardList } from '../../molecules';
|
|
3
|
-
import
|
|
3
|
+
// import './BenefitsRatafiaSection.scss'
|
|
4
4
|
const BenefitsRatafiaSection = ({ title, description, benefits }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: 'benefit-ratafia-section', children: _jsxs("div", { className: 'benefit-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'benefit-ratafia-section__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text', children: title }), _jsx("p", { className: 'sans-serif --super-medium benefit-ratafia-section__wrapper__title__description', children: description })] }), _jsx(BenefitRatafiaCardList, { benefits: benefits })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default BenefitsRatafiaSection;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.benefit-ratafia-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-content: center;
|
|
8
|
+
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
padding: 2rem 1.5rem;
|
|
12
|
+
|
|
13
|
+
@include laptop {
|
|
14
|
+
padding: 3rem 2rem;
|
|
15
|
+
}
|
|
16
|
+
@include desktop-xl {
|
|
17
|
+
padding: 3rem 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__wrapper {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
align-items: center;
|
|
25
|
+
align-self: stretch;
|
|
26
|
+
|
|
27
|
+
padding: 1.5rem;
|
|
28
|
+
gap: 2rem;
|
|
29
|
+
|
|
30
|
+
border-radius: 16px;
|
|
31
|
+
|
|
32
|
+
max-width: 1200px;
|
|
33
|
+
|
|
34
|
+
@include landscape-tablets {
|
|
35
|
+
padding: 2rem;
|
|
36
|
+
}
|
|
37
|
+
@include laptop {
|
|
38
|
+
padding: 3rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__title {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: flex-start;
|
|
46
|
+
align-self: stretch;
|
|
47
|
+
gap: 1rem;
|
|
48
|
+
|
|
49
|
+
&__text {
|
|
50
|
+
color: var(--others-white);
|
|
51
|
+
}
|
|
52
|
+
&__description {
|
|
53
|
+
color: var(--others-white);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { BenefitRatafiaCardList } from '../../molecules'
|
|
4
4
|
import { type BenefitsRatafiaSectionProps } from './BenefitsRatafiaSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './BenefitsRatafiaSection.scss'
|
|
6
6
|
|
|
7
7
|
const BenefitsRatafiaSection: FC<BenefitsRatafiaSectionProps> = ({ title, description, benefits }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<section className='benefit-ratafia-section'>
|
|
10
10
|
<div className='benefit-ratafia-section__wrapper background-ratafia-animation'>
|
|
11
11
|
<div className='benefit-ratafia-section__wrapper__title'>
|
|
12
12
|
<h2 className='sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text'>
|
|
@@ -18,7 +18,7 @@ const BenefitsRatafiaSection: FC<BenefitsRatafiaSectionProps> = ({ title, descri
|
|
|
18
18
|
</div>
|
|
19
19
|
<BenefitRatafiaCardList benefits={benefits} />
|
|
20
20
|
</div>
|
|
21
|
-
</
|
|
21
|
+
</section>
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ArticlesList } from '../../organisms';
|
|
3
|
-
import { BlogSectionStyled } from './BlogSection.styled';
|
|
4
3
|
import { Button } from '../../atoms';
|
|
5
4
|
// import './BlogSection.scss'
|
|
6
5
|
const BlogSection = ({ blogTitle, blogCta, articles }) => {
|
|
7
6
|
if (articles.articles?.length === 0)
|
|
8
7
|
return null;
|
|
9
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs("div", { className: 'blog', children: [_jsx("h2", { className: 'serif --super-large blog__title', children: blogTitle }), _jsx(ArticlesList, { articles: articles.articles }), _jsx(Button, { dataQa: '', color: 'secondary', label: blogCta, givenClass: 'cta-button', link: '/articles' })] }));
|
|
10
9
|
};
|
|
11
10
|
export default BlogSection;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.blog {
|
|
5
|
+
text-align: center;
|
|
6
|
+
margin: 0 auto 3rem;
|
|
7
|
+
padding: 0 1rem;
|
|
8
|
+
max-width: $md;
|
|
9
|
+
|
|
10
|
+
@include laptop {
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
@include desktop {
|
|
14
|
+
max-width: $lg;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.blog__title {
|
|
18
|
+
color: var(--primary-main-dark-1);
|
|
19
|
+
|
|
20
|
+
@include laptop {
|
|
21
|
+
margin-bottom: 3rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cta-button {
|
|
26
|
+
width: 100%;
|
|
27
|
+
margin-top: 3rem;
|
|
28
|
+
display: inline-block;
|
|
29
|
+
@include landscape-tablets {
|
|
30
|
+
width: auto;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -3,7 +3,6 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { ArticlesList } from '../../organisms'
|
|
5
5
|
import { type BlogSectionProps } from './BlogSectionProps.types'
|
|
6
|
-
import { BlogSectionStyled } from './BlogSection.styled'
|
|
7
6
|
import { Button } from '../../atoms'
|
|
8
7
|
// import './BlogSection.scss'
|
|
9
8
|
|
|
@@ -11,11 +10,11 @@ const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta, articles }) =>
|
|
|
11
10
|
if (articles.articles?.length === 0) return null
|
|
12
11
|
|
|
13
12
|
return (
|
|
14
|
-
<
|
|
13
|
+
<div className={'blog'}>
|
|
15
14
|
<h2 className={'serif --super-large blog__title'}>{blogTitle}</h2>
|
|
16
15
|
<ArticlesList articles={articles.articles} />
|
|
17
16
|
<Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />
|
|
18
|
-
</
|
|
17
|
+
</div>
|
|
19
18
|
)
|
|
20
19
|
}
|
|
21
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { BoxForm } from '../../molecules';
|
|
3
3
|
import { ContactJumbotron } from '../../organisms';
|
|
4
|
-
import
|
|
4
|
+
// import './ContactSection.scss'
|
|
5
5
|
export const ContactSection = ({ contactJumbotronProps, contactForm }) => {
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx("section", { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
|
|
7
7
|
};
|
package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.contact-container {
|
|
5
5
|
background-color: var(--primary-main-light-6);
|
|
6
6
|
|
|
7
7
|
span > a {
|
|
@@ -12,7 +12,7 @@ export const ContactSectionStyled = styled.section`
|
|
|
12
12
|
padding-left: 0;
|
|
13
13
|
padding-right: 0;
|
|
14
14
|
|
|
15
|
-
@
|
|
15
|
+
@include portrait-tablets {
|
|
16
16
|
padding-left: 1.5rem;
|
|
17
17
|
padding-right: 1.5rem;
|
|
18
18
|
}
|
|
@@ -22,7 +22,7 @@ export const ContactSectionStyled = styled.section`
|
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column-reverse;
|
|
24
24
|
|
|
25
|
-
@
|
|
25
|
+
@include portrait-tablets {
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
}
|
|
@@ -32,7 +32,7 @@ export const ContactSectionStyled = styled.section`
|
|
|
32
32
|
padding-left: 1.5rem;
|
|
33
33
|
padding-right: 1.5rem;
|
|
34
34
|
|
|
35
|
-
@
|
|
35
|
+
@include portrait-tablets {
|
|
36
36
|
padding-left: 0;
|
|
37
37
|
padding-right: 0;
|
|
38
38
|
width: 45%;
|
|
@@ -46,7 +46,7 @@ export const ContactSectionStyled = styled.section`
|
|
|
46
46
|
margin-bottom: 2.5rem;
|
|
47
47
|
width: 100%;
|
|
48
48
|
|
|
49
|
-
@
|
|
49
|
+
@include portrait-tablets {
|
|
50
50
|
background-size: 21rem;
|
|
51
51
|
background-repeat: no-repeat;
|
|
52
52
|
background-position: 100% 100%;
|
|
@@ -55,7 +55,7 @@ export const ContactSectionStyled = styled.section`
|
|
|
55
55
|
width: 45%;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
@
|
|
58
|
+
@include laptop {
|
|
59
59
|
padding-bottom: 12rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -87,4 +87,4 @@ export const ContactSectionStyled = styled.section`
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
}
|
|
@@ -3,11 +3,11 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
import { BoxForm } from '../../molecules'
|
|
4
4
|
import { ContactJumbotron } from '../../organisms'
|
|
5
5
|
import { type ContactSectionProps } from './ContactSectionProps'
|
|
6
|
-
import
|
|
6
|
+
// import './ContactSection.scss'
|
|
7
7
|
|
|
8
8
|
export const ContactSection: FC<ContactSectionProps> = ({ contactJumbotronProps, contactForm }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<section className='contact-container'>
|
|
11
11
|
<div className='wrapper wrapper--responsive wrapper--contact'>
|
|
12
12
|
<div className='contact__main'>
|
|
13
13
|
<div className='contact-left-container'>
|
|
@@ -20,6 +20,6 @@ export const ContactSection: FC<ContactSectionProps> = ({ contactJumbotronProps,
|
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
|
-
</
|
|
23
|
+
</section>
|
|
24
24
|
)
|
|
25
25
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExpertCardList } from '../../molecules';
|
|
3
|
-
import
|
|
3
|
+
// import './ExpertsSection.scss'
|
|
4
4
|
const ExpertsSection = ({ title, contentExpertCardList }) => {
|
|
5
5
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs("div", { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
9
9
|
};
|
|
10
10
|
export default ExpertsSection;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.experts-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
background-color: var(--neutral-neutral-6);
|
|
9
|
+
margin-bottom: 4rem;
|
|
10
|
+
|
|
11
|
+
&__title {
|
|
12
|
+
font-family: var(--font-serif);
|
|
13
|
+
font-size: 32px;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
line-height: 42px;
|
|
16
|
+
letter-spacing: -0.3px;
|
|
17
|
+
text-align: center;
|
|
18
|
+
margin: 0 auto 5rem;
|
|
19
|
+
width: 90%;
|
|
20
|
+
transform: translateY(50px);
|
|
21
|
+
|
|
22
|
+
@include landscape-tablets {
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { ExpertCardList } from '../../molecules'
|
|
4
4
|
import { type ExpertsSectionProps } from './ExpertsSectionProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './ExpertsSection.scss'
|
|
6
6
|
|
|
7
7
|
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
|
|
8
8
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
@@ -10,10 +10,10 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
|
-
<
|
|
13
|
+
<div className='experts-section'>
|
|
14
14
|
<h2 className='experts-section__title'>{title}</h2>
|
|
15
15
|
<ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
|
|
16
|
-
</
|
|
16
|
+
</div>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { FaqGroup } from '../../organisms';
|
|
4
|
-
import
|
|
4
|
+
// import './FaqSection.scss'
|
|
5
5
|
export const FaqSection = ({ groups, givenClass }) => {
|
|
6
6
|
const classnames = classNames(`faqSection ${givenClass ?? ''}`);
|
|
7
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("section", { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups.map((group) => (_jsx(FaqGroup, { ...group }, group.id))) }));
|
|
8
8
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.faqSection {
|
|
5
|
+
display: flex;
|
|
6
|
+
padding-bottom: 40px;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 40px;
|
|
9
|
+
max-width: 700px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.faq-ratafia-section {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
|
|
18
|
+
padding: 3rem 1.5rem 5rem 1.5rem;
|
|
19
|
+
max-width: none;
|
|
20
|
+
background: var(--neutral-neutral-6);
|
|
21
|
+
|
|
22
|
+
@include laptop {
|
|
23
|
+
padding: 3rem 2rem 5rem 2rem;
|
|
24
|
+
}
|
|
25
|
+
@include desktop {
|
|
26
|
+
padding: 3rem 13.75rem 5rem 13.75rem;
|
|
27
|
+
}
|
|
28
|
+
@include desktop-xl {
|
|
29
|
+
padding: 3rem 28rem 5rem 28rem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -3,16 +3,16 @@ import classNames from 'classnames'
|
|
|
3
3
|
|
|
4
4
|
import { FaqGroup } from '../../organisms'
|
|
5
5
|
import { type FaqSectionProps } from './FaqSectionProps'
|
|
6
|
-
import
|
|
6
|
+
// import './FaqSection.scss'
|
|
7
7
|
|
|
8
8
|
export const FaqSection: React.FC<FaqSectionProps> = ({ groups, givenClass }) => {
|
|
9
9
|
const classnames = classNames(`faqSection ${givenClass ?? ''}`)
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<
|
|
12
|
+
<section className={classnames} itemScope itemType='https://www.schema.org/FAQPage'>
|
|
13
13
|
{groups.map((group) => (
|
|
14
14
|
<FaqGroup key={group.id} {...group} />
|
|
15
15
|
))}
|
|
16
|
-
</
|
|
16
|
+
</section>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FeaturesRatafiaContent } from '../../organisms';
|
|
3
|
-
import
|
|
3
|
+
// import './FeaturesRatafiaSection.scss'
|
|
4
4
|
const FeaturesRatafiaSection = ({ content, children }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("section", { className: 'features-ratafia-section', children: _jsxs("div", { className: 'features-ratafia-section__wrapper', children: [_jsx("div", { className: 'features-ratafia-section__wrapper__content', children: _jsx(FeaturesRatafiaContent, { title: content.title, description: content.description, notReleasedText: content.notReleasedText, features: content.features }) }), _jsx("span", { className: 'features-ratafia-section__wrapper__children', children: children })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default FeaturesRatafiaSection;
|