@npm_leadtech/legal-lib-components 7.4.4 → 7.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +3 -0
  2. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +5 -0
  3. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +24 -0
  4. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts → BenefitCard/BenefitCardProps.types.d.ts} +3 -1
  5. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +8 -0
  6. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +1 -0
  7. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.js → BenefitCard/BenefitCardStyled.styled.js} +10 -4
  8. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.ts → BenefitCard/BenefitCardStyled.styled.ts} +10 -4
  9. package/dist/src/components/atoms/BenefitCard/index.d.ts +2 -0
  10. package/dist/src/components/atoms/BenefitCard/index.js +1 -0
  11. package/dist/src/components/atoms/BenefitCard/index.ts +2 -0
  12. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +2 -1
  13. package/dist/src/components/atoms/Button/ButtonProps.types.js +1 -0
  14. package/dist/src/components/atoms/Button/ButtonProps.types.ts +18 -16
  15. package/dist/src/components/atoms/CardBox/CardBox.d.ts +3 -0
  16. package/dist/src/components/atoms/CardBox/CardBox.js +7 -0
  17. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +1 -0
  18. package/dist/src/components/atoms/CardBox/CardBox.styled.js +22 -0
  19. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +23 -0
  20. package/dist/src/components/atoms/CardBox/CardBox.tsx +23 -0
  21. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +10 -0
  22. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +10 -0
  23. package/dist/src/components/atoms/CardBox/index.d.ts +2 -0
  24. package/dist/src/components/atoms/CardBox/index.js +1 -0
  25. package/dist/src/components/atoms/CardBox/index.ts +2 -0
  26. package/dist/src/components/atoms/index.d.ts +2 -1
  27. package/dist/src/components/atoms/index.js +2 -1
  28. package/dist/src/components/atoms/index.ts +2 -1
  29. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  30. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  31. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  32. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  33. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +6 -0
  34. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +6 -0
  35. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +29 -0
  36. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +8 -0
  37. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +3 -0
  38. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +23 -0
  39. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +6 -0
  40. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +3 -0
  41. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +1 -0
  42. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +30 -0
  43. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +31 -0
  44. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +14 -0
  45. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +4 -0
  46. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +15 -0
  47. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +38 -0
  48. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +20 -0
  49. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +22 -0
  50. package/dist/src/components/{atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts} +1 -1
  51. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +10 -0
  52. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +11 -0
  53. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +8 -0
  54. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +4 -0
  55. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +1 -0
  56. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +29 -0
  57. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +30 -0
  58. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +20 -0
  59. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  60. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +14 -0
  61. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +34 -0
  62. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  63. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  64. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +1 -0
  65. package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js → SubscriptionCard/SubscriptionCard.styled.js} +14 -32
  66. package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts → SubscriptionCard/SubscriptionCard.styled.ts} +14 -32
  67. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +4 -0
  68. package/dist/src/components/molecules/SubscriptionCard/index.js +2 -0
  69. package/dist/src/components/molecules/SubscriptionCard/index.ts +4 -0
  70. package/dist/src/components/molecules/index.d.ts +1 -1
  71. package/dist/src/components/molecules/index.js +1 -1
  72. package/dist/src/components/molecules/index.ts +1 -1
  73. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +4 -0
  74. package/dist/src/components/organisms/HeroContent/HeroContent.js +7 -0
  75. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +1 -0
  76. package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.js → HeroContent/HeroContent.styled.js} +3 -3
  77. package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.ts → HeroContent/HeroContent.styled.ts} +3 -3
  78. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +23 -0
  79. package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.d.ts → HeroContent/HeroContentPropsProps.types.d.ts} +1 -1
  80. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +1 -0
  81. package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.ts → HeroContent/HeroContentPropsProps.types.ts} +1 -1
  82. package/dist/src/components/organisms/HeroContent/index.d.ts +2 -0
  83. package/dist/src/components/organisms/HeroContent/index.js +1 -0
  84. package/dist/src/components/organisms/HeroContent/index.ts +2 -0
  85. package/dist/src/components/organisms/index.d.ts +1 -1
  86. package/dist/src/components/organisms/index.js +1 -1
  87. package/dist/src/components/organisms/index.ts +1 -1
  88. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
  89. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
  90. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
  91. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
  92. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +3 -0
  93. package/dist/src/components/pages/PricingPage/PricingPage.js +10 -0
  94. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +1 -0
  95. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +115 -0
  96. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +116 -0
  97. package/dist/src/components/pages/PricingPage/PricingPage.tsx +53 -0
  98. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +28 -0
  99. package/dist/src/components/pages/PricingPage/PricingPageProps.js +1 -0
  100. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +33 -0
  101. package/dist/src/components/pages/PricingPage/index.d.ts +2 -0
  102. package/dist/src/components/pages/PricingPage/index.js +2 -0
  103. package/dist/src/components/pages/PricingPage/index.ts +2 -0
  104. package/dist/src/components/pages/index.d.ts +1 -0
  105. package/dist/src/components/pages/index.js +1 -0
  106. package/dist/src/components/pages/index.ts +1 -0
  107. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  108. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  109. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +4 -0
  110. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +9 -0
  111. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +2 -0
  112. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +33 -0
  113. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +35 -0
  114. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +23 -0
  115. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +4 -0
  116. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +1 -0
  117. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +5 -0
  118. package/dist/src/components/sections/CardBoxSection/index.d.ts +2 -0
  119. package/dist/src/components/sections/CardBoxSection/index.js +1 -0
  120. package/dist/src/components/sections/CardBoxSection/index.ts +2 -0
  121. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  122. package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
  123. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +4 -0
  124. package/dist/src/components/sections/HeroSection/HeroSection.js +7 -0
  125. package/dist/src/components/sections/HeroSection/HeroSection.tsx +24 -0
  126. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +6 -0
  127. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +1 -0
  128. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +7 -0
  129. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +1 -0
  130. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.js → HeroSection/HeroSectionStyled.styled.js} +2 -2
  131. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.ts → HeroSection/HeroSectionStyled.styled.ts} +2 -2
  132. package/dist/src/components/sections/HeroSection/index.d.ts +2 -0
  133. package/dist/src/components/sections/HeroSection/index.js +1 -0
  134. package/dist/src/components/sections/HeroSection/index.ts +2 -0
  135. package/dist/src/components/sections/index.d.ts +2 -1
  136. package/dist/src/components/sections/index.js +2 -1
  137. package/dist/src/components/sections/index.ts +2 -1
  138. package/dist/tsconfig.build.tsbuildinfo +1 -1
  139. package/package.json +8 -5
  140. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +0 -4
  141. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
  142. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +0 -18
  143. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +0 -6
  144. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +0 -2
  145. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
  146. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +0 -2
  147. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
  148. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
  149. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -61
  150. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
  151. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
  152. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
  153. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +0 -4
  154. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
  155. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
  156. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +0 -23
  157. package/dist/src/components/organisms/AboutUsContent/index.d.ts +0 -2
  158. package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
  159. package/dist/src/components/organisms/AboutUsContent/index.ts +0 -2
  160. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +0 -4
  161. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
  162. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
  163. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -24
  164. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +0 -6
  165. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +0 -7
  166. package/dist/src/components/sections/AboutUsSection/index.d.ts +0 -2
  167. package/dist/src/components/sections/AboutUsSection/index.js +0 -1
  168. package/dist/src/components/sections/AboutUsSection/index.ts +0 -2
  169. /package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.js → BenefitCard/BenefitCardProps.types.js} +0 -0
  170. /package/dist/src/components/{molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js → atoms/CardBox/CardBoxProps.types.js} +0 -0
  171. /package/dist/src/components/{organisms/AboutUsContent/AboutUsContentProps.types.js → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js} +0 -0
  172. /package/dist/src/components/{sections/AboutUsSection/AboutUsSectionProps.types.js → molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js} +0 -0
@@ -0,0 +1,23 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { Button } from '../../atoms'
4
+ import { type HeroContentProps } from './HeroContentPropsProps.types'
5
+ import { HeroContentStyled } from './HeroContent.styled'
6
+
7
+ const HeroContent: FC<HeroContentProps> = ({ children, image, button }) => {
8
+ return (
9
+ <HeroContentStyled>
10
+ <div className={'hero-content__image'}>{image}</div>
11
+ <div className={'hero-content__body'}>
12
+ {children}
13
+ {button != null && (
14
+ <div className={'hero-content__body__button'}>
15
+ <Button {...button} />
16
+ </div>
17
+ )}
18
+ </div>
19
+ </HeroContentStyled>
20
+ )
21
+ }
22
+
23
+ export default HeroContent
@@ -1,5 +1,5 @@
1
1
  import { type ButtonProps } from '../../atoms';
2
- export interface AboutUsContentProps {
2
+ export interface HeroContentProps {
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 AboutUsContentProps {
3
+ export interface HeroContentProps {
4
4
  children: React.ReactNode
5
5
  image: React.ReactNode
6
6
  button?: ButtonProps
@@ -0,0 +1,2 @@
1
+ export { default as HeroContent } from './HeroContent';
2
+ export { type HeroContentProps } from './HeroContentPropsProps.types';
@@ -0,0 +1 @@
1
+ export { default as HeroContent } from './HeroContent';
@@ -0,0 +1,2 @@
1
+ export { default as HeroContent } from './HeroContent'
2
+ export { type HeroContentProps } from './HeroContentPropsProps.types'
@@ -1,4 +1,4 @@
1
- export * from './AboutUsContent';
1
+ export * from './HeroContent';
2
2
  export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
@@ -1,4 +1,4 @@
1
- export * from './AboutUsContent';
1
+ export * from './HeroContent';
2
2
  export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
@@ -1,4 +1,4 @@
1
- export * from './AboutUsContent'
1
+ export * from './HeroContent'
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 { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, MidBannerRatafiaSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
2
+ import { AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, HeroSection, 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(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 })] }));
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 })] }));
6
6
  };
@@ -1,11 +1,11 @@
1
1
  import React from 'react'
2
2
 
3
3
  import {
4
- AboutUsSection,
5
4
  AsSeeInSection,
6
5
  CardStorySection,
7
6
  ExpertsSection,
8
7
  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 && <AboutUsSection {...aboutUsSectionProps} />}
32
+ {aboutUsSectionProps != null && <HeroSection {...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 { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, MidBannerRatafiaSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, MidBannerRatafiaSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  import { ContactContentProps, HowWeHelpProps } from '../../organisms';
3
3
  export interface AboutUsPageProps {
4
- aboutUsSectionProps?: AboutUsSectionProps;
4
+ aboutUsSectionProps?: HeroSectionProps;
5
5
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
6
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
7
7
  cardStorySection?: CardStorySectionProps;
@@ -1,9 +1,9 @@
1
1
  import type {
2
- AboutUsSectionProps,
3
2
  AsSeeInSectionProps,
4
3
  CardStorySectionProps,
5
4
  ExpertsSectionProps,
6
5
  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?: AboutUsSectionProps
15
+ aboutUsSectionProps?: HeroSectionProps
16
16
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
17
17
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
18
18
  cardStorySection?: CardStorySectionProps
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { PricingPageProps } from './PricingPageProps';
3
+ export declare const PricingPage: React.FC<PricingPageProps>;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CardBoxFeaturedSection, CardBoxMinimalSection, FaqSection, HeroSection } from '../../sections';
3
+ import { BenefitCard } from '../../atoms';
4
+ import { PlanBoxPricingSubscriptionCard } from '../../molecules';
5
+ import { PricingPageStyled } from './PricingPage.styled';
6
+ export const PricingPage = ({ benefitsContent, faqsContent, helpResourcesCards, pricingPlanContent, pricingSection, supportContent }) => {
7
+ return (_jsxs(PricingPageStyled, { children: [pricingSection != null && _jsx(HeroSection, { ...pricingSection }), _jsxs("div", { className: 'pricing-plans wrapper wrapper--responsive', children: [pricingPlanContent?.title && _jsx("h2", { className: 'pricing-plans__title', children: pricingPlanContent.title }), _jsx("div", { className: 'pricing-plans__cards', children: pricingPlanContent?.plans?.length > 0 &&
8
+ pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }), _jsx("div", { className: 'wrapper wrapper--responsive', children: _jsxs("div", { className: 'benefits', children: [benefitsContent?.title && _jsx("h2", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.benefitsList?.length > 0 &&
9
+ benefitsContent?.benefitsList?.map((benefit) => (_jsx(BenefitCard, { hasShadow: false, ...benefit }, benefit?.id))) })] }) }), _jsxs("div", { className: 'support-section', children: [supportContent?.title && (_jsxs("div", { className: 'support-section__content', children: [_jsx("h2", { children: supportContent.title }), supportContent.description] })), _jsx(CardBoxFeaturedSection, { cards: supportContent?.benefitsList })] }), _jsx("div", { className: 'faqs-section', children: _jsx(FaqSection, { groups: faqsContent?.faqItems, givenClass: 'faqs-section__content wrapper wrapper--responsive' }) })] }));
10
+ };
@@ -0,0 +1 @@
1
+ export declare const PricingPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,115 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const PricingPageStyled = styled.div `
4
+ width: 100%;
5
+ .pricing-plans {
6
+ padding-left: 1.5rem;
7
+ padding-right: 1.5rem;
8
+ align-items: center;
9
+ display: flex;
10
+ flex-flow: column nowrap;
11
+ gap: 2rem;
12
+ margin-bottom: 48px;
13
+ &__title {
14
+ color: var(--Neutral-800, var(--neutral-neutral-1));
15
+ font-size: 28px;
16
+ font-style: normal;
17
+ font-weight: 700;
18
+ line-height: 32px;
19
+ letter-spacing: -0.3px;
20
+ margin-top: 48px;
21
+ text-align: center;
22
+ }
23
+
24
+ .subscription-card__feature {
25
+ margin-bottom: 1rem;
26
+ &.ratafia-feature {
27
+ padding: 0.5rem;
28
+ }
29
+ }
30
+
31
+ .subscription-card__button {
32
+ flex: inherit;
33
+ }
34
+
35
+ .primary {
36
+ .subscription-card__feature {
37
+ &.ratafia-feature {
38
+ background-color: var(--primary-main-light-5);
39
+ }
40
+ }
41
+ }
42
+ &__cards {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: 32px;
46
+
47
+ @media ${device.desktop} {
48
+ flex-direction: row;
49
+ }
50
+ }
51
+ }
52
+
53
+ .support-section {
54
+ margin-top: 48px;
55
+ display: flex;
56
+ flex-direction: column;
57
+ align-items: center;
58
+ padding-left: 1.5rem;
59
+ padding-right: 1.5rem;
60
+ &__content {
61
+ display: flex;
62
+ flex-direction: column;
63
+ align-items: center;
64
+ text-align: center;
65
+
66
+ h2 {
67
+ color: var(--Neutral-800, var(--neutral-neutral-1));
68
+ font-size: 28px;
69
+ font-style: normal;
70
+ font-weight: 700;
71
+ line-height: 32px;
72
+ letter-spacing: -0.3px;
73
+ margin-bottom: 24px;
74
+ }
75
+ }
76
+ }
77
+
78
+ .benefits {
79
+ padding: 48px;
80
+ background: var(--primary-main-light-6);
81
+ border-radius: 16px;
82
+ margin-top: 48px;
83
+ padding-left: 1.5rem;
84
+ padding-right: 1.5rem;
85
+ &__title {
86
+ color: var(--Neutral-800, var(--neutral-neutral-1));
87
+ font-size: 28px;
88
+ font-style: normal;
89
+ font-weight: 700;
90
+ line-height: 32px;
91
+ letter-spacing: -0.3px;
92
+ margin-bottom: 40px;
93
+ }
94
+ &__cards {
95
+ display: flex;
96
+ gap: 16px;
97
+ flex-direction: column;
98
+ width: 100%;
99
+
100
+ @media ${device.laptop} {
101
+ flex-direction: row;
102
+ }
103
+ }
104
+ }
105
+ .faqs-section {
106
+ max-width: inherit;
107
+ align-items: center;
108
+ padding-bottom: 80px;
109
+ padding-top: 48px;
110
+ background: var(--neutral-neutral-6);
111
+ &__content {
112
+ max-width: 1200px;
113
+ }
114
+ }
115
+ `;
@@ -0,0 +1,116 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const PricingPageStyled = styled.div`
5
+ width: 100%;
6
+ .pricing-plans {
7
+ padding-left: 1.5rem;
8
+ padding-right: 1.5rem;
9
+ align-items: center;
10
+ display: flex;
11
+ flex-flow: column nowrap;
12
+ gap: 2rem;
13
+ margin-bottom: 48px;
14
+ &__title {
15
+ color: var(--Neutral-800, var(--neutral-neutral-1));
16
+ font-size: 28px;
17
+ font-style: normal;
18
+ font-weight: 700;
19
+ line-height: 32px;
20
+ letter-spacing: -0.3px;
21
+ margin-top: 48px;
22
+ text-align: center;
23
+ }
24
+
25
+ .subscription-card__feature {
26
+ margin-bottom: 1rem;
27
+ &.ratafia-feature {
28
+ padding: 0.5rem;
29
+ }
30
+ }
31
+
32
+ .subscription-card__button {
33
+ flex: inherit;
34
+ }
35
+
36
+ .primary {
37
+ .subscription-card__feature {
38
+ &.ratafia-feature {
39
+ background-color: var(--primary-main-light-5);
40
+ }
41
+ }
42
+ }
43
+ &__cards {
44
+ display: flex;
45
+ flex-direction: column;
46
+ gap: 32px;
47
+
48
+ @media ${device.desktop} {
49
+ flex-direction: row;
50
+ }
51
+ }
52
+ }
53
+
54
+ .support-section {
55
+ margin-top: 48px;
56
+ display: flex;
57
+ flex-direction: column;
58
+ align-items: center;
59
+ padding-left: 1.5rem;
60
+ padding-right: 1.5rem;
61
+ &__content {
62
+ display: flex;
63
+ flex-direction: column;
64
+ align-items: center;
65
+ text-align: center;
66
+
67
+ h2 {
68
+ color: var(--Neutral-800, var(--neutral-neutral-1));
69
+ font-size: 28px;
70
+ font-style: normal;
71
+ font-weight: 700;
72
+ line-height: 32px;
73
+ letter-spacing: -0.3px;
74
+ margin-bottom: 24px;
75
+ }
76
+ }
77
+ }
78
+
79
+ .benefits {
80
+ padding: 48px;
81
+ background: var(--primary-main-light-6);
82
+ border-radius: 16px;
83
+ margin-top: 48px;
84
+ padding-left: 1.5rem;
85
+ padding-right: 1.5rem;
86
+ &__title {
87
+ color: var(--Neutral-800, var(--neutral-neutral-1));
88
+ font-size: 28px;
89
+ font-style: normal;
90
+ font-weight: 700;
91
+ line-height: 32px;
92
+ letter-spacing: -0.3px;
93
+ margin-bottom: 40px;
94
+ }
95
+ &__cards {
96
+ display: flex;
97
+ gap: 16px;
98
+ flex-direction: column;
99
+ width: 100%;
100
+
101
+ @media ${device.laptop} {
102
+ flex-direction: row;
103
+ }
104
+ }
105
+ }
106
+ .faqs-section {
107
+ max-width: inherit;
108
+ align-items: center;
109
+ padding-bottom: 80px;
110
+ padding-top: 48px;
111
+ background: var(--neutral-neutral-6);
112
+ &__content {
113
+ max-width: 1200px;
114
+ }
115
+ }
116
+ `
@@ -0,0 +1,53 @@
1
+ import React from 'react'
2
+
3
+ import { CardBoxFeaturedSection, CardBoxMinimalSection, FaqSection, HeroSection } from '../../sections'
4
+ import { BenefitCard } from '../../atoms'
5
+ import { PlanBoxPricingSubscriptionCard } from '../../molecules'
6
+ import { PricingPageProps } from './PricingPageProps'
7
+ import { PricingPageStyled } from './PricingPage.styled'
8
+
9
+ export const PricingPage: React.FC<PricingPageProps> = ({
10
+ benefitsContent,
11
+ faqsContent,
12
+ helpResourcesCards,
13
+ pricingPlanContent,
14
+ pricingSection,
15
+ supportContent
16
+ }) => {
17
+ return (
18
+ <PricingPageStyled>
19
+ {pricingSection != null && <HeroSection {...pricingSection} />}
20
+ <div className='pricing-plans wrapper wrapper--responsive'>
21
+ {pricingPlanContent?.title && <h2 className='pricing-plans__title'>{pricingPlanContent.title}</h2>}
22
+ <div className='pricing-plans__cards'>
23
+ {pricingPlanContent?.plans?.length > 0 &&
24
+ pricingPlanContent?.plans?.map((plan) => <PlanBoxPricingSubscriptionCard key={plan?.id} {...plan} />)}
25
+ </div>
26
+ </div>
27
+ <CardBoxMinimalSection cards={helpResourcesCards} />
28
+ <div className='wrapper wrapper--responsive'>
29
+ <div className='benefits'>
30
+ {benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
31
+ <div className='benefits__cards'>
32
+ {benefitsContent?.benefitsList?.length > 0 &&
33
+ benefitsContent?.benefitsList?.map((benefit) => (
34
+ <BenefitCard hasShadow={false} key={benefit?.id} {...benefit} />
35
+ ))}
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <div className='support-section'>
40
+ {supportContent?.title && (
41
+ <div className='support-section__content'>
42
+ <h2>{supportContent.title}</h2>
43
+ {supportContent.description}
44
+ </div>
45
+ )}
46
+ <CardBoxFeaturedSection cards={supportContent?.benefitsList} />
47
+ </div>
48
+ <div className='faqs-section'>
49
+ <FaqSection groups={faqsContent?.faqItems} givenClass='faqs-section__content wrapper wrapper--responsive' />
50
+ </div>
51
+ </PricingPageStyled>
52
+ )
53
+ }
@@ -0,0 +1,28 @@
1
+ import { BenefitCardProps, CardBoxProps } from 'src/components/atoms';
2
+ import { FaqGroupProps } from 'src/components/organisms';
3
+ import { HeroSectionProps } from 'src/components/sections';
4
+ import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules';
5
+ export interface BenefitContentProps {
6
+ title: string;
7
+ benefitsList: BenefitCardProps[];
8
+ }
9
+ export interface FaqsContentProps {
10
+ faqItems: FaqGroupProps[];
11
+ }
12
+ export interface PricingPlanContentProps {
13
+ title: string;
14
+ plans: PlanBoxPricingSubscriptionCardProps[];
15
+ }
16
+ export interface SupportContentProps {
17
+ title: string;
18
+ description: string;
19
+ benefitsList: CardBoxProps[];
20
+ }
21
+ export interface PricingPageProps {
22
+ benefitsContent: BenefitContentProps;
23
+ faqsContent: FaqsContentProps;
24
+ helpResourcesCards: CardBoxProps[];
25
+ supportContent: SupportContentProps;
26
+ pricingPlanContent: PricingPlanContentProps;
27
+ pricingSection: HeroSectionProps;
28
+ }
@@ -0,0 +1,33 @@
1
+ import { BenefitCardProps, CardBoxProps } from 'src/components/atoms'
2
+ import { FaqGroupProps } from 'src/components/organisms'
3
+ import { HeroSectionProps } from 'src/components/sections'
4
+ import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules'
5
+
6
+ export interface BenefitContentProps {
7
+ title: string
8
+ benefitsList: BenefitCardProps[]
9
+ }
10
+
11
+ export interface FaqsContentProps {
12
+ faqItems: FaqGroupProps[]
13
+ }
14
+
15
+ export interface PricingPlanContentProps {
16
+ title: string
17
+ plans: PlanBoxPricingSubscriptionCardProps[]
18
+ }
19
+
20
+ export interface SupportContentProps {
21
+ title: string
22
+ description: string
23
+ benefitsList: CardBoxProps[]
24
+ }
25
+
26
+ export interface PricingPageProps {
27
+ benefitsContent: BenefitContentProps
28
+ faqsContent: FaqsContentProps
29
+ helpResourcesCards: CardBoxProps[]
30
+ supportContent: SupportContentProps
31
+ pricingPlanContent: PricingPlanContentProps
32
+ pricingSection: HeroSectionProps
33
+ }
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage';
2
+ export * from './PricingPageProps';
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage';
2
+ export * from './PricingPageProps';
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage'
2
+ export * from './PricingPageProps'
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
+ export * from './PricingPage';
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
+ export * from './PricingPage';
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage'
11
11
  export * from './RatafiaResultPage'
12
12
  export * from './UnsubscribePage'
13
13
  export * from './LoginRatafiaPage'
14
+ export * from './PricingPage'
@@ -1,8 +1,8 @@
1
- import { type BenefitRatafiaCardProps } from '../../atoms';
1
+ import { type BenefitCardProps } 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: BenefitRatafiaCardProps[];
7
+ benefits: BenefitCardProps[];
8
8
  }
@@ -1,9 +1,9 @@
1
- import { type BenefitRatafiaCardProps } from '../../atoms'
1
+ import { type BenefitCardProps } 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: BenefitRatafiaCardProps[]
8
+ benefits: BenefitCardProps[]
9
9
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type CardBoxSectionProps } from './CardBoxSectionProps';
3
+ export declare const CardBoxMinimalSection: React.FC<CardBoxSectionProps>;
4
+ export declare const CardBoxFeaturedSection: React.FC<CardBoxSectionProps>;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled';
3
+ import { CardBox } from '../../atoms';
4
+ export const CardBoxMinimalSection = ({ cards }) => {
5
+ return (_jsx(CardBoxMinimalSectionStyled, { children: cards?.map(({ text, icon, id }) => _jsx(CardBox, { text: text, icon: icon }, id)) }));
6
+ };
7
+ export const CardBoxFeaturedSection = ({ cards }) => {
8
+ return (_jsx(CardBoxFeaturedSectionStyled, { children: cards?.map(({ text, icon, id }) => (_jsx(CardBox, { text: text, icon: icon, padding: '16px', gap: '0.5rem', borderRadius: '8px' }, id))) }));
9
+ };
@@ -0,0 +1,2 @@
1
+ export declare const CardBoxMinimalSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const CardBoxFeaturedSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -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
+ `;