@npm_leadtech/legal-lib-components 5.3.21 → 5.4.0

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 (191) hide show
  1. package/dist/css/styles.css +1043 -2
  2. package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +4 -0
  3. package/dist/src/components/atoms/ContactCard/ContactCard.js +6 -0
  4. package/dist/src/components/{sections/BlogSection/BlogSection.styled.d.ts → atoms/ContactCard/ContactCard.styled.d.ts} +1 -1
  5. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +38 -0
  6. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +39 -0
  7. package/dist/src/components/atoms/ContactCard/ContactCard.tsx +38 -0
  8. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +9 -0
  9. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +1 -0
  10. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +9 -0
  11. package/dist/src/components/atoms/ContactCard/index.d.ts +2 -0
  12. package/dist/src/components/atoms/ContactCard/index.js +1 -0
  13. package/dist/src/components/atoms/ContactCard/index.ts +2 -0
  14. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +5 -3
  15. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +5 -3
  16. package/dist/src/components/atoms/index.d.ts +1 -0
  17. package/dist/src/components/atoms/index.js +1 -0
  18. package/dist/src/components/atoms/index.ts +1 -0
  19. package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +4 -0
  20. package/dist/src/components/molecules/ContactCardList/ContactCardList.js +7 -0
  21. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +1 -0
  22. package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js → molecules/ContactCardList/ContactCardList.styled.js} +4 -5
  23. package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts → molecules/ContactCardList/ContactCardList.styled.ts} +4 -5
  24. package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +17 -0
  25. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +4 -0
  26. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +1 -0
  27. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +5 -0
  28. package/dist/src/components/molecules/ContactCardList/index.d.ts +2 -0
  29. package/dist/src/components/molecules/ContactCardList/index.js +1 -0
  30. package/dist/src/components/molecules/ContactCardList/index.ts +2 -0
  31. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +3 -2
  32. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  33. package/dist/src/components/molecules/index.d.ts +1 -0
  34. package/dist/src/components/molecules/index.js +1 -0
  35. package/dist/src/components/molecules/index.ts +1 -0
  36. package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +4 -0
  37. package/dist/src/components/organisms/ContactContent/ContactContent.js +9 -0
  38. package/dist/src/components/{sections/AboutUsSection/AboutUsSection.styled.d.ts → organisms/ContactContent/ContactContent.styled.d.ts} +1 -1
  39. package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +28 -0
  40. package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +29 -0
  41. package/dist/src/components/organisms/ContactContent/ContactContent.tsx +20 -0
  42. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +6 -0
  43. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +1 -0
  44. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +7 -0
  45. package/dist/src/components/organisms/ContactContent/index.d.ts +2 -0
  46. package/dist/src/components/organisms/ContactContent/index.js +1 -0
  47. package/dist/src/components/organisms/ContactContent/index.ts +2 -0
  48. package/dist/src/components/organisms/index.d.ts +1 -0
  49. package/dist/src/components/organisms/index.js +1 -0
  50. package/dist/src/components/organisms/index.ts +1 -0
  51. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  52. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
  53. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  54. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +3 -3
  55. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +36 -0
  56. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +5 -21
  57. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +3 -6
  58. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +3 -6
  59. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  60. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
  61. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  62. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  63. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
  64. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  65. package/dist/src/components/sections/BlogSection/BlogSection.js +1 -2
  66. package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
  67. package/dist/src/components/sections/BlogSection/BlogSection.tsx +2 -3
  68. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  69. package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss} +9 -9
  70. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  71. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  72. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +25 -0
  73. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  74. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  75. package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
  76. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  77. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  78. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
  79. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  80. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +1 -2
  81. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
  82. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +2 -3
  83. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  84. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +12 -0
  85. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  86. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  87. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.styled.ts → HowGetYourFormsSection.scss} +8 -7
  88. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  89. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  90. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
  91. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +3 -6
  92. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  93. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
  94. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  95. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  96. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.styled.ts → LearnMoreSection.scss} +12 -12
  97. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  98. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  99. package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
  100. package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
  101. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
  102. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
  103. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  104. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  105. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +42 -0
  106. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  107. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  108. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
  109. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +4 -3
  110. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
  111. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
  112. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
  113. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  114. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
  115. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  116. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  117. package/dist/src/components/sections/TryUsSection/{TryUsSection.styled.ts → TryUsSection.scss} +5 -5
  118. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  119. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  120. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
  121. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  122. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  123. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +35 -0
  124. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +4 -3
  125. package/dist/src/globalStyles/styles.scss +25 -0
  126. package/dist/tsconfig.build.tsbuildinfo +1 -1
  127. package/package.json +1 -1
  128. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +0 -53
  129. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +0 -54
  130. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +0 -1
  131. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +0 -97
  132. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -98
  133. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +0 -1
  134. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +0 -51
  135. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +0 -52
  136. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +0 -1
  137. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +0 -54
  138. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +0 -55
  139. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -32
  140. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -33
  141. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +0 -1
  142. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -89
  143. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +0 -1
  144. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -27
  145. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -28
  146. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +0 -1
  147. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +0 -29
  148. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +0 -30
  149. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +0 -1
  150. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -56
  151. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -57
  152. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +0 -1
  153. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +0 -1
  154. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -10
  155. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -11
  156. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +0 -1
  157. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -24
  158. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +0 -1
  159. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +0 -39
  160. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +0 -40
  161. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +0 -1
  162. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +0 -40
  163. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +0 -41
  164. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +0 -1
  165. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +0 -106
  166. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +0 -1
  167. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +0 -121
  168. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +0 -122
  169. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +0 -1
  170. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -46
  171. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -47
  172. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +0 -1
  173. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +0 -43
  174. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +0 -44
  175. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +0 -1
  176. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +0 -55
  177. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +0 -56
  178. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +0 -1
  179. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +0 -70
  180. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +0 -71
  181. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +0 -1
  182. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -10
  183. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -11
  184. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +0 -1
  185. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +0 -23
  186. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +0 -1
  187. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +0 -63
  188. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +0 -64
  189. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +0 -1
  190. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -36
  191. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -37
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { ContactCardProps } from './ContactCardProps.types';
3
+ declare const ContactCard: FC<ContactCardProps>;
4
+ export default ContactCard;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ContactCardStyled } from './ContactCard.styled';
3
+ const ContactCard = ({ id, title, image, body = '', url, isClickableOnDesktop = true, dataQa }) => {
4
+ return (_jsxs(ContactCardStyled, { className: 'contact-card', children: [_jsx("div", { className: 'contact-card__icon', children: isClickableOnDesktop ? (_jsx("a", { className: 'contact-card__icon__image', "data-qa": dataQa, href: url, target: '_self', children: image })) : (_jsxs("div", { children: [_jsx("div", { className: 'contact-card__icon__image contact-card__icon__image-desktop', children: image }), _jsx("a", { className: 'contact-card__icon__image contact-card__icon__image-mobile', "data-qa": dataQa, href: url, children: image })] })) }), _jsx("div", { className: 'contact-card__title', children: title }), _jsx("p", { className: 'contact-card__text', children: body })] }, id));
5
+ };
6
+ export default ContactCard;
@@ -1 +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;
1
+ export declare const ContactCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,38 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ContactCardStyled = styled.div `
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ background-color: white;
8
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
9
+ border-radius: 0.25rem;
10
+ min-width: 200px;
11
+ padding: 1rem;
12
+
13
+ .contact-card {
14
+ &__icon {
15
+ &__image {
16
+ width: 2rem;
17
+ }
18
+ &__image-desktop {
19
+ display: none;
20
+ @media ${device.laptop} {
21
+ display: block;
22
+ }
23
+ }
24
+ &__image-mobile {
25
+ @media ${device.laptop} {
26
+ display: none;
27
+ }
28
+ }
29
+ }
30
+ &__title {
31
+ margin-top: 1rem;
32
+ line-height: 1rem;
33
+ }
34
+ &__text {
35
+ font-size: 14px;
36
+ }
37
+ }
38
+ `;
@@ -0,0 +1,39 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const ContactCardStyled = styled.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ background-color: white;
9
+ box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
10
+ border-radius: 0.25rem;
11
+ min-width: 200px;
12
+ padding: 1rem;
13
+
14
+ .contact-card {
15
+ &__icon {
16
+ &__image {
17
+ width: 2rem;
18
+ }
19
+ &__image-desktop {
20
+ display: none;
21
+ @media ${device.laptop} {
22
+ display: block;
23
+ }
24
+ }
25
+ &__image-mobile {
26
+ @media ${device.laptop} {
27
+ display: none;
28
+ }
29
+ }
30
+ }
31
+ &__title {
32
+ margin-top: 1rem;
33
+ line-height: 1rem;
34
+ }
35
+ &__text {
36
+ font-size: 14px;
37
+ }
38
+ }
39
+ `
@@ -0,0 +1,38 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { ContactCardProps } from './ContactCardProps.types'
4
+
5
+ import { ContactCardStyled } from './ContactCard.styled'
6
+
7
+ const ContactCard: FC<ContactCardProps> = ({
8
+ id,
9
+ title,
10
+ image,
11
+ body = '',
12
+ url,
13
+ isClickableOnDesktop = true,
14
+ dataQa
15
+ }) => {
16
+ return (
17
+ <ContactCardStyled className='contact-card' key={id}>
18
+ <div className='contact-card__icon'>
19
+ {isClickableOnDesktop ? (
20
+ <a className='contact-card__icon__image' data-qa={dataQa} href={url} target='_self'>
21
+ {image}
22
+ </a>
23
+ ) : (
24
+ <div>
25
+ <div className='contact-card__icon__image contact-card__icon__image-desktop'>{image}</div>
26
+ <a className='contact-card__icon__image contact-card__icon__image-mobile' data-qa={dataQa} href={url}>
27
+ {image}
28
+ </a>
29
+ </div>
30
+ )}
31
+ </div>
32
+ <div className='contact-card__title'>{title}</div>
33
+ <p className='contact-card__text'>{body}</p>
34
+ </ContactCardStyled>
35
+ )
36
+ }
37
+
38
+ export default ContactCard
@@ -0,0 +1,9 @@
1
+ export interface ContactCardProps {
2
+ id: string;
3
+ image: React.ReactNode;
4
+ title: string;
5
+ body?: string;
6
+ url: string;
7
+ isClickableOnDesktop?: boolean;
8
+ dataQa: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface ContactCardProps {
2
+ id: string
3
+ image: React.ReactNode
4
+ title: string
5
+ body?: string
6
+ url: string
7
+ isClickableOnDesktop?: boolean
8
+ dataQa: string
9
+ }
@@ -0,0 +1,2 @@
1
+ export { default as ContactCard } from './ContactCard';
2
+ export { type ContactCardProps } from './ContactCardProps.types';
@@ -0,0 +1 @@
1
+ export { default as ContactCard } from './ContactCard';
@@ -0,0 +1,2 @@
1
+ export { default as ContactCard } from './ContactCard'
2
+ export { type ContactCardProps } from './ContactCardProps.types'
@@ -1,7 +1,9 @@
1
1
  import styled from 'styled-components';
2
2
  export const RichTextStrapiStyled = styled.div `
3
- ul li,
4
- ol li {
5
- margin-bottom: 1rem;
3
+ &.richt-text-strapi {
4
+ & ul li,
5
+ ol li {
6
+ margin-bottom: 1rem;
7
+ }
6
8
  }
7
9
  `;
@@ -1,8 +1,10 @@
1
1
  import styled from 'styled-components'
2
2
 
3
3
  export const RichTextStrapiStyled = styled.div`
4
- ul li,
5
- ol li {
6
- margin-bottom: 1rem;
4
+ &.richt-text-strapi {
5
+ & ul li,
6
+ ol li {
7
+ margin-bottom: 1rem;
8
+ }
7
9
  }
8
10
  `
@@ -9,6 +9,7 @@ export * from './Button';
9
9
  export * from './ButtonIcon';
10
10
  export * from './CardPane';
11
11
  export * from './Checkbox';
12
+ export * from './ContactCard';
12
13
  export * from './DatePickerCustom';
13
14
  export * from './DialogMenuIcon';
14
15
  export * from './Disclaimer';
@@ -9,6 +9,7 @@ export * from './Button';
9
9
  export * from './ButtonIcon';
10
10
  export * from './CardPane';
11
11
  export * from './Checkbox';
12
+ export * from './ContactCard';
12
13
  export * from './DatePickerCustom';
13
14
  export * from './DialogMenuIcon';
14
15
  export * from './Disclaimer';
@@ -9,6 +9,7 @@ export * from './Button'
9
9
  export * from './ButtonIcon'
10
10
  export * from './CardPane'
11
11
  export * from './Checkbox'
12
+ export * from './ContactCard'
12
13
  export * from './DatePickerCustom'
13
14
  export * from './DialogMenuIcon'
14
15
  export * from './Disclaimer'
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type ContactCardListProps } from './ContactCardListProps.types';
3
+ declare const ContactCardList: FC<ContactCardListProps>;
4
+ export default ContactCardList;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ContactCard } from '../../atoms';
3
+ import { ContactCardListStyled } from './ContactCardList.styled';
4
+ const ContactCardList = ({ contactCards = [] }) => {
5
+ return (_jsx(ContactCardListStyled, { className: 'contact-card-list', children: contactCards.map((contactCard) => (_jsx(ContactCard, { ...contactCard }, contactCard.id))) }));
6
+ };
7
+ export default ContactCardList;
@@ -0,0 +1 @@
1
+ export declare const ContactCardListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,14 +1,13 @@
1
1
  import { device } from '../../../globalStyles/breakpoints';
2
2
  import styled from 'styled-components';
3
- export const FunctionalityCardsSectionStyled = styled.section `
3
+ export const ContactCardListStyled = styled.div `
4
4
  display: flex;
5
+ justify-content: center;
5
6
  flex-direction: column;
6
- gap: $global-gap;
7
- margin-bottom: 2rem;
8
- width: 100%;
7
+ gap: 1rem;
9
8
 
10
9
  @media ${device.laptop} {
11
10
  flex-direction: row;
12
- width: 50%;
11
+ gap: 2.5rem;
13
12
  }
14
13
  `;
@@ -1,15 +1,14 @@
1
1
  import { device } from '../../../globalStyles/breakpoints'
2
2
  import styled from 'styled-components'
3
3
 
4
- export const FunctionalityCardsSectionStyled = styled.section`
4
+ export const ContactCardListStyled = styled.div`
5
5
  display: flex;
6
+ justify-content: center;
6
7
  flex-direction: column;
7
- gap: $global-gap;
8
- margin-bottom: 2rem;
9
- width: 100%;
8
+ gap: 1rem;
10
9
 
11
10
  @media ${device.laptop} {
12
11
  flex-direction: row;
13
- width: 50%;
12
+ gap: 2.5rem;
14
13
  }
15
14
  `
@@ -0,0 +1,17 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { ContactCard } from '../../atoms'
4
+
5
+ import { type ContactCardListProps } from './ContactCardListProps.types'
6
+ import { ContactCardListStyled } from './ContactCardList.styled'
7
+
8
+ const ContactCardList: FC<ContactCardListProps> = ({ contactCards = [] }) => {
9
+ return (
10
+ <ContactCardListStyled className='contact-card-list'>
11
+ {contactCards.map((contactCard) => (
12
+ <ContactCard key={contactCard.id} {...contactCard} />
13
+ ))}
14
+ </ContactCardListStyled>
15
+ )
16
+ }
17
+ export default ContactCardList
@@ -0,0 +1,4 @@
1
+ import { ContactCardProps } from '../../atoms';
2
+ export interface ContactCardListProps {
3
+ contactCards: ContactCardProps[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { ContactCardProps } from '../../atoms'
2
+
3
+ export interface ContactCardListProps {
4
+ contactCards: ContactCardProps[]
5
+ }
@@ -0,0 +1,2 @@
1
+ export { default as ContactCardList } from './ContactCardList';
2
+ export { type ContactCardListProps } from './ContactCardListProps.types';
@@ -0,0 +1 @@
1
+ export { default as ContactCardList } from './ContactCardList';
@@ -0,0 +1,2 @@
1
+ export { default as ContactCardList } from './ContactCardList'
2
+ export { type ContactCardListProps } from './ContactCardListProps.types'
@@ -3,11 +3,12 @@
3
3
 
4
4
  .expert-card-list {
5
5
  display: flex;
6
- flex-direction: column;
6
+ flex-flow: column;
7
+ gap: 0 2rem;
7
8
  justify-content: center;
8
9
  margin: 2rem 0 3rem 0;
9
10
 
10
11
  @include landscape-tablets {
11
- flex-direction: row;
12
+ flex-flow: row wrap;
12
13
  }
13
14
  }
@@ -64,7 +64,7 @@
64
64
  }
65
65
 
66
66
  &.primary {
67
- background-color: var(--neutral-neutral-6);
67
+ background-color: get-color(neutral, neutral-6);
68
68
 
69
69
  .icon-svg-with-theme-color {
70
70
  background-color: get-color(primary, main-light-1);
@@ -9,6 +9,7 @@ export * from './BottomOverlay';
9
9
  export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
+ export * from './ContactCardList';
12
13
  export * from './ContinueEditingBanner';
13
14
  export * from './CountDownMessage';
14
15
  export * from './EmailContactBox';
@@ -9,6 +9,7 @@ export * from './BottomOverlay';
9
9
  export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
+ export * from './ContactCardList';
12
13
  export * from './ContinueEditingBanner';
13
14
  export * from './CountDownMessage';
14
15
  export * from './EmailContactBox';
@@ -9,6 +9,7 @@ export * from './BottomOverlay'
9
9
  export * from './BoxForm'
10
10
  export * from './Breadcrumb'
11
11
  export * from './ContactBox'
12
+ export * from './ContactCardList'
12
13
  export * from './ContinueEditingBanner'
13
14
  export * from './CountDownMessage'
14
15
  export * from './EmailContactBox'
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { ContactContentProps } from './ContactContentProps.types';
3
+ declare const ContactContent: FC<ContactContentProps>;
4
+ export default ContactContent;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ContactCardList } from '../../molecules';
3
+ import { ContactContentStyled } from './ContactContent.styled';
4
+ const ContactContent = ({ title, text, contactCards = [] }) => {
5
+ if (contactCards.length === 0)
6
+ return null;
7
+ return (_jsxs(ContactContentStyled, { className: 'contact-content', children: [_jsx("h2", { className: 'contact-content__title', children: title }), _jsx("p", { className: 'contact-content__text', children: text }), _jsx(ContactCardList, { contactCards: contactCards })] }));
8
+ };
9
+ export default ContactContent;
@@ -1 +1 @@
1
- export declare const AboutUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const ContactContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,28 @@
1
+ import styled from 'styled-components';
2
+ export const ContactContentStyled = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ transform: translateY(-5rem);
6
+ color: var(--neutral-neutral-1);
7
+ margin-top: 1rem;
8
+
9
+ .contact-content {
10
+ &__title {
11
+ text-align: center;
12
+ font-size: 32px;
13
+ font-family: var(--font-serif);
14
+ font-style: normal;
15
+ font-weight: 400;
16
+ line-height: 42px;
17
+ letter-spacing: -0.3px;
18
+ margin: 1rem 0;
19
+ }
20
+
21
+ &__text {
22
+ text-align: center;
23
+ font-style: normal;
24
+ font-weight: 400;
25
+ margin: 0 0 2rem 0;
26
+ }
27
+ }
28
+ `;
@@ -0,0 +1,29 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const ContactContentStyled = styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ transform: translateY(-5rem);
7
+ color: var(--neutral-neutral-1);
8
+ margin-top: 1rem;
9
+
10
+ .contact-content {
11
+ &__title {
12
+ text-align: center;
13
+ font-size: 32px;
14
+ font-family: var(--font-serif);
15
+ font-style: normal;
16
+ font-weight: 400;
17
+ line-height: 42px;
18
+ letter-spacing: -0.3px;
19
+ margin: 1rem 0;
20
+ }
21
+
22
+ &__text {
23
+ text-align: center;
24
+ font-style: normal;
25
+ font-weight: 400;
26
+ margin: 0 0 2rem 0;
27
+ }
28
+ }
29
+ `
@@ -0,0 +1,20 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { ContactCardList } from '../../molecules'
4
+
5
+ import { ContactContentProps } from './ContactContentProps.types'
6
+
7
+ import { ContactContentStyled } from './ContactContent.styled'
8
+
9
+ const ContactContent: FC<ContactContentProps> = ({ title, text, contactCards = [] }) => {
10
+ if (contactCards.length === 0) return null
11
+
12
+ return (
13
+ <ContactContentStyled className='contact-content'>
14
+ <h2 className='contact-content__title'>{title}</h2>
15
+ <p className='contact-content__text'>{text}</p>
16
+ <ContactCardList contactCards={contactCards} />
17
+ </ContactContentStyled>
18
+ )
19
+ }
20
+ export default ContactContent
@@ -0,0 +1,6 @@
1
+ import { ContactCardProps } from '../../atoms';
2
+ export interface ContactContentProps {
3
+ title: string;
4
+ text: string;
5
+ contactCards?: ContactCardProps[];
6
+ }
@@ -0,0 +1,7 @@
1
+ import { ContactCardProps } from '../../atoms'
2
+
3
+ export interface ContactContentProps {
4
+ title: string
5
+ text: string
6
+ contactCards?: ContactCardProps[]
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as ContactContent } from './ContactContent';
2
+ export { type ContactContentProps } from './ContactContentProps.types';
@@ -0,0 +1 @@
1
+ export { default as ContactContent } from './ContactContent';
@@ -0,0 +1,2 @@
1
+ export { default as ContactContent } from './ContactContent'
2
+ export { type ContactContentProps } from './ContactContentProps.types'
@@ -3,6 +3,7 @@ export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
5
5
  export * from './CardFunctionality';
6
+ export * from './ContactContent';
6
7
  export * from './ContactJumbotron';
7
8
  export * from './CookiePolicyBar';
8
9
  export * from './ErrorContentRatafia';
@@ -3,6 +3,7 @@ export * from './Accordion';
3
3
  export * from './ArticlesList';
4
4
  export * from './AsSeeInContent';
5
5
  export * from './CardFunctionality';
6
+ export * from './ContactContent';
6
7
  export * from './ContactJumbotron';
7
8
  export * from './CookiePolicyBar';
8
9
  export * from './ErrorContentRatafia';
@@ -3,6 +3,7 @@ export * from './Accordion'
3
3
  export * from './ArticlesList'
4
4
  export * from './AsSeeInContent'
5
5
  export * from './CardFunctionality'
6
+ export * from './ContactContent'
6
7
  export * from './ContactJumbotron'
7
8
  export * from './CookiePolicyBar'
8
9
  export * from './ErrorContentRatafia'
@@ -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