@npm_leadtech/legal-lib-components 7.5.1 → 7.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/css/styles.css +0 -38
  2. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +4 -0
  3. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +6 -0
  4. package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts → atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts} +1 -1
  5. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.js → BenefitRatafiaCard/BenefitRatafiaCard.styled.js} +4 -10
  6. package/dist/src/components/atoms/{BenefitCard/BenefitCardStyled.styled.ts → BenefitRatafiaCard/BenefitRatafiaCard.styled.ts} +4 -10
  7. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
  8. package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.d.ts → BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts} +1 -3
  9. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
  10. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +2 -0
  11. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +1 -0
  12. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
  13. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -2
  14. package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
  15. package/dist/src/components/atoms/Button/ButtonProps.types.ts +16 -18
  16. package/dist/src/components/atoms/CardPane/CardPaneInfo.js +2 -2
  17. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -2
  18. package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +1 -0
  19. package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +1 -0
  20. package/dist/src/components/atoms/index.d.ts +1 -2
  21. package/dist/src/components/atoms/index.js +1 -2
  22. package/dist/src/components/atoms/index.ts +1 -2
  23. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  24. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  25. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  26. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  27. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  28. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +12 -0
  29. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
  30. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.js → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js} +32 -14
  31. package/dist/src/components/molecules/{SubscriptionCard/SubscriptionCard.styled.ts → RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts} +32 -14
  32. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +61 -0
  33. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  34. package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  35. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +2 -0
  36. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +1 -0
  37. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +2 -0
  38. package/dist/src/components/molecules/TextInput/Input.d.ts +0 -2
  39. package/dist/src/components/molecules/TextInput/Input.js +3 -23
  40. package/dist/src/components/molecules/TextInput/Input.tsx +2 -41
  41. package/dist/src/components/molecules/TextInput/TextInput.js +9 -5
  42. package/dist/src/components/molecules/TextInput/TextInput.scss +0 -44
  43. package/dist/src/components/molecules/TextInput/TextInput.tsx +5 -7
  44. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +0 -2
  45. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +0 -2
  46. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +0 -33
  47. package/dist/src/components/molecules/index.d.ts +1 -1
  48. package/dist/src/components/molecules/index.js +1 -1
  49. package/dist/src/components/molecules/index.ts +1 -1
  50. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +4 -0
  51. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
  52. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
  53. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.js → AboutUsContent/AboutUsContent.styled.js} +3 -3
  54. package/dist/src/components/organisms/{HeroContent/HeroContent.styled.ts → AboutUsContent/AboutUsContent.styled.ts} +3 -3
  55. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  56. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.d.ts → AboutUsContent/AboutUsContentProps.types.d.ts} +1 -1
  57. package/dist/src/components/organisms/{HeroContent/HeroContentPropsProps.types.ts → AboutUsContent/AboutUsContentProps.types.ts} +1 -1
  58. package/dist/src/components/organisms/AboutUsContent/index.d.ts +2 -0
  59. package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
  60. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  61. package/dist/src/components/organisms/index.d.ts +1 -1
  62. package/dist/src/components/organisms/index.js +1 -1
  63. package/dist/src/components/organisms/index.ts +1 -1
  64. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
  65. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
  66. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
  67. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
  68. package/dist/src/components/pages/index.d.ts +0 -1
  69. package/dist/src/components/pages/index.js +0 -1
  70. package/dist/src/components/pages/index.ts +0 -1
  71. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +4 -0
  72. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
  73. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  74. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.js → AboutUsSection/AboutUsSection.styled.js} +2 -2
  75. package/dist/src/components/sections/{HeroSection/HeroSectionStyled.styled.ts → AboutUsSection/AboutUsSection.styled.ts} +2 -2
  76. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  77. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +6 -0
  78. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  79. package/dist/src/components/sections/AboutUsSection/index.d.ts +2 -0
  80. package/dist/src/components/sections/AboutUsSection/index.js +1 -0
  81. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  82. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  83. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  84. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  85. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -1
  86. package/dist/src/components/sections/index.d.ts +1 -2
  87. package/dist/src/components/sections/index.js +1 -2
  88. package/dist/src/components/sections/index.ts +1 -2
  89. package/dist/tsconfig.build.tsbuildinfo +1 -1
  90. package/package.json +5 -8
  91. package/dist/images/svg/currencyDE.svg +0 -3
  92. package/dist/images/svg/currencyUS.svg +0 -3
  93. package/dist/images/svg/percent.svg +0 -3
  94. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +0 -3
  95. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +0 -5
  96. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +0 -24
  97. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +0 -8
  98. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +0 -1
  99. package/dist/src/components/atoms/BenefitCard/index.d.ts +0 -2
  100. package/dist/src/components/atoms/BenefitCard/index.js +0 -1
  101. package/dist/src/components/atoms/BenefitCard/index.ts +0 -2
  102. package/dist/src/components/atoms/CardBox/CardBox.d.ts +0 -3
  103. package/dist/src/components/atoms/CardBox/CardBox.js +0 -7
  104. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +0 -1
  105. package/dist/src/components/atoms/CardBox/CardBox.styled.js +0 -22
  106. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +0 -23
  107. package/dist/src/components/atoms/CardBox/CardBox.tsx +0 -23
  108. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +0 -10
  109. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +0 -10
  110. package/dist/src/components/atoms/CardBox/index.d.ts +0 -2
  111. package/dist/src/components/atoms/CardBox/index.js +0 -1
  112. package/dist/src/components/atoms/CardBox/index.ts +0 -2
  113. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +0 -6
  114. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +0 -6
  115. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +0 -29
  116. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +0 -8
  117. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +0 -3
  118. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +0 -23
  119. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +0 -6
  120. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +0 -3
  121. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +0 -1
  122. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +0 -30
  123. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +0 -31
  124. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +0 -14
  125. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +0 -4
  126. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +0 -15
  127. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +0 -38
  128. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +0 -20
  129. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +0 -22
  130. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +0 -10
  131. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +0 -11
  132. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +0 -8
  133. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +0 -4
  134. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +0 -1
  135. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +0 -29
  136. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +0 -30
  137. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +0 -20
  138. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -14
  139. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -34
  140. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +0 -1
  141. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +0 -4
  142. package/dist/src/components/molecules/SubscriptionCard/index.js +0 -2
  143. package/dist/src/components/molecules/SubscriptionCard/index.ts +0 -4
  144. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +0 -4
  145. package/dist/src/components/organisms/HeroContent/HeroContent.js +0 -7
  146. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +0 -1
  147. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +0 -23
  148. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +0 -1
  149. package/dist/src/components/organisms/HeroContent/index.d.ts +0 -2
  150. package/dist/src/components/organisms/HeroContent/index.js +0 -1
  151. package/dist/src/components/organisms/HeroContent/index.ts +0 -2
  152. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +0 -3
  153. package/dist/src/components/pages/PricingPage/PricingPage.js +0 -10
  154. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +0 -1
  155. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +0 -115
  156. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +0 -116
  157. package/dist/src/components/pages/PricingPage/PricingPage.tsx +0 -53
  158. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +0 -28
  159. package/dist/src/components/pages/PricingPage/PricingPageProps.js +0 -1
  160. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +0 -33
  161. package/dist/src/components/pages/PricingPage/index.d.ts +0 -2
  162. package/dist/src/components/pages/PricingPage/index.js +0 -2
  163. package/dist/src/components/pages/PricingPage/index.ts +0 -2
  164. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +0 -4
  165. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +0 -9
  166. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +0 -2
  167. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +0 -33
  168. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +0 -35
  169. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +0 -23
  170. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +0 -4
  171. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +0 -1
  172. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +0 -5
  173. package/dist/src/components/sections/CardBoxSection/index.d.ts +0 -2
  174. package/dist/src/components/sections/CardBoxSection/index.js +0 -1
  175. package/dist/src/components/sections/CardBoxSection/index.ts +0 -2
  176. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +0 -4
  177. package/dist/src/components/sections/HeroSection/HeroSection.js +0 -7
  178. package/dist/src/components/sections/HeroSection/HeroSection.tsx +0 -24
  179. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +0 -6
  180. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +0 -1
  181. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +0 -7
  182. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +0 -1
  183. package/dist/src/components/sections/HeroSection/index.d.ts +0 -2
  184. package/dist/src/components/sections/HeroSection/index.js +0 -1
  185. package/dist/src/components/sections/HeroSection/index.ts +0 -2
  186. /package/dist/src/components/atoms/{BenefitCard/BenefitCardProps.types.js → BenefitRatafiaCard/BenefitRatafiaCardProps.types.js} +0 -0
  187. /package/dist/src/components/molecules/{SubscriptionCard/RatafiaSubscriptionCard → RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.js +0 -0
  188. /package/dist/src/components/{atoms/CardBox/CardBoxProps.types.js → organisms/AboutUsContent/AboutUsContentProps.types.js} +0 -0
  189. /package/dist/src/components/{molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js → sections/AboutUsSection/AboutUsSectionProps.types.js} +0 -0
@@ -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, MidBannerRatafiaSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
2
+ import { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, MidBannerRatafiaSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
3
  import { ContactContent, HowWeHelp } from '../../organisms';
4
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(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 && midBannerSectionProps != null && _jsx(MidBannerRatafiaSection, { ...midBannerSectionProps }), !isJonSnow && contactContentProps != null && _jsx(ContactContent, { ...contactContentProps })] }));
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,11 @@
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
9
  MidBannerRatafiaSection,
10
10
  PeopleSayAboutUsSection,
11
11
  TryOurFreeLegalBlogsSection
@@ -29,7 +29,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
29
29
  }) => {
30
30
  return (
31
31
  <>
32
- {aboutUsSectionProps != null && <HeroSection {...aboutUsSectionProps} />}
32
+ {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
33
33
  {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
34
34
  {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
35
35
  {cardStorySection != null && <CardStorySection {...cardStorySection} />}
@@ -1,7 +1,7 @@
1
- import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, MidBannerRatafiaSectionProps, 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;
@@ -1,9 +1,9 @@
1
1
  import type {
2
+ AboutUsSectionProps,
2
3
  AsSeeInSectionProps,
3
4
  CardStorySectionProps,
4
5
  ExpertsSectionProps,
5
6
  GuidelinesSectionProps,
6
- HeroSectionProps,
7
7
  MidBannerRatafiaSectionProps,
8
8
  PeopleSayAboutUsSectionProps,
9
9
  TryOurFreeLegalBlogsSectionProps,
@@ -12,7 +12,7 @@ import type {
12
12
  import { ContactContentProps, HowWeHelpProps } from '../../organisms'
13
13
 
14
14
  export interface AboutUsPageProps {
15
- aboutUsSectionProps?: HeroSectionProps
15
+ aboutUsSectionProps?: AboutUsSectionProps
16
16
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
17
17
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
18
18
  cardStorySection?: CardStorySectionProps
@@ -11,4 +11,3 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
- export * from './PricingPage';
@@ -11,4 +11,3 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
- export * from './PricingPage';
@@ -11,4 +11,3 @@ export * from './RatafiaPricingPage'
11
11
  export * from './RatafiaResultPage'
12
12
  export * from './UnsubscribePage'
13
13
  export * from './LoginRatafiaPage'
14
- export * from './PricingPage'
@@ -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
  }
@@ -1,9 +1,8 @@
1
- export * from './HeroSection';
1
+ export * from './AboutUsSection';
2
2
  export * from './AsideMenuSection';
3
3
  export * from './AsSeeInSection';
4
4
  export * from './BenefitsRatafiaSection';
5
5
  export * from './BlogSection';
6
- export * from './CardBoxSection';
7
6
  export * from './ContactSection';
8
7
  export * from './ExpertsSection';
9
8
  export * from './FaqSection';
@@ -1,9 +1,8 @@
1
- export * from './HeroSection';
1
+ export * from './AboutUsSection';
2
2
  export * from './AsideMenuSection';
3
3
  export * from './AsSeeInSection';
4
4
  export * from './BenefitsRatafiaSection';
5
5
  export * from './BlogSection';
6
- export * from './CardBoxSection';
7
6
  export * from './ContactSection';
8
7
  export * from './ExpertsSection';
9
8
  export * from './FaqSection';
@@ -1,9 +1,8 @@
1
- export * from './HeroSection'
1
+ export * from './AboutUsSection'
2
2
  export * from './AsideMenuSection'
3
3
  export * from './AsSeeInSection'
4
4
  export * from './BenefitsRatafiaSection'
5
5
  export * from './BlogSection'
6
- export * from './CardBoxSection'
7
6
  export * from './ContactSection'
8
7
  export * from './ExpertsSection'
9
8
  export * from './FaqSection'