@npm_leadtech/legal-lib-components 5.7.1 → 5.7.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 (200) hide show
  1. package/dist/css/styles.css +18 -1167
  2. package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
  3. package/dist/src/components/atoms/CardPane/CardPane.styled.js +19 -1
  4. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +19 -1
  5. package/dist/src/components/atoms/CardPane/CardPaneInfo.js +5 -4
  6. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +14 -3
  7. package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +1 -0
  8. package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +1 -0
  9. package/dist/src/components/atoms/ContactCard/ContactCard.js +3 -2
  10. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +28 -26
  11. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +28 -26
  12. package/dist/src/components/atoms/ContactCard/ContactCard.tsx +22 -16
  13. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +1 -5
  14. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +0 -14
  15. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +0 -14
  16. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +1 -10
  17. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +0 -1
  18. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +0 -1
  19. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +3 -5
  20. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +3 -5
  21. package/dist/src/components/molecules/Article/Article.js +3 -2
  22. package/dist/src/components/molecules/Article/Article.scss +17 -0
  23. package/dist/src/components/molecules/Article/Article.tsx +17 -2
  24. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
  25. package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -0
  26. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +3 -2
  27. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  28. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  29. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  30. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +1 -0
  31. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
  32. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
  33. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +1 -0
  34. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +30 -0
  35. package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.scss → ErrorRatafiaPage.styled.ts} +3 -4
  36. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +4 -3
  37. package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
  38. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +1 -0
  39. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +59 -0
  40. package/dist/src/components/pages/FaqsPage/{FaqsPage.scss → FaqsPage.styled.ts} +3 -4
  41. package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +4 -3
  42. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
  43. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +1 -0
  44. package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.scss → KeyFactsResultRatafiaPage.styled.js} +4 -5
  45. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +23 -0
  46. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +4 -3
  47. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
  48. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +1 -0
  49. package/dist/src/components/pages/LoginRatafiaPage/{LoginPageRatafia.scss → LoginRatafiaPage.styled.js} +5 -5
  50. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +24 -0
  51. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
  52. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  53. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  54. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
  55. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
  56. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  57. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
  58. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +1 -0
  59. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
  60. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +36 -0
  61. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +37 -0
  62. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
  63. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  64. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
  65. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
  66. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
  67. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  68. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  69. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
  70. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
  71. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
  72. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  73. package/dist/src/components/sections/BlogSection/BlogSection.js +6 -4
  74. package/dist/src/components/sections/BlogSection/BlogSection.scss +21 -0
  75. package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +1 -0
  76. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +53 -0
  77. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +54 -0
  78. package/dist/src/components/sections/BlogSection/BlogSection.tsx +13 -8
  79. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
  80. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
  81. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  82. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +1 -0
  83. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +89 -0
  84. package/dist/src/components/sections/ContactSection/{ContactSection.scss → ContactSection.styled.ts} +9 -9
  85. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  86. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  87. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +0 -1
  88. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
  89. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
  90. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
  91. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  92. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  93. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
  94. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
  95. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
  96. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  97. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  98. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
  99. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
  100. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
  101. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  102. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
  103. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
  104. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +14 -0
  105. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +15 -0
  106. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
  107. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  108. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
  109. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
  110. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
  111. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  112. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  113. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
  114. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
  115. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
  116. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  117. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  118. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
  119. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
  120. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
  121. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
  122. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  123. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
  124. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
  125. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
  126. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  127. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  128. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
  129. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
  130. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
  131. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  132. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  133. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
  134. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
  135. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -0
  136. package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
  137. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
  138. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +1 -0
  139. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
  140. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
  141. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  142. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  143. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
  144. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
  145. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
  146. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  147. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  148. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
  149. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
  150. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
  151. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
  152. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
  153. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
  154. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
  155. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
  156. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
  157. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  158. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
  159. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
  160. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
  161. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  162. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  163. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
  164. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
  165. package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
  166. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  167. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  168. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
  169. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
  170. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
  171. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  172. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  173. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
  174. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
  175. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
  176. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
  177. package/dist/src/custom.d.ts +1 -1
  178. package/dist/src/globalStyles/styles.scss +0 -30
  179. package/dist/tsconfig.build.tsbuildinfo +1 -1
  180. package/package.json +1 -1
  181. package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +0 -6
  182. package/dist/images/componentsSvg/RatafiaIcon24px.js +0 -2
  183. package/dist/images/componentsSvg/RatafiaIcon24px.tsx +0 -18
  184. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
  185. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +0 -50
  186. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +0 -57
  187. package/dist/src/components/sections/FaqSection/FaqSection.scss +0 -31
  188. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -57
  189. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
  190. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +0 -12
  191. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +0 -41
  192. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +0 -41
  193. package/dist/src/components/sections/LegalSection/LegalSection.scss +0 -120
  194. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +0 -47
  195. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +0 -42
  196. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +0 -53
  197. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +0 -69
  198. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +0 -11
  199. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +0 -62
  200. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -35
@@ -2,15 +2,15 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent'
4
4
  import { type TryOurFreeLegalBlogsSectionProps } from './TryOurFreeLegalBlogsSectionProps.types'
5
- // import './TryOurFreeLegalBlogsSection.scss'
5
+ import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled'
6
6
 
7
7
  const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
8
8
  return (
9
- <section className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
9
+ <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
10
10
  <TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
11
11
  {contentTryOurFreeLegalBlogs.children}
12
12
  </TryOurFreeLegalBlogsContent>
13
- </section>
13
+ </TryOurFreeLegalBlogsSectionStyled>
14
14
  )
15
15
  }
16
16
 
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button } from '../../atoms';
3
- // import './TryUsSection.scss'
3
+ import { TryUsSectionStyled } from './TryUsSection.styled';
4
4
  export const TryUsSection = ({ children, hasUserToken = false, cta }) => {
5
- return (_jsxs("section", { className: 'try-us-section', children: [children, !hasUserToken && _jsx(Button, { ...cta })] }));
5
+ return (_jsxs(TryUsSectionStyled, { className: 'try-us-section', children: [children, !hasUserToken && _jsx(Button, { ...cta })] }));
6
6
  };
@@ -0,0 +1 @@
1
+ export declare const TryUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,23 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const TryUsSectionStyled = styled.section `
4
+ padding: 2rem;
5
+ text-align: center;
6
+ background-color: var(--neutral-neutral-6);
7
+ color: var(--neutral-neutral-1);
8
+
9
+ .m-richText {
10
+ max-width: 50rem;
11
+ margin: 0 auto;
12
+ }
13
+
14
+ .e-button {
15
+ display: inline-block;
16
+ margin-top: 1.5rem;
17
+ width: 100%;
18
+
19
+ @media ${device['landscape-tablets']} {
20
+ width: auto;
21
+ }
22
+ }
23
+ `;
@@ -1,7 +1,7 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .try-us-section {
4
+ export const TryUsSectionStyled = styled.section`
5
5
  padding: 2rem;
6
6
  text-align: center;
7
7
  background-color: var(--neutral-neutral-6);
@@ -17,8 +17,8 @@
17
17
  margin-top: 1.5rem;
18
18
  width: 100%;
19
19
 
20
- @include landscape-tablets {
20
+ @media ${device['landscape-tablets']} {
21
21
  width: auto;
22
22
  }
23
23
  }
24
- }
24
+ `
@@ -2,13 +2,13 @@ import React, { type FC } from 'react'
2
2
  import { Button } from '../../atoms'
3
3
 
4
4
  import { type TryUsSectionProps } from './TryUsSectionProps'
5
- // import './TryUsSection.scss'
5
+ import { TryUsSectionStyled } from './TryUsSection.styled'
6
6
 
7
7
  export const TryUsSection: FC<TryUsSectionProps> = ({ children, hasUserToken = false, cta }) => {
8
8
  return (
9
- <section className='try-us-section'>
9
+ <TryUsSectionStyled className='try-us-section'>
10
10
  {children}
11
11
  {!hasUserToken && <Button {...cta} />}
12
- </section>
12
+ </TryUsSectionStyled>
13
13
  )
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { RichTextStrapi } from '../../atoms';
3
- // import './UnsubscribeSection.scss'
3
+ import { UnsubscribeSectionStyled } from './UnsubscribeSection.styled';
4
4
  export const UnsubscribeSection = ({ text }) => {
5
- return (_jsx("section", { className: 'wrapper', children: _jsx("div", { className: 'unsubscribe', children: _jsx(RichTextStrapi, { ...text }) }) }));
5
+ return (_jsx(UnsubscribeSectionStyled, { className: 'wrapper', children: _jsx("div", { className: 'unsubscribe', children: _jsx(RichTextStrapi, { ...text }) }) }));
6
6
  };
@@ -0,0 +1 @@
1
+ export declare const UnsubscribeSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,63 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const UnsubscribeSectionStyled = styled.section `
4
+ .unsubscribe {
5
+ div:first-child {
6
+ background: var(--neutral-neutral-6);
7
+ display: flex;
8
+ flex-flow: row wrap;
9
+ margin-bottom: 4rem;
10
+ @media ${device['landscape-tablets']} {
11
+ margin: 0 3rem 3rem 3rem;
12
+ }
13
+ }
14
+
15
+ .m-richText p + h2 {
16
+ margin-top: 0;
17
+ }
18
+
19
+ h2 {
20
+ color: var(--neutral-neutral-1);
21
+ background: var(--others-white);
22
+ width: 100%;
23
+ font-size: 1.75rem;
24
+ padding: 2rem 1rem 1rem 1rem;
25
+
26
+ @media ${device['landscape-tablets']} {
27
+ font-size: 2rem;
28
+ padding: 2.7rem 0 1rem 0;
29
+ }
30
+ }
31
+
32
+ .m-richText h2 + p {
33
+ padding-top: 1.5rem;
34
+ }
35
+
36
+ .m-richText p {
37
+ padding: 0 2rem 1.5rem 2rem;
38
+ width: 100%;
39
+ margin: 0;
40
+
41
+ @media ${device.laptop} {
42
+ padding: 0 8rem 1.5rem 8rem;
43
+ }
44
+ @media ${device.laptop} {
45
+ padding: 0 15rem 1.5rem 15rem;
46
+ }
47
+ }
48
+
49
+ img {
50
+ max-width: 100%;
51
+ display: block;
52
+ margin: 0;
53
+ }
54
+
55
+ .image-preview {
56
+ margin: 0 auto;
57
+ padding: 0.5rem 0;
58
+ border: none;
59
+ width: auto;
60
+ height: auto;
61
+ }
62
+ }
63
+ `;
@@ -0,0 +1,64 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const UnsubscribeSectionStyled = styled.section`
5
+ .unsubscribe {
6
+ div:first-child {
7
+ background: var(--neutral-neutral-6);
8
+ display: flex;
9
+ flex-flow: row wrap;
10
+ margin-bottom: 4rem;
11
+ @media ${device['landscape-tablets']} {
12
+ margin: 0 3rem 3rem 3rem;
13
+ }
14
+ }
15
+
16
+ .m-richText p + h2 {
17
+ margin-top: 0;
18
+ }
19
+
20
+ h2 {
21
+ color: var(--neutral-neutral-1);
22
+ background: var(--others-white);
23
+ width: 100%;
24
+ font-size: 1.75rem;
25
+ padding: 2rem 1rem 1rem 1rem;
26
+
27
+ @media ${device['landscape-tablets']} {
28
+ font-size: 2rem;
29
+ padding: 2.7rem 0 1rem 0;
30
+ }
31
+ }
32
+
33
+ .m-richText h2 + p {
34
+ padding-top: 1.5rem;
35
+ }
36
+
37
+ .m-richText p {
38
+ padding: 0 2rem 1.5rem 2rem;
39
+ width: 100%;
40
+ margin: 0;
41
+
42
+ @media ${device.laptop} {
43
+ padding: 0 8rem 1.5rem 8rem;
44
+ }
45
+ @media ${device.laptop} {
46
+ padding: 0 15rem 1.5rem 15rem;
47
+ }
48
+ }
49
+
50
+ img {
51
+ max-width: 100%;
52
+ display: block;
53
+ margin: 0;
54
+ }
55
+
56
+ .image-preview {
57
+ margin: 0 auto;
58
+ padding: 0.5rem 0;
59
+ border: none;
60
+ width: auto;
61
+ height: auto;
62
+ }
63
+ }
64
+ `
@@ -2,14 +2,14 @@ import React from 'react'
2
2
 
3
3
  import { RichTextStrapi } from '../../atoms'
4
4
  import { type UnsubscribeSectionProps } from './UnsubscribeSectionProps'
5
- // import './UnsubscribeSection.scss'
5
+ import { UnsubscribeSectionStyled } from './UnsubscribeSection.styled'
6
6
 
7
7
  export const UnsubscribeSection: React.FC<UnsubscribeSectionProps> = ({ text }) => {
8
8
  return (
9
- <section className='wrapper'>
9
+ <UnsubscribeSectionStyled className='wrapper'>
10
10
  <div className='unsubscribe'>
11
11
  <RichTextStrapi {...text} />
12
12
  </div>
13
- </section>
13
+ </UnsubscribeSectionStyled>
14
14
  )
15
15
  }
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button } from '../../atoms/Button';
3
3
  import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems';
4
- // import './WhyLawDistrictSection.scss'
4
+ import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled';
5
5
  export const WhyLawDistrictSection = ({ title, items, userActive, link }) => {
6
6
  if (items.length === 0)
7
7
  return null;
8
- return (_jsxs("section", { className: 'whyLawDistrictSection', children: [_jsx("h2", { className: 'why-lawDistrict__title serif --hero', children: title }), _jsx(WhyLawDistrictItems, { items: items }), !userActive && (_jsx(Button, { givenClass: 'whyLawDistrictSection__button', label: link.cta, link: link.url, onClick: link.onClick, dataQa: link.dataQa, isExternal: true, hasNoFollow: true }))] }));
8
+ return (_jsxs(WhyLawDistrictSectionStyled, { className: 'whyLawDistrictSection', children: [_jsx("h2", { className: 'why-lawDistrict__title serif --hero', children: title }), _jsx(WhyLawDistrictItems, { items: items }), !userActive && (_jsx(Button, { givenClass: 'whyLawDistrictSection__button', label: link.cta, link: link.url, onClick: link.onClick, dataQa: link.dataQa, isExternal: true, hasNoFollow: true }))] }));
9
9
  };
10
10
  export default WhyLawDistrictSection;
@@ -0,0 +1 @@
1
+ export declare const WhyLawDistrictSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,36 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const WhyLawDistrictSectionStyled = styled.section `
4
+ text-align: center;
5
+ background-color: var(--neutral-neutral-6);
6
+ width: 100%;
7
+ padding-bottom: 2rem;
8
+ display: flex;
9
+ flex-direction: column;
10
+
11
+ @media ${device['landscape-tablets']} {
12
+ padding-bottom: 0rem;
13
+ display: block;
14
+ }
15
+
16
+ .whyLawDistrictSection {
17
+ &__title {
18
+ @media ${device.laptop} {
19
+ padding: 0;
20
+ }
21
+ }
22
+
23
+ &__button {
24
+ display: flex;
25
+ justify-content: center;
26
+ width: 80%;
27
+ margin-bottom: 1rem;
28
+
29
+ @media ${device['landscape-tablets']} {
30
+ margin-bottom: 3.5rem;
31
+ display: inline-block;
32
+ width: auto;
33
+ }
34
+ }
35
+ }
36
+ `;
@@ -0,0 +1,37 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const WhyLawDistrictSectionStyled = styled.section`
5
+ text-align: center;
6
+ background-color: var(--neutral-neutral-6);
7
+ width: 100%;
8
+ padding-bottom: 2rem;
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ @media ${device['landscape-tablets']} {
13
+ padding-bottom: 0rem;
14
+ display: block;
15
+ }
16
+
17
+ .whyLawDistrictSection {
18
+ &__title {
19
+ @media ${device.laptop} {
20
+ padding: 0;
21
+ }
22
+ }
23
+
24
+ &__button {
25
+ display: flex;
26
+ justify-content: center;
27
+ width: 80%;
28
+ margin-bottom: 1rem;
29
+
30
+ @media ${device['landscape-tablets']} {
31
+ margin-bottom: 3.5rem;
32
+ display: inline-block;
33
+ width: auto;
34
+ }
35
+ }
36
+ }
37
+ `
@@ -3,14 +3,13 @@ import React from 'react'
3
3
  import { Button } from '../../atoms/Button'
4
4
  import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems'
5
5
  import { type WhyLawDistrictSectionProps } from './WhyLawDistrictSectionProps.types'
6
-
7
- // import './WhyLawDistrictSection.scss'
6
+ import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled'
8
7
 
9
8
  export const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps> = ({ title, items, userActive, link }) => {
10
9
  if (items.length === 0) return null
11
10
 
12
11
  return (
13
- <section className={'whyLawDistrictSection'}>
12
+ <WhyLawDistrictSectionStyled className={'whyLawDistrictSection'}>
14
13
  <h2 className={'why-lawDistrict__title serif --hero'}>{title}</h2>
15
14
  <WhyLawDistrictItems items={items} />
16
15
 
@@ -25,7 +24,7 @@ export const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps> = ({ ti
25
24
  hasNoFollow
26
25
  />
27
26
  )}
28
- </section>
27
+ </WhyLawDistrictSectionStyled>
29
28
  )
30
29
  }
31
30
 
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  declare module '*.svg' {
3
- const content: any
3
+ const content: string
4
4
  export default content
5
5
  }
6
6
 
@@ -82,33 +82,3 @@
82
82
  @import '../components/organisms/MobileBottomBar/MobileBottomBar.scss';
83
83
  @import '../components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss';
84
84
  @import '../components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss';
85
-
86
- @import '../components/sections/AboutUsSection/AboutUsSection.scss';
87
- @import '../components/sections/AsideMenuSection/AsideMenuSection.scss';
88
- @import '../components/sections/AsSeeInSection/AsSeeInSection.scss';
89
- @import '../components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss';
90
- @import '../components/sections/BlogSection/BlogSection.scss';
91
- @import '../components/sections/ContactSection/ContactSection.scss';
92
- @import '../components/sections/ExpertsSection/ExpertsSection.scss';
93
- @import '../components/sections/FaqSection/FaqSection.scss';
94
- @import '../components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss';
95
- @import '../components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss';
96
- @import '../components/sections/GuidelinesSection/GuidelinesSection.scss';
97
- @import '../components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss';
98
- @import '../components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss';
99
- @import '../components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss';
100
- @import '../components/sections/LearnMoreSection/LearnMoreSection.scss';
101
- @import '../components/sections/LegalSection/LegalSection.scss';
102
- @import '../components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss';
103
- @import '../components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss';
104
- @import '../components/sections/StepsRatafiaSection/StepsRatafiaSection.scss';
105
- @import '../components/sections/TryItRatafiaSection/TryItRatafiaSection.scss';
106
- @import '../components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss';
107
- @import '../components/sections/TryUsSection/TryUsSection.scss';
108
- @import '../components/sections/UnsubscribeSection/UnsubscribeSection.scss';
109
- @import '../components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss';
110
-
111
- @import '../components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss';
112
- @import '../components/pages/FaqsPage/FaqsPage.scss';
113
- @import '../components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss';
114
- @import '../components/pages/LoginRatafiaPage/LoginPageRatafia.scss';