@npm_leadtech/legal-lib-components 5.5.0 → 5.6.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 (145) hide show
  1. package/dist/css/styles.css +0 -1041
  2. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +3 -5
  3. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +3 -5
  4. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +1 -1
  5. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +2 -2
  6. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +1 -0
  7. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +53 -0
  8. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +54 -0
  9. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +3 -3
  10. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
  11. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.d.ts +1 -0
  12. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +36 -0
  13. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +37 -0
  14. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +3 -3
  15. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +2 -2
  16. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.d.ts +1 -0
  17. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.js +51 -0
  18. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.styled.ts +52 -0
  19. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +3 -3
  20. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +2 -2
  21. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.d.ts +1 -0
  22. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.js +54 -0
  23. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.styled.ts +55 -0
  24. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +3 -3
  25. package/dist/src/components/sections/BlogSection/BlogSection.js +2 -1
  26. package/dist/src/components/sections/BlogSection/BlogSection.styled.d.ts +1 -0
  27. package/dist/src/components/sections/BlogSection/BlogSection.styled.js +32 -0
  28. package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +33 -0
  29. package/dist/src/components/sections/BlogSection/BlogSection.tsx +3 -2
  30. package/dist/src/components/sections/ContactSection/ContactSection.js +2 -2
  31. package/dist/src/components/sections/ContactSection/ContactSection.styled.d.ts +1 -0
  32. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +89 -0
  33. package/dist/src/components/sections/ContactSection/{ContactSection.scss → ContactSection.styled.ts} +9 -9
  34. package/dist/src/components/sections/ContactSection/ContactSection.tsx +3 -3
  35. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  36. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.d.ts +1 -0
  37. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +27 -0
  38. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +28 -0
  39. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +3 -3
  40. package/dist/src/components/sections/FaqSection/FaqSection.js +2 -2
  41. package/dist/src/components/sections/FaqSection/FaqSection.styled.d.ts +1 -0
  42. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +29 -0
  43. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +30 -0
  44. package/dist/src/components/sections/FaqSection/FaqSection.tsx +3 -3
  45. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +2 -2
  46. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.d.ts +1 -0
  47. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +56 -0
  48. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +57 -0
  49. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +3 -3
  50. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +2 -1
  51. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.d.ts +1 -0
  52. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.js +14 -0
  53. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.styled.ts +15 -0
  54. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +3 -2
  55. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +2 -2
  56. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.d.ts +1 -0
  57. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +10 -0
  58. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +11 -0
  59. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +3 -3
  60. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +2 -2
  61. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.d.ts +1 -0
  62. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +24 -0
  63. package/dist/src/components/sections/HowGetYourFormsSection/{HowGetYourFormsSection.scss → HowGetYourFormsSection.styled.ts} +7 -8
  64. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +3 -3
  65. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +2 -2
  66. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.d.ts +1 -0
  67. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +39 -0
  68. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +40 -0
  69. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +6 -3
  70. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +2 -2
  71. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.d.ts +1 -0
  72. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.js +40 -0
  73. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.styled.ts +41 -0
  74. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +3 -3
  75. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +2 -2
  76. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.d.ts +1 -0
  77. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +106 -0
  78. package/dist/src/components/sections/LearnMoreSection/{LearnMoreSection.scss → LearnMoreSection.styled.ts} +12 -12
  79. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +3 -3
  80. package/dist/src/components/sections/LegalSection/LegalSection.js +2 -2
  81. package/dist/src/components/sections/LegalSection/LegalSection.styled.d.ts +1 -0
  82. package/dist/src/components/sections/LegalSection/LegalSection.styled.js +121 -0
  83. package/dist/src/components/sections/LegalSection/LegalSection.styled.ts +122 -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.styled.d.ts +1 -0
  87. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +46 -0
  88. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +47 -0
  89. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +3 -3
  90. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
  91. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.d.ts +1 -0
  92. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +43 -0
  93. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +44 -0
  94. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +3 -3
  95. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  96. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.d.ts +1 -0
  97. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +55 -0
  98. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +56 -0
  99. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +3 -4
  100. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
  101. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.d.ts +1 -0
  102. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.js +70 -0
  103. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.styled.ts +71 -0
  104. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
  105. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +2 -2
  106. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.d.ts +1 -0
  107. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +10 -0
  108. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +11 -0
  109. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +3 -3
  110. package/dist/src/components/sections/TryUsSection/TryUsSection.js +2 -2
  111. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.d.ts +1 -0
  112. package/dist/src/components/sections/TryUsSection/TryUsSection.styled.js +23 -0
  113. package/dist/src/components/sections/TryUsSection/{TryUsSection.scss → TryUsSection.styled.ts} +5 -5
  114. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +3 -3
  115. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +2 -2
  116. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.d.ts +1 -0
  117. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.js +63 -0
  118. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.styled.ts +64 -0
  119. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +3 -3
  120. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +2 -2
  121. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.d.ts +1 -0
  122. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +36 -0
  123. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +37 -0
  124. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +3 -4
  125. package/dist/src/globalStyles/styles.scss +0 -25
  126. package/dist/tsconfig.build.tsbuildinfo +1 -1
  127. package/package.json +1 -1
  128. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +0 -52
  129. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +0 -50
  130. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +0 -57
  131. package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -33
  132. package/dist/src/components/sections/FaqSection/FaqSection.scss +0 -31
  133. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -57
  134. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
  135. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +0 -12
  136. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +0 -41
  137. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +0 -41
  138. package/dist/src/components/sections/LegalSection/LegalSection.scss +0 -120
  139. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +0 -47
  140. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +0 -42
  141. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +0 -53
  142. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +0 -69
  143. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +0 -11
  144. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +0 -62
  145. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -35
@@ -0,0 +1,33 @@
1
+ import { device, size } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const BlogSectionStyled = styled.div`
5
+ text-align: center;
6
+ margin: 0 auto 3rem;
7
+ padding: 0 1rem;
8
+ max-width: ${size.md};
9
+
10
+ @media ${device.laptop} {
11
+ padding: 0;
12
+ }
13
+ @media ${device.desktop} {
14
+ max-width: ${size.lg};
15
+ }
16
+
17
+ .blog__title {
18
+ color: var(--primary-main-dark-1);
19
+
20
+ @media ${device.laptop} {
21
+ margin-bottom: 3rem;
22
+ }
23
+ }
24
+
25
+ .cta-button {
26
+ width: 100%;
27
+ margin-top: 3rem;
28
+ display: inline-block;
29
+ @media ${device['landscape-tablets']} {
30
+ width: auto;
31
+ }
32
+ }
33
+ `
@@ -3,6 +3,7 @@ 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'
6
7
  import { Button } from '../../atoms'
7
8
  // import './BlogSection.scss'
8
9
 
@@ -10,11 +11,11 @@ const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta, articles }) =>
10
11
  if (articles.articles?.length === 0) return null
11
12
 
12
13
  return (
13
- <div className={'blog'}>
14
+ <BlogSectionStyled className={'blog'}>
14
15
  <h2 className={'serif --super-large blog__title'}>{blogTitle}</h2>
15
16
  <ArticlesList articles={articles.articles} />
16
17
  <Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />
17
- </div>
18
+ </BlogSectionStyled>
18
19
  )
19
20
  }
20
21
 
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { BoxForm } from '../../molecules';
3
3
  import { ContactJumbotron } from '../../organisms';
4
- // import './ContactSection.scss'
4
+ import { ContactSectionStyled } from './ContactSection.styled';
5
5
  export const ContactSection = ({ contactJumbotronProps, contactForm }) => {
6
- return (_jsx("section", { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
6
+ return (_jsx(ContactSectionStyled, { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
7
7
  };
@@ -0,0 +1 @@
1
+ export declare const ContactSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,89 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ContactSectionStyled = styled.section `
4
+ background-color: var(--primary-main-light-6);
5
+
6
+ span > a {
7
+ text-decoration: underline;
8
+ }
9
+
10
+ .wrapper--contact {
11
+ padding-left: 0;
12
+ padding-right: 0;
13
+
14
+ @media ${device['portrait-tablets']} {
15
+ padding-left: 1.5rem;
16
+ padding-right: 1.5rem;
17
+ }
18
+ }
19
+
20
+ .contact__main {
21
+ display: flex;
22
+ flex-direction: column-reverse;
23
+
24
+ @media ${device['portrait-tablets']} {
25
+ flex-direction: row;
26
+ justify-content: space-between;
27
+ }
28
+ }
29
+
30
+ .contact-left-container {
31
+ padding-left: 1.5rem;
32
+ padding-right: 1.5rem;
33
+
34
+ @media ${device['portrait-tablets']} {
35
+ padding-left: 0;
36
+ padding-right: 0;
37
+ width: 45%;
38
+ }
39
+ }
40
+
41
+ .contact-right-container {
42
+ display: flex;
43
+ justify-content: flex-start;
44
+ background-color: var(--primary-main-light-6);
45
+ margin-bottom: 2.5rem;
46
+ width: 100%;
47
+
48
+ @media ${device['portrait-tablets']} {
49
+ background-size: 21rem;
50
+ background-repeat: no-repeat;
51
+ background-position: 100% 100%;
52
+ margin-bottom: 0;
53
+ padding-bottom: 0;
54
+ width: 45%;
55
+ }
56
+
57
+ @media ${device.laptop} {
58
+ padding-bottom: 12rem;
59
+ }
60
+
61
+ .rec-text-container .rectangle-text__container {
62
+ margin-top: 1rem;
63
+ width: 100%;
64
+ background-color: gray;
65
+ }
66
+
67
+ .contact__form {
68
+ width: 100%;
69
+ }
70
+
71
+ .small-container {
72
+ margin: 1.5rem 0;
73
+
74
+ small {
75
+ text-align: center;
76
+ }
77
+ }
78
+
79
+ .sign-in-container {
80
+ display: flex;
81
+ justify-content: space-between;
82
+ align-items: center;
83
+
84
+ p {
85
+ margin-bottom: 0;
86
+ }
87
+ }
88
+ }
89
+ `;
@@ -1,7 +1,7 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
3
 
4
- .contact-container {
4
+ export const ContactSectionStyled = styled.section`
5
5
  background-color: var(--primary-main-light-6);
6
6
 
7
7
  span > a {
@@ -12,7 +12,7 @@
12
12
  padding-left: 0;
13
13
  padding-right: 0;
14
14
 
15
- @include portrait-tablets {
15
+ @media ${device['portrait-tablets']} {
16
16
  padding-left: 1.5rem;
17
17
  padding-right: 1.5rem;
18
18
  }
@@ -22,7 +22,7 @@
22
22
  display: flex;
23
23
  flex-direction: column-reverse;
24
24
 
25
- @include portrait-tablets {
25
+ @media ${device['portrait-tablets']} {
26
26
  flex-direction: row;
27
27
  justify-content: space-between;
28
28
  }
@@ -32,7 +32,7 @@
32
32
  padding-left: 1.5rem;
33
33
  padding-right: 1.5rem;
34
34
 
35
- @include portrait-tablets {
35
+ @media ${device['portrait-tablets']} {
36
36
  padding-left: 0;
37
37
  padding-right: 0;
38
38
  width: 45%;
@@ -46,7 +46,7 @@
46
46
  margin-bottom: 2.5rem;
47
47
  width: 100%;
48
48
 
49
- @include portrait-tablets {
49
+ @media ${device['portrait-tablets']} {
50
50
  background-size: 21rem;
51
51
  background-repeat: no-repeat;
52
52
  background-position: 100% 100%;
@@ -55,7 +55,7 @@
55
55
  width: 45%;
56
56
  }
57
57
 
58
- @include laptop {
58
+ @media ${device.laptop} {
59
59
  padding-bottom: 12rem;
60
60
  }
61
61
 
@@ -87,4 +87,4 @@
87
87
  }
88
88
  }
89
89
  }
90
- }
90
+ `
@@ -3,11 +3,11 @@ import React, { type FC } from 'react'
3
3
  import { BoxForm } from '../../molecules'
4
4
  import { ContactJumbotron } from '../../organisms'
5
5
  import { type ContactSectionProps } from './ContactSectionProps'
6
- // import './ContactSection.scss'
6
+ import { ContactSectionStyled } from './ContactSection.styled'
7
7
 
8
8
  export const ContactSection: FC<ContactSectionProps> = ({ contactJumbotronProps, contactForm }) => {
9
9
  return (
10
- <section className='contact-container'>
10
+ <ContactSectionStyled className='contact-container'>
11
11
  <div className='wrapper wrapper--responsive wrapper--contact'>
12
12
  <div className='contact__main'>
13
13
  <div className='contact-left-container'>
@@ -20,6 +20,6 @@ export const ContactSection: FC<ContactSectionProps> = ({ contactJumbotronProps,
20
20
  </div>
21
21
  </div>
22
22
  </div>
23
- </section>
23
+ </ContactSectionStyled>
24
24
  )
25
25
  }
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ExpertCardList } from '../../molecules';
3
- // import './ExpertsSection.scss'
3
+ import { ExpertsSectionStyled } from './ExpertsSection.styled';
4
4
  const ExpertsSection = ({ title, contentExpertCardList }) => {
5
5
  if (contentExpertCardList.contentExpertCard.length === 0) {
6
6
  return null;
7
7
  }
8
- return (_jsxs("div", { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
8
+ return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
9
9
  };
10
10
  export default ExpertsSection;
@@ -0,0 +1 @@
1
+ export declare const ExpertsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,27 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const ExpertsSectionStyled = styled.div `
4
+ display: flex;
5
+ justify-content: center;
6
+ flex-direction: column;
7
+ background-color: var(--neutral-neutral-6);
8
+ margin-bottom: 4rem;
9
+
10
+ .experts-section {
11
+ &__title {
12
+ font-family: var(--font-serif);
13
+ font-size: 32px;
14
+ font-weight: 400;
15
+ line-height: 42px;
16
+ letter-spacing: -0.3px;
17
+ text-align: center;
18
+ margin: 0 auto 5rem;
19
+ width: 90%;
20
+ transform: translateY(50px);
21
+
22
+ @media ${device['landscape-tablets']} {
23
+ width: 100%;
24
+ }
25
+ }
26
+ }
27
+ `;
@@ -0,0 +1,28 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const ExpertsSectionStyled = styled.div`
5
+ display: flex;
6
+ justify-content: center;
7
+ flex-direction: column;
8
+ background-color: var(--neutral-neutral-6);
9
+ margin-bottom: 4rem;
10
+
11
+ .experts-section {
12
+ &__title {
13
+ font-family: var(--font-serif);
14
+ font-size: 32px;
15
+ font-weight: 400;
16
+ line-height: 42px;
17
+ letter-spacing: -0.3px;
18
+ text-align: center;
19
+ margin: 0 auto 5rem;
20
+ width: 90%;
21
+ transform: translateY(50px);
22
+
23
+ @media ${device['landscape-tablets']} {
24
+ width: 100%;
25
+ }
26
+ }
27
+ }
28
+ `
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { ExpertCardList } from '../../molecules'
4
4
  import { type ExpertsSectionProps } from './ExpertsSectionProps.types'
5
- // import './ExpertsSection.scss'
5
+ import { ExpertsSectionStyled } from './ExpertsSection.styled'
6
6
 
7
7
  const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
8
8
  if (contentExpertCardList.contentExpertCard.length === 0) {
@@ -10,10 +10,10 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList
10
10
  }
11
11
 
12
12
  return (
13
- <div className='experts-section'>
13
+ <ExpertsSectionStyled className='experts-section'>
14
14
  <h2 className='experts-section__title'>{title}</h2>
15
15
  <ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
16
- </div>
16
+ </ExpertsSectionStyled>
17
17
  )
18
18
  }
19
19
 
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { FaqGroup } from '../../organisms';
4
- // import './FaqSection.scss'
4
+ import { FaqSectionStyled } from './FaqSection.styled';
5
5
  export const FaqSection = ({ groups, givenClass }) => {
6
6
  const classnames = classNames(`faqSection ${givenClass ?? ''}`);
7
- return (_jsx("section", { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups.map((group) => (_jsx(FaqGroup, { ...group }, group.id))) }));
7
+ return (_jsx(FaqSectionStyled, { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups.map((group) => (_jsx(FaqGroup, { ...group }, group.id))) }));
8
8
  };
@@ -0,0 +1 @@
1
+ export declare const FaqSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,29 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const FaqSectionStyled = styled.section `
4
+ display: flex;
5
+ padding-bottom: 40px;
6
+ flex-direction: column;
7
+ gap: 40px;
8
+ max-width: 700px;
9
+ width: 100%;
10
+
11
+ .faq-ratafia-section {
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ padding: 3rem 1.5rem 5rem 1.5rem;
16
+ max-width: none;
17
+ background: var(--neutral-neutral-6);
18
+
19
+ @media ${device.laptop} {
20
+ padding: 3rem 2rem 5rem 2rem;
21
+ }
22
+ @media ${device.desktop} {
23
+ padding: 3rem 13.75rem 5rem 13.75rem;
24
+ }
25
+ @media ${device['desktop-xl']} {
26
+ padding: 3rem 28rem 5rem 28rem;
27
+ }
28
+ }
29
+ `;
@@ -0,0 +1,30 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const FaqSectionStyled = styled.section`
5
+ display: flex;
6
+ padding-bottom: 40px;
7
+ flex-direction: column;
8
+ gap: 40px;
9
+ max-width: 700px;
10
+ width: 100%;
11
+
12
+ .faq-ratafia-section {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ padding: 3rem 1.5rem 5rem 1.5rem;
17
+ max-width: none;
18
+ background: var(--neutral-neutral-6);
19
+
20
+ @media ${device.laptop} {
21
+ padding: 3rem 2rem 5rem 2rem;
22
+ }
23
+ @media ${device.desktop} {
24
+ padding: 3rem 13.75rem 5rem 13.75rem;
25
+ }
26
+ @media ${device['desktop-xl']} {
27
+ padding: 3rem 28rem 5rem 28rem;
28
+ }
29
+ }
30
+ `
@@ -3,16 +3,16 @@ import classNames from 'classnames'
3
3
 
4
4
  import { FaqGroup } from '../../organisms'
5
5
  import { type FaqSectionProps } from './FaqSectionProps'
6
- // import './FaqSection.scss'
6
+ import { FaqSectionStyled } from './FaqSection.styled'
7
7
 
8
8
  export const FaqSection: React.FC<FaqSectionProps> = ({ groups, givenClass }) => {
9
9
  const classnames = classNames(`faqSection ${givenClass ?? ''}`)
10
10
 
11
11
  return (
12
- <section className={classnames} itemScope itemType='https://www.schema.org/FAQPage'>
12
+ <FaqSectionStyled className={classnames} itemScope itemType='https://www.schema.org/FAQPage'>
13
13
  {groups.map((group) => (
14
14
  <FaqGroup key={group.id} {...group} />
15
15
  ))}
16
- </section>
16
+ </FaqSectionStyled>
17
17
  )
18
18
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { FeaturesRatafiaContent } from '../../organisms';
3
- // import './FeaturesRatafiaSection.scss'
3
+ import { FeaturesRatafiaSectionStyled } from './FeaturesRatafiaSection.styled';
4
4
  const FeaturesRatafiaSection = ({ content, children }) => {
5
- return (_jsx("section", { className: 'features-ratafia-section', children: _jsxs("div", { className: 'features-ratafia-section__wrapper', children: [_jsx("div", { className: 'features-ratafia-section__wrapper__content', children: _jsx(FeaturesRatafiaContent, { title: content.title, description: content.description, notReleasedText: content.notReleasedText, features: content.features }) }), _jsx("span", { className: 'features-ratafia-section__wrapper__children', children: children })] }) }));
5
+ return (_jsx(FeaturesRatafiaSectionStyled, { className: 'features-ratafia-section', children: _jsxs("div", { className: 'features-ratafia-section__wrapper', children: [_jsx("div", { className: 'features-ratafia-section__wrapper__content', children: _jsx(FeaturesRatafiaContent, { title: content.title, description: content.description, notReleasedText: content.notReleasedText, features: content.features }) }), _jsx("span", { className: 'features-ratafia-section__wrapper__children', children: children })] }) }));
6
6
  };
7
7
  export default FeaturesRatafiaSection;
@@ -0,0 +1 @@
1
+ export declare const FeaturesRatafiaSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,56 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const FeaturesRatafiaSectionStyled = styled.section `
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ align-self: stretch;
8
+ width: 100%;
9
+ padding: 2rem 1.5rem;
10
+
11
+ @media ${device.laptop} {
12
+ padding: 3rem 2rem;
13
+ gap: 1.5rem;
14
+ }
15
+ @media ${device['desktop-xl']} {
16
+ padding: 3rem 0;
17
+ gap: 5rem;
18
+ }
19
+
20
+ .features-ratafia-section {
21
+ &__wrapper {
22
+ display: flex;
23
+ justify-content: center;
24
+ align-items: center;
25
+ align-self: stretch;
26
+
27
+ width: 100%;
28
+ max-width: 1200px;
29
+
30
+ @media ${device.laptop} {
31
+ gap: 1.5rem;
32
+ }
33
+ @media ${device['desktop-xl']} {
34
+ gap: 5rem;
35
+ }
36
+ &__content {
37
+ width: 100%;
38
+ }
39
+
40
+ &__children {
41
+ display: none;
42
+ //TODO: Check again with the real container;
43
+ min-width: 50%;
44
+
45
+ @media ${device.desktop} {
46
+ display: flex;
47
+ flex-direction: column;
48
+ align-items: center;
49
+ }
50
+ img {
51
+ width: 100%;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ `;
@@ -0,0 +1,57 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const FeaturesRatafiaSectionStyled = styled.section`
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ align-self: stretch;
9
+ width: 100%;
10
+ padding: 2rem 1.5rem;
11
+
12
+ @media ${device.laptop} {
13
+ padding: 3rem 2rem;
14
+ gap: 1.5rem;
15
+ }
16
+ @media ${device['desktop-xl']} {
17
+ padding: 3rem 0;
18
+ gap: 5rem;
19
+ }
20
+
21
+ .features-ratafia-section {
22
+ &__wrapper {
23
+ display: flex;
24
+ justify-content: center;
25
+ align-items: center;
26
+ align-self: stretch;
27
+
28
+ width: 100%;
29
+ max-width: 1200px;
30
+
31
+ @media ${device.laptop} {
32
+ gap: 1.5rem;
33
+ }
34
+ @media ${device['desktop-xl']} {
35
+ gap: 5rem;
36
+ }
37
+ &__content {
38
+ width: 100%;
39
+ }
40
+
41
+ &__children {
42
+ display: none;
43
+ //TODO: Check again with the real container;
44
+ min-width: 50%;
45
+
46
+ @media ${device.desktop} {
47
+ display: flex;
48
+ flex-direction: column;
49
+ align-items: center;
50
+ }
51
+ img {
52
+ width: 100%;
53
+ }
54
+ }
55
+ }
56
+ }
57
+ `
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { FeaturesRatafiaContent } from '../../organisms'
4
4
  import { type FeaturesRatafiaSectionProps } from './FeaturesRatafiaSectionProps.types'
5
- // import './FeaturesRatafiaSection.scss'
5
+ import { FeaturesRatafiaSectionStyled } from './FeaturesRatafiaSection.styled'
6
6
 
7
7
  const FeaturesRatafiaSection: FC<FeaturesRatafiaSectionProps> = ({ content, children }) => {
8
8
  return (
9
- <section className='features-ratafia-section'>
9
+ <FeaturesRatafiaSectionStyled className='features-ratafia-section'>
10
10
  <div className='features-ratafia-section__wrapper'>
11
11
  <div className='features-ratafia-section__wrapper__content'>
12
12
  <FeaturesRatafiaContent
@@ -18,7 +18,7 @@ const FeaturesRatafiaSection: FC<FeaturesRatafiaSectionProps> = ({ content, chil
18
18
  </div>
19
19
  <span className='features-ratafia-section__wrapper__children'>{children}</span>
20
20
  </div>
21
- </section>
21
+ </FeaturesRatafiaSectionStyled>
22
22
  )
23
23
  }
24
24
 
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { CardFunctionality } from '../../organisms';
3
+ import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled';
3
4
  // import './FunctionalityCardsSection.scss'
4
5
  export const FunctionalityCardsSection = ({ cards = [] }) => {
5
6
  if (cards.length === 0)
6
7
  return null;
7
- return (_jsx("section", { className: 'functionality-cards', children: cards.map((card) => (_jsx(CardFunctionality, { ...card }, card.id))) }));
8
+ return (_jsx(FunctionalityCardsSectionStyled, { className: 'functionality-cards', children: cards.map((card) => (_jsx(CardFunctionality, { ...card }, card.id))) }));
8
9
  };
@@ -0,0 +1 @@
1
+ export declare const FunctionalityCardsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,14 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const FunctionalityCardsSectionStyled = styled.section `
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: $global-gap;
7
+ margin-bottom: 2rem;
8
+ width: 100%;
9
+
10
+ @media ${device.laptop} {
11
+ flex-direction: row;
12
+ width: 50%;
13
+ }
14
+ `;
@@ -0,0 +1,15 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const FunctionalityCardsSectionStyled = styled.section`
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: $global-gap;
8
+ margin-bottom: 2rem;
9
+ width: 100%;
10
+
11
+ @media ${device.laptop} {
12
+ flex-direction: row;
13
+ width: 50%;
14
+ }
15
+ `
@@ -2,16 +2,17 @@ import React from 'react'
2
2
 
3
3
  import { CardFunctionality } from '../../organisms'
4
4
  import { type FunctionalityCardsSectionProps } from './FunctionalityCardsSectionProps'
5
+ import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled'
5
6
  // import './FunctionalityCardsSection.scss'
6
7
 
7
8
  export const FunctionalityCardsSection: React.FC<FunctionalityCardsSectionProps> = ({ cards = [] }) => {
8
9
  if (cards.length === 0) return null
9
10
 
10
11
  return (
11
- <section className='functionality-cards'>
12
+ <FunctionalityCardsSectionStyled className='functionality-cards'>
12
13
  {cards.map((card) => (
13
14
  <CardFunctionality key={card.id} {...card} />
14
15
  ))}
15
- </section>
16
+ </FunctionalityCardsSectionStyled>
16
17
  )
17
18
  }