@npm_leadtech/legal-lib-components 7.0.1 → 7.0.3

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.
Files changed (181) hide show
  1. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +4 -0
  2. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +6 -0
  3. package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts → atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts} +1 -1
  4. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.js → BenefitRatafiaCard/BenefitRatafiaCard.styled.js} +5 -11
  5. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.ts → BenefitRatafiaCard/BenefitRatafiaCard.styled.ts} +5 -11
  6. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
  7. package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.d.ts → BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts} +1 -3
  8. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
  9. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +2 -0
  10. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +1 -0
  11. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
  12. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
  13. package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
  14. package/dist/src/components/atoms/Button/ButtonProps.types.ts +16 -18
  15. package/dist/src/components/atoms/index.d.ts +1 -2
  16. package/dist/src/components/atoms/index.js +1 -2
  17. package/dist/src/components/atoms/index.ts +1 -2
  18. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  19. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  20. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  21. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  22. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
  23. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +11 -0
  24. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +11 -0
  25. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +18 -1
  26. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +1 -0
  27. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +1 -0
  28. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  29. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +12 -0
  30. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  31. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.js → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js} +32 -14
  32. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.ts → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts} +32 -14
  33. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +61 -0
  34. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  35. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  36. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +2 -0
  37. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +1 -0
  38. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +2 -0
  39. package/dist/src/components/molecules/index.d.ts +1 -1
  40. package/dist/src/components/molecules/index.js +1 -1
  41. package/dist/src/components/molecules/index.ts +1 -1
  42. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +4 -0
  43. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
  44. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  45. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.js → AboutUsContent/AboutUsContent.styled.js} +3 -3
  46. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.ts → AboutUsContent/AboutUsContent.styled.ts} +3 -3
  47. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  48. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.d.ts → AboutUsContent/AboutUsContentProps.types.d.ts} +1 -1
  49. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.ts → AboutUsContent/AboutUsContentProps.types.ts} +1 -1
  50. package/dist/src/components/organisms/AboutUsContent/index.d.ts +2 -0
  51. package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
  52. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  53. package/dist/src/components/organisms/index.d.ts +1 -1
  54. package/dist/src/components/organisms/index.js +1 -1
  55. package/dist/src/components/organisms/index.ts +1 -1
  56. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  57. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +5 -2
  58. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +3 -2
  59. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -2
  60. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +4 -0
  61. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
  62. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  63. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.js → AboutUsSection/AboutUsSection.styled.js} +2 -2
  64. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.ts → AboutUsSection/AboutUsSection.styled.ts} +2 -2
  65. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  66. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +6 -0
  67. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  68. package/dist/src/components/sections/AboutUsSection/index.d.ts +2 -0
  69. package/dist/src/components/sections/AboutUsSection/index.js +1 -0
  70. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  71. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  72. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  73. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  74. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -1
  75. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +5 -3
  76. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +45 -0
  77. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +45 -0
  78. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +5 -2
  79. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +1 -1
  80. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +1 -1
  81. package/dist/src/components/sections/index.d.ts +1 -2
  82. package/dist/src/components/sections/index.js +1 -2
  83. package/dist/src/components/sections/index.ts +1 -2
  84. package/dist/tsconfig.build.tsbuildinfo +1 -1
  85. package/package.json +4 -6
  86. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +0 -3
  87. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +0 -5
  88. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +0 -24
  89. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +0 -8
  90. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +0 -1
  91. package/dist/src/components/atoms/BenefitCard/index.d.ts +0 -2
  92. package/dist/src/components/atoms/BenefitCard/index.js +0 -1
  93. package/dist/src/components/atoms/BenefitCard/index.ts +0 -2
  94. package/dist/src/components/atoms/CardBox/CardBox.d.ts +0 -3
  95. package/dist/src/components/atoms/CardBox/CardBox.js +0 -7
  96. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +0 -1
  97. package/dist/src/components/atoms/CardBox/CardBox.styled.js +0 -22
  98. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +0 -23
  99. package/dist/src/components/atoms/CardBox/CardBox.tsx +0 -23
  100. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +0 -9
  101. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +0 -9
  102. package/dist/src/components/atoms/CardBox/index.d.ts +0 -2
  103. package/dist/src/components/atoms/CardBox/index.js +0 -1
  104. package/dist/src/components/atoms/CardBox/index.ts +0 -2
  105. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +0 -6
  106. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +0 -6
  107. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +0 -29
  108. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +0 -8
  109. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +0 -3
  110. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +0 -23
  111. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +0 -6
  112. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +0 -3
  113. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +0 -1
  114. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +0 -30
  115. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +0 -31
  116. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +0 -14
  117. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +0 -4
  118. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +0 -15
  119. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +0 -38
  120. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +0 -20
  121. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +0 -22
  122. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +0 -10
  123. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +0 -11
  124. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +0 -8
  125. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +0 -4
  126. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +0 -1
  127. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +0 -29
  128. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +0 -30
  129. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +0 -20
  130. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -14
  131. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -34
  132. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +0 -1
  133. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +0 -4
  134. package/dist/src/components/molecules/SubscriptionCard/index.js +0 -2
  135. package/dist/src/components/molecules/SubscriptionCard/index.ts +0 -4
  136. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +0 -4
  137. package/dist/src/components/organisms/HeroContent/HeroContent.js +0 -7
  138. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +0 -1
  139. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +0 -23
  140. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +0 -1
  141. package/dist/src/components/organisms/HeroContent/index.d.ts +0 -2
  142. package/dist/src/components/organisms/HeroContent/index.js +0 -1
  143. package/dist/src/components/organisms/HeroContent/index.ts +0 -2
  144. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +0 -3
  145. package/dist/src/components/pages/PricingPage/PricingPage.js +0 -10
  146. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +0 -1
  147. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +0 -98
  148. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +0 -99
  149. package/dist/src/components/pages/PricingPage/PricingPage.tsx +0 -47
  150. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +0 -29
  151. package/dist/src/components/pages/PricingPage/PricingPageProps.js +0 -1
  152. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +0 -33
  153. package/dist/src/components/pages/PricingPage/index.d.ts +0 -1
  154. package/dist/src/components/pages/PricingPage/index.js +0 -1
  155. package/dist/src/components/pages/PricingPage/index.ts +0 -1
  156. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +0 -4
  157. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +0 -9
  158. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +0 -2
  159. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +0 -33
  160. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +0 -35
  161. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +0 -23
  162. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +0 -4
  163. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +0 -1
  164. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +0 -5
  165. package/dist/src/components/sections/CardBoxSection/index.d.ts +0 -2
  166. package/dist/src/components/sections/CardBoxSection/index.js +0 -1
  167. package/dist/src/components/sections/CardBoxSection/index.ts +0 -2
  168. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +0 -4
  169. package/dist/src/components/sections/HeroSection/HeroSection.js +0 -7
  170. package/dist/src/components/sections/HeroSection/HeroSection.tsx +0 -24
  171. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +0 -6
  172. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +0 -1
  173. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +0 -7
  174. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +0 -1
  175. package/dist/src/components/sections/HeroSection/index.d.ts +0 -2
  176. package/dist/src/components/sections/HeroSection/index.js +0 -1
  177. package/dist/src/components/sections/HeroSection/index.ts +0 -2
  178. /package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.js → BenefitRatafiaCard/BenefitRatafiaCardProps.types.js} +0 -0
  179. /package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.js +0 -0
  180. /package/dist/src/components/{atoms/CardBox/CardBoxProps.types.js → organisms/AboutUsContent/AboutUsContentProps.types.js} +0 -0
  181. /package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js → sections/AboutUsSection/AboutUsSectionProps.types.js} +0 -0
@@ -0,0 +1,61 @@
1
+ import React, { FC, ReactNode } from 'react'
2
+
3
+ import { BenefitProps, RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
4
+ import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms'
5
+ import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
6
+ import { stringSlugify } from '../../../utils/stringSlugify'
7
+
8
+ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
9
+ cardStyle = 'primary',
10
+ iconTitle,
11
+ title,
12
+ priceText,
13
+ mainFeatures,
14
+ AIFeatures,
15
+ buttonText,
16
+ dataQa,
17
+ handleClick
18
+ }) => {
19
+ if (!title) return null
20
+ const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
21
+ const renderFeatures = (features: BenefitProps[], className?: string): ReactNode =>
22
+ features.map((feature) => (
23
+ <div key={feature.title} className={`ratafia-card__feature ${className ?? ''}`}>
24
+ {feature.image?.url && <IconSvgURLWithThemeColor url={feature.image.url} height='16' width='16' />}
25
+ <RichTextStrapi html={feature.title} />
26
+ </div>
27
+ ))
28
+
29
+ return (
30
+ <RatafiaSubscriptionCardStyled className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
31
+ <div className='ratafia-card__header'>
32
+ {title && (
33
+ <div className='ratafia-card__title'>
34
+ {iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
35
+ <RichTextStrapi html={title} />
36
+ </div>
37
+ )}
38
+ {priceText && <div className='ratafia-card__price-text'>{priceText}</div>}
39
+ </div>
40
+ <hr />
41
+ <div className='ratafia-card__body'>
42
+ {mainFeatures && renderFeatures(mainFeatures as unknown as BenefitProps[], 'main-feature')}
43
+ {AIFeatures && renderFeatures(AIFeatures as unknown as BenefitProps[], 'ratafia-feature')}
44
+ </div>
45
+ {buttonText && (
46
+ <div className='ratafia-card__footer'>
47
+ <Button
48
+ dataQa={`${dataQa ?? 'ratafia-card-button'}`}
49
+ givenClass='ratafia-card__button'
50
+ color={buttonStyle}
51
+ label={buttonText}
52
+ noLink
53
+ onClick={handleClick}
54
+ />
55
+ </div>
56
+ )}
57
+ </RatafiaSubscriptionCardStyled>
58
+ )
59
+ }
60
+
61
+ export default RatafiaSubscriptionCard
@@ -4,7 +4,8 @@ export interface RatafiaSubscriptionCardProps {
4
4
  iconTitle?: IconTitleProps;
5
5
  title?: string;
6
6
  priceText?: string;
7
- features?: FeatureProps[];
7
+ mainFeatures?: BenefitProps[];
8
+ AIFeatures?: BenefitProps[];
8
9
  buttonText?: string;
9
10
  dataQa?: string;
10
11
  handleClick?: () => void;
@@ -13,10 +14,9 @@ interface IconTitleProps {
13
14
  name?: string;
14
15
  url: string;
15
16
  }
16
- export interface FeatureProps {
17
+ export interface BenefitProps {
17
18
  title?: string;
18
19
  description: string;
19
- isHighlighted: boolean;
20
20
  image?: {
21
21
  name: string;
22
22
  url: string;
@@ -4,7 +4,8 @@ export interface RatafiaSubscriptionCardProps {
4
4
  iconTitle?: IconTitleProps
5
5
  title?: string
6
6
  priceText?: string
7
- features?: FeatureProps[]
7
+ mainFeatures?: BenefitProps[]
8
+ AIFeatures?: BenefitProps[]
8
9
  buttonText?: string
9
10
  dataQa?: string
10
11
  handleClick?: () => void
@@ -15,10 +16,9 @@ interface IconTitleProps {
15
16
  url: string
16
17
  }
17
18
 
18
- export interface FeatureProps {
19
+ export interface BenefitProps {
19
20
  title?: string
20
21
  description: string
21
- isHighlighted: boolean
22
22
  image?: {
23
23
  name: string
24
24
  url: string
@@ -0,0 +1,2 @@
1
+ export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
2
+ export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types';
@@ -0,0 +1 @@
1
+ export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
@@ -0,0 +1,2 @@
1
+ export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard'
2
+ export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
@@ -33,7 +33,7 @@ export * from './PopularDocs';
33
33
  export * from './PricingCard';
34
34
  export * from './RatafiaResultCardList';
35
35
  export * from './RatafiaResultTabList';
36
- export * from './SubscriptionCard';
36
+ export * from './RatafiaSubscriptionCard';
37
37
  export * from './Snackbar';
38
38
  export * from './StepGetForm';
39
39
  export * from './StepRatafiaCardList';
@@ -33,7 +33,7 @@ export * from './PopularDocs';
33
33
  export * from './PricingCard';
34
34
  export * from './RatafiaResultCardList';
35
35
  export * from './RatafiaResultTabList';
36
- export * from './SubscriptionCard';
36
+ export * from './RatafiaSubscriptionCard';
37
37
  export * from './Snackbar';
38
38
  export * from './StepGetForm';
39
39
  export * from './StepRatafiaCardList';
@@ -33,7 +33,7 @@ export * from './PopularDocs'
33
33
  export * from './PricingCard'
34
34
  export * from './RatafiaResultCardList'
35
35
  export * from './RatafiaResultTabList'
36
- export * from './SubscriptionCard'
36
+ export * from './RatafiaSubscriptionCard'
37
37
  export * from './Snackbar'
38
38
  export * from './StepGetForm'
39
39
  export * from './StepRatafiaCardList'
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type AboutUsContentProps } from './AboutUsContentProps.types';
3
+ declare const AboutUsContent: FC<AboutUsContentProps>;
4
+ export default AboutUsContent;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { AboutUsContentStyled } from './AboutUsContent.styled';
3
+ import { Button } from '../../atoms';
4
+ const AboutUsContent = ({ children, image, button }) => {
5
+ return (_jsxs(AboutUsContentStyled, { children: [_jsx("div", { className: 'about-us-content__image', children: image }), _jsxs("div", { className: 'about-us-content__body', children: [children, button != null && (_jsx("div", { className: 'about-us-content__body__button', children: _jsx(Button, { ...button }) }))] })] }));
6
+ };
7
+ export default AboutUsContent;
@@ -0,0 +1 @@
1
+ export declare const AboutUsContentStyled: 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 HeroContentStyled = styled.div `
3
+ export const AboutUsContentStyled = styled.div `
4
4
  display: flex;
5
5
  flex-flow: row wrap;
6
6
  justify-content: center;
@@ -9,7 +9,7 @@ export const HeroContentStyled = styled.div `
9
9
  flex-flow: row nowrap;
10
10
  }
11
11
 
12
- .hero-content__body {
12
+ .about-us-content__body {
13
13
  margin-top: 1rem;
14
14
  font-family: var(--font-sans);
15
15
 
@@ -45,7 +45,7 @@ export const HeroContentStyled = styled.div `
45
45
  }
46
46
  }
47
47
 
48
- .hero-content__image {
48
+ .about-us-content__image {
49
49
  margin-bottom: 1rem;
50
50
 
51
51
  @media ${device['landscape-tablets']} {
@@ -1,7 +1,7 @@
1
1
  import { device } from '../../../globalStyles/breakpoints'
2
2
  import styled from 'styled-components'
3
3
 
4
- export const HeroContentStyled = styled.div`
4
+ export const AboutUsContentStyled = styled.div`
5
5
  display: flex;
6
6
  flex-flow: row wrap;
7
7
  justify-content: center;
@@ -10,7 +10,7 @@ export const HeroContentStyled = styled.div`
10
10
  flex-flow: row nowrap;
11
11
  }
12
12
 
13
- .hero-content__body {
13
+ .about-us-content__body {
14
14
  margin-top: 1rem;
15
15
  font-family: var(--font-sans);
16
16
 
@@ -46,7 +46,7 @@ export const HeroContentStyled = styled.div`
46
46
  }
47
47
  }
48
48
 
49
- .hero-content__image {
49
+ .about-us-content__image {
50
50
  margin-bottom: 1rem;
51
51
 
52
52
  @media ${device['landscape-tablets']} {
@@ -0,0 +1,23 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { type AboutUsContentProps } from './AboutUsContentProps.types'
4
+ import { AboutUsContentStyled } from './AboutUsContent.styled'
5
+ import { Button } from '../../atoms'
6
+
7
+ const AboutUsContent: FC<AboutUsContentProps> = ({ children, image, button }) => {
8
+ return (
9
+ <AboutUsContentStyled>
10
+ <div className={'about-us-content__image'}>{image}</div>
11
+ <div className={'about-us-content__body'}>
12
+ {children}
13
+ {button != null && (
14
+ <div className={'about-us-content__body__button'}>
15
+ <Button {...button} />
16
+ </div>
17
+ )}
18
+ </div>
19
+ </AboutUsContentStyled>
20
+ )
21
+ }
22
+
23
+ export default AboutUsContent
@@ -1,5 +1,5 @@
1
1
  import { type ButtonProps } from '../../atoms';
2
- export interface HeroContentProps {
2
+ export interface AboutUsContentProps {
3
3
  children: React.ReactNode;
4
4
  image: React.ReactNode;
5
5
  button?: ButtonProps;
@@ -1,6 +1,6 @@
1
1
  import { type ButtonProps } from '../../atoms'
2
2
 
3
- export interface HeroContentProps {
3
+ export interface AboutUsContentProps {
4
4
  children: React.ReactNode
5
5
  image: React.ReactNode
6
6
  button?: ButtonProps
@@ -0,0 +1,2 @@
1
+ export { default as AboutUsContent } from './AboutUsContent';
2
+ export { type AboutUsContentProps } from './AboutUsContentProps.types';
@@ -0,0 +1 @@
1
+ export { default as AboutUsContent } from './AboutUsContent';
@@ -0,0 +1,2 @@
1
+ export { default as AboutUsContent } from './AboutUsContent'
2
+ export { type AboutUsContentProps } from './AboutUsContentProps.types'
@@ -1,4 +1,4 @@
1
- export * from './HeroContent';
1
+ export * from './AboutUsContent';
2
2
  export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
@@ -1,4 +1,4 @@
1
- export * from './HeroContent';
1
+ export * from './AboutUsContent';
2
2
  export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
@@ -1,4 +1,4 @@
1
- export * from './HeroContent'
1
+ export * from './AboutUsContent'
2
2
  export * from './Accordion'
3
3
  export * from './ArticlesList'
4
4
  export * from './AsSeeInContent'
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, HeroSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
2
+ import { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, MidBannerRatafiaSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
3
  import { ContactContent, HowWeHelp } from '../../organisms';
4
- export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, howWeHelp, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, contactContentProps, isJonSnow = false }) => {
5
- return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(HeroSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), howWeHelp != null && _jsx(HowWeHelp, { ...howWeHelp }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps }), !isJonSnow && contactContentProps != null && _jsx(ContactContent, { ...contactContentProps })] }));
4
+ export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, howWeHelp, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, midBannerSectionProps, contactContentProps, isJonSnow = false }) => {
5
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), howWeHelp != null && _jsx(HowWeHelp, { ...howWeHelp }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps }), !isJonSnow && midBannerSectionProps != null && _jsx(MidBannerRatafiaSection, { ...midBannerSectionProps }), !isJonSnow && contactContentProps != null && _jsx(ContactContent, { ...contactContentProps })] }));
6
6
  };
@@ -1,11 +1,12 @@
1
1
  import React from 'react'
2
2
 
3
3
  import {
4
+ AboutUsSection,
4
5
  AsSeeInSection,
5
6
  CardStorySection,
6
7
  ExpertsSection,
7
8
  GuidelinesSection,
8
- HeroSection,
9
+ MidBannerRatafiaSection,
9
10
  PeopleSayAboutUsSection,
10
11
  TryOurFreeLegalBlogsSection
11
12
  } from '../../sections'
@@ -22,12 +23,13 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
22
23
  guidelinesSectionProps,
23
24
  expertsSectionProps,
24
25
  asSeeInSectionProps,
26
+ midBannerSectionProps,
25
27
  contactContentProps,
26
28
  isJonSnow = false
27
29
  }) => {
28
30
  return (
29
31
  <>
30
- {aboutUsSectionProps != null && <HeroSection {...aboutUsSectionProps} />}
32
+ {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
31
33
  {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
32
34
  {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
33
35
  {cardStorySection != null && <CardStorySection {...cardStorySection} />}
@@ -42,6 +44,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
42
44
  <PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
43
45
  )}
44
46
  {!isJonSnow && asSeeInSectionProps != null && <AsSeeInSection {...asSeeInSectionProps} />}
47
+ {!isJonSnow && midBannerSectionProps != null && <MidBannerRatafiaSection {...midBannerSectionProps} />}
45
48
  {!isJonSnow && contactContentProps != null && <ContactContent {...contactContentProps} />}
46
49
  </>
47
50
  )
@@ -1,7 +1,7 @@
1
- import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, MidBannerRatafiaSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  import { ContactContentProps, HowWeHelpProps } from '../../organisms';
3
3
  export interface AboutUsPageProps {
4
- aboutUsSectionProps?: HeroSectionProps;
4
+ aboutUsSectionProps?: AboutUsSectionProps;
5
5
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
6
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
7
7
  cardStorySection?: CardStorySectionProps;
@@ -11,6 +11,7 @@ export interface AboutUsPageProps {
11
11
  tryUsSectionProps?: TryUsSectionProps;
12
12
  expertsSectionProps?: ExpertsSectionProps;
13
13
  asSeeInSectionProps?: AsSeeInSectionProps;
14
+ midBannerSectionProps?: MidBannerRatafiaSectionProps;
14
15
  contactContentProps?: ContactContentProps;
15
16
  isJonSnow?: boolean;
16
17
  }
@@ -1,9 +1,10 @@
1
1
  import type {
2
+ AboutUsSectionProps,
2
3
  AsSeeInSectionProps,
3
4
  CardStorySectionProps,
4
5
  ExpertsSectionProps,
5
6
  GuidelinesSectionProps,
6
- HeroSectionProps,
7
+ MidBannerRatafiaSectionProps,
7
8
  PeopleSayAboutUsSectionProps,
8
9
  TryOurFreeLegalBlogsSectionProps,
9
10
  TryUsSectionProps
@@ -11,7 +12,7 @@ import type {
11
12
  import { ContactContentProps, HowWeHelpProps } from '../../organisms'
12
13
 
13
14
  export interface AboutUsPageProps {
14
- aboutUsSectionProps?: HeroSectionProps
15
+ aboutUsSectionProps?: AboutUsSectionProps
15
16
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
17
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
17
18
  cardStorySection?: CardStorySectionProps
@@ -21,6 +22,7 @@ export interface AboutUsPageProps {
21
22
  tryUsSectionProps?: TryUsSectionProps
22
23
  expertsSectionProps?: ExpertsSectionProps
23
24
  asSeeInSectionProps?: AsSeeInSectionProps
25
+ midBannerSectionProps?: MidBannerRatafiaSectionProps
24
26
  contactContentProps?: ContactContentProps
25
27
  isJonSnow?: boolean
26
28
  }
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type AboutUsSectionProps } from './AboutUsSectionProps.types';
3
+ declare const AboutUsSection: FC<AboutUsSectionProps>;
4
+ export default AboutUsSection;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { AboutUsContent } from '../../organisms/AboutUsContent';
3
+ import { AboutUsSectionStyled } from './AboutUsSection.styled';
4
+ const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
5
+ return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
6
+ };
7
+ export default AboutUsSection;
@@ -0,0 +1 @@
1
+ export declare const AboutUsSectionStyled: 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 HeroSectionStyled = styled.div `
3
+ export const AboutUsSectionStyled = 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 HeroSectionStyled = styled.div `
9
9
  padding-bottom: 4rem;
10
10
  }
11
11
 
12
- .hero-section {
12
+ .about-us-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 HeroSectionStyled = styled.div`
4
+ export const AboutUsSectionStyled = 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 HeroSectionStyled = styled.div`
10
10
  padding-bottom: 4rem;
11
11
  }
12
12
 
13
- .hero-section {
13
+ .about-us-section {
14
14
  &__title {
15
15
  text-align: center;
16
16
  margin-bottom: 1rem;
@@ -0,0 +1,24 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { AboutUsContent } from '../../organisms/AboutUsContent'
4
+ import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
5
+ import { AboutUsSectionStyled } from './AboutUsSection.styled'
6
+
7
+ const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
8
+ return (
9
+ <AboutUsSectionStyled className='about-us-section'>
10
+ <div className='wrapper wrapper--responsive'>
11
+ <div className='about-us-section__title'>
12
+ <span className='about-us-section__title__text'>{title}</span>
13
+ </div>
14
+ {Boolean(subTitle) && <h1 className='about-us-section__sub-title'>{subTitle}</h1>}
15
+
16
+ <AboutUsContent image={contentAboutUs.image} button={contentAboutUs?.button}>
17
+ {contentAboutUs.children}
18
+ </AboutUsContent>
19
+ </div>
20
+ </AboutUsSectionStyled>
21
+ )
22
+ }
23
+
24
+ export default AboutUsSection
@@ -0,0 +1,6 @@
1
+ import { type AboutUsContentProps } from '../../organisms/AboutUsContent';
2
+ export interface AboutUsSectionProps {
3
+ title: string;
4
+ subTitle?: string;
5
+ contentAboutUs: AboutUsContentProps;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { type AboutUsContentProps } from '../../organisms/AboutUsContent'
2
+
3
+ export interface AboutUsSectionProps {
4
+ title: string
5
+ subTitle?: string
6
+ contentAboutUs: AboutUsContentProps
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as AboutUsSection } from './AboutUsSection';
2
+ export { type AboutUsSectionProps } from './AboutUsSectionProps.types';
@@ -0,0 +1 @@
1
+ export { default as AboutUsSection } from './AboutUsSection';
@@ -0,0 +1,2 @@
1
+ export { default as AboutUsSection } from './AboutUsSection'
2
+ export { type AboutUsSectionProps } from './AboutUsSectionProps.types'
@@ -1,8 +1,8 @@
1
- import { type BenefitCardProps } from '../../atoms';
1
+ import { type BenefitRatafiaCardProps } from '../../atoms';
2
2
  import React from 'react';
3
3
  export interface BenefitsRatafiaSectionProps {
4
4
  title: string;
5
5
  description: string;
6
6
  descriptionRichtext: React.ReactNode;
7
- benefits: BenefitCardProps[];
7
+ benefits: BenefitRatafiaCardProps[];
8
8
  }
@@ -1,9 +1,9 @@
1
- import { type BenefitCardProps } from '../../atoms'
1
+ import { type BenefitRatafiaCardProps } from '../../atoms'
2
2
  import React from 'react'
3
3
 
4
4
  export interface BenefitsRatafiaSectionProps {
5
5
  title: string
6
6
  description: string
7
7
  descriptionRichtext: React.ReactNode
8
- benefits: BenefitCardProps[]
8
+ benefits: BenefitRatafiaCardProps[]
9
9
  }
@@ -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?.map((group) => _jsx(FaqGroup, { ...group }, group.id)) }));
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,7 +10,9 @@ 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?.map((group) => <FaqGroup key={group.id} {...group} />)}
13
+ {groups.map((group) => (
14
+ <FaqGroup key={group.id} {...group} />
15
+ ))}
14
16
  </FaqSectionStyled>
15
17
  )
16
18
  }
@@ -3,10 +3,12 @@ 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') && true;
6
+ const isEsignature = ctaDataQa.includes('esignature');
7
+ const isAbout = ctaDataQa.includes('about');
7
8
  const classnames = classNames({
8
- '--is-esignature': isEsignature
9
+ '--is-esignature': isEsignature,
10
+ '--is-about': isAbout
9
11
  });
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 }) })] }) }));
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, isAbout: isAbout, isEsignatureImage: isEsignature, midBanner1Img: midBanner1Img, midBanner2Img: midBanner2Img, midBanner3Img: midBanner3Img }) })] }) }));
11
13
  };
12
14
  export default MidBannerRatafiaSection;
@@ -51,6 +51,16 @@ 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
+
54
64
  .mid-banner-ratafia-section__wrapper__sample.--is-esignature {
55
65
  display: none;
56
66
 
@@ -73,4 +83,39 @@ export const MidBannerRatafiaSectionStyled = styled.section `
73
83
  }
74
84
  }
75
85
  }
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
+ }
76
121
  `;