@npm_leadtech/legal-lib-components 5.70.1 → 5.71.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 (140) hide show
  1. package/dist/images/png/img-customized-doc.png +0 -0
  2. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +5 -1
  3. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +5 -1
  4. package/dist/src/components/atoms/index.d.ts +0 -3
  5. package/dist/src/components/atoms/index.js +0 -3
  6. package/dist/src/components/atoms/index.ts +0 -3
  7. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.js +1 -1
  8. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.ts +1 -1
  9. package/dist/src/components/molecules/index.d.ts +0 -2
  10. package/dist/src/components/molecules/index.js +0 -2
  11. package/dist/src/components/molecules/index.ts +0 -2
  12. package/dist/src/components/organisms/ContactContent/ContactContent.js +1 -1
  13. package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +27 -10
  14. package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +27 -10
  15. package/dist/src/components/organisms/ContactContent/ContactContent.tsx +7 -3
  16. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.d.ts +4 -0
  17. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.js +7 -0
  18. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.styled.d.ts +1 -0
  19. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.styled.js +95 -0
  20. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.styled.ts +96 -0
  21. package/dist/src/components/organisms/HowWeHelp/HowWeHelp.tsx +28 -0
  22. package/dist/src/components/organisms/HowWeHelp/HowWeHelpProps.types.d.ts +7 -0
  23. package/dist/src/components/organisms/HowWeHelp/HowWeHelpProps.types.ts +8 -0
  24. package/dist/src/components/organisms/HowWeHelp/index.d.ts +2 -0
  25. package/dist/src/components/organisms/HowWeHelp/index.js +1 -0
  26. package/dist/src/components/organisms/HowWeHelp/index.ts +2 -0
  27. package/dist/src/components/organisms/index.d.ts +1 -2
  28. package/dist/src/components/organisms/index.js +1 -2
  29. package/dist/src/components/organisms/index.ts +1 -2
  30. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -2
  31. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +5 -0
  32. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +3 -0
  33. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +3 -0
  34. package/dist/src/components/pages/index.d.ts +1 -2
  35. package/dist/src/components/pages/index.js +1 -2
  36. package/dist/src/components/pages/index.ts +1 -2
  37. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +3 -3
  38. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +3 -8
  39. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +3 -8
  40. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +2 -9
  41. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +0 -4
  42. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +0 -4
  43. package/dist/tsconfig.build.tsbuildinfo +1 -1
  44. package/package.json +3 -6
  45. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.d.ts +0 -4
  46. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.js +0 -6
  47. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.d.ts +0 -1
  48. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.js +0 -39
  49. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.ts +0 -40
  50. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.tsx +0 -18
  51. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.d.ts +0 -5
  52. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.ts +0 -5
  53. package/dist/src/components/atoms/RatafiaResultCard/index.d.ts +0 -2
  54. package/dist/src/components/atoms/RatafiaResultCard/index.js +0 -1
  55. package/dist/src/components/atoms/RatafiaResultCard/index.ts +0 -2
  56. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.d.ts +0 -4
  57. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.js +0 -6
  58. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.d.ts +0 -1
  59. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.js +0 -38
  60. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.ts +0 -39
  61. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.tsx +0 -23
  62. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.d.ts +0 -9
  63. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.js +0 -1
  64. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.ts +0 -9
  65. package/dist/src/components/atoms/RatafiaResultTab/index.d.ts +0 -2
  66. package/dist/src/components/atoms/RatafiaResultTab/index.js +0 -1
  67. package/dist/src/components/atoms/RatafiaResultTab/index.ts +0 -2
  68. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.d.ts +0 -4
  69. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +0 -6
  70. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.d.ts +0 -1
  71. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.js +0 -55
  72. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.ts +0 -56
  73. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +0 -56
  74. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +0 -14
  75. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.js +0 -1
  76. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +0 -15
  77. package/dist/src/components/atoms/RatafiaReviewResult/index.d.ts +0 -2
  78. package/dist/src/components/atoms/RatafiaReviewResult/index.js +0 -1
  79. package/dist/src/components/atoms/RatafiaReviewResult/index.ts +0 -2
  80. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.d.ts +0 -4
  81. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.js +0 -9
  82. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.d.ts +0 -1
  83. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.js +0 -24
  84. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.ts +0 -25
  85. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.tsx +0 -19
  86. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.d.ts +0 -4
  87. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.js +0 -1
  88. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.ts +0 -5
  89. package/dist/src/components/molecules/RatafiaResultCardList/index.d.ts +0 -2
  90. package/dist/src/components/molecules/RatafiaResultCardList/index.js +0 -1
  91. package/dist/src/components/molecules/RatafiaResultCardList/index.ts +0 -2
  92. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.d.ts +0 -4
  93. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.js +0 -9
  94. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.d.ts +0 -1
  95. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.js +0 -7
  96. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.ts +0 -8
  97. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.tsx +0 -18
  98. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.d.ts +0 -4
  99. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.js +0 -1
  100. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.ts +0 -5
  101. package/dist/src/components/molecules/RatafiaResultTabList/index.d.ts +0 -2
  102. package/dist/src/components/molecules/RatafiaResultTabList/index.js +0 -1
  103. package/dist/src/components/molecules/RatafiaResultTabList/index.ts +0 -2
  104. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.d.ts +0 -4
  105. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +0 -6
  106. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.d.ts +0 -1
  107. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.js +0 -143
  108. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.ts +0 -144
  109. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +0 -46
  110. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +0 -5
  111. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.js +0 -1
  112. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +0 -5
  113. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.d.ts +0 -2
  114. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.js +0 -1
  115. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.ts +0 -2
  116. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.d.ts +0 -4
  117. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.js +0 -9
  118. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.d.ts +0 -1
  119. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.js +0 -26
  120. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.ts +0 -27
  121. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.tsx +0 -26
  122. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.d.ts +0 -13
  123. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.js +0 -1
  124. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.ts +0 -16
  125. package/dist/src/components/organisms/RatafiaResultContent/index.d.ts +0 -3
  126. package/dist/src/components/organisms/RatafiaResultContent/index.js +0 -1
  127. package/dist/src/components/organisms/RatafiaResultContent/index.ts +0 -3
  128. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.d.ts +0 -4
  129. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.js +0 -15
  130. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.d.ts +0 -1
  131. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.js +0 -23
  132. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.ts +0 -24
  133. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.tsx +0 -76
  134. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.d.ts +0 -20
  135. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.js +0 -1
  136. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.ts +0 -22
  137. package/dist/src/components/pages/RatafiaResultPage/index.d.ts +0 -2
  138. package/dist/src/components/pages/RatafiaResultPage/index.js +0 -1
  139. package/dist/src/components/pages/RatafiaResultPage/index.ts +0 -2
  140. /package/dist/src/components/{atoms/RatafiaResultCard/RatafiaResultCardProps.types.js → organisms/HowWeHelp/HowWeHelpProps.types.js} +0 -0
@@ -9,11 +9,15 @@ export const ContactCardStyled = styled.div `
9
9
  box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
10
10
  border-radius: var(--s-border-radius);
11
11
  min-width: 12.5rem;
12
- height: 7.875rem;
13
12
  flex-shrink: 0;
14
13
  padding: 1rem;
15
14
  text-decoration: none;
16
15
  color: var(--neutral-neutral-1);
16
+
17
+ @media ${device['landscape-tablets']} {
18
+ height: 100%;
19
+ }
20
+
17
21
  &__image {
18
22
  width: 2rem;
19
23
  }
@@ -10,11 +10,15 @@ export const ContactCardStyled = styled.div`
10
10
  box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
11
11
  border-radius: var(--s-border-radius);
12
12
  min-width: 12.5rem;
13
- height: 7.875rem;
14
13
  flex-shrink: 0;
15
14
  padding: 1rem;
16
15
  text-decoration: none;
17
16
  color: var(--neutral-neutral-1);
17
+
18
+ @media ${device['landscape-tablets']} {
19
+ height: 100%;
20
+ }
21
+
18
22
  &__image {
19
23
  width: 2rem;
20
24
  }
@@ -41,9 +41,6 @@ export * from './PreFooter';
41
41
  export * from './ProgressBar';
42
42
  export * from './Radio';
43
43
  export * from './RatafiaLandingIcon';
44
- export * from './RatafiaResultCard';
45
- export * from './RatafiaResultTab';
46
- export * from './RatafiaReviewResult';
47
44
  export * from './RemoveButton';
48
45
  export * from './ReviewKeyFactsResultRatafia';
49
46
  export * from './RichTextInner';
@@ -41,9 +41,6 @@ export * from './PreFooter';
41
41
  export * from './ProgressBar';
42
42
  export * from './Radio';
43
43
  export * from './RatafiaLandingIcon';
44
- export * from './RatafiaResultCard';
45
- export * from './RatafiaResultTab';
46
- export * from './RatafiaReviewResult';
47
44
  export * from './RemoveButton';
48
45
  export * from './ReviewKeyFactsResultRatafia';
49
46
  export * from './RichTextInner';
@@ -41,9 +41,6 @@ export * from './PreFooter'
41
41
  export * from './ProgressBar'
42
42
  export * from './Radio'
43
43
  export * from './RatafiaLandingIcon'
44
- export * from './RatafiaResultCard'
45
- export * from './RatafiaResultTab'
46
- export * from './RatafiaReviewResult'
47
44
  export * from './RemoveButton'
48
45
  export * from './ReviewKeyFactsResultRatafia'
49
46
  export * from './RichTextInner'
@@ -6,7 +6,7 @@ export const ContactCardListStyled = styled.div `
6
6
  flex-direction: column;
7
7
  gap: var(--global-gap);
8
8
 
9
- @media ${device.laptop} {
9
+ @media ${device['landscape-tablets']} {
10
10
  flex-direction: row;
11
11
  gap: 2.5rem;
12
12
  }
@@ -7,7 +7,7 @@ export const ContactCardListStyled = styled.div`
7
7
  flex-direction: column;
8
8
  gap: var(--global-gap);
9
9
 
10
- @media ${device.laptop} {
10
+ @media ${device['landscape-tablets']} {
11
11
  flex-direction: row;
12
12
  gap: 2.5rem;
13
13
  }
@@ -31,8 +31,6 @@ export * from './PhoneContactBoxDesktop';
31
31
  export * from './PhoneContactBoxMobile';
32
32
  export * from './PopularDocs';
33
33
  export * from './PricingCard';
34
- export * from './RatafiaResultCardList';
35
- export * from './RatafiaResultTabList';
36
34
  export * from './RatafiaSubscriptionCard';
37
35
  export * from './Snackbar';
38
36
  export * from './StepGetForm';
@@ -31,8 +31,6 @@ export * from './PhoneContactBoxDesktop';
31
31
  export * from './PhoneContactBoxMobile';
32
32
  export * from './PopularDocs';
33
33
  export * from './PricingCard';
34
- export * from './RatafiaResultCardList';
35
- export * from './RatafiaResultTabList';
36
34
  export * from './RatafiaSubscriptionCard';
37
35
  export * from './Snackbar';
38
36
  export * from './StepGetForm';
@@ -31,8 +31,6 @@ export * from './PhoneContactBoxDesktop'
31
31
  export * from './PhoneContactBoxMobile'
32
32
  export * from './PopularDocs'
33
33
  export * from './PricingCard'
34
- export * from './RatafiaResultCardList'
35
- export * from './RatafiaResultTabList'
36
34
  export * from './RatafiaSubscriptionCard'
37
35
  export * from './Snackbar'
38
36
  export * from './StepGetForm'
@@ -4,6 +4,6 @@ import { ContactContentStyled } from './ContactContent.styled';
4
4
  const ContactContent = ({ title, text, contactCards = [] }) => {
5
5
  if (contactCards.length === 0)
6
6
  return null;
7
- return (_jsxs(ContactContentStyled, { className: 'contact-content', children: [_jsx("h2", { className: 'contact-content__title', children: title }), _jsx("p", { className: 'contact-content__text', children: text }), _jsx(ContactCardList, { contactCards: contactCards })] }));
7
+ return (_jsx(ContactContentStyled, { className: 'contact-content', children: _jsx("div", { className: 'wrapper', children: _jsxs("div", { className: 'contact-content__body', children: [_jsx("h2", { className: 'contact-content__title', children: title }), _jsx("p", { className: 'contact-content__text', children: text }), _jsx(ContactCardList, { contactCards: contactCards })] }) }) }));
8
8
  };
9
9
  export default ContactContent;
@@ -1,21 +1,34 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
1
2
  import styled from 'styled-components';
2
3
  export const ContactContentStyled = styled.div `
3
- display: flex;
4
- flex-direction: column;
5
- transform: translateY(-5rem);
6
- color: var(--neutral-neutral-1);
7
- margin-top: 1rem;
4
+ background: var(--neutral-neutral-6);
5
+ padding: 0 1.5rem;
6
+
7
+ @media ${device.laptop} {
8
+ padding: 0;
9
+ }
8
10
 
9
11
  .contact-content {
12
+ &__body {
13
+ display: flex;
14
+ flex-direction: column;
15
+ color: var(--neutral-neutral-1);
16
+ padding-top: 2rem;
17
+ padding-bottom: 5rem;
18
+
19
+ @media ${device['landscape-tablets']} {
20
+ padding-top: 3rem;
21
+ }
22
+ }
10
23
  &__title {
11
24
  text-align: center;
12
- font-size: 32px;
13
- font-family: var(--font-serif);
25
+ font-size: 1.75rem;
26
+ font-family: var(--font-sans);
14
27
  font-style: normal;
15
- font-weight: 400;
16
- line-height: 42px;
28
+ font-weight: 700;
29
+ line-height: 1.2;
17
30
  letter-spacing: -0.3px;
18
- margin: 1rem 0;
31
+ padding-bottom: 1.5rem;
19
32
  }
20
33
 
21
34
  &__text {
@@ -23,6 +36,10 @@ export const ContactContentStyled = styled.div `
23
36
  font-style: normal;
24
37
  font-weight: 400;
25
38
  margin: 0 0 2rem 0;
39
+
40
+ @media ${device['landscape-tablets']} {
41
+ letter-spacing: -0.2px;
42
+ }
26
43
  }
27
44
  }
28
45
  `;
@@ -1,22 +1,35 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
1
2
  import styled from 'styled-components'
2
3
 
3
4
  export const ContactContentStyled = styled.div`
4
- display: flex;
5
- flex-direction: column;
6
- transform: translateY(-5rem);
7
- color: var(--neutral-neutral-1);
8
- margin-top: 1rem;
5
+ background: var(--neutral-neutral-6);
6
+ padding: 0 1.5rem;
7
+
8
+ @media ${device.laptop} {
9
+ padding: 0;
10
+ }
9
11
 
10
12
  .contact-content {
13
+ &__body {
14
+ display: flex;
15
+ flex-direction: column;
16
+ color: var(--neutral-neutral-1);
17
+ padding-top: 2rem;
18
+ padding-bottom: 5rem;
19
+
20
+ @media ${device['landscape-tablets']} {
21
+ padding-top: 3rem;
22
+ }
23
+ }
11
24
  &__title {
12
25
  text-align: center;
13
- font-size: 32px;
14
- font-family: var(--font-serif);
26
+ font-size: 1.75rem;
27
+ font-family: var(--font-sans);
15
28
  font-style: normal;
16
- font-weight: 400;
17
- line-height: 42px;
29
+ font-weight: 700;
30
+ line-height: 1.2;
18
31
  letter-spacing: -0.3px;
19
- margin: 1rem 0;
32
+ padding-bottom: 1.5rem;
20
33
  }
21
34
 
22
35
  &__text {
@@ -24,6 +37,10 @@ export const ContactContentStyled = styled.div`
24
37
  font-style: normal;
25
38
  font-weight: 400;
26
39
  margin: 0 0 2rem 0;
40
+
41
+ @media ${device['landscape-tablets']} {
42
+ letter-spacing: -0.2px;
43
+ }
27
44
  }
28
45
  }
29
46
  `
@@ -11,9 +11,13 @@ const ContactContent: FC<ContactContentProps> = ({ title, text, contactCards = [
11
11
 
12
12
  return (
13
13
  <ContactContentStyled className='contact-content'>
14
- <h2 className='contact-content__title'>{title}</h2>
15
- <p className='contact-content__text'>{text}</p>
16
- <ContactCardList contactCards={contactCards} />
14
+ <div className='wrapper'>
15
+ <div className='contact-content__body'>
16
+ <h2 className='contact-content__title'>{title}</h2>
17
+ <p className='contact-content__text'>{text}</p>
18
+ <ContactCardList contactCards={contactCards} />
19
+ </div>
20
+ </div>
17
21
  </ContactContentStyled>
18
22
  )
19
23
  }
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type HowWeHelpProps } from './HowWeHelpProps.types';
3
+ declare const HowWeHelp: FC<HowWeHelpProps>;
4
+ export default HowWeHelp;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, RichTextInner } from '../../atoms';
3
+ import { HowWeHelpStyled } from './HowWeHelp.styled';
4
+ const HowWeHelp = ({ title, image, children, button }) => {
5
+ return (_jsx(HowWeHelpStyled, { className: 'how-we-help', children: _jsxs("div", { className: 'wrapper how-we-help__content', children: [_jsxs("div", { className: 'how-we-help__texts', children: [_jsx("h2", { className: 'how-we-help__texts__title', children: title }), _jsxs(RichTextInner, { customClass: 'how-we-help__texts__body', children: [children, button != null && (_jsx("div", { className: 'how-we-help__texts__body__button', children: _jsx(Button, { ...button }) }))] })] }), _jsx("div", { className: 'how-we-help__image', children: image })] }) }));
6
+ };
7
+ export default HowWeHelp;
@@ -0,0 +1 @@
1
+ export declare const HowWeHelpStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,95 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const HowWeHelpStyled = styled.div `
4
+ padding: 0 1.5rem;
5
+ @media ${device.laptop} {
6
+ padding: 0;
7
+ }
8
+
9
+ .how-we-help {
10
+ &__content {
11
+ display: flex;
12
+ flex-direction: column-reverse;
13
+ padding-top: 2rem;
14
+ padding-bottom: 2rem;
15
+ align-items: center;
16
+
17
+ @media ${device['landscape-tablets']} {
18
+ padding-top: 3rem;
19
+ padding-bottom: 3rem;
20
+ }
21
+ @media ${device.laptop} {
22
+ flex-direction: row;
23
+ }
24
+ }
25
+ &__texts {
26
+ display: flex;
27
+ flex-direction: column;
28
+ justify-content: center;
29
+ margin-right: 0;
30
+ color: var(--neutral-neutral-1);
31
+ font-style: normal;
32
+ font-weight: 400;
33
+ letter-spacing: -0.3px;
34
+ margin-bottom: 2rem;
35
+
36
+ @media ${device.laptop} {
37
+ flex-basis: 49%;
38
+ margin-right: 0;
39
+ margin-bottom: 1rem;
40
+ }
41
+ @media ${device.desktop} {
42
+ flex-basis: 56%;
43
+ }
44
+
45
+ &__title {
46
+ line-height: 1.1;
47
+ margin-bottom: 1.5rem;
48
+
49
+ font-family: var(--font-sans);
50
+ font-size: 28px;
51
+ font-weight: 700;
52
+ text-align: left;
53
+
54
+ @media ${device.laptop} {
55
+ text-align: left;
56
+ }
57
+ }
58
+
59
+ &__body {
60
+ font-family: var(--font-sans);
61
+ font-size: 16px;
62
+ line-height: 22px;
63
+
64
+ .m-richText {
65
+ p {
66
+ margin-bottom: 1.5rem;
67
+ }
68
+ a {
69
+ color: var(--primary-main);
70
+ font-weight: 400;
71
+ text-decoration: underline;
72
+ }
73
+ }
74
+
75
+ &__button {
76
+ .e-button {
77
+ display: inline-block;
78
+ }
79
+ }
80
+ }
81
+ }
82
+ &__image {
83
+ margin-bottom: 2.5rem;
84
+
85
+ @media ${device.laptop} {
86
+ flex-basis: 51%;
87
+ padding-left: 2.5rem;
88
+ }
89
+ @media ${device.desktop} {
90
+ flex-basis: 44%;
91
+ padding-left: 5rem;
92
+ }
93
+ }
94
+ }
95
+ `;
@@ -0,0 +1,96 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const HowWeHelpStyled = styled.div`
5
+ padding: 0 1.5rem;
6
+ @media ${device.laptop} {
7
+ padding: 0;
8
+ }
9
+
10
+ .how-we-help {
11
+ &__content {
12
+ display: flex;
13
+ flex-direction: column-reverse;
14
+ padding-top: 2rem;
15
+ padding-bottom: 2rem;
16
+ align-items: center;
17
+
18
+ @media ${device['landscape-tablets']} {
19
+ padding-top: 3rem;
20
+ padding-bottom: 3rem;
21
+ }
22
+ @media ${device.laptop} {
23
+ flex-direction: row;
24
+ }
25
+ }
26
+ &__texts {
27
+ display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ margin-right: 0;
31
+ color: var(--neutral-neutral-1);
32
+ font-style: normal;
33
+ font-weight: 400;
34
+ letter-spacing: -0.3px;
35
+ margin-bottom: 2rem;
36
+
37
+ @media ${device.laptop} {
38
+ flex-basis: 49%;
39
+ margin-right: 0;
40
+ margin-bottom: 1rem;
41
+ }
42
+ @media ${device.desktop} {
43
+ flex-basis: 56%;
44
+ }
45
+
46
+ &__title {
47
+ line-height: 1.1;
48
+ margin-bottom: 1.5rem;
49
+
50
+ font-family: var(--font-sans);
51
+ font-size: 28px;
52
+ font-weight: 700;
53
+ text-align: left;
54
+
55
+ @media ${device.laptop} {
56
+ text-align: left;
57
+ }
58
+ }
59
+
60
+ &__body {
61
+ font-family: var(--font-sans);
62
+ font-size: 16px;
63
+ line-height: 22px;
64
+
65
+ .m-richText {
66
+ p {
67
+ margin-bottom: 1.5rem;
68
+ }
69
+ a {
70
+ color: var(--primary-main);
71
+ font-weight: 400;
72
+ text-decoration: underline;
73
+ }
74
+ }
75
+
76
+ &__button {
77
+ .e-button {
78
+ display: inline-block;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ &__image {
84
+ margin-bottom: 2.5rem;
85
+
86
+ @media ${device.laptop} {
87
+ flex-basis: 51%;
88
+ padding-left: 2.5rem;
89
+ }
90
+ @media ${device.desktop} {
91
+ flex-basis: 44%;
92
+ padding-left: 5rem;
93
+ }
94
+ }
95
+ }
96
+ `
@@ -0,0 +1,28 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { Button, RichTextInner } from '../../atoms'
4
+ import { type HowWeHelpProps } from './HowWeHelpProps.types'
5
+ import { HowWeHelpStyled } from './HowWeHelp.styled'
6
+
7
+ const HowWeHelp: FC<HowWeHelpProps> = ({ title, image, children, button }) => {
8
+ return (
9
+ <HowWeHelpStyled className='how-we-help'>
10
+ <div className='wrapper how-we-help__content'>
11
+ <div className='how-we-help__texts'>
12
+ <h2 className='how-we-help__texts__title'>{title}</h2>
13
+ <RichTextInner customClass='how-we-help__texts__body'>
14
+ {children}
15
+ {button != null && (
16
+ <div className={'how-we-help__texts__body__button'}>
17
+ <Button {...button} />
18
+ </div>
19
+ )}
20
+ </RichTextInner>
21
+ </div>
22
+ <div className='how-we-help__image'>{image}</div>
23
+ </div>
24
+ </HowWeHelpStyled>
25
+ )
26
+ }
27
+
28
+ export default HowWeHelp
@@ -0,0 +1,7 @@
1
+ import { ButtonProps } from 'src/components/atoms';
2
+ export interface HowWeHelpProps {
3
+ title: string;
4
+ image: React.ReactNode;
5
+ children: React.ReactNode;
6
+ button?: ButtonProps;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { ButtonProps } from 'src/components/atoms'
2
+
3
+ export interface HowWeHelpProps {
4
+ title: string
5
+ image: React.ReactNode
6
+ children: React.ReactNode
7
+ button?: ButtonProps
8
+ }
@@ -0,0 +1,2 @@
1
+ export { default as HowWeHelp } from './HowWeHelp';
2
+ export { type HowWeHelpProps } from './HowWeHelpProps.types';
@@ -0,0 +1 @@
1
+ export { default as HowWeHelp } from './HowWeHelp';
@@ -0,0 +1,2 @@
1
+ export { default as HowWeHelp } from './HowWeHelp'
2
+ export { type HowWeHelpProps } from './HowWeHelpProps.types'
@@ -20,8 +20,7 @@ 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';
27
25
  export * from './Wizard';
26
+ export * from './HowWeHelp';
@@ -20,8 +20,7 @@ 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';
27
25
  export * from './Wizard';
26
+ export * from './HowWeHelp';
@@ -20,8 +20,7 @@ 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'
27
25
  export * from './Wizard'
26
+ export * from './HowWeHelp'
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
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 })] }));
3
+ import { ContactContent, HowWeHelp } from '../../organisms';
4
+ export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, howWeHelp, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, contactContentProps, isJonSnow = false }) => {
5
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(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
6
  };
@@ -9,6 +9,7 @@ import {
9
9
  PeopleSayAboutUsSection,
10
10
  TryOurFreeLegalBlogsSection
11
11
  } from '../../sections'
12
+ import { ContactContent, HowWeHelp } from '../../organisms'
12
13
  import { type AboutUsPageProps } from './AboutUsPageProps'
13
14
 
14
15
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
@@ -16,10 +17,12 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
16
17
  ourMissionBlogsSectionProps,
17
18
  ourCoreValuesBlogsSectionProps,
18
19
  cardStorySection,
20
+ howWeHelp,
19
21
  peopleSayAboutUsSectionProps,
20
22
  guidelinesSectionProps,
21
23
  expertsSectionProps,
22
24
  asSeeInSectionProps,
25
+ contactContentProps,
23
26
  isJonSnow = false
24
27
  }) => {
25
28
  return (
@@ -28,6 +31,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
28
31
  {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
29
32
  {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
30
33
  {cardStorySection != null && <CardStorySection {...cardStorySection} />}
34
+ {howWeHelp != null && <HowWeHelp {...howWeHelp} />}
31
35
  {guidelinesSectionProps != null && (
32
36
  <GuidelinesSection {...guidelinesSectionProps}>
33
37
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -38,6 +42,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
38
42
  <PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
39
43
  )}
40
44
  {!isJonSnow && asSeeInSectionProps != null && <AsSeeInSection {...asSeeInSectionProps} />}
45
+ {!isJonSnow && contactContentProps != null && <ContactContent {...contactContentProps} />}
41
46
  </>
42
47
  )
43
48
  }
@@ -1,13 +1,16 @@
1
1
  import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
+ import { ContactContentProps, HowWeHelpProps } from '../../organisms';
2
3
  export interface AboutUsPageProps {
3
4
  aboutUsSectionProps?: AboutUsSectionProps;
4
5
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
6
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
7
  cardStorySection?: CardStorySectionProps;
8
+ howWeHelp?: HowWeHelpProps;
7
9
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
8
10
  guidelinesSectionProps?: GuidelinesSectionProps;
9
11
  tryUsSectionProps?: TryUsSectionProps;
10
12
  expertsSectionProps?: ExpertsSectionProps;
11
13
  asSeeInSectionProps?: AsSeeInSectionProps;
14
+ contactContentProps?: ContactContentProps;
12
15
  isJonSnow?: boolean;
13
16
  }
@@ -8,16 +8,19 @@ import type {
8
8
  TryOurFreeLegalBlogsSectionProps,
9
9
  TryUsSectionProps
10
10
  } from '../../sections'
11
+ import { ContactContentProps, HowWeHelpProps } from '../../organisms'
11
12
 
12
13
  export interface AboutUsPageProps {
13
14
  aboutUsSectionProps?: AboutUsSectionProps
14
15
  ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
15
16
  ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
17
  cardStorySection?: CardStorySectionProps
18
+ howWeHelp?: HowWeHelpProps
17
19
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
18
20
  guidelinesSectionProps?: GuidelinesSectionProps
19
21
  tryUsSectionProps?: TryUsSectionProps
20
22
  expertsSectionProps?: ExpertsSectionProps
21
23
  asSeeInSectionProps?: AsSeeInSectionProps
24
+ contactContentProps?: ContactContentProps
22
25
  isJonSnow?: boolean
23
26
  }