@npm_leadtech/legal-lib-components 5.64.6 → 5.64.8

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 (170) hide show
  1. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  2. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
  3. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +4 -0
  4. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +6 -0
  5. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +1 -0
  6. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +88 -0
  7. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +89 -0
  8. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +21 -0
  9. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +5 -0
  10. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +5 -0
  11. package/dist/src/components/atoms/CardStoryItem/index.d.ts +2 -0
  12. package/dist/src/components/atoms/CardStoryItem/index.js +1 -0
  13. package/dist/src/components/atoms/CardStoryItem/index.ts +2 -0
  14. package/dist/src/components/atoms/index.d.ts +0 -3
  15. package/dist/src/components/atoms/index.js +0 -3
  16. package/dist/src/components/atoms/index.ts +0 -3
  17. package/dist/src/components/molecules/CardStory/CardStory.d.ts +4 -0
  18. package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
  19. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
  20. package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
  21. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
  22. package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
  23. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
  24. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
  25. package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
  26. package/dist/src/components/molecules/CardStory/index.js +1 -0
  27. package/dist/src/components/molecules/CardStory/index.ts +2 -0
  28. package/dist/src/components/molecules/index.d.ts +0 -2
  29. package/dist/src/components/molecules/index.js +0 -2
  30. package/dist/src/components/molecules/index.ts +0 -2
  31. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
  32. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
  33. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
  34. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
  35. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
  36. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
  37. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
  38. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
  39. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
  40. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  41. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
  42. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
  43. package/dist/src/components/organisms/index.d.ts +0 -2
  44. package/dist/src/components/organisms/index.js +0 -2
  45. package/dist/src/components/organisms/index.ts +0 -2
  46. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  47. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
  48. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
  49. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
  50. package/dist/src/components/pages/index.d.ts +1 -2
  51. package/dist/src/components/pages/index.js +1 -2
  52. package/dist/src/components/pages/index.ts +1 -2
  53. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
  54. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
  55. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
  56. package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
  57. package/dist/src/components/{atoms/RatafiaResultTab/RatafiaResultTab.styled.d.ts → sections/CardStorySection/CardStorySection.styled.d.ts} +1 -1
  58. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
  59. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
  60. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
  61. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
  62. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
  63. package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
  64. package/dist/src/components/sections/CardStorySection/index.js +1 -0
  65. package/dist/src/components/sections/CardStorySection/index.ts +2 -0
  66. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
  67. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
  68. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  69. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
  70. package/dist/src/components/sections/index.d.ts +1 -0
  71. package/dist/src/components/sections/index.js +1 -0
  72. package/dist/src/components/sections/index.ts +1 -0
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/package.json +3 -6
  75. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.d.ts +0 -4
  76. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.js +0 -6
  77. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.d.ts +0 -1
  78. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.js +0 -39
  79. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.ts +0 -40
  80. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.tsx +0 -18
  81. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.d.ts +0 -5
  82. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.ts +0 -5
  83. package/dist/src/components/atoms/RatafiaResultCard/index.d.ts +0 -2
  84. package/dist/src/components/atoms/RatafiaResultCard/index.js +0 -1
  85. package/dist/src/components/atoms/RatafiaResultCard/index.ts +0 -2
  86. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.d.ts +0 -4
  87. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.js +0 -6
  88. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.js +0 -38
  89. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.ts +0 -39
  90. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.tsx +0 -23
  91. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.d.ts +0 -9
  92. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.ts +0 -9
  93. package/dist/src/components/atoms/RatafiaResultTab/index.d.ts +0 -2
  94. package/dist/src/components/atoms/RatafiaResultTab/index.js +0 -1
  95. package/dist/src/components/atoms/RatafiaResultTab/index.ts +0 -2
  96. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.d.ts +0 -4
  97. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +0 -6
  98. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.d.ts +0 -1
  99. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.js +0 -55
  100. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.ts +0 -56
  101. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +0 -56
  102. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +0 -14
  103. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +0 -15
  104. package/dist/src/components/atoms/RatafiaReviewResult/index.d.ts +0 -2
  105. package/dist/src/components/atoms/RatafiaReviewResult/index.js +0 -1
  106. package/dist/src/components/atoms/RatafiaReviewResult/index.ts +0 -2
  107. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.d.ts +0 -4
  108. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.js +0 -9
  109. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.d.ts +0 -1
  110. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.js +0 -24
  111. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.ts +0 -25
  112. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.tsx +0 -19
  113. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.d.ts +0 -4
  114. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.js +0 -1
  115. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.ts +0 -5
  116. package/dist/src/components/molecules/RatafiaResultCardList/index.d.ts +0 -2
  117. package/dist/src/components/molecules/RatafiaResultCardList/index.js +0 -1
  118. package/dist/src/components/molecules/RatafiaResultCardList/index.ts +0 -2
  119. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.d.ts +0 -4
  120. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.js +0 -9
  121. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.d.ts +0 -1
  122. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.js +0 -7
  123. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.ts +0 -8
  124. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.tsx +0 -18
  125. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.d.ts +0 -4
  126. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.js +0 -1
  127. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.ts +0 -5
  128. package/dist/src/components/molecules/RatafiaResultTabList/index.d.ts +0 -2
  129. package/dist/src/components/molecules/RatafiaResultTabList/index.js +0 -1
  130. package/dist/src/components/molecules/RatafiaResultTabList/index.ts +0 -2
  131. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.d.ts +0 -4
  132. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +0 -6
  133. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.d.ts +0 -1
  134. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.js +0 -143
  135. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.ts +0 -144
  136. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +0 -46
  137. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +0 -5
  138. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.js +0 -1
  139. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +0 -5
  140. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.d.ts +0 -2
  141. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.js +0 -1
  142. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.ts +0 -2
  143. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.d.ts +0 -4
  144. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.js +0 -9
  145. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.d.ts +0 -1
  146. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.js +0 -26
  147. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.ts +0 -27
  148. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.tsx +0 -26
  149. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.d.ts +0 -13
  150. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.js +0 -1
  151. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.ts +0 -16
  152. package/dist/src/components/organisms/RatafiaResultContent/index.d.ts +0 -3
  153. package/dist/src/components/organisms/RatafiaResultContent/index.js +0 -1
  154. package/dist/src/components/organisms/RatafiaResultContent/index.ts +0 -3
  155. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
  156. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.d.ts +0 -4
  157. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.js +0 -15
  158. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.d.ts +0 -1
  159. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.js +0 -23
  160. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.ts +0 -24
  161. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.tsx +0 -76
  162. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.d.ts +0 -20
  163. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.js +0 -1
  164. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.ts +0 -22
  165. package/dist/src/components/pages/RatafiaResultPage/index.d.ts +0 -2
  166. package/dist/src/components/pages/RatafiaResultPage/index.js +0 -1
  167. package/dist/src/components/pages/RatafiaResultPage/index.ts +0 -2
  168. /package/dist/src/components/atoms/{RatafiaResultCard/RatafiaResultCardProps.types.js → CardStoryItem/CardStoryItemProps.types.js} +0 -0
  169. /package/dist/src/components/{atoms/RatafiaResultTab/RatafiaResultTabProps.types.js → molecules/CardStory/CardStoryProps.types.js} +0 -0
  170. /package/dist/src/components/{atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.js → sections/CardStorySection/CardStorySectionProps.types.js} +0 -0
@@ -1,12 +1,27 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
+ import {
4
+ type TryOurFreeLegalBlogsContentProps,
5
+ TryOurFreeLegalBlogsContentType
6
+ } from './TryOurFreeLegalBlogsContentProps.types'
3
7
  import { RichTextInner } from '../../atoms'
4
- import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
5
8
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
9
+ import classNames from 'classnames'
6
10
 
7
- const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
11
+ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
12
+ title,
13
+ image,
14
+ children,
15
+ type = TryOurFreeLegalBlogsContentType.default
16
+ }) => {
17
+ const classTry = classNames({
18
+ 'try-our-free-legal-blogs-section-content': true,
19
+ 'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
+ 'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
+ TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
22
+ })
8
23
  return (
9
- <TryOurFreeLegalBlogsContentStyled>
24
+ <TryOurFreeLegalBlogsContentStyled className={classTry}>
10
25
  <div className='try-our-free-legal-blogs-section__texts'>
11
26
  <h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
12
27
  <RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
@@ -1,5 +1,11 @@
1
+ export declare enum TryOurFreeLegalBlogsContentType {
2
+ default = "Default",
3
+ ourMission = "Our Mission",
4
+ ourMissionFirstImage = "Our Mission First Image"
5
+ }
1
6
  export interface TryOurFreeLegalBlogsContentProps {
2
7
  title: string;
3
8
  image: React.ReactNode;
4
9
  children: React.ReactNode;
10
+ type?: TryOurFreeLegalBlogsContentType;
5
11
  }
@@ -1 +1,6 @@
1
- export {};
1
+ export var TryOurFreeLegalBlogsContentType;
2
+ (function (TryOurFreeLegalBlogsContentType) {
3
+ TryOurFreeLegalBlogsContentType["default"] = "Default";
4
+ TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
5
+ TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
6
+ })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
@@ -1,5 +1,12 @@
1
+ export enum TryOurFreeLegalBlogsContentType {
2
+ default = 'Default',
3
+ ourMission = 'Our Mission',
4
+ ourMissionFirstImage = 'Our Mission First Image'
5
+ }
6
+
1
7
  export interface TryOurFreeLegalBlogsContentProps {
2
8
  title: string
3
9
  image: React.ReactNode
4
10
  children: React.ReactNode
11
+ type?: TryOurFreeLegalBlogsContentType
5
12
  }
@@ -1,2 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
2
+ export { TryOurFreeLegalBlogsContentType, type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
+ export { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,2 +1,5 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
2
- export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
2
+ export {
3
+ TryOurFreeLegalBlogsContentType,
4
+ type TryOurFreeLegalBlogsContentProps
5
+ } from './TryOurFreeLegalBlogsContentProps.types'
@@ -20,7 +20,5 @@ export * from './LimitReachedContentRatafia';
20
20
  export * from './ListStepsGetForm';
21
21
  export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
- export * from './RatafiaLoadingResultContent';
24
- export * from './RatafiaResultContent';
25
23
  export * from './StepsRatafiaContent';
26
24
  export * from './TryOurFreeLegalBlogsContent';
@@ -20,7 +20,5 @@ export * from './LimitReachedContentRatafia';
20
20
  export * from './ListStepsGetForm';
21
21
  export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
- export * from './RatafiaLoadingResultContent';
24
- export * from './RatafiaResultContent';
25
23
  export * from './StepsRatafiaContent';
26
24
  export * from './TryOurFreeLegalBlogsContent';
@@ -20,7 +20,5 @@ export * from './LimitReachedContentRatafia'
20
20
  export * from './ListStepsGetForm'
21
21
  export * from './LoginRatafiaContent'
22
22
  export * from './MobileBottomBar'
23
- export * from './RatafiaLoadingResultContent'
24
- export * from './RatafiaResultContent'
25
23
  export * from './StepsRatafiaContent'
26
24
  export * from './TryOurFreeLegalBlogsContent'
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsSection, AsSeeInSection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
- export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
- return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })), 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 })] }));
2
+ import { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
+ export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), 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 })] }));
5
5
  };
@@ -3,6 +3,7 @@ import React from 'react'
3
3
  import {
4
4
  AboutUsSection,
5
5
  AsSeeInSection,
6
+ CardStorySection,
6
7
  ExpertsSection,
7
8
  GuidelinesSection,
8
9
  PeopleSayAboutUsSection,
@@ -12,7 +13,9 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
12
13
 
13
14
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
14
15
  aboutUsSectionProps,
15
- tryOurFreeLegalBlogsSectionProps,
16
+ ourMissionBlogsSectionProps,
17
+ ourCoreValuesBlogsSectionProps,
18
+ cardStorySection,
16
19
  peopleSayAboutUsSectionProps,
17
20
  guidelinesSectionProps,
18
21
  expertsSectionProps,
@@ -22,9 +25,9 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
22
25
  return (
23
26
  <>
24
27
  {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
25
- {tryOurFreeLegalBlogsSectionProps != null && (
26
- <TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
27
- )}
28
+ {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
29
+ {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
30
+ {cardStorySection != null && <CardStorySection {...cardStorySection} />}
28
31
  {guidelinesSectionProps != null && (
29
32
  <GuidelinesSection {...guidelinesSectionProps}>
30
33
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -1,7 +1,9 @@
1
- import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  export interface AboutUsPageProps {
3
3
  aboutUsSectionProps?: AboutUsSectionProps;
4
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
4
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
+ cardStorySection?: CardStorySectionProps;
5
7
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
6
8
  guidelinesSectionProps?: GuidelinesSectionProps;
7
9
  tryUsSectionProps?: TryUsSectionProps;
@@ -1,6 +1,7 @@
1
1
  import type {
2
2
  AboutUsSectionProps,
3
3
  AsSeeInSectionProps,
4
+ CardStorySectionProps,
4
5
  ExpertsSectionProps,
5
6
  GuidelinesSectionProps,
6
7
  PeopleSayAboutUsSectionProps,
@@ -10,7 +11,9 @@ import type {
10
11
 
11
12
  export interface AboutUsPageProps {
12
13
  aboutUsSectionProps?: AboutUsSectionProps
13
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
14
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
15
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
+ cardStorySection?: CardStorySectionProps
14
17
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
15
18
  guidelinesSectionProps?: GuidelinesSectionProps
16
19
  tryUsSectionProps?: TryUsSectionProps
@@ -7,7 +7,6 @@ export * from './KeyFactsResultRatafiaPage';
7
7
  export * from './LegalPage';
8
8
  export * from './LimitReachedRatafiaPage';
9
9
  export * from './RatafiaLandingPage';
10
- export * from './RatafiaPricingPage';
11
- export * from './RatafiaResultPage';
12
10
  export * from './UnsubscribePage';
13
11
  export * from './LoginRatafiaPage';
12
+ export * from './RatafiaPricingPage';
@@ -7,7 +7,6 @@ export * from './KeyFactsResultRatafiaPage';
7
7
  export * from './LegalPage';
8
8
  export * from './LimitReachedRatafiaPage';
9
9
  export * from './RatafiaLandingPage';
10
- export * from './RatafiaPricingPage';
11
- export * from './RatafiaResultPage';
12
10
  export * from './UnsubscribePage';
13
11
  export * from './LoginRatafiaPage';
12
+ export * from './RatafiaPricingPage';
@@ -7,7 +7,6 @@ export * from './KeyFactsResultRatafiaPage'
7
7
  export * from './LegalPage'
8
8
  export * from './LimitReachedRatafiaPage'
9
9
  export * from './RatafiaLandingPage'
10
- export * from './RatafiaPricingPage'
11
- export * from './RatafiaResultPage'
12
10
  export * from './UnsubscribePage'
13
11
  export * from './LoginRatafiaPage'
12
+ export * from './RatafiaPricingPage'
@@ -3,10 +3,10 @@ import styled from 'styled-components';
3
3
  export const AboutUsSectionStyled = styled.div `
4
4
  padding-top: 1.125rem;
5
5
  background: var(--primary-main-light-6);
6
- margin-bottom: 3rem;
6
+ padding-bottom: 2rem;
7
7
 
8
- @media ${device.laptop} {
9
- margin-bottom: 5rem;
8
+ @media ${device['landscape-tablets']} {
9
+ padding-bottom: 4rem;
10
10
  }
11
11
 
12
12
  .about-us-section {
@@ -26,9 +26,10 @@ export const AboutUsSectionStyled = styled.div `
26
26
  }
27
27
 
28
28
  &__sub-title {
29
- margin-bottom: 1.5rem;
29
+ margin-bottom: 2rem;
30
+ margin-top: 2rem;
30
31
  text-align: center;
31
- font-size: 2rem;
32
+ font-size: 1.75rem;
32
33
  line-height: 1.2;
33
34
  letter-spacing: -0.4px;
34
35
  font-weight: 400;
@@ -36,17 +37,12 @@ export const AboutUsSectionStyled = styled.div `
36
37
  color: var(--neutral-neutral-1);
37
38
 
38
39
  @media ${device['landscape-tablets']} {
39
- font-size: 2.3rem;
40
- max-width: $sm;
41
- margin: 0 auto 2rem auto;
42
- }
43
-
44
- @media ${device.desktop} {
45
- max-width: 792px;
40
+ font-size: 2rem;
41
+ margin: 3rem auto 3rem auto;
46
42
  }
47
43
 
48
44
  @media ${device.laptop} {
49
- font-size: 3rem;
45
+ font-size: 2.25rem;
50
46
  }
51
47
  }
52
48
  }
@@ -4,10 +4,10 @@ import styled from 'styled-components'
4
4
  export const AboutUsSectionStyled = styled.div`
5
5
  padding-top: 1.125rem;
6
6
  background: var(--primary-main-light-6);
7
- margin-bottom: 3rem;
7
+ padding-bottom: 2rem;
8
8
 
9
- @media ${device.laptop} {
10
- margin-bottom: 5rem;
9
+ @media ${device['landscape-tablets']} {
10
+ padding-bottom: 4rem;
11
11
  }
12
12
 
13
13
  .about-us-section {
@@ -27,9 +27,10 @@ export const AboutUsSectionStyled = styled.div`
27
27
  }
28
28
 
29
29
  &__sub-title {
30
- margin-bottom: 1.5rem;
30
+ margin-bottom: 2rem;
31
+ margin-top: 2rem;
31
32
  text-align: center;
32
- font-size: 2rem;
33
+ font-size: 1.75rem;
33
34
  line-height: 1.2;
34
35
  letter-spacing: -0.4px;
35
36
  font-weight: 400;
@@ -37,17 +38,12 @@ export const AboutUsSectionStyled = styled.div`
37
38
  color: var(--neutral-neutral-1);
38
39
 
39
40
  @media ${device['landscape-tablets']} {
40
- font-size: 2.3rem;
41
- max-width: $sm;
42
- margin: 0 auto 2rem auto;
43
- }
44
-
45
- @media ${device.desktop} {
46
- max-width: 792px;
41
+ font-size: 2rem;
42
+ margin: 3rem auto 3rem auto;
47
43
  }
48
44
 
49
45
  @media ${device.laptop} {
50
- font-size: 3rem;
46
+ font-size: 2.25rem;
51
47
  }
52
48
  }
53
49
  }
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { CardStorySectionProps } from './CardStorySectionProps.types';
3
+ declare const CardStorySection: FC<CardStorySectionProps>;
4
+ export default CardStorySection;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CardStory } from '../../molecules/CardStory';
3
+ import { CardStorySectionStyled } from './CardStorySection.styled';
4
+ const CardStorySection = ({ title, text, cardStory }) => {
5
+ return (_jsx(CardStorySectionStyled, { className: 'card-story-section', children: _jsxs("div", { className: 'wrapper card-story-section__content', children: [_jsx("h2", { className: 'card-story-section__title', children: title }), _jsx("div", { className: 'card-story-section__text', children: text }), _jsx(CardStory, { cardStoryItems: cardStory.cardStoryItems })] }) }));
6
+ };
7
+ export default CardStorySection;
@@ -1 +1 @@
1
- export declare const RatafiaResultTabStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const CardStorySectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,42 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const CardStorySectionStyled = styled.div `
4
+ padding: 1.5rem;
5
+ background: var(--secondary-main-light-4);
6
+
7
+ .card-story-section {
8
+ &__title {
9
+ font-weight: 700;
10
+ font-size: 1.8rem;
11
+ color: var(--neutral-neutral-1);
12
+ font-family: var(--font-sans);
13
+ padding-bottom: 1.5rem;
14
+ }
15
+ &__text {
16
+ font-size: 1rem;
17
+ color: var(--neutral-neutral-1);
18
+ font-family: var(--font-sans);
19
+ padding-bottom: 0.5rem;
20
+ }
21
+ &__content {
22
+ border-radius: var(--l-border-radius);
23
+ background: var(--others-white);
24
+ padding: 1.5rem;
25
+ }
26
+ }
27
+
28
+ @media ${device['landscape-tablets']} {
29
+ padding: 3rem 1.5rem 3rem 1.5rem;
30
+
31
+ .card-story-section {
32
+ &__title {
33
+ }
34
+ &__text {
35
+ padding-bottom: 1.5rem;
36
+ }
37
+ &__content {
38
+ padding: 3rem;
39
+ }
40
+ }
41
+ }
42
+ `;
@@ -0,0 +1,43 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CardStorySectionStyled = styled.div`
5
+ padding: 1.5rem;
6
+ background: var(--secondary-main-light-4);
7
+
8
+ .card-story-section {
9
+ &__title {
10
+ font-weight: 700;
11
+ font-size: 1.8rem;
12
+ color: var(--neutral-neutral-1);
13
+ font-family: var(--font-sans);
14
+ padding-bottom: 1.5rem;
15
+ }
16
+ &__text {
17
+ font-size: 1rem;
18
+ color: var(--neutral-neutral-1);
19
+ font-family: var(--font-sans);
20
+ padding-bottom: 0.5rem;
21
+ }
22
+ &__content {
23
+ border-radius: var(--l-border-radius);
24
+ background: var(--others-white);
25
+ padding: 1.5rem;
26
+ }
27
+ }
28
+
29
+ @media ${device['landscape-tablets']} {
30
+ padding: 3rem 1.5rem 3rem 1.5rem;
31
+
32
+ .card-story-section {
33
+ &__title {
34
+ }
35
+ &__text {
36
+ padding-bottom: 1.5rem;
37
+ }
38
+ &__content {
39
+ padding: 3rem;
40
+ }
41
+ }
42
+ }
43
+ `
@@ -0,0 +1,19 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { CardStory } from '../../molecules/CardStory'
4
+ import { CardStorySectionProps } from './CardStorySectionProps.types'
5
+ import { CardStorySectionStyled } from './CardStorySection.styled'
6
+
7
+ const CardStorySection: FC<CardStorySectionProps> = ({ title, text, cardStory }) => {
8
+ return (
9
+ <CardStorySectionStyled className='card-story-section'>
10
+ <div className='wrapper card-story-section__content'>
11
+ <h2 className='card-story-section__title'>{title}</h2>
12
+ <div className='card-story-section__text'>{text}</div>
13
+ <CardStory cardStoryItems={cardStory.cardStoryItems} />
14
+ </div>
15
+ </CardStorySectionStyled>
16
+ )
17
+ }
18
+
19
+ export default CardStorySection
@@ -0,0 +1,7 @@
1
+ import { CardStoryProps } from 'src/components/molecules/CardStory';
2
+ import React from 'react';
3
+ export interface CardStorySectionProps {
4
+ title: string;
5
+ text: React.JSX.Element;
6
+ cardStory: CardStoryProps;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { CardStoryProps } from 'src/components/molecules/CardStory'
2
+ import React from 'react'
3
+
4
+ export interface CardStorySectionProps {
5
+ title: string
6
+ text: React.JSX.Element
7
+ cardStory: CardStoryProps
8
+ }
@@ -0,0 +1,2 @@
1
+ export { default as CardStorySection } from './CardStorySection';
2
+ export { type CardStorySectionProps } from './CardStorySectionProps.types';
@@ -0,0 +1 @@
1
+ export { default as CardStorySection } from './CardStorySection';
@@ -0,0 +1,2 @@
1
+ export { default as CardStorySection } from './CardStorySection'
2
+ export { type CardStorySectionProps } from './CardStorySectionProps.types'
@@ -6,5 +6,4 @@ export const GuidelinesSectionStyled = styled.section `
6
6
  background: var(--neutral-neutral-6);
7
7
  padding-top: 2rem;
8
8
  padding-bottom: 2rem;
9
- margin-top: 3rem;
10
9
  `;
@@ -7,5 +7,4 @@ export const GuidelinesSectionStyled = styled.section`
7
7
  background: var(--neutral-neutral-6);
8
8
  padding-top: 2rem;
9
9
  padding-bottom: 2rem;
10
- margin-top: 3rem;
11
10
  `
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
3
3
  import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
4
4
  const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
5
- return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
5
+ return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, type: contentTryOurFreeLegalBlogs.type, children: contentTryOurFreeLegalBlogs.children }) }));
6
6
  };
7
7
  export default TryOurFreeLegalBlogsSection;
@@ -7,7 +7,11 @@ import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection
7
7
  const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
8
8
  return (
9
9
  <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
10
- <TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
10
+ <TryOurFreeLegalBlogsContent
11
+ title={contentTryOurFreeLegalBlogs.title}
12
+ image={contentTryOurFreeLegalBlogs.image}
13
+ type={contentTryOurFreeLegalBlogs.type}
14
+ >
11
15
  {contentTryOurFreeLegalBlogs.children}
12
16
  </TryOurFreeLegalBlogsContent>
13
17
  </TryOurFreeLegalBlogsSectionStyled>
@@ -23,3 +23,4 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
+ export * from './CardStorySection';
@@ -23,3 +23,4 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
+ export * from './CardStorySection';
@@ -23,3 +23,4 @@ export * from './TryUsSection'
23
23
  export * from './UnsubscribeSection'
24
24
  export * from './WhyLawDistrictSection'
25
25
  export * from './LearnMoreSection'
26
+ export * from './CardStorySection'