@npm_leadtech/legal-lib-components 5.3.13 → 5.3.14

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 (201) hide show
  1. package/dist/css/styles.css +1075 -0
  2. package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
  3. package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +4 -0
  4. package/dist/src/components/atoms/ContactCard/ContactCard.js +6 -0
  5. package/dist/src/components/{sections/BlogSection/BlogSection.styled.d.ts → atoms/ContactCard/ContactCard.styled.d.ts} +1 -1
  6. package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +38 -0
  7. package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +39 -0
  8. package/dist/src/components/atoms/ContactCard/ContactCard.tsx +38 -0
  9. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +9 -0
  10. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +1 -0
  11. package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +9 -0
  12. package/dist/src/components/atoms/ContactCard/index.d.ts +2 -0
  13. package/dist/src/components/atoms/ContactCard/index.js +1 -0
  14. package/dist/src/components/atoms/ContactCard/index.ts +2 -0
  15. package/dist/src/components/atoms/index.d.ts +1 -0
  16. package/dist/src/components/atoms/index.js +1 -0
  17. package/dist/src/components/atoms/index.ts +1 -0
  18. package/dist/src/components/molecules/Article/Article.js +3 -2
  19. package/dist/src/components/molecules/Article/Article.scss +17 -0
  20. package/dist/src/components/molecules/Article/Article.tsx +17 -2
  21. package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
  22. package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -0
  23. package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +4 -0
  24. package/dist/src/components/molecules/ContactCardList/ContactCardList.js +7 -0
  25. package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +1 -0
  26. package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js → molecules/ContactCardList/ContactCardList.styled.js} +4 -5
  27. package/dist/src/components/{sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts → molecules/ContactCardList/ContactCardList.styled.ts} +4 -5
  28. package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +17 -0
  29. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +4 -0
  30. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +1 -0
  31. package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +5 -0
  32. package/dist/src/components/molecules/ContactCardList/index.d.ts +2 -0
  33. package/dist/src/components/molecules/ContactCardList/index.js +1 -0
  34. package/dist/src/components/molecules/ContactCardList/index.ts +2 -0
  35. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  36. package/dist/src/components/molecules/index.d.ts +1 -0
  37. package/dist/src/components/molecules/index.js +1 -0
  38. package/dist/src/components/molecules/index.ts +1 -0
  39. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
  40. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
  41. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +1 -0
  42. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
  43. package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +4 -0
  44. package/dist/src/components/organisms/ContactContent/ContactContent.js +9 -0
  45. package/dist/src/components/{sections/AboutUsSection/AboutUsSection.styled.d.ts → organisms/ContactContent/ContactContent.styled.d.ts} +1 -1
  46. package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +28 -0
  47. package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +29 -0
  48. package/dist/src/components/organisms/ContactContent/ContactContent.tsx +20 -0
  49. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +6 -0
  50. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +1 -0
  51. package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +7 -0
  52. package/dist/src/components/organisms/ContactContent/index.d.ts +2 -0
  53. package/dist/src/components/organisms/ContactContent/index.js +1 -0
  54. package/dist/src/components/organisms/ContactContent/index.ts +2 -0
  55. package/dist/src/components/organisms/index.d.ts +1 -0
  56. package/dist/src/components/organisms/index.js +1 -0
  57. package/dist/src/components/organisms/index.ts +1 -0
  58. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  59. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
  60. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  61. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +3 -3
  62. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +36 -0
  63. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +5 -21
  64. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +3 -6
  65. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +3 -6
  66. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  67. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
  68. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  69. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  70. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
  71. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  72. package/dist/src/components/sections/BlogSection/BlogSection.js +4 -4
  73. package/dist/src/components/sections/BlogSection/BlogSection.scss +54 -0
  74. package/dist/src/components/sections/BlogSection/BlogSection.tsx +11 -8
  75. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
  76. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
  77. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  78. package/dist/src/components/sections/ContactSection/{ContactSection.styled.ts → ContactSection.scss} +9 -9
  79. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  80. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  81. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
  82. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  83. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  84. package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
  85. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  86. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  87. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
  88. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  89. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +1 -2
  90. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
  91. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +2 -3
  92. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  93. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +12 -0
  94. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  95. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  96. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.styled.ts → HowGetYourFormsSection.scss} +8 -7
  97. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  98. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  99. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
  100. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +3 -6
  101. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  102. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
  103. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  104. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  105. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.styled.ts → LearnMoreSection.scss} +12 -12
  106. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  107. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  108. package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
  109. package/dist/src/components/sections/LegalSection/LegalSection.tsx +3 -3
  110. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
  111. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
  112. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  113. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  114. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +42 -0
  115. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  116. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  117. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
  118. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +4 -3
  119. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
  120. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
  121. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
  122. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  123. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
  124. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  125. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  126. package/dist/src/components/sections/TryUsSection/{TryUsSection.styled.ts → TryUsSection.scss} +5 -5
  127. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  128. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  129. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
  130. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  131. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  132. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +35 -0
  133. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +4 -3
  134. package/dist/src/custom.d.ts +1 -1
  135. package/dist/src/globalStyles/styles.scss +25 -0
  136. package/dist/tsconfig.build.tsbuildinfo +1 -1
  137. package/package.json +1 -1
  138. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +0 -53
  139. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +0 -54
  140. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +0 -1
  141. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +0 -97
  142. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +0 -98
  143. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +0 -1
  144. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +0 -51
  145. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +0 -52
  146. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +0 -1
  147. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +0 -54
  148. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +0 -55
  149. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -32
  150. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -33
  151. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +0 -1
  152. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -89
  153. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +0 -1
  154. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -27
  155. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -28
  156. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +0 -1
  157. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +0 -29
  158. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +0 -30
  159. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +0 -1
  160. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -56
  161. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -57
  162. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +0 -1
  163. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +0 -1
  164. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -10
  165. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -11
  166. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +0 -1
  167. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -24
  168. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +0 -1
  169. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +0 -39
  170. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +0 -40
  171. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +0 -1
  172. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +0 -40
  173. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +0 -41
  174. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +0 -1
  175. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +0 -106
  176. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +0 -1
  177. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +0 -121
  178. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +0 -122
  179. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.d.ts +0 -1
  180. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +0 -46
  181. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +0 -47
  182. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +0 -1
  183. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +0 -43
  184. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +0 -44
  185. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +0 -1
  186. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +0 -55
  187. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +0 -56
  188. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +0 -1
  189. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +0 -70
  190. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +0 -71
  191. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +0 -1
  192. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -10
  193. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -11
  194. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +0 -1
  195. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +0 -23
  196. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +0 -1
  197. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +0 -63
  198. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +0 -64
  199. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +0 -1
  200. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -36
  201. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -37
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.70531 0.705315C8.31578 0.31578 7.68422 0.31578 7.29468 0.705316C6.9054 1.0946 6.90511 1.72568 7.29405 2.11531L12.17 7H0.999999C0.447714 7 0 7.44772 0 8C0 8.55229 0.447715 9 1 9H12.17L7.29405 13.8847C6.90511 14.2743 6.9054 14.9054 7.29468 15.2947C7.68422 15.6842 8.31578 15.6842 8.70532 15.2947L15.2929 8.70711C15.6834 8.31658 15.6834 7.68342 15.2929 7.29289L8.70531 0.705315Z" fill="#078080"/>
3
+ </svg>
@@ -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'
@@ -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'
@@ -1,7 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg';
2
3
  import { Button } from '../../atoms';
3
4
  // import './Article.scss'
4
- const Article = ({ imageUrl, title, articleUrl, summary }) => {
5
- return (_jsxs("div", { className: 'article', children: [_jsx("img", { src: imageUrl, className: 'image', loading: 'lazy', alt: title }), _jsxs("div", { className: 'information', children: [_jsx("a", { href: articleUrl, target: '_blank', rel: 'noreferrer', children: _jsxs("p", { className: 'title sans-serif --big', children: [title, " "] }) }), _jsx("div", { className: 'summary', children: summary }), _jsx(Button, { color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true })] })] }));
5
+ const Article = ({ imageUrl, title, articleUrl, summary, isCategoryProductPage }) => {
6
+ return (_jsxs("div", { className: 'article', children: [_jsx("img", { src: imageUrl, className: 'image', loading: 'lazy', alt: title }), _jsxs("div", { className: 'information', children: [_jsx("a", { href: articleUrl, target: '_blank', rel: 'noreferrer', children: _jsxs("p", { className: 'title sans-serif --big', children: [title, " "] }) }), _jsx("div", { className: 'summary', children: summary }), isCategoryProductPage ? (_jsxs("div", { className: 'button-image-container', children: [_jsx(Button, { givenClass: 'thinner-letter', color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true }), _jsx("img", { className: 'article__arrow-right', src: ArrowRight, alt: '' })] })) : (_jsx(Button, { color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true }))] })] }));
6
7
  };
7
8
  export default Article;
@@ -62,5 +62,22 @@
62
62
  margin-top: 0;
63
63
  }
64
64
  }
65
+
66
+ .button-image-container {
67
+ align-items: center;
68
+ margin: 1rem 0 2rem 0;
69
+ display: flex;
70
+
71
+ .thinner-letter {
72
+ font-family: $font-sans;
73
+ font-size: 16px;
74
+ font-weight: 400;
75
+ line-height: 22px;
76
+ letter-spacing: -0.3px;
77
+ text-align: left;
78
+ margin: 0;
79
+ padding: 0 1rem 0 0;
80
+ }
81
+ }
65
82
  }
66
83
  }
@@ -1,10 +1,11 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
+ import ArrowRight from '../../../../images/svg/arrow-right-24px-outlined.svg'
3
4
  import { type ArticleProps } from './ArticleProps.types'
4
5
  import { Button } from '../../atoms'
5
6
  // import './Article.scss'
6
7
 
7
- const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary }) => {
8
+ const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary, isCategoryProductPage }) => {
8
9
  return (
9
10
  <div className='article'>
10
11
  <img src={imageUrl} className='image' loading='lazy' alt={title} />
@@ -13,7 +14,21 @@ const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary }) =>
13
14
  <p className='title sans-serif --big'>{title} </p>
14
15
  </a>
15
16
  <div className='summary'>{summary}</div>
16
- <Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
17
+ {isCategoryProductPage ? (
18
+ <div className='button-image-container'>
19
+ <Button
20
+ givenClass='thinner-letter'
21
+ color='tertiary'
22
+ label={'Read more'}
23
+ dataQa='article-read-more'
24
+ link={articleUrl}
25
+ isExternal
26
+ />
27
+ <img className='article__arrow-right' src={ArrowRight} alt=''></img>
28
+ </div>
29
+ ) : (
30
+ <Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
31
+ )}
17
32
  </div>
18
33
  </div>
19
34
  )
@@ -4,4 +4,5 @@ export interface ArticleProps {
4
4
  articleUrl: string;
5
5
  summary: string;
6
6
  id: string;
7
+ isCategoryProductPage: boolean;
7
8
  }
@@ -4,4 +4,5 @@ export interface ArticleProps {
4
4
  articleUrl: string
5
5
  summary: string
6
6
  id: string
7
+ isCategoryProductPage: boolean
7
8
  }
@@ -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'
@@ -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'
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Article } from '../../molecules';
3
3
  // import './ArticlesList.scss'
4
- const ArticlesList = ({ articles = [] }) => {
4
+ const ArticlesList = ({ articles = [], isCategoryProductPage = false }) => {
5
5
  if (articles?.length === 0)
6
6
  return null;
7
- return (_jsx("div", { className: 'articles_wrapper', children: articles.map((article) => (_jsx(Article, { ...article }, `article_${article?.id}`))) }));
7
+ return (_jsx("div", { className: 'articles_wrapper', children: articles.map((article) => (_jsx(Article, { ...article, isCategoryProductPage: isCategoryProductPage }, `article_${article?.id}`))) }));
8
8
  };
9
9
  export default ArticlesList;
@@ -5,13 +5,13 @@ import { Article, type ArticleProps } from '../../molecules'
5
5
  import { type ArticlesListProps } from './ArticlesListProps.types'
6
6
  // import './ArticlesList.scss'
7
7
 
8
- const ArticlesList: FC<ArticlesListProps> = ({ articles = [] }) => {
8
+ const ArticlesList: FC<ArticlesListProps> = ({ articles = [], isCategoryProductPage = false }) => {
9
9
  if (articles?.length === 0) return null
10
10
 
11
11
  return (
12
12
  <div className='articles_wrapper'>
13
13
  {articles.map((article: ArticleProps) => (
14
- <Article key={`article_${article?.id}`} {...article} />
14
+ <Article key={`article_${article?.id}`} {...article} isCategoryProductPage={isCategoryProductPage} />
15
15
  ))}
16
16
  </div>
17
17
  )
@@ -1,4 +1,5 @@
1
1
  import { type ArticleProps } from '../../molecules';
2
2
  export interface ArticlesListProps {
3
3
  articles: ArticleProps[];
4
+ isCategoryProductPage?: boolean;
4
5
  }
@@ -2,4 +2,5 @@ import { type ArticleProps } from '../../molecules'
2
2
 
3
3
  export interface ArticlesListProps {
4
4
  articles: ArticleProps[]
5
+ isCategoryProductPage?: boolean
5
6
  }
@@ -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';