@npm_leadtech/legal-lib-components 5.7.0 → 5.7.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 (187) hide show
  1. package/dist/css/styles.css +1167 -3
  2. package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +6 -0
  3. package/dist/images/componentsSvg/RatafiaIcon24px.js +2 -0
  4. package/dist/images/componentsSvg/RatafiaIcon24px.tsx +18 -0
  5. package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -19
  6. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -19
  7. package/dist/src/components/atoms/CardPane/CardPaneInfo.js +4 -5
  8. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +3 -14
  9. package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +0 -1
  10. package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +0 -1
  11. package/dist/src/components/atoms/ContactCard/ContactCard.js +2 -3
  12. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +26 -28
  13. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +26 -28
  14. package/dist/src/components/atoms/ContactCard/ContactCard.tsx +16 -22
  15. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +5 -1
  16. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +14 -0
  17. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +14 -0
  18. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +10 -1
  19. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +1 -0
  20. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +1 -0
  21. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +5 -3
  22. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +5 -3
  23. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +2 -3
  24. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  25. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
  26. package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.styled.ts → ErrorRatafiaPage.scss} +4 -3
  27. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +3 -4
  28. package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
  29. package/dist/src/components/pages/FaqsPage/{FaqsPage.styled.ts → FaqsPage.scss} +4 -3
  30. package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +3 -4
  31. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
  32. package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.styled.js → KeyFactsResultRatafiaPage.scss} +5 -4
  33. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +3 -4
  34. package/dist/src/components/pages/LoginRatafiaPage/{LoginRatafiaPage.styled.js → LoginPageRatafia.scss} +5 -5
  35. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
  36. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
  37. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  38. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
  39. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  40. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
  41. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -1
  42. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
  43. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  44. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
  45. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  46. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  47. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
  48. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  49. package/dist/src/components/sections/BlogSection/BlogSection.js +1 -2
  50. package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
  51. package/dist/src/components/sections/BlogSection/BlogSection.tsx +2 -3
  52. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  53. package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss} +9 -9
  54. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  55. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  56. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +1 -0
  57. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  58. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  59. package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
  60. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  61. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  62. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
  63. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  64. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +1 -2
  65. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
  66. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +2 -3
  67. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  68. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +12 -0
  69. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  70. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  71. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.styled.ts → HowGetYourFormsSection.scss} +8 -7
  72. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  73. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  74. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
  75. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +3 -6
  76. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  77. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
  78. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  79. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  80. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.styled.ts → LearnMoreSection.scss} +12 -12
  81. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  82. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  83. package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
  84. package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
  85. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
  86. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
  87. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  88. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  89. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +42 -0
  90. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  91. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  92. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
  93. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +4 -3
  94. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
  95. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
  96. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
  97. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  98. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
  99. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  100. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  101. package/dist/src/components/sections/TryUsSection/{TryUsSection.styled.ts → TryUsSection.scss} +5 -5
  102. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  103. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  104. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
  105. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  106. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  107. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +35 -0
  108. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +4 -3
  109. package/dist/src/globalStyles/styles.scss +30 -0
  110. package/dist/tsconfig.build.tsbuildinfo +1 -1
  111. package/package.json +1 -1
  112. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +0 -1
  113. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +0 -30
  114. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +0 -1
  115. package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +0 -59
  116. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +0 -1
  117. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +0 -23
  118. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +0 -1
  119. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +0 -24
  120. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
  121. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +0 -53
  122. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +0 -54
  123. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +0 -1
  124. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +0 -36
  125. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -37
  126. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +0 -1
  127. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +0 -51
  128. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +0 -52
  129. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +0 -1
  130. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +0 -54
  131. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +0 -55
  132. package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +0 -1
  133. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -32
  134. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -33
  135. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +0 -1
  136. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -89
  137. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +0 -1
  138. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -27
  139. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -28
  140. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +0 -1
  141. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +0 -29
  142. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +0 -30
  143. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +0 -1
  144. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -56
  145. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -57
  146. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +0 -1
  147. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +0 -14
  148. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +0 -15
  149. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +0 -1
  150. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -10
  151. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -11
  152. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +0 -1
  153. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -24
  154. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +0 -1
  155. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +0 -39
  156. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +0 -40
  157. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +0 -1
  158. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +0 -40
  159. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +0 -41
  160. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +0 -1
  161. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +0 -106
  162. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +0 -1
  163. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +0 -121
  164. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +0 -122
  165. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +0 -1
  166. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -46
  167. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -47
  168. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +0 -1
  169. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +0 -43
  170. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +0 -44
  171. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +0 -1
  172. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +0 -55
  173. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +0 -56
  174. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +0 -1
  175. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +0 -70
  176. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +0 -71
  177. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +0 -1
  178. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -10
  179. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -11
  180. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +0 -1
  181. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +0 -23
  182. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +0 -1
  183. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +0 -63
  184. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +0 -64
  185. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +0 -1
  186. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -36
  187. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -37
@@ -1,6 +1,7 @@
1
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
2
3
 
3
- export const FaqsPageStyled = styled.div`
4
+ .faq-page {
4
5
  .titles {
5
6
  display: flex;
6
7
  padding: 40px 24px;
@@ -57,4 +58,4 @@ export const FaqsPageStyled = styled.div`
57
58
  gap: 106px;
58
59
  }
59
60
  }
60
- `
61
+ }
@@ -2,12 +2,11 @@ import React from 'react'
2
2
 
3
3
  import { AsideMenuSection, FaqSection } from '../../sections'
4
4
  import { type FaqsPageProps } from './FaqsPageProps'
5
-
6
- import { FaqsPageStyled } from './FaqsPage.styled'
5
+ // import './FaqsPage.scss'
7
6
 
8
7
  export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
9
8
  return (
10
- <FaqsPageStyled className='faq-page'>
9
+ <div className='faq-page'>
11
10
  <div className='titles'>
12
11
  <h1 className='title'>{title}</h1>
13
12
  <h2 className='subtitle'>{subtitle}</h2>
@@ -16,6 +15,6 @@ export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSe
16
15
  <AsideMenuSection {...asideMenuSectionProps} />
17
16
  <FaqSection {...faqSectionProps} />
18
17
  </div>
19
- </FaqsPageStyled>
18
+ </div>
20
19
  )
21
20
  }
@@ -3,13 +3,13 @@ import { KeyFactsLoadingContentRatafia, KeyFactsResultContentRatafia } from '../
3
3
  import { Button } from '../../atoms';
4
4
  import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
5
5
  import { LayoutRatafia } from '../../organisms/LayoutRatafia';
6
- import { KeyFactsResultRatafiaPageStyled } from './KeyFactsResultRatafiaPage.styled';
6
+ // import './KeyFactsResultRatafiaPage.scss'
7
7
  export const KeyFactsResultRatafiaPage = ({ header, resultContent, reviewContent, disclaimer, cta, loadingIcon, loadingText, isLoading }) => {
8
8
  const loadingContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsLoadingContentRatafia, { documentName: resultContent.documentName, icon: loadingIcon, text: loadingText }) }));
9
9
  const loadedContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsResultContentRatafia, { result: resultContent, review: reviewContent }) }));
10
10
  const ctaButton = isLoading ? null : (_jsx(Button, { givenClass: 'key-facts-result-page__content__cta', dataQa: cta.dataQa, color: 'primary', label: cta.label, onClick: cta.handleOnClick, noLink: true }));
11
11
  const footerDesktop = (_jsx("div", { className: 'key-facts-result-page__footer-desktop', children: _jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }) }));
12
12
  const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctaButton] }));
13
- return (_jsx(KeyFactsResultRatafiaPageStyled, { className: 'key-facts-result-page', children: _jsx(LayoutRatafia, { header: header, content: isLoading ? loadingContent : loadedContent, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
13
+ return (_jsx("div", { className: 'key-facts-result-page', children: _jsx(LayoutRatafia, { header: header, content: isLoading ? loadingContent : loadedContent, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
14
14
  };
15
15
  export default KeyFactsResultRatafiaPage;
@@ -1,7 +1,8 @@
1
- import styled from 'styled-components';
2
- export const KeyFactsResultRatafiaPageStyled = styled.div `
3
- background-color: var(--neutral-neutral-6);
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
4
3
 
4
+ .key-facts-result-page {
5
+ background-color: var(--neutral-neutral-6);
5
6
  &__content {
6
7
  display: flex;
7
8
  flex-direction: column;
@@ -19,4 +20,4 @@ export const KeyFactsResultRatafiaPageStyled = styled.div `
19
20
  }
20
21
  }
21
22
  }
22
- `;
23
+ }
@@ -5,8 +5,7 @@ import { Button } from '../../atoms'
5
5
  import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
6
6
  import { type KeyFactsResultRatafiaPageProps } from './KeyFactsResultRatafiaPageProps.types'
7
7
  import { LayoutRatafia } from '../../organisms/LayoutRatafia'
8
-
9
- import { KeyFactsResultRatafiaPageStyled } from './KeyFactsResultRatafiaPage.styled'
8
+ // import './KeyFactsResultRatafiaPage.scss'
10
9
 
11
10
  export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps> = ({
12
11
  header,
@@ -60,7 +59,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
60
59
  )
61
60
 
62
61
  return (
63
- <KeyFactsResultRatafiaPageStyled className='key-facts-result-page'>
62
+ <div className='key-facts-result-page'>
64
63
  <LayoutRatafia
65
64
  header={header}
66
65
  content={isLoading ? loadingContent : loadedContent}
@@ -68,7 +67,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
68
67
  footerDesktop={footerDesktop}
69
68
  footerMobile={footerMobile}
70
69
  />
71
- </KeyFactsResultRatafiaPageStyled>
70
+ </div>
72
71
  )
73
72
  }
74
73
 
@@ -1,7 +1,8 @@
1
- import styled from 'styled-components';
2
- export const LoginRatafiaPageStyled = styled.div `
3
- background-color: var(--neutral-neutral-6);
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
4
3
 
4
+ .login-ratafia-page {
5
+ background-color: var(--neutral-neutral-6);
5
6
  &__ctas {
6
7
  text-align: center;
7
8
  &__button {
@@ -9,7 +10,6 @@ export const LoginRatafiaPageStyled = styled.div `
9
10
  width: 100%;
10
11
  margin-bottom: 1rem;
11
12
  }
12
-
13
13
  &__signIn {
14
14
  &__button {
15
15
  background: none;
@@ -20,4 +20,4 @@ export const LoginRatafiaPageStyled = styled.div `
20
20
  }
21
21
  }
22
22
  }
23
- `;
23
+ }
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { LayoutRatafia, LoginRatafiaContent } from '../../organisms';
3
3
  import { Button } from '../../atoms';
4
4
  import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
5
- import { LoginRatafiaPageStyled } from './LoginRatafiaPage.styled';
5
+ // import './LoginPageRatafia.scss'
6
6
  export const LoginRatafiaPage = ({ header, loginContent, ctaAnalizeDocument, ctaSignIn, disclaimer }) => {
7
7
  const ctas = (_jsxs("div", { className: 'login-ratafia-page__ctas', children: [_jsx(Button, { givenClass: 'login-ratafia-page__ctas__button', color: 'primary', dataQa: ctaAnalizeDocument.dataQa, label: ctaAnalizeDocument.label, onClick: ctaAnalizeDocument.onClick, noLink: true, disabled: ctaAnalizeDocument.disabled }), _jsxs("span", { className: 'login-ratafia-page__ctas__signIn', children: [ctaSignIn.text, _jsx("button", { className: 'login-ratafia-page__ctas__signIn__button', "data-qa": ctaSignIn.link.dataQa, onClick: ctaSignIn.link.onClick, children: ctaSignIn.link.text })] })] }));
8
8
  const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, legalAdviceText: disclaimer.legalAdviceText, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
9
9
  const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctas] }));
10
10
  const content = (_jsx(LoginRatafiaContent, { title: loginContent.title, email: loginContent.email, policy: loginContent.policy }));
11
- return (_jsx(LoginRatafiaPageStyled, { className: 'login-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
11
+ return (_jsx("div", { className: 'login-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
12
12
  };
@@ -5,7 +5,7 @@ import { Button } from '../../atoms'
5
5
  import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
6
6
  import { type LoginRatafiaPageProps } from './LoginRatafiaPageProps'
7
7
 
8
- import { LoginRatafiaPageStyled } from './LoginRatafiaPage.styled'
8
+ // import './LoginPageRatafia.scss'
9
9
 
10
10
  export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
11
11
  header,
@@ -60,7 +60,7 @@ export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
60
60
  )
61
61
 
62
62
  return (
63
- <LoginRatafiaPageStyled className='login-ratafia-page'>
63
+ <div className='login-ratafia-page'>
64
64
  <LayoutRatafia
65
65
  header={header}
66
66
  content={content}
@@ -68,6 +68,6 @@ export const LoginRatafiaPage: React.FC<LoginRatafiaPageProps> = ({
68
68
  footerDesktop={footerDesktop}
69
69
  footerMobile={footerMobile}
70
70
  />
71
- </LoginRatafiaPageStyled>
71
+ </div>
72
72
  )
73
73
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AboutUsContent } from '../../organisms/AboutUsContent';
3
- import { AboutUsSectionStyled } from './AboutUsSection.styled';
3
+ // import './AboutUsSection.scss'
4
4
  const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
5
- return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
5
+ return (_jsx("div", { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
6
6
  };
7
7
  export default AboutUsSection;
@@ -0,0 +1,52 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .about-us-section {
5
+ padding-top: 1.125rem;
6
+ background: var(--primary-main-light-6);
7
+ margin-bottom: 3rem;
8
+
9
+ @include laptop {
10
+ margin-bottom: 5rem;
11
+ }
12
+
13
+ &__title {
14
+ text-align: center;
15
+ margin-bottom: 1rem;
16
+ &__text {
17
+ text-transform: uppercase;
18
+ font-size: 0.8rem;
19
+ line-height: 1.2;
20
+ font-weight: 700;
21
+ font-family: var(--font-sans);
22
+ color: var(--neutral-neutral-2);
23
+ padding-bottom: 0.5rem;
24
+ border-bottom: 1px solid var(--neutral-neutral-3);
25
+ }
26
+ }
27
+
28
+ &__sub-title {
29
+ margin-bottom: 1.5rem;
30
+ text-align: center;
31
+ font-size: 2rem;
32
+ line-height: 1.2;
33
+ letter-spacing: -0.4px;
34
+ font-weight: 400;
35
+ font-family: var(--font-serif);
36
+ color: var(--neutral-neutral-1);
37
+
38
+ @include landscape-tablets {
39
+ font-size: 2.3rem;
40
+ max-width: $sm;
41
+ margin: 0 auto 2rem auto;
42
+ }
43
+
44
+ @include desktop {
45
+ max-width: 792px;
46
+ }
47
+
48
+ @include laptop {
49
+ font-size: 3rem;
50
+ }
51
+ }
52
+ }
@@ -3,11 +3,11 @@ import React, { type FC } from 'react'
3
3
 
4
4
  import { AboutUsContent } from '../../organisms/AboutUsContent'
5
5
  import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
6
- import { AboutUsSectionStyled } from './AboutUsSection.styled'
6
+ // import './AboutUsSection.scss'
7
7
 
8
8
  const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
9
9
  return (
10
- <AboutUsSectionStyled className='about-us-section'>
10
+ <div className='about-us-section'>
11
11
  <div className='wrapper wrapper--responsive'>
12
12
  <div className='about-us-section__title'>
13
13
  <span className='about-us-section__title__text'>{title}</span>
@@ -18,7 +18,7 @@ const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAbout
18
18
  {contentAboutUs.children}
19
19
  </AboutUsContent>
20
20
  </div>
21
- </AboutUsSectionStyled>
21
+ </div>
22
22
  )
23
23
  }
24
24
 
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AsSeeInContent, ContactContent } from '../../organisms';
3
- import { AsSeeInSectionStyled } from './AsSeeInSection.styled';
3
+ // import './AsSeeInSection.scss'
4
4
  const AsSeeInSection = ({ title, contentAsSeeIn, contactSectionTitle, contactSectionText, contactSectionBlocks }) => {
5
5
  if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
6
6
  return null;
7
7
  }
8
- return (_jsxs(AsSeeInSectionStyled, { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), _jsx(ContactContent, { title: contactSectionTitle, text: contactSectionText, contactCards: contactSectionBlocks })] }));
8
+ return (_jsxs("section", { className: 'as-seen-in-section-box', children: [_jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }), _jsx(ContactContent, { title: contactSectionTitle, text: contactSectionText, contactCards: contactSectionBlocks })] }));
9
9
  };
10
10
  export default AsSeeInSection;
@@ -4,7 +4,6 @@
4
4
  .as-seen-in-section-box {
5
5
  flex-shrink: 0;
6
6
  background-color: get-color(secondary, main-light-5);
7
- padding: 0 1.5rem;
8
7
 
9
8
  @include laptop {
10
9
  margin-top: 12rem;
@@ -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 { AsSeeInSectionStyled } from './AsSeeInSection.styled'
5
+ // import './AsSeeInSection.scss'
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
- <AsSeeInSectionStyled className='as-seen-in-section-box'>
19
+ <section 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
- </AsSeeInSectionStyled>
25
+ </section>
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 { AsideMenuSectionStyled } from './AsideMenuSection.styled';
2
+ // import './AsideMenuSection.scss'
3
3
  export const AsideMenuSection = ({ items, title = '', onClickHandler }) => {
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))) })] }));
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))) })] }));
5
5
  };
@@ -0,0 +1,50 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+
3
+ .asideMenu {
4
+ .title {
5
+ color: var(--neutral-neutral-1);
6
+ font-weight: bold;
7
+ padding-bottom: 1rem;
8
+ border-bottom: get-color(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: get-color(neutral, neutral-4) 1px solid;
26
+ border-bottom: get-color(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
+ }
@@ -1,11 +1,11 @@
1
1
  import React from 'react'
2
2
 
3
3
  import { type AsideMenuSectionProps } from './AsideMenuSectionProps'
4
- import { AsideMenuSectionStyled } from './AsideMenuSection.styled'
4
+ // import './AsideMenuSection.scss'
5
5
 
6
6
  export const AsideMenuSection: React.FC<AsideMenuSectionProps> = ({ items, title = '', onClickHandler }) => {
7
7
  return (
8
- <AsideMenuSectionStyled className='asideMenu'>
8
+ <aside 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
- </AsideMenuSectionStyled>
24
+ </aside>
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 { BenefitsRatafiaSectionStyled } from './BenefitsRatafiaSection.styled';
3
+ // import './BenefitsRatafiaSection.scss'
4
4
  const BenefitsRatafiaSection = ({ title, description, 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 })] }) }));
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 })] }) }));
6
6
  };
7
7
  export default BenefitsRatafiaSection;
@@ -0,0 +1,57 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .benefit-ratafia-section {
5
+ display: flex;
6
+ justify-content: center;
7
+ align-content: center;
8
+
9
+ width: 100%;
10
+
11
+ padding: 2rem 1.5rem;
12
+
13
+ @include laptop {
14
+ padding: 3rem 2rem;
15
+ }
16
+ @include desktop-xl {
17
+ padding: 3rem 0;
18
+ }
19
+
20
+ &__wrapper {
21
+ display: flex;
22
+ flex-direction: column;
23
+ justify-content: center;
24
+ align-items: center;
25
+ align-self: stretch;
26
+
27
+ padding: 1.5rem;
28
+ gap: 2rem;
29
+
30
+ border-radius: 16px;
31
+
32
+ max-width: 1200px;
33
+
34
+ @include landscape-tablets {
35
+ padding: 2rem;
36
+ }
37
+ @include laptop {
38
+ padding: 3rem;
39
+ }
40
+
41
+ &__title {
42
+ display: flex;
43
+ flex-direction: column;
44
+ justify-content: center;
45
+ align-items: flex-start;
46
+ align-self: stretch;
47
+ gap: 1rem;
48
+
49
+ &__text {
50
+ color: var(--others-white);
51
+ }
52
+ &__description {
53
+ color: var(--others-white);
54
+ }
55
+ }
56
+ }
57
+ }
@@ -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 { BenefitsRatafiaSectionStyled } from './BenefitsRatafiaSection.styled'
5
+ // import './BenefitsRatafiaSection.scss'
6
6
 
7
7
  const BenefitsRatafiaSection: FC<BenefitsRatafiaSectionProps> = ({ title, description, benefits }) => {
8
8
  return (
9
- <BenefitsRatafiaSectionStyled className='benefit-ratafia-section'>
9
+ <section 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
- </BenefitsRatafiaSectionStyled>
21
+ </section>
22
22
  )
23
23
  }
24
24
 
@@ -1,11 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ArticlesList } from '../../organisms';
3
- import { BlogSectionStyled } from './BlogSection.styled';
4
3
  import { Button } from '../../atoms';
5
4
  // import './BlogSection.scss'
6
5
  const BlogSection = ({ blogTitle, blogCta, articles }) => {
7
6
  if (articles.articles?.length === 0)
8
7
  return null;
9
- return (_jsxs(BlogSectionStyled, { 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 (_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' })] }));
10
9
  };
11
10
  export default BlogSection;
@@ -0,0 +1,33 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .blog {
5
+ text-align: center;
6
+ margin: 0 auto 3rem;
7
+ padding: 0 1rem;
8
+ max-width: $md;
9
+
10
+ @include laptop {
11
+ padding: 0;
12
+ }
13
+ @include desktop {
14
+ max-width: $lg;
15
+ }
16
+
17
+ .blog__title {
18
+ color: var(--primary-main-dark-1);
19
+
20
+ @include laptop {
21
+ margin-bottom: 3rem;
22
+ }
23
+ }
24
+
25
+ .cta-button {
26
+ width: 100%;
27
+ margin-top: 3rem;
28
+ display: inline-block;
29
+ @include landscape-tablets {
30
+ width: auto;
31
+ }
32
+ }
33
+ }
@@ -3,7 +3,6 @@ import React, { type FC } from 'react'
3
3
 
4
4
  import { ArticlesList } from '../../organisms'
5
5
  import { type BlogSectionProps } from './BlogSectionProps.types'
6
- import { BlogSectionStyled } from './BlogSection.styled'
7
6
  import { Button } from '../../atoms'
8
7
  // import './BlogSection.scss'
9
8
 
@@ -11,11 +10,11 @@ const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta, articles }) =>
11
10
  if (articles.articles?.length === 0) return null
12
11
 
13
12
  return (
14
- <BlogSectionStyled className={'blog'}>
13
+ <div className={'blog'}>
15
14
  <h2 className={'serif --super-large blog__title'}>{blogTitle}</h2>
16
15
  <ArticlesList articles={articles.articles} />
17
16
  <Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />
18
- </BlogSectionStyled>
17
+ </div>
19
18
  )
20
19
  }
21
20
 
@@ -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 { ContactSectionStyled } from './ContactSection.styled';
4
+ // import './ContactSection.scss'
5
5
  export const ContactSection = ({ contactJumbotronProps, 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 }) }) })] }) }) }));
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 }) }) })] }) }) }));
7
7
  };
@@ -1,7 +1,7 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
3
 
4
- export const ContactSectionStyled = styled.section`
4
+ .contact-container {
5
5
  background-color: var(--primary-main-light-6);
6
6
 
7
7
  span > a {
@@ -12,7 +12,7 @@ export const ContactSectionStyled = styled.section`
12
12
  padding-left: 0;
13
13
  padding-right: 0;
14
14
 
15
- @media ${device['portrait-tablets']} {
15
+ @include portrait-tablets {
16
16
  padding-left: 1.5rem;
17
17
  padding-right: 1.5rem;
18
18
  }
@@ -22,7 +22,7 @@ export const ContactSectionStyled = styled.section`
22
22
  display: flex;
23
23
  flex-direction: column-reverse;
24
24
 
25
- @media ${device['portrait-tablets']} {
25
+ @include portrait-tablets {
26
26
  flex-direction: row;
27
27
  justify-content: space-between;
28
28
  }
@@ -32,7 +32,7 @@ export const ContactSectionStyled = styled.section`
32
32
  padding-left: 1.5rem;
33
33
  padding-right: 1.5rem;
34
34
 
35
- @media ${device['portrait-tablets']} {
35
+ @include portrait-tablets {
36
36
  padding-left: 0;
37
37
  padding-right: 0;
38
38
  width: 45%;
@@ -46,7 +46,7 @@ export const ContactSectionStyled = styled.section`
46
46
  margin-bottom: 2.5rem;
47
47
  width: 100%;
48
48
 
49
- @media ${device['portrait-tablets']} {
49
+ @include portrait-tablets {
50
50
  background-size: 21rem;
51
51
  background-repeat: no-repeat;
52
52
  background-position: 100% 100%;
@@ -55,7 +55,7 @@ export const ContactSectionStyled = styled.section`
55
55
  width: 45%;
56
56
  }
57
57
 
58
- @media ${device.laptop} {
58
+ @include laptop {
59
59
  padding-bottom: 12rem;
60
60
  }
61
61
 
@@ -87,4 +87,4 @@ export const ContactSectionStyled = styled.section`
87
87
  }
88
88
  }
89
89
  }
90
- `
90
+ }