@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
@@ -0,0 +1,37 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const AsSeeInSectionStyled = styled.section`
5
+ flex-shrink: 0;
6
+ background-color: get-color(secondary, main-light-5);
7
+ padding: 0 1.5rem;
8
+
9
+ @media ${device.laptop} {
10
+ margin-top: 12rem;
11
+ }
12
+
13
+ .as-seen-in-section {
14
+ display: flex;
15
+ flex-direction: column;
16
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
17
+ background: get-color(others, white);
18
+ transform: translateY(-5rem);
19
+ padding: 1.5rem 0;
20
+
21
+ @media ${device.laptop} {
22
+ transform: translateY(-50%);
23
+ }
24
+
25
+ &__title {
26
+ color: var(--neutral-neutral-2);
27
+ text-align: center;
28
+ font-size: 32px;
29
+ font-family: var(--font-serif);
30
+ font-style: normal;
31
+ font-weight: 400;
32
+ line-height: 42px;
33
+ letter-spacing: -0.3px;
34
+ margin: 1rem 0;
35
+ }
36
+ }
37
+ `
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { AsSeeInContent, ContactContent } from '../../organisms'
4
4
  import { type AsSeeInSectionProps } from './AsSeeInSectionProps.types'
5
- // import './AsSeeInSection.scss'
5
+ import { AsSeeInSectionStyled } from './AsSeeInSection.styled'
6
6
 
7
7
  const AsSeeInSection: FC<AsSeeInSectionProps> = ({
8
8
  title,
@@ -16,13 +16,13 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({
16
16
  }
17
17
 
18
18
  return (
19
- <section className='as-seen-in-section-box'>
19
+ <AsSeeInSectionStyled className='as-seen-in-section-box'>
20
20
  <div className='as-seen-in-section wrapper'>
21
21
  <h2 className='as-seen-in-section__title'>{title}</h2>
22
22
  <AsSeeInContent trustWorthyImages={contentAsSeeIn.trustWorthyImages}>{contentAsSeeIn.children}</AsSeeInContent>
23
23
  </div>
24
24
  <ContactContent title={contactSectionTitle} text={contactSectionText} contactCards={contactSectionBlocks} />
25
- </section>
25
+ </AsSeeInSectionStyled>
26
26
  )
27
27
  }
28
28
 
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // import './AsideMenuSection.scss'
2
+ import { AsideMenuSectionStyled } from './AsideMenuSection.styled';
3
3
  export const AsideMenuSection = ({ items, title = '', onClickHandler }) => {
4
- return (_jsxs("aside", { className: 'asideMenu', children: [title.length > 0 && _jsx("div", { className: 'title sans-serif --big', children: title }), _jsx("ul", { className: 'list', children: items.map((item, index) => (_jsx("li", { className: `navItem ${index === 0 ? 'inView' : ''}`, id: `list-item-${item.slug}`, onClick: onClickHandler, onKeyUp: () => onClickHandler, role: 'menuitem', children: onClickHandler !== undefined ? _jsx("span", { children: item.text }) : _jsx("a", { href: `#${item.slug}`, children: item.text }) }, item.id))) })] }));
4
+ return (_jsxs(AsideMenuSectionStyled, { className: 'asideMenu', children: [title.length > 0 && _jsx("div", { className: 'title sans-serif --big', children: title }), _jsx("ul", { className: 'list', children: items.map((item, index) => (_jsx("li", { className: `navItem ${index === 0 ? 'inView' : ''}`, id: `list-item-${item.slug}`, onClick: onClickHandler, onKeyUp: () => onClickHandler, role: 'menuitem', children: onClickHandler !== undefined ? _jsx("span", { children: item.text }) : _jsx("a", { href: `#${item.slug}`, children: item.text }) }, item.id))) })] }));
5
5
  };
@@ -0,0 +1 @@
1
+ export declare const AsideMenuSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,51 @@
1
+ import styled from 'styled-components';
2
+ export const AsideMenuSectionStyled = styled.aside `
3
+ &.asideMenu {
4
+ .title {
5
+ color: var(--neutral-neutral-1);
6
+ font-weight: bold;
7
+ padding-bottom: 1rem;
8
+ border-bottom: var(--neutral-neutral-4) 1px solid;
9
+ margin-bottom: 1.5rem;
10
+ }
11
+
12
+ .list {
13
+ display: flex;
14
+ flex-direction: column;
15
+ position: sticky;
16
+ top: 17%;
17
+ }
18
+
19
+ .navItem {
20
+ color: var(--neutral-neutral-1);
21
+ font-size: 14px;
22
+ line-height: 18px;
23
+ letter-spacing: -0.3px;
24
+ padding: 16px 0;
25
+ border-top: var(--neutral-neutral-4) 1px solid;
26
+ border-bottom: var(--neutral-neutral-4) 1px solid;
27
+
28
+ span {
29
+ cursor: pointer;
30
+ }
31
+
32
+ &.inView {
33
+ span,
34
+ a {
35
+ color: var(--primary-main);
36
+ font-weight: 700;
37
+ }
38
+ }
39
+
40
+ &:first-child {
41
+ padding-top: 0;
42
+ border: none;
43
+ }
44
+
45
+ &:last-child {
46
+ padding-bottom: 0;
47
+ border: none;
48
+ }
49
+ }
50
+ }
51
+ `;
@@ -0,0 +1,52 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const AsideMenuSectionStyled = styled.aside`
4
+ &.asideMenu {
5
+ .title {
6
+ color: var(--neutral-neutral-1);
7
+ font-weight: bold;
8
+ padding-bottom: 1rem;
9
+ border-bottom: var(--neutral-neutral-4) 1px solid;
10
+ margin-bottom: 1.5rem;
11
+ }
12
+
13
+ .list {
14
+ display: flex;
15
+ flex-direction: column;
16
+ position: sticky;
17
+ top: 17%;
18
+ }
19
+
20
+ .navItem {
21
+ color: var(--neutral-neutral-1);
22
+ font-size: 14px;
23
+ line-height: 18px;
24
+ letter-spacing: -0.3px;
25
+ padding: 16px 0;
26
+ border-top: var(--neutral-neutral-4) 1px solid;
27
+ border-bottom: var(--neutral-neutral-4) 1px solid;
28
+
29
+ span {
30
+ cursor: pointer;
31
+ }
32
+
33
+ &.inView {
34
+ span,
35
+ a {
36
+ color: var(--primary-main);
37
+ font-weight: 700;
38
+ }
39
+ }
40
+
41
+ &:first-child {
42
+ padding-top: 0;
43
+ border: none;
44
+ }
45
+
46
+ &:last-child {
47
+ padding-bottom: 0;
48
+ border: none;
49
+ }
50
+ }
51
+ }
52
+ `
@@ -1,11 +1,11 @@
1
1
  import React from 'react'
2
2
 
3
3
  import { type AsideMenuSectionProps } from './AsideMenuSectionProps'
4
- // import './AsideMenuSection.scss'
4
+ import { AsideMenuSectionStyled } from './AsideMenuSection.styled'
5
5
 
6
6
  export const AsideMenuSection: React.FC<AsideMenuSectionProps> = ({ items, title = '', onClickHandler }) => {
7
7
  return (
8
- <aside className='asideMenu'>
8
+ <AsideMenuSectionStyled className='asideMenu'>
9
9
  {title.length > 0 && <div className='title sans-serif --big'>{title}</div>}
10
10
  <ul className='list'>
11
11
  {items.map((item, index) => (
@@ -21,6 +21,6 @@ export const AsideMenuSection: React.FC<AsideMenuSectionProps> = ({ items, title
21
21
  </li>
22
22
  ))}
23
23
  </ul>
24
- </aside>
24
+ </AsideMenuSectionStyled>
25
25
  )
26
26
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BenefitRatafiaCardList } from '../../molecules';
3
- // import './BenefitsRatafiaSection.scss'
3
+ import { BenefitsRatafiaSectionStyled } from './BenefitsRatafiaSection.styled';
4
4
  const BenefitsRatafiaSection = ({ title, description, benefits }) => {
5
- return (_jsx("section", { className: 'benefit-ratafia-section', children: _jsxs("div", { className: 'benefit-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'benefit-ratafia-section__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text', children: title }), _jsx("p", { className: 'sans-serif --super-medium benefit-ratafia-section__wrapper__title__description', children: description })] }), _jsx(BenefitRatafiaCardList, { benefits: benefits })] }) }));
5
+ return (_jsx(BenefitsRatafiaSectionStyled, { className: 'benefit-ratafia-section', children: _jsxs("div", { className: 'benefit-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'benefit-ratafia-section__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text', children: title }), _jsx("p", { className: 'sans-serif --super-medium benefit-ratafia-section__wrapper__title__description', children: description })] }), _jsx(BenefitRatafiaCardList, { benefits: benefits })] }) }));
6
6
  };
7
7
  export default BenefitsRatafiaSection;
@@ -0,0 +1 @@
1
+ export declare const BenefitsRatafiaSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,54 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const BenefitsRatafiaSectionStyled = styled.section `
4
+ display: flex;
5
+ justify-content: center;
6
+ align-content: center;
7
+ width: 100%;
8
+ padding: 2rem 1.5rem;
9
+
10
+ @media ${device.laptop} {
11
+ padding: 3rem 2rem;
12
+ }
13
+
14
+ @media ${device['desktop-xl']} {
15
+ padding: 3rem 0;
16
+ }
17
+
18
+ .benefit-ratafia-section {
19
+ &__wrapper {
20
+ display: flex;
21
+ flex-direction: column;
22
+ justify-content: center;
23
+ align-items: center;
24
+ align-self: stretch;
25
+ padding: 1.5rem;
26
+ gap: 2rem;
27
+ border-radius: 16px;
28
+ max-width: 1200px;
29
+
30
+ @media ${device['landscape-tablets']} {
31
+ padding: 2rem;
32
+ }
33
+ @media ${device.laptop} {
34
+ padding: 3rem;
35
+ }
36
+
37
+ &__title {
38
+ display: flex;
39
+ flex-direction: column;
40
+ justify-content: center;
41
+ align-items: flex-start;
42
+ align-self: stretch;
43
+ gap: 1rem;
44
+
45
+ &__text {
46
+ color: var(--others-white);
47
+ }
48
+ &__description {
49
+ color: var(--others-white);
50
+ }
51
+ }
52
+ }
53
+ }
54
+ `;
@@ -0,0 +1,55 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const BenefitsRatafiaSectionStyled = styled.section`
5
+ display: flex;
6
+ justify-content: center;
7
+ align-content: center;
8
+ width: 100%;
9
+ padding: 2rem 1.5rem;
10
+
11
+ @media ${device.laptop} {
12
+ padding: 3rem 2rem;
13
+ }
14
+
15
+ @media ${device['desktop-xl']} {
16
+ padding: 3rem 0;
17
+ }
18
+
19
+ .benefit-ratafia-section {
20
+ &__wrapper {
21
+ display: flex;
22
+ flex-direction: column;
23
+ justify-content: center;
24
+ align-items: center;
25
+ align-self: stretch;
26
+ padding: 1.5rem;
27
+ gap: 2rem;
28
+ border-radius: 16px;
29
+ max-width: 1200px;
30
+
31
+ @media ${device['landscape-tablets']} {
32
+ padding: 2rem;
33
+ }
34
+ @media ${device.laptop} {
35
+ padding: 3rem;
36
+ }
37
+
38
+ &__title {
39
+ display: flex;
40
+ flex-direction: column;
41
+ justify-content: center;
42
+ align-items: flex-start;
43
+ align-self: stretch;
44
+ gap: 1rem;
45
+
46
+ &__text {
47
+ color: var(--others-white);
48
+ }
49
+ &__description {
50
+ color: var(--others-white);
51
+ }
52
+ }
53
+ }
54
+ }
55
+ `
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { BenefitRatafiaCardList } from '../../molecules'
4
4
  import { type BenefitsRatafiaSectionProps } from './BenefitsRatafiaSectionProps.types'
5
- // import './BenefitsRatafiaSection.scss'
5
+ import { BenefitsRatafiaSectionStyled } from './BenefitsRatafiaSection.styled'
6
6
 
7
7
  const BenefitsRatafiaSection: FC<BenefitsRatafiaSectionProps> = ({ title, description, benefits }) => {
8
8
  return (
9
- <section className='benefit-ratafia-section'>
9
+ <BenefitsRatafiaSectionStyled className='benefit-ratafia-section'>
10
10
  <div className='benefit-ratafia-section__wrapper background-ratafia-animation'>
11
11
  <div className='benefit-ratafia-section__wrapper__title'>
12
12
  <h2 className='sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text'>
@@ -18,7 +18,7 @@ const BenefitsRatafiaSection: FC<BenefitsRatafiaSectionProps> = ({ title, descri
18
18
  </div>
19
19
  <BenefitRatafiaCardList benefits={benefits} />
20
20
  </div>
21
- </section>
21
+ </BenefitsRatafiaSectionStyled>
22
22
  )
23
23
  }
24
24
 
@@ -1,10 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, RichTextStrapi } from '../../atoms';
2
3
  import { ArticlesList } from '../../organisms';
3
- import { Button } from '../../atoms';
4
+ import { BlogSectionStyled } from './BlogSection.styled';
4
5
  // import './BlogSection.scss'
5
- const BlogSection = ({ blogTitle, blogCta, articles }) => {
6
+ const BlogSection = ({ blogTitle, blogCta = null, blogDescription = null, articles }) => {
6
7
  if (articles.articles?.length === 0)
7
- return null;
8
- return (_jsxs("div", { className: 'blog', children: [_jsx("h2", { className: 'serif --super-large blog__title', children: blogTitle }), _jsx(ArticlesList, { articles: articles.articles }), _jsx(Button, { dataQa: '', color: 'secondary', label: blogCta, givenClass: 'cta-button', link: '/articles' })] }));
8
+ return;
9
+ const categoryProductTitle = !!blogDescription;
10
+ return (_jsxs(BlogSectionStyled, { className: 'blog', children: [_jsx("h2", { className: `serif --super-large blog__title ${categoryProductTitle ? 'category-product-title' : ''}`, children: blogTitle }), blogDescription && _jsx(RichTextStrapi, { className: 'blog__description', html: blogDescription }), _jsx(ArticlesList, { articles: articles.articles, isCategoryProductPage: categoryProductTitle }), blogCta && _jsx(Button, { dataQa: '', color: 'secondary', label: blogCta, givenClass: 'cta-button', link: '/articles' })] }));
9
11
  };
10
12
  export default BlogSection;
@@ -14,12 +14,33 @@
14
14
  max-width: $lg;
15
15
  }
16
16
 
17
+ .blog__description {
18
+ font-family: $font-sans;
19
+ font-size: 16px;
20
+ font-weight: 400;
21
+ line-height: 22px;
22
+ letter-spacing: -0.3px;
23
+ text-align: left;
24
+ color: #6d7275;
25
+ margin: 1rem 0 1.5rem 0;
26
+ }
27
+
17
28
  .blog__title {
18
29
  color: var(--primary-main-dark-1);
19
30
 
20
31
  @include laptop {
21
32
  margin-bottom: 3rem;
22
33
  }
34
+
35
+ &.category-product-title {
36
+ margin-bottom: 0;
37
+ font-family: $font-sans;
38
+ font-size: 28px;
39
+ font-weight: 700;
40
+ line-height: 32px;
41
+ letter-spacing: -0.3px;
42
+ text-align: left;
43
+ }
23
44
  }
24
45
 
25
46
  .cta-button {
@@ -0,0 +1 @@
1
+ export declare const BlogSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,53 @@
1
+ import { device, size } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const BlogSectionStyled = styled.div `
4
+ text-align: center;
5
+ margin: 0 auto 3rem;
6
+ padding: 0 1rem;
7
+ max-width: ${size.md};
8
+
9
+ @media ${device.laptop} {
10
+ padding: 0;
11
+ }
12
+ @media ${device.desktop} {
13
+ max-width: ${size.lg};
14
+ }
15
+
16
+ .blog__title {
17
+ color: var(--primary-main-dark-1);
18
+
19
+ @media ${device.laptop} {
20
+ margin-bottom: 3rem;
21
+ }
22
+
23
+ &.category-product-title {
24
+ margin-bottom: 0;
25
+ font-family: var(--font-sans);
26
+ font-size: 28px;
27
+ font-weight: 700;
28
+ line-height: 32px;
29
+ letter-spacing: -0.3px;
30
+ text-align: left;
31
+ }
32
+ }
33
+
34
+ .blog__description {
35
+ font-family: var(--font-sans);
36
+ font-size: 16px;
37
+ font-weight: 400;
38
+ line-height: 22px;
39
+ letter-spacing: -0.3px;
40
+ text-align: left;
41
+ color: #3d4042;
42
+ margin: 1rem 0 1.5rem 0;
43
+ }
44
+
45
+ .cta-button {
46
+ width: 100%;
47
+ margin-top: 3rem;
48
+ display: inline-block;
49
+ @media ${device['landscape-tablets']} {
50
+ width: auto;
51
+ }
52
+ }
53
+ `;
@@ -0,0 +1,54 @@
1
+ import { device, size } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const BlogSectionStyled = styled.div`
5
+ text-align: center;
6
+ margin: 0 auto 3rem;
7
+ padding: 0 1rem;
8
+ max-width: ${size.md};
9
+
10
+ @media ${device.laptop} {
11
+ padding: 0;
12
+ }
13
+ @media ${device.desktop} {
14
+ max-width: ${size.lg};
15
+ }
16
+
17
+ .blog__title {
18
+ color: var(--primary-main-dark-1);
19
+
20
+ @media ${device.laptop} {
21
+ margin-bottom: 3rem;
22
+ }
23
+
24
+ &.category-product-title {
25
+ margin-bottom: 0;
26
+ font-family: var(--font-sans);
27
+ font-size: 28px;
28
+ font-weight: 700;
29
+ line-height: 32px;
30
+ letter-spacing: -0.3px;
31
+ text-align: left;
32
+ }
33
+ }
34
+
35
+ .blog__description {
36
+ font-family: var(--font-sans);
37
+ font-size: 16px;
38
+ font-weight: 400;
39
+ line-height: 22px;
40
+ letter-spacing: -0.3px;
41
+ text-align: left;
42
+ color: #3d4042;
43
+ margin: 1rem 0 1.5rem 0;
44
+ }
45
+
46
+ .cta-button {
47
+ width: 100%;
48
+ margin-top: 3rem;
49
+ display: inline-block;
50
+ @media ${device['landscape-tablets']} {
51
+ width: auto;
52
+ }
53
+ }
54
+ `
@@ -1,20 +1,25 @@
1
1
  /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
2
  import React, { type FC } from 'react'
3
3
 
4
+ import { Button, RichTextStrapi } from '../../atoms'
4
5
  import { ArticlesList } from '../../organisms'
5
6
  import { type BlogSectionProps } from './BlogSectionProps.types'
6
- import { Button } from '../../atoms'
7
+ import { BlogSectionStyled } from './BlogSection.styled'
7
8
  // import './BlogSection.scss'
8
9
 
9
- const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta, articles }) => {
10
- if (articles.articles?.length === 0) return null
10
+ const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta = null, blogDescription = null, articles }) => {
11
+ if (articles.articles?.length === 0) return
12
+ const categoryProductTitle = !!blogDescription
11
13
 
12
14
  return (
13
- <div className={'blog'}>
14
- <h2 className={'serif --super-large blog__title'}>{blogTitle}</h2>
15
- <ArticlesList articles={articles.articles} />
16
- <Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />
17
- </div>
15
+ <BlogSectionStyled className={'blog'}>
16
+ <h2 className={`serif --super-large blog__title ${categoryProductTitle ? 'category-product-title' : ''}`}>
17
+ {blogTitle}
18
+ </h2>
19
+ {blogDescription && <RichTextStrapi className='blog__description' html={blogDescription} />}
20
+ <ArticlesList articles={articles.articles} isCategoryProductPage={categoryProductTitle} />
21
+ {blogCta && <Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />}
22
+ </BlogSectionStyled>
18
23
  )
19
24
  }
20
25
 
@@ -1,6 +1,7 @@
1
1
  import { type ArticlesListProps } from '../../organisms';
2
2
  export interface BlogSectionProps {
3
3
  blogTitle: string;
4
- blogCta: string;
4
+ blogCta?: string | null;
5
+ blogDescription?: string | null;
5
6
  articles: ArticlesListProps;
6
7
  }
@@ -2,6 +2,7 @@ import { type ArticlesListProps } from '../../organisms'
2
2
 
3
3
  export interface BlogSectionProps {
4
4
  blogTitle: string
5
- blogCta: string
5
+ blogCta?: string | null
6
+ blogDescription?: string | null
6
7
  articles: ArticlesListProps
7
8
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BoxForm } from '../../molecules';
3
3
  import { ContactJumbotron } from '../../organisms';
4
- // import './ContactSection.scss'
4
+ import { ContactSectionStyled } from './ContactSection.styled';
5
5
  export const ContactSection = ({ contactJumbotronProps, contactForm }) => {
6
- return (_jsx("section", { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
6
+ return (_jsx(ContactSectionStyled, { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
7
7
  };
@@ -0,0 +1 @@
1
+ export declare const ContactSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;