@npm_leadtech/legal-lib-components 7.0.3 → 7.0.4
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/src/components/atoms/BenefitCard/BenefitCard.d.ts +3 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCard.js +5 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +24 -0
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts → BenefitCard/BenefitCardProps.types.d.ts} +3 -1
- package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +8 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +1 -0
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.js → BenefitCard/BenefitCardStyled.styled.js} +10 -4
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.ts → BenefitCard/BenefitCardStyled.styled.ts} +10 -4
- package/dist/src/components/atoms/BenefitCard/index.d.ts +2 -0
- package/dist/src/components/atoms/BenefitCard/index.js +1 -0
- package/dist/src/components/atoms/BenefitCard/index.ts +2 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +2 -1
- package/dist/src/components/atoms/Button/ButtonProps.types.js +1 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +18 -16
- package/dist/src/components/atoms/CardBox/CardBox.d.ts +3 -0
- package/dist/src/components/atoms/CardBox/CardBox.js +7 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.js +22 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.ts +23 -0
- package/dist/src/components/atoms/CardBox/CardBox.tsx +23 -0
- package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +9 -0
- package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +9 -0
- package/dist/src/components/atoms/CardBox/index.d.ts +2 -0
- package/dist/src/components/atoms/CardBox/index.js +1 -0
- package/dist/src/components/atoms/CardBox/index.ts +2 -0
- package/dist/src/components/atoms/index.d.ts +2 -1
- package/dist/src/components/atoms/index.js +2 -1
- package/dist/src/components/atoms/index.ts +2 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +0 -11
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +0 -11
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +1 -18
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +0 -1
- package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +6 -0
- package/dist/src/components/molecules/SubscriptionCard/CardBody.js +6 -0
- package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +29 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +8 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +3 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +23 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +6 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +3 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +1 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +30 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +31 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +14 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +4 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +15 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +38 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +20 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +22 -0
- package/dist/src/components/{atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts} +1 -1
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +10 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +11 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +8 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +4 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +1 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +29 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +30 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +20 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +14 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +34 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
- package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js → SubscriptionCard/SubscriptionCard.styled.js} +14 -32
- package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts → SubscriptionCard/SubscriptionCard.styled.ts} +14 -32
- package/dist/src/components/molecules/SubscriptionCard/index.d.ts +4 -0
- package/dist/src/components/molecules/SubscriptionCard/index.js +2 -0
- package/dist/src/components/molecules/SubscriptionCard/index.ts +4 -0
- package/dist/src/components/molecules/index.d.ts +1 -1
- package/dist/src/components/molecules/index.js +1 -1
- package/dist/src/components/molecules/index.ts +1 -1
- package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +4 -0
- package/dist/src/components/organisms/HeroContent/HeroContent.js +7 -0
- package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.js → HeroContent/HeroContent.styled.js} +3 -3
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.ts → HeroContent/HeroContent.styled.ts} +3 -3
- package/dist/src/components/organisms/HeroContent/HeroContent.tsx +23 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.d.ts → HeroContent/HeroContentPropsProps.types.d.ts} +1 -1
- package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +1 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.ts → HeroContent/HeroContentPropsProps.types.ts} +1 -1
- package/dist/src/components/organisms/HeroContent/index.d.ts +2 -0
- package/dist/src/components/organisms/HeroContent/index.js +1 -0
- package/dist/src/components/organisms/HeroContent/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +1 -1
- package/dist/src/components/organisms/index.js +1 -1
- package/dist/src/components/organisms/index.ts +1 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -5
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -4
- package/dist/src/components/pages/PricingPage/PricingPage.d.ts +3 -0
- package/dist/src/components/pages/PricingPage/PricingPage.js +10 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +1 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.js +88 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +89 -0
- package/dist/src/components/pages/PricingPage/PricingPage.tsx +49 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +29 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.js +1 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.ts +33 -0
- package/dist/src/components/pages/PricingPage/index.d.ts +1 -0
- package/dist/src/components/pages/PricingPage/index.js +1 -0
- package/dist/src/components/pages/PricingPage/index.ts +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +4 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +9 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +2 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +33 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +35 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +23 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +4 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +1 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +5 -0
- package/dist/src/components/sections/CardBoxSection/index.d.ts +2 -0
- package/dist/src/components/sections/CardBoxSection/index.js +1 -0
- package/dist/src/components/sections/CardBoxSection/index.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
- package/dist/src/components/sections/HeroSection/HeroSection.d.ts +4 -0
- package/dist/src/components/sections/HeroSection/HeroSection.js +7 -0
- package/dist/src/components/sections/HeroSection/HeroSection.tsx +24 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +6 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +1 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +7 -0
- package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +1 -0
- package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.js → HeroSection/HeroSectionStyled.styled.js} +2 -2
- package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.ts → HeroSection/HeroSectionStyled.styled.ts} +2 -2
- package/dist/src/components/sections/HeroSection/index.d.ts +2 -0
- package/dist/src/components/sections/HeroSection/index.js +1 -0
- package/dist/src/components/sections/HeroSection/index.ts +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +3 -5
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -45
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -45
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +2 -5
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +1 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +1 -1
- package/dist/src/components/sections/index.d.ts +2 -1
- package/dist/src/components/sections/index.js +2 -1
- package/dist/src/components/sections/index.ts +2 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -4
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +0 -4
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +0 -18
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +0 -6
- package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +0 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -61
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +0 -4
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +0 -23
- package/dist/src/components/organisms/AboutUsContent/index.d.ts +0 -2
- package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
- package/dist/src/components/organisms/AboutUsContent/index.ts +0 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +0 -4
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -24
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +0 -6
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +0 -7
- package/dist/src/components/sections/AboutUsSection/index.d.ts +0 -2
- package/dist/src/components/sections/AboutUsSection/index.js +0 -1
- package/dist/src/components/sections/AboutUsSection/index.ts +0 -2
- /package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.js → BenefitCard/BenefitCardProps.types.js} +0 -0
- /package/dist/src/components/{molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js → atoms/CardBox/CardBoxProps.types.js} +0 -0
- /package/dist/src/components/{organisms/AboutUsContent/AboutUsContentProps.types.js → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js} +0 -0
- /package/dist/src/components/{sections/AboutUsSection/AboutUsSectionProps.types.js → molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const CardBoxMinimalSectionStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
padding: 48px 24px;
|
|
8
|
+
gap: 16px;
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
background: var(--neutral-neutral-6);
|
|
11
|
+
|
|
12
|
+
@media ${device['landscape-tablets']} {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
export const CardBoxFeaturedSectionStyled = styled.div `
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
padding: 24px 24px;
|
|
21
|
+
gap: 16px;
|
|
22
|
+
background: var(--neutral-neutral-6);
|
|
23
|
+
border-radius: 16px;
|
|
24
|
+
margin-bottom: 80px;
|
|
25
|
+
margin-top: 32px;
|
|
26
|
+
@media ${device.desktop} {
|
|
27
|
+
min-width: 1200px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media ${device['landscape-tablets']} {
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const CardBoxMinimalSectionStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 48px 24px;
|
|
9
|
+
gap: 16px;
|
|
10
|
+
align-self: stretch;
|
|
11
|
+
background: var(--neutral-neutral-6);
|
|
12
|
+
|
|
13
|
+
@media ${device['landscape-tablets']} {
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
}
|
|
16
|
+
`
|
|
17
|
+
|
|
18
|
+
export const CardBoxFeaturedSectionStyled = styled.div`
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
padding: 24px 24px;
|
|
23
|
+
gap: 16px;
|
|
24
|
+
background: var(--neutral-neutral-6);
|
|
25
|
+
border-radius: 16px;
|
|
26
|
+
margin-bottom: 80px;
|
|
27
|
+
margin-top: 32px;
|
|
28
|
+
@media ${device.desktop} {
|
|
29
|
+
min-width: 1200px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media ${device['landscape-tablets']} {
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
}
|
|
35
|
+
`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled'
|
|
4
|
+
import { CardBox } from '../../atoms'
|
|
5
|
+
import { type CardBoxSectionProps } from './CardBoxSectionProps'
|
|
6
|
+
|
|
7
|
+
export const CardBoxMinimalSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
|
|
8
|
+
return (
|
|
9
|
+
<CardBoxMinimalSectionStyled>
|
|
10
|
+
{cards?.map(({ text, icon }, index) => <CardBox key={`${index}-${text}`} text={text} icon={icon} />)}
|
|
11
|
+
</CardBoxMinimalSectionStyled>
|
|
12
|
+
)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const CardBoxFeaturedSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
|
|
16
|
+
return (
|
|
17
|
+
<CardBoxFeaturedSectionStyled>
|
|
18
|
+
{cards?.map(({ text, icon }, index) => (
|
|
19
|
+
<CardBox key={`${index}-${text}`} text={text} icon={icon} padding='16px' gap='0.5rem' borderRadius='8px' />
|
|
20
|
+
))}
|
|
21
|
+
</CardBoxFeaturedSectionStyled>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
|
|
@@ -4,5 +4,5 @@ import { FaqGroup } from '../../organisms';
|
|
|
4
4
|
import { FaqSectionStyled } from './FaqSection.styled';
|
|
5
5
|
export const FaqSection = ({ groups, givenClass }) => {
|
|
6
6
|
const classnames = classNames(`faqSection ${givenClass ?? ''}`);
|
|
7
|
-
return (_jsx(FaqSectionStyled, { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups
|
|
7
|
+
return (_jsx(FaqSectionStyled, { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups?.map((group) => _jsx(FaqGroup, { ...group }, group.id)) }));
|
|
8
8
|
};
|
|
@@ -10,9 +10,7 @@ export const FaqSection: React.FC<FaqSectionProps> = ({ groups, givenClass }) =>
|
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<FaqSectionStyled className={classnames} itemScope itemType='https://www.schema.org/FAQPage'>
|
|
13
|
-
{groups
|
|
14
|
-
<FaqGroup key={group.id} {...group} />
|
|
15
|
-
))}
|
|
13
|
+
{groups?.map((group) => <FaqGroup key={group.id} {...group} />)}
|
|
16
14
|
</FaqSectionStyled>
|
|
17
15
|
)
|
|
18
16
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { HeroContent } from '../../organisms/HeroContent';
|
|
3
|
+
import { HeroSectionStyled } from './HeroSectionStyled.styled';
|
|
4
|
+
const HeroSection = ({ title, subTitle, content }) => {
|
|
5
|
+
return (_jsx(HeroSectionStyled, { className: 'hero-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'hero-section__title', children: _jsx("span", { className: 'hero-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'hero-section__sub-title', children: subTitle }), _jsx(HeroContent, { image: content.image, button: content?.button, children: content.children })] }) }));
|
|
6
|
+
};
|
|
7
|
+
export default HeroSection;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { HeroContent } from '../../organisms/HeroContent'
|
|
4
|
+
import { type HeroSectionProps } from './HeroSectionProps.types'
|
|
5
|
+
import { HeroSectionStyled } from './HeroSectionStyled.styled'
|
|
6
|
+
|
|
7
|
+
const HeroSection: FC<HeroSectionProps> = ({ title, subTitle, content }) => {
|
|
8
|
+
return (
|
|
9
|
+
<HeroSectionStyled className='hero-section'>
|
|
10
|
+
<div className='wrapper wrapper--responsive'>
|
|
11
|
+
<div className='hero-section__title'>
|
|
12
|
+
<span className='hero-section__title__text'>{title}</span>
|
|
13
|
+
</div>
|
|
14
|
+
{Boolean(subTitle) && <h1 className='hero-section__sub-title'>{subTitle}</h1>}
|
|
15
|
+
|
|
16
|
+
<HeroContent image={content.image} button={content?.button}>
|
|
17
|
+
{content.children}
|
|
18
|
+
</HeroContent>
|
|
19
|
+
</div>
|
|
20
|
+
</HeroSectionStyled>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default HeroSection
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HeroSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
export const
|
|
3
|
+
export const HeroSectionStyled = styled.div `
|
|
4
4
|
padding-top: 1.125rem;
|
|
5
5
|
background: var(--primary-main-light-6);
|
|
6
6
|
padding-bottom: 2rem;
|
|
@@ -9,7 +9,7 @@ export const AboutUsSectionStyled = styled.div `
|
|
|
9
9
|
padding-bottom: 4rem;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.hero-section {
|
|
13
13
|
&__title {
|
|
14
14
|
text-align: center;
|
|
15
15
|
margin-bottom: 1rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints'
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const HeroSectionStyled = styled.div`
|
|
5
5
|
padding-top: 1.125rem;
|
|
6
6
|
background: var(--primary-main-light-6);
|
|
7
7
|
padding-bottom: 2rem;
|
|
@@ -10,7 +10,7 @@ export const AboutUsSectionStyled = styled.div`
|
|
|
10
10
|
padding-bottom: 4rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.
|
|
13
|
+
.hero-section {
|
|
14
14
|
&__title {
|
|
15
15
|
text-align: center;
|
|
16
16
|
margin-bottom: 1rem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HeroSection } from './HeroSection';
|
|
@@ -3,12 +3,10 @@ import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules
|
|
|
3
3
|
import { MidBannerRatafiaSectionStyled } from './MidBannerRatafiaSection.styled';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
6
|
-
const isEsignature = ctaDataQa.includes('esignature');
|
|
7
|
-
const isAbout = ctaDataQa.includes('about');
|
|
6
|
+
const isEsignature = ctaDataQa.includes('esignature') && true;
|
|
8
7
|
const classnames = classNames({
|
|
9
|
-
'--is-esignature': isEsignature
|
|
10
|
-
'--is-about': isAbout
|
|
8
|
+
'--is-esignature': isEsignature
|
|
11
9
|
});
|
|
12
|
-
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image,
|
|
10
|
+
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image, isEsignatureImage: isEsignature, midBanner1Img: midBanner1Img, midBanner2Img: midBanner2Img, midBanner3Img: midBanner3Img }) })] }) }));
|
|
13
11
|
};
|
|
14
12
|
export default MidBannerRatafiaSection;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js
CHANGED
|
@@ -51,16 +51,6 @@ export const MidBannerRatafiaSectionStyled = styled.section `
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
55
|
-
@media ${device.desktop} {
|
|
56
|
-
padding: 3rem 5rem 0rem 4rem;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.mid-banner-ratafia-content {
|
|
60
|
-
padding-bottom: 3rem;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
54
|
.mid-banner-ratafia-section__wrapper__sample.--is-esignature {
|
|
65
55
|
display: none;
|
|
66
56
|
|
|
@@ -83,39 +73,4 @@ export const MidBannerRatafiaSectionStyled = styled.section `
|
|
|
83
73
|
}
|
|
84
74
|
}
|
|
85
75
|
}
|
|
86
|
-
|
|
87
|
-
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
88
|
-
background-color: var(--primary-main-light-6);
|
|
89
|
-
|
|
90
|
-
.mid-banner-ratafia-content {
|
|
91
|
-
height: 100%;
|
|
92
|
-
justify-content: center;
|
|
93
|
-
&__header {
|
|
94
|
-
h2 {
|
|
95
|
-
color: var(--primary-main-dark-2);
|
|
96
|
-
font-family: var(--font-family-inter, Inter);
|
|
97
|
-
font-size: 28px;
|
|
98
|
-
font-style: normal;
|
|
99
|
-
font-weight: 700;
|
|
100
|
-
line-height: 32px;
|
|
101
|
-
letter-spacing: -0.3px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.mid-banner-ratafia-content__cta {
|
|
106
|
-
height: auto;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.mid-banner-ratafia-section__wrapper__sample.--is-about {
|
|
112
|
-
.mid-banner-ratafia-sample {
|
|
113
|
-
&__image {
|
|
114
|
-
img {
|
|
115
|
-
max-width: 25rem;
|
|
116
|
-
max-height: 30rem;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
76
|
`;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts
CHANGED
|
@@ -52,16 +52,6 @@ export const MidBannerRatafiaSectionStyled = styled.section`
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
56
|
-
@media ${device.desktop} {
|
|
57
|
-
padding: 3rem 5rem 0rem 4rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.mid-banner-ratafia-content {
|
|
61
|
-
padding-bottom: 3rem;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
55
|
.mid-banner-ratafia-section__wrapper__sample.--is-esignature {
|
|
66
56
|
display: none;
|
|
67
57
|
|
|
@@ -84,39 +74,4 @@ export const MidBannerRatafiaSectionStyled = styled.section`
|
|
|
84
74
|
}
|
|
85
75
|
}
|
|
86
76
|
}
|
|
87
|
-
|
|
88
|
-
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
89
|
-
background-color: var(--primary-main-light-6);
|
|
90
|
-
|
|
91
|
-
.mid-banner-ratafia-content {
|
|
92
|
-
height: 100%;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
&__header {
|
|
95
|
-
h2 {
|
|
96
|
-
color: var(--primary-main-dark-2);
|
|
97
|
-
font-family: var(--font-family-inter, Inter);
|
|
98
|
-
font-size: 28px;
|
|
99
|
-
font-style: normal;
|
|
100
|
-
font-weight: 700;
|
|
101
|
-
line-height: 32px;
|
|
102
|
-
letter-spacing: -0.3px;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.mid-banner-ratafia-content__cta {
|
|
107
|
-
height: auto;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.mid-banner-ratafia-section__wrapper__sample.--is-about {
|
|
113
|
-
.mid-banner-ratafia-sample {
|
|
114
|
-
&__image {
|
|
115
|
-
img {
|
|
116
|
-
max-width: 25rem;
|
|
117
|
-
max-height: 30rem;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
77
|
`
|
|
@@ -16,11 +16,9 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
16
16
|
midBanner2Img,
|
|
17
17
|
midBanner3Img
|
|
18
18
|
}) => {
|
|
19
|
-
const isEsignature = ctaDataQa.includes('esignature')
|
|
20
|
-
const isAbout = ctaDataQa.includes('about')
|
|
19
|
+
const isEsignature = ctaDataQa.includes('esignature') && true
|
|
21
20
|
const classnames = classNames({
|
|
22
|
-
'--is-esignature': isEsignature
|
|
23
|
-
'--is-about': isAbout
|
|
21
|
+
'--is-esignature': isEsignature
|
|
24
22
|
})
|
|
25
23
|
return (
|
|
26
24
|
<MidBannerRatafiaSectionStyled className='mid-banner-ratafia-section'>
|
|
@@ -35,7 +33,6 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
35
33
|
<div className={`mid-banner-ratafia-section__wrapper__sample ${classnames}`}>
|
|
36
34
|
<MidBannerRatafiaSample
|
|
37
35
|
image={image}
|
|
38
|
-
isAbout={isAbout}
|
|
39
36
|
isEsignatureImage={isEsignature}
|
|
40
37
|
midBanner1Img={midBanner1Img}
|
|
41
38
|
midBanner2Img={midBanner2Img}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './HeroSection';
|
|
2
2
|
export * from './AsideMenuSection';
|
|
3
3
|
export * from './AsSeeInSection';
|
|
4
4
|
export * from './BenefitsRatafiaSection';
|
|
5
5
|
export * from './BlogSection';
|
|
6
|
+
export * from './CardBoxSection';
|
|
6
7
|
export * from './ContactSection';
|
|
7
8
|
export * from './ExpertsSection';
|
|
8
9
|
export * from './FaqSection';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './HeroSection';
|
|
2
2
|
export * from './AsideMenuSection';
|
|
3
3
|
export * from './AsSeeInSection';
|
|
4
4
|
export * from './BenefitsRatafiaSection';
|
|
5
5
|
export * from './BlogSection';
|
|
6
|
+
export * from './CardBoxSection';
|
|
6
7
|
export * from './ContactSection';
|
|
7
8
|
export * from './ExpertsSection';
|
|
8
9
|
export * from './FaqSection';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './HeroSection'
|
|
2
2
|
export * from './AsideMenuSection'
|
|
3
3
|
export * from './AsSeeInSection'
|
|
4
4
|
export * from './BenefitsRatafiaSection'
|
|
5
5
|
export * from './BlogSection'
|
|
6
|
+
export * from './CardBoxSection'
|
|
6
7
|
export * from './ContactSection'
|
|
7
8
|
export * from './ExpertsSection'
|
|
8
9
|
export * from './FaqSection'
|