@npm_leadtech/legal-lib-components 7.0.0 → 7.0.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 (169) 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} +11 -5
  8. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.ts → BenefitCard/BenefitCardStyled.styled.ts} +11 -5
  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 +9 -0
  22. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +9 -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 +88 -0
  96. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +89 -0
  97. package/dist/src/components/pages/PricingPage/PricingPage.tsx +49 -0
  98. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +29 -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 +1 -0
  102. package/dist/src/components/pages/PricingPage/index.js +1 -0
  103. package/dist/src/components/pages/PricingPage/index.ts +1 -0
  104. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  105. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  106. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +4 -0
  107. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +9 -0
  108. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +2 -0
  109. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +33 -0
  110. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +35 -0
  111. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +23 -0
  112. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +4 -0
  113. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +1 -0
  114. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +5 -0
  115. package/dist/src/components/sections/CardBoxSection/index.d.ts +2 -0
  116. package/dist/src/components/sections/CardBoxSection/index.js +1 -0
  117. package/dist/src/components/sections/CardBoxSection/index.ts +2 -0
  118. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  119. package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
  120. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +4 -0
  121. package/dist/src/components/sections/HeroSection/HeroSection.js +7 -0
  122. package/dist/src/components/sections/HeroSection/HeroSection.tsx +24 -0
  123. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +6 -0
  124. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +1 -0
  125. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +7 -0
  126. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +1 -0
  127. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.js → HeroSection/HeroSectionStyled.styled.js} +2 -2
  128. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.ts → HeroSection/HeroSectionStyled.styled.ts} +2 -2
  129. package/dist/src/components/sections/HeroSection/index.d.ts +2 -0
  130. package/dist/src/components/sections/HeroSection/index.js +1 -0
  131. package/dist/src/components/sections/HeroSection/index.ts +2 -0
  132. package/dist/src/components/sections/index.d.ts +2 -1
  133. package/dist/src/components/sections/index.js +2 -1
  134. package/dist/src/components/sections/index.ts +2 -1
  135. package/dist/tsconfig.build.tsbuildinfo +1 -1
  136. package/package.json +6 -4
  137. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +0 -4
  138. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
  139. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +0 -18
  140. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +0 -6
  141. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +0 -2
  142. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
  143. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +0 -2
  144. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
  145. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
  146. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -61
  147. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
  148. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
  149. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
  150. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +0 -4
  151. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
  152. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
  153. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +0 -23
  154. package/dist/src/components/organisms/AboutUsContent/index.d.ts +0 -2
  155. package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
  156. package/dist/src/components/organisms/AboutUsContent/index.ts +0 -2
  157. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +0 -4
  158. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
  159. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
  160. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -24
  161. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +0 -6
  162. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +0 -7
  163. package/dist/src/components/sections/AboutUsSection/index.d.ts +0 -2
  164. package/dist/src/components/sections/AboutUsSection/index.js +0 -1
  165. package/dist/src/components/sections/AboutUsSection/index.ts +0 -2
  166. /package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.js → BenefitCard/BenefitCardProps.types.js} +0 -0
  167. /package/dist/src/components/{molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js → atoms/CardBox/CardBoxProps.types.js} +0 -0
  168. /package/dist/src/components/{organisms/AboutUsContent/AboutUsContentProps.types.js → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js} +0 -0
  169. /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, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
2
+ import { AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, HeroSection, 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, 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 && 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 && 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
  PeopleSayAboutUsSection,
10
10
  TryOurFreeLegalBlogsSection
11
11
  } from '../../sections'
@@ -27,7 +27,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
27
27
  }) => {
28
28
  return (
29
29
  <>
30
- {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
30
+ {aboutUsSectionProps != null && <HeroSection {...aboutUsSectionProps} />}
31
31
  {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
32
32
  {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
33
33
  {cardStorySection != null && <CardStorySection {...cardStorySection} />}
@@ -1,7 +1,7 @@
1
- import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, 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
  PeopleSayAboutUsSectionProps,
8
8
  TryOurFreeLegalBlogsSectionProps,
9
9
  TryUsSectionProps
@@ -11,7 +11,7 @@ import type {
11
11
  import { ContactContentProps, HowWeHelpProps } from '../../organisms'
12
12
 
13
13
  export interface AboutUsPageProps {
14
- aboutUsSectionProps?: AboutUsSectionProps
14
+ aboutUsSectionProps?: HeroSectionProps
15
15
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
16
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
17
17
  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("div", { 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 }), _jsxs("div", { className: 'benefits wrapper wrapper--responsive', children: [benefitsContent?.title && _jsx("div", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.cards?.length > 0 &&
9
+ benefitsContent?.cards?.map((card) => _jsx(BenefitCard, { hasShadow: false, ...card }, card?.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.cards })] }), _jsx("div", { className: 'faqs-section', children: _jsx(FaqSection, { groups: faqsContent?.groups, 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,88 @@
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
+ align-items: center;
7
+ display: flex;
8
+ flex-flow: column nowrap;
9
+ gap: 2rem;
10
+ margin-bottom: 48px;
11
+ &__title {
12
+ color: var(--Neutral-800, var(--neutral-neutral-1));
13
+ font-size: 28px;
14
+ font-style: normal;
15
+ font-weight: 700;
16
+ line-height: 32px;
17
+ letter-spacing: -0.3px;
18
+ margin-top: 48px;
19
+ }
20
+ &__cards {
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 32px;
24
+
25
+ @media ${device.desktop} {
26
+ flex-direction: row;
27
+ }
28
+ }
29
+ }
30
+
31
+ .support-section {
32
+ margin-top: 48px;
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ &__content {
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: center;
40
+
41
+ h2 {
42
+ color: var(--Neutral-800, var(--neutral-neutral-1));
43
+ font-size: 28px;
44
+ font-style: normal;
45
+ font-weight: 700;
46
+ line-height: 32px;
47
+ letter-spacing: -0.3px;
48
+ margin-bottom: 24px;
49
+ }
50
+ }
51
+ }
52
+
53
+ .benefits {
54
+ padding: 48px;
55
+ background: var(--primary-main-light-6);
56
+ border-radius: 16px;
57
+ margin-top: 48px;
58
+ &__title {
59
+ color: var(--Neutral-800, var(--neutral-neutral-1));
60
+ font-size: 28px;
61
+ font-style: normal;
62
+ font-weight: 700;
63
+ line-height: 32px;
64
+ letter-spacing: -0.3px;
65
+ margin-bottom: 40px;
66
+ }
67
+ &__cards {
68
+ display: flex;
69
+ gap: 16px;
70
+ flex-direction: column;
71
+ width: 100%;
72
+
73
+ @media ${device.desktop} {
74
+ flex-direction: row;
75
+ }
76
+ }
77
+ }
78
+ .faqs-section {
79
+ max-width: inherit;
80
+ align-items: center;
81
+ padding-bottom: 80px;
82
+ padding-top: 48px;
83
+ background: var(--neutral-neutral-6);
84
+ &__content {
85
+ max-width: 1200px;
86
+ }
87
+ }
88
+ `;
@@ -0,0 +1,89 @@
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
+ align-items: center;
8
+ display: flex;
9
+ flex-flow: column nowrap;
10
+ gap: 2rem;
11
+ margin-bottom: 48px;
12
+ &__title {
13
+ color: var(--Neutral-800, var(--neutral-neutral-1));
14
+ font-size: 28px;
15
+ font-style: normal;
16
+ font-weight: 700;
17
+ line-height: 32px;
18
+ letter-spacing: -0.3px;
19
+ margin-top: 48px;
20
+ }
21
+ &__cards {
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: 32px;
25
+
26
+ @media ${device.desktop} {
27
+ flex-direction: row;
28
+ }
29
+ }
30
+ }
31
+
32
+ .support-section {
33
+ margin-top: 48px;
34
+ display: flex;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ &__content {
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: center;
41
+
42
+ h2 {
43
+ color: var(--Neutral-800, var(--neutral-neutral-1));
44
+ font-size: 28px;
45
+ font-style: normal;
46
+ font-weight: 700;
47
+ line-height: 32px;
48
+ letter-spacing: -0.3px;
49
+ margin-bottom: 24px;
50
+ }
51
+ }
52
+ }
53
+
54
+ .benefits {
55
+ padding: 48px;
56
+ background: var(--primary-main-light-6);
57
+ border-radius: 16px;
58
+ margin-top: 48px;
59
+ &__title {
60
+ color: var(--Neutral-800, var(--neutral-neutral-1));
61
+ font-size: 28px;
62
+ font-style: normal;
63
+ font-weight: 700;
64
+ line-height: 32px;
65
+ letter-spacing: -0.3px;
66
+ margin-bottom: 40px;
67
+ }
68
+ &__cards {
69
+ display: flex;
70
+ gap: 16px;
71
+ flex-direction: column;
72
+ width: 100%;
73
+
74
+ @media ${device.desktop} {
75
+ flex-direction: row;
76
+ }
77
+ }
78
+ }
79
+ .faqs-section {
80
+ max-width: inherit;
81
+ align-items: center;
82
+ padding-bottom: 80px;
83
+ padding-top: 48px;
84
+ background: var(--neutral-neutral-6);
85
+ &__content {
86
+ max-width: 1200px;
87
+ }
88
+ }
89
+ `
@@ -0,0 +1,49 @@
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 && <div className='pricing-plans__title'>{pricingPlanContent.title}</div>}
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='benefits wrapper wrapper--responsive'>
29
+ {benefitsContent?.title && <div className='benefits__title'>{benefitsContent.title}</div>}
30
+ <div className='benefits__cards'>
31
+ {benefitsContent?.cards?.length > 0 &&
32
+ benefitsContent?.cards?.map((card) => <BenefitCard hasShadow={false} key={card?.id} {...card} />)}
33
+ </div>
34
+ </div>
35
+ <div className='support-section'>
36
+ {supportContent?.title && (
37
+ <div className='support-section__content'>
38
+ <h2>{supportContent.title}</h2>
39
+ {supportContent.description}
40
+ </div>
41
+ )}
42
+ <CardBoxFeaturedSection cards={supportContent.cards} />
43
+ </div>
44
+ <div className='faqs-section'>
45
+ <FaqSection groups={faqsContent?.groups} givenClass='faqs-section__content wrapper wrapper--responsive' />
46
+ </div>
47
+ </PricingPageStyled>
48
+ )
49
+ }
@@ -0,0 +1,29 @@
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
+ interface BenefitContent {
6
+ title: string;
7
+ cards: BenefitCardProps[];
8
+ }
9
+ interface FaqsContent {
10
+ groups: FaqGroupProps[];
11
+ }
12
+ interface PricingPlanContent {
13
+ title: string;
14
+ plans: PlanBoxPricingSubscriptionCardProps[];
15
+ }
16
+ interface SupportContent {
17
+ title: string;
18
+ description: string;
19
+ cards: CardBoxProps[];
20
+ }
21
+ export interface PricingPageProps {
22
+ benefitsContent: BenefitContent;
23
+ faqsContent: FaqsContent;
24
+ helpResourcesCards: CardBoxProps[];
25
+ supportContent: SupportContent;
26
+ pricingPlanContent: PricingPlanContent;
27
+ pricingSection: HeroSectionProps;
28
+ }
29
+ export {};
@@ -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
+ interface BenefitContent {
7
+ title: string
8
+ cards: BenefitCardProps[]
9
+ }
10
+
11
+ interface FaqsContent {
12
+ groups: FaqGroupProps[]
13
+ }
14
+
15
+ interface PricingPlanContent {
16
+ title: string
17
+ plans: PlanBoxPricingSubscriptionCardProps[]
18
+ }
19
+
20
+ interface SupportContent {
21
+ title: string
22
+ description: string
23
+ cards: CardBoxProps[]
24
+ }
25
+
26
+ export interface PricingPageProps {
27
+ benefitsContent: BenefitContent
28
+ faqsContent: FaqsContent
29
+ helpResourcesCards: CardBoxProps[]
30
+ supportContent: SupportContent
31
+ pricingPlanContent: PricingPlanContent
32
+ pricingSection: HeroSectionProps
33
+ }
@@ -0,0 +1 @@
1
+ export { PricingPage } from './PricingPage';
@@ -0,0 +1 @@
1
+ export { PricingPage } from './PricingPage';
@@ -0,0 +1 @@
1
+ export { PricingPage } 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 }, index) => _jsx(CardBox, { text: text, icon: icon }, `${index}-${text}`)) }));
6
+ };
7
+ export const CardBoxFeaturedSection = ({ cards }) => {
8
+ return (_jsx(CardBoxFeaturedSectionStyled, { children: cards?.map(({ text, icon }, index) => (_jsx(CardBox, { text: text, icon: icon, padding: '16px', gap: '0.5rem', borderRadius: '8px' }, `${index}-${text}`))) }));
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
+ `;
@@ -0,0 +1,35 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CardBoxMinimalSectionStyled = styled.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+ padding: 48px 24px;
9
+ gap: 16px;
10
+ align-self: stretch;
11
+ background: var(--neutral-neutral-6);
12
+
13
+ @media ${device['landscape-tablets']} {
14
+ flex-direction: row;
15
+ }
16
+ `
17
+
18
+ export const CardBoxFeaturedSectionStyled = styled.div`
19
+ display: flex;
20
+ flex-direction: column;
21
+ justify-content: center;
22
+ padding: 24px 24px;
23
+ gap: 16px;
24
+ background: var(--neutral-neutral-6);
25
+ border-radius: 16px;
26
+ margin-bottom: 80px;
27
+ margin-top: 32px;
28
+ @media ${device.desktop} {
29
+ min-width: 1200px;
30
+ }
31
+
32
+ @media ${device['landscape-tablets']} {
33
+ flex-direction: row;
34
+ }
35
+ `
@@ -0,0 +1,23 @@
1
+ import React from 'react'
2
+
3
+ import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled'
4
+ import { CardBox } from '../../atoms'
5
+ import { type CardBoxSectionProps } from './CardBoxSectionProps'
6
+
7
+ export const CardBoxMinimalSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
8
+ return (
9
+ <CardBoxMinimalSectionStyled>
10
+ {cards?.map(({ text, icon }, index) => <CardBox key={`${index}-${text}`} text={text} icon={icon} />)}
11
+ </CardBoxMinimalSectionStyled>
12
+ )
13
+ }
14
+
15
+ export const CardBoxFeaturedSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
16
+ return (
17
+ <CardBoxFeaturedSectionStyled>
18
+ {cards?.map(({ text, icon }, index) => (
19
+ <CardBox key={`${index}-${text}`} text={text} icon={icon} padding='16px' gap='0.5rem' borderRadius='8px' />
20
+ ))}
21
+ </CardBoxFeaturedSectionStyled>
22
+ )
23
+ }
@@ -0,0 +1,4 @@
1
+ import { CardBoxProps } from 'src/components/atoms';
2
+ export interface CardBoxSectionProps {
3
+ cards: CardBoxProps[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { CardBoxProps } from 'src/components/atoms'
2
+
3
+ export interface CardBoxSectionProps {
4
+ cards: CardBoxProps[]
5
+ }
@@ -0,0 +1,2 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
2
+ export { type CardBoxSectionProps } from './CardBoxSectionProps';
@@ -0,0 +1 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
@@ -0,0 +1,2 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection'
2
+ export { type CardBoxSectionProps } from './CardBoxSectionProps'
@@ -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
  };