@npm_leadtech/legal-lib-components 7.42.2 → 7.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/css/styles.css +3 -0
  2. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +3 -0
  3. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +5 -0
  4. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +1 -0
  5. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +46 -0
  6. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +47 -0
  7. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +20 -0
  8. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +5 -0
  9. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +1 -0
  10. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +5 -0
  11. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +2 -0
  12. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +2 -0
  13. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +2 -0
  14. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +2 -2
  15. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.d.ts +1 -6
  16. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +121 -231
  17. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +119 -238
  18. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +5 -5
  19. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +0 -2
  20. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +0 -3
  21. package/dist/src/components/molecules/SubtypeDocumentCard/index.d.ts +1 -1
  22. package/dist/src/components/molecules/SubtypeDocumentCard/index.ts +1 -1
  23. package/dist/src/components/molecules/TextInput/Input.d.ts +1 -1
  24. package/dist/src/components/molecules/TextInput/Input.js +2 -1
  25. package/dist/src/components/molecules/TextInput/Input.tsx +3 -2
  26. package/dist/src/components/molecules/TextInput/TextInput.scss +4 -0
  27. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -1
  28. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +1 -1
  29. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +10 -0
  30. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +5 -2
  31. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +35 -2
  32. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +35 -2
  33. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +7 -2
  34. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +4 -1
  35. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +2 -0
  36. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +4 -1
  37. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +3 -0
  38. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +5 -0
  39. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +26 -0
  40. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +10 -0
  41. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +1 -0
  42. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +16 -0
  43. package/dist/src/components/pages/HowItWorksPage/index.d.ts +2 -0
  44. package/dist/src/components/pages/HowItWorksPage/index.js +2 -0
  45. package/dist/src/components/pages/HowItWorksPage/index.ts +2 -0
  46. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +4 -0
  47. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +12 -0
  48. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +1 -0
  49. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +118 -0
  50. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +119 -0
  51. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +70 -0
  52. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +15 -0
  53. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +1 -0
  54. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +16 -0
  55. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +2 -0
  56. package/dist/src/components/sections/LawGeniusCardsSection/index.js +1 -0
  57. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +2 -0
  58. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +3 -0
  59. package/dist/src/components/sections/TryNowSection/TryNowSection.js +6 -0
  60. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +1 -0
  61. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +190 -0
  62. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +191 -0
  63. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +27 -0
  64. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +8 -0
  65. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +1 -0
  66. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +9 -0
  67. package/dist/src/components/sections/TryNowSection/index.d.ts +2 -0
  68. package/dist/src/components/sections/TryNowSection/index.js +1 -0
  69. package/dist/src/components/sections/TryNowSection/index.ts +2 -0
  70. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +9 -1
  71. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +30 -0
  72. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +30 -0
  73. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +11 -1
  74. package/dist/src/components/sections/index.d.ts +3 -0
  75. package/dist/src/components/sections/index.js +3 -0
  76. package/dist/src/components/sections/index.ts +3 -0
  77. package/dist/tsconfig.build.tsbuildinfo +1 -1
  78. package/package.json +2 -1
@@ -0,0 +1,190 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const TryNowSectionStyled = styled.section `
4
+ .guidelines-section-main {
5
+ display: flex;
6
+ flex-direction: column;
7
+ flex-wrap: nowrap;
8
+ padding: 1.5rem;
9
+
10
+ @media ${device.laptop} {
11
+ flex-direction: row;
12
+ padding: 0;
13
+ }
14
+ }
15
+
16
+ .guidelines-section__texts {
17
+ display: flex;
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ margin-bottom: 1rem;
21
+ margin-right: 0;
22
+ color: var(--neutral-neutral-1);
23
+ font-style: normal;
24
+ font-weight: 400;
25
+ letter-spacing: -0.3px;
26
+
27
+ @media ${device['landscape-tablets']} {
28
+ margin-left: 2rem;
29
+ margin-bottom: 0;
30
+ }
31
+
32
+ &__title {
33
+ font-family: var(--font-sans);
34
+ margin-bottom: 2rem;
35
+ text-align: center;
36
+ font-weight: 700;
37
+ font-size: 1.75rem;
38
+ color: var(--neutral-neutral-1);
39
+ font-style: normal;
40
+ line-height: 32px;
41
+ letter-spacing: -0.3px;
42
+
43
+ @media ${device['landscape-tablets']} {
44
+ text-align: left;
45
+ }
46
+ }
47
+
48
+ &__body {
49
+ font-family: var(--font-sans);
50
+ font-size: 16px;
51
+ line-height: 22px;
52
+
53
+ a {
54
+ color: var(--primary-main-light-1);
55
+ font-weight: 400 !important;
56
+ }
57
+ }
58
+ }
59
+
60
+ .guidelines-section-detail {
61
+ display: flex;
62
+ flex-direction: column;
63
+ gap: 1.5rem;
64
+ margin: 2rem 0 1rem 0;
65
+
66
+ @media ${device.laptop} {
67
+ flex-direction: row;
68
+ }
69
+
70
+ &__item {
71
+ display: flex;
72
+ flex: 1;
73
+ flex-direction: column;
74
+ background: var(--others-white);
75
+ border-radius: var(--m-border-radius);
76
+ padding: 1.5rem;
77
+
78
+ &__image {
79
+ width: 100%;
80
+ border-radius: var(--m-border-radius);
81
+ }
82
+
83
+ &__title {
84
+ font-family: var(--font-sans);
85
+ font-style: normal;
86
+ font-weight: 700;
87
+ font-size: 18px;
88
+ line-height: 24px;
89
+ letter-spacing: -0.3px;
90
+ color: var(--neutral-neutral-1);
91
+ margin: 1.5rem 0 1rem 0;
92
+ }
93
+
94
+ ul {
95
+ list-style-type: disc;
96
+ }
97
+
98
+ ol {
99
+ list-style-type: decimal;
100
+ }
101
+
102
+ ul,
103
+ ol {
104
+ margin-left: 1rem;
105
+ margin-bottom: 1rem;
106
+
107
+ li {
108
+ margin-bottom: 0;
109
+ }
110
+ }
111
+ }
112
+ }
113
+
114
+ .guidelines-section-trial {
115
+ display: flex;
116
+ flex-direction: column;
117
+ gap: 1.5rem;
118
+ margin: 2rem 0 1rem 0;
119
+
120
+ @media ${device.laptop} {
121
+ flex-direction: row;
122
+ }
123
+
124
+ &__texts {
125
+ flex-basis: 50%;
126
+ display: flex;
127
+ flex-direction: column;
128
+ justify-content: flex-start;
129
+ color: var(--neutral-neutral-1);
130
+ font-style: normal;
131
+ font-weight: 400;
132
+ letter-spacing: -0.3px;
133
+ margin-left: 0;
134
+
135
+ &__body {
136
+ font-family: var(--font-sans);
137
+ font-size: 16px;
138
+ line-height: 22px;
139
+ margin-bottom: 1.5rem;
140
+ a {
141
+ color: var(--primary-main-light-1);
142
+ font-weight: 400 !important;
143
+ }
144
+ }
145
+ .e-button {
146
+ height: auto;
147
+ align-self: flex-start;
148
+ margin-top: 2.5rem;
149
+ }
150
+
151
+ @media ${device.tablets} {
152
+ margin-left: 2rem;
153
+ }
154
+ }
155
+
156
+ &__item {
157
+ display: flex;
158
+ flex-direction: column;
159
+ justify-content: space-between;
160
+ background: var(--others-white);
161
+ border-radius: var(--m-border-radius);
162
+
163
+ @media ${device.tablets} {
164
+ padding: 1.5rem;
165
+ flex-direction: row;
166
+ }
167
+ }
168
+ }
169
+
170
+ .guidelines-section__image {
171
+ flex-basis: 50%;
172
+ margin-bottom: 2rem;
173
+
174
+ &.big-devices {
175
+ display: flex;
176
+ }
177
+ &.is-mobile {
178
+ display: flex;
179
+ }
180
+
181
+ @media ${device.mobile} {
182
+ &.big-devices {
183
+ display: flex;
184
+ }
185
+ &.is-mobile {
186
+ display: none;
187
+ }
188
+ }
189
+ }
190
+ `;
@@ -0,0 +1,191 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const TryNowSectionStyled = styled.section`
5
+ .guidelines-section-main {
6
+ display: flex;
7
+ flex-direction: column;
8
+ flex-wrap: nowrap;
9
+ padding: 1.5rem;
10
+
11
+ @media ${device.laptop} {
12
+ flex-direction: row;
13
+ padding: 0;
14
+ }
15
+ }
16
+
17
+ .guidelines-section__texts {
18
+ display: flex;
19
+ flex-direction: column;
20
+ justify-content: center;
21
+ margin-bottom: 1rem;
22
+ margin-right: 0;
23
+ color: var(--neutral-neutral-1);
24
+ font-style: normal;
25
+ font-weight: 400;
26
+ letter-spacing: -0.3px;
27
+
28
+ @media ${device['landscape-tablets']} {
29
+ margin-left: 2rem;
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ &__title {
34
+ font-family: var(--font-sans);
35
+ margin-bottom: 2rem;
36
+ text-align: center;
37
+ font-weight: 700;
38
+ font-size: 1.75rem;
39
+ color: var(--neutral-neutral-1);
40
+ font-style: normal;
41
+ line-height: 32px;
42
+ letter-spacing: -0.3px;
43
+
44
+ @media ${device['landscape-tablets']} {
45
+ text-align: left;
46
+ }
47
+ }
48
+
49
+ &__body {
50
+ font-family: var(--font-sans);
51
+ font-size: 16px;
52
+ line-height: 22px;
53
+
54
+ a {
55
+ color: var(--primary-main-light-1);
56
+ font-weight: 400 !important;
57
+ }
58
+ }
59
+ }
60
+
61
+ .guidelines-section-detail {
62
+ display: flex;
63
+ flex-direction: column;
64
+ gap: 1.5rem;
65
+ margin: 2rem 0 1rem 0;
66
+
67
+ @media ${device.laptop} {
68
+ flex-direction: row;
69
+ }
70
+
71
+ &__item {
72
+ display: flex;
73
+ flex: 1;
74
+ flex-direction: column;
75
+ background: var(--others-white);
76
+ border-radius: var(--m-border-radius);
77
+ padding: 1.5rem;
78
+
79
+ &__image {
80
+ width: 100%;
81
+ border-radius: var(--m-border-radius);
82
+ }
83
+
84
+ &__title {
85
+ font-family: var(--font-sans);
86
+ font-style: normal;
87
+ font-weight: 700;
88
+ font-size: 18px;
89
+ line-height: 24px;
90
+ letter-spacing: -0.3px;
91
+ color: var(--neutral-neutral-1);
92
+ margin: 1.5rem 0 1rem 0;
93
+ }
94
+
95
+ ul {
96
+ list-style-type: disc;
97
+ }
98
+
99
+ ol {
100
+ list-style-type: decimal;
101
+ }
102
+
103
+ ul,
104
+ ol {
105
+ margin-left: 1rem;
106
+ margin-bottom: 1rem;
107
+
108
+ li {
109
+ margin-bottom: 0;
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+ .guidelines-section-trial {
116
+ display: flex;
117
+ flex-direction: column;
118
+ gap: 1.5rem;
119
+ margin: 2rem 0 1rem 0;
120
+
121
+ @media ${device.laptop} {
122
+ flex-direction: row;
123
+ }
124
+
125
+ &__texts {
126
+ flex-basis: 50%;
127
+ display: flex;
128
+ flex-direction: column;
129
+ justify-content: flex-start;
130
+ color: var(--neutral-neutral-1);
131
+ font-style: normal;
132
+ font-weight: 400;
133
+ letter-spacing: -0.3px;
134
+ margin-left: 0;
135
+
136
+ &__body {
137
+ font-family: var(--font-sans);
138
+ font-size: 16px;
139
+ line-height: 22px;
140
+ margin-bottom: 1.5rem;
141
+ a {
142
+ color: var(--primary-main-light-1);
143
+ font-weight: 400 !important;
144
+ }
145
+ }
146
+ .e-button {
147
+ height: auto;
148
+ align-self: flex-start;
149
+ margin-top: 2.5rem;
150
+ }
151
+
152
+ @media ${device.tablets} {
153
+ margin-left: 2rem;
154
+ }
155
+ }
156
+
157
+ &__item {
158
+ display: flex;
159
+ flex-direction: column;
160
+ justify-content: space-between;
161
+ background: var(--others-white);
162
+ border-radius: var(--m-border-radius);
163
+
164
+ @media ${device.tablets} {
165
+ padding: 1.5rem;
166
+ flex-direction: row;
167
+ }
168
+ }
169
+ }
170
+
171
+ .guidelines-section__image {
172
+ flex-basis: 50%;
173
+ margin-bottom: 2rem;
174
+
175
+ &.big-devices {
176
+ display: flex;
177
+ }
178
+ &.is-mobile {
179
+ display: flex;
180
+ }
181
+
182
+ @media ${device.mobile} {
183
+ &.big-devices {
184
+ display: flex;
185
+ }
186
+ &.is-mobile {
187
+ display: none;
188
+ }
189
+ }
190
+ }
191
+ `
@@ -0,0 +1,27 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { Button, RichTextInner } from '../../atoms'
4
+ import { type TryNowSectionProps } from './TryNowSectionProps'
5
+ import { TryNowSectionStyled } from './TryNowSection.styled'
6
+
7
+ export const TryNowSection: FC<TryNowSectionProps> = ({ text, buttonText, buttonLink, buttonDataQa, image }) => {
8
+ return (
9
+ <TryNowSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive try-us-section'>
10
+ <div className='guidelines-section-trial wrapper'>
11
+ <div className='guidelines-section-trial__item'>
12
+ <div className='guidelines-section__image big-devices'>{image}</div>
13
+ <div className='guidelines-section-trial__texts'>
14
+ <RichTextInner customClass='guidelines-section__texts__body'>{text}</RichTextInner>
15
+ <Button
16
+ givenClass='mid-banner-ratafia-content__cta'
17
+ dataQa={buttonDataQa}
18
+ link={buttonLink}
19
+ color='primary'
20
+ label={buttonText}
21
+ />
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </TryNowSectionStyled>
26
+ )
27
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface TryNowSectionProps {
3
+ text: React.ReactNode;
4
+ buttonText: string;
5
+ buttonLink: string;
6
+ buttonDataQa: string;
7
+ image?: React.ReactNode;
8
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react'
2
+
3
+ export interface TryNowSectionProps {
4
+ text: React.ReactNode
5
+ buttonText: string
6
+ buttonLink: string
7
+ buttonDataQa: string
8
+ image?: React.ReactNode
9
+ }
@@ -0,0 +1,2 @@
1
+ export { TryNowSection } from './TryNowSection';
2
+ export type { TryNowSectionProps } from './TryNowSectionProps';
@@ -0,0 +1 @@
1
+ export { TryNowSection } from './TryNowSection';
@@ -0,0 +1,2 @@
1
+ export { TryNowSection } from './TryNowSection'
2
+ export type { TryNowSectionProps } from './TryNowSectionProps'
@@ -1,7 +1,15 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
3
3
  import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
4
+ import classNames from 'classnames';
4
5
  const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
5
- return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, type: contentTryOurFreeLegalBlogs.type, children: contentTryOurFreeLegalBlogs.children }) }));
6
+ const classTry = classNames({
7
+ default: contentTryOurFreeLegalBlogs.type === 'Default',
8
+ 'wrapper wrapper--responsive our-mission': contentTryOurFreeLegalBlogs.type === 'Our Mission',
9
+ 'wrapper wrapper--responsive our-mission-first-image': contentTryOurFreeLegalBlogs.type === 'Our Mission First Image',
10
+ 'wrapper wrapper--responsive how-it-works': contentTryOurFreeLegalBlogs.type === 'How It Works',
11
+ 'how-it-works-first-image': contentTryOurFreeLegalBlogs.type === 'How It Works First Image'
12
+ });
13
+ return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: `try-our-free-legal-blogs-section ${classTry}`, children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, type: contentTryOurFreeLegalBlogs.type, imageFirstOnMobile: contentTryOurFreeLegalBlogs.imageFirstOnMobile ?? false, children: contentTryOurFreeLegalBlogs.children }) }));
6
14
  };
7
15
  export default TryOurFreeLegalBlogsSection;
@@ -7,4 +7,34 @@ export const TryOurFreeLegalBlogsSectionStyled = styled.section `
7
7
  @media ${device['landscape-tablets']} {
8
8
  flex-flow: row nowrap;
9
9
  }
10
+
11
+ &.how-it-works-first-image {
12
+ display: flex;
13
+ justify-content: center;
14
+ align-content: center;
15
+ width: 100%;
16
+ padding: 2rem 1.5rem;
17
+ background-color: var(--neutral-neutral-6);
18
+
19
+ @media ${device.laptop} {
20
+ padding: 3rem 2rem;
21
+ }
22
+
23
+ @media ${device['desktop-xl']} {
24
+ padding: 3rem 0;
25
+ }
26
+
27
+ .try-our-free-legal-blogs-section-content--how-it-works-first-image {
28
+ max-width: 1200px;
29
+ display: flex;
30
+ flex-direction: column;
31
+ justify-content: center;
32
+ align-items: center;
33
+ align-self: stretch;
34
+
35
+ @media ${device['landscape-tablets']} {
36
+ flex-flow: row-reverse nowrap;
37
+ }
38
+ }
39
+ }
10
40
  `;
@@ -8,4 +8,34 @@ export const TryOurFreeLegalBlogsSectionStyled = styled.section`
8
8
  @media ${device['landscape-tablets']} {
9
9
  flex-flow: row nowrap;
10
10
  }
11
+
12
+ &.how-it-works-first-image {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-content: center;
16
+ width: 100%;
17
+ padding: 2rem 1.5rem;
18
+ background-color: var(--neutral-neutral-6);
19
+
20
+ @media ${device.laptop} {
21
+ padding: 3rem 2rem;
22
+ }
23
+
24
+ @media ${device['desktop-xl']} {
25
+ padding: 3rem 0;
26
+ }
27
+
28
+ .try-our-free-legal-blogs-section-content--how-it-works-first-image {
29
+ max-width: 1200px;
30
+ display: flex;
31
+ flex-direction: column;
32
+ justify-content: center;
33
+ align-items: center;
34
+ align-self: stretch;
35
+
36
+ @media ${device['landscape-tablets']} {
37
+ flex-flow: row-reverse nowrap;
38
+ }
39
+ }
40
+ }
11
41
  `
@@ -3,14 +3,24 @@ import React, { type FC } from 'react'
3
3
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent'
4
4
  import { type TryOurFreeLegalBlogsSectionProps } from './TryOurFreeLegalBlogsSectionProps.types'
5
5
  import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled'
6
+ import classNames from 'classnames'
6
7
 
7
8
  const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
9
+ const classTry = classNames({
10
+ default: contentTryOurFreeLegalBlogs.type === 'Default',
11
+ 'wrapper wrapper--responsive our-mission': contentTryOurFreeLegalBlogs.type === 'Our Mission',
12
+ 'wrapper wrapper--responsive our-mission-first-image':
13
+ contentTryOurFreeLegalBlogs.type === 'Our Mission First Image',
14
+ 'wrapper wrapper--responsive how-it-works': contentTryOurFreeLegalBlogs.type === 'How It Works',
15
+ 'how-it-works-first-image': contentTryOurFreeLegalBlogs.type === 'How It Works First Image'
16
+ })
8
17
  return (
9
- <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
18
+ <TryOurFreeLegalBlogsSectionStyled className={`try-our-free-legal-blogs-section ${classTry}`}>
10
19
  <TryOurFreeLegalBlogsContent
11
20
  title={contentTryOurFreeLegalBlogs.title}
12
21
  image={contentTryOurFreeLegalBlogs.image}
13
22
  type={contentTryOurFreeLegalBlogs.type}
23
+ imageFirstOnMobile={contentTryOurFreeLegalBlogs.imageFirstOnMobile ?? false}
14
24
  >
15
25
  {contentTryOurFreeLegalBlogs.children}
16
26
  </TryOurFreeLegalBlogsContent>
@@ -14,7 +14,9 @@ export * from './GuidelinesSection';
14
14
  export * from './HowGetYourFormsSection';
15
15
  export * from './JumbotronRatafiaSection';
16
16
  export * from './JumbotronSimplifiedSection';
17
+ export * from './LawGeniusCardsSection';
17
18
  export * from './LegalSection';
19
+ export * from './LawGeniusCardsSection';
18
20
  export * from './MidBannerRatafiaSection';
19
21
  export * from './MoreDocsSection';
20
22
  export * from './PeopleSayAboutUsSection';
@@ -22,6 +24,7 @@ export * from './StepsRatafiaSection';
22
24
  export * from './TryItRatafiaSection';
23
25
  export * from './TryOurFreeLegalBlogsSection';
24
26
  export * from './TryUsSection';
27
+ export * from './TryNowSection';
25
28
  export * from './UnsubscribeSection';
26
29
  export * from './WhyLawDistrictSection';
27
30
  export * from './LearnMoreSection';
@@ -14,7 +14,9 @@ export * from './GuidelinesSection';
14
14
  export * from './HowGetYourFormsSection';
15
15
  export * from './JumbotronRatafiaSection';
16
16
  export * from './JumbotronSimplifiedSection';
17
+ export * from './LawGeniusCardsSection';
17
18
  export * from './LegalSection';
19
+ export * from './LawGeniusCardsSection';
18
20
  export * from './MidBannerRatafiaSection';
19
21
  export * from './MoreDocsSection';
20
22
  export * from './PeopleSayAboutUsSection';
@@ -22,6 +24,7 @@ export * from './StepsRatafiaSection';
22
24
  export * from './TryItRatafiaSection';
23
25
  export * from './TryOurFreeLegalBlogsSection';
24
26
  export * from './TryUsSection';
27
+ export * from './TryNowSection';
25
28
  export * from './UnsubscribeSection';
26
29
  export * from './WhyLawDistrictSection';
27
30
  export * from './LearnMoreSection';
@@ -14,7 +14,9 @@ export * from './GuidelinesSection'
14
14
  export * from './HowGetYourFormsSection'
15
15
  export * from './JumbotronRatafiaSection'
16
16
  export * from './JumbotronSimplifiedSection'
17
+ export * from './LawGeniusCardsSection'
17
18
  export * from './LegalSection'
19
+ export * from './LawGeniusCardsSection'
18
20
  export * from './MidBannerRatafiaSection'
19
21
  export * from './MoreDocsSection'
20
22
  export * from './PeopleSayAboutUsSection'
@@ -22,6 +24,7 @@ export * from './StepsRatafiaSection'
22
24
  export * from './TryItRatafiaSection'
23
25
  export * from './TryOurFreeLegalBlogsSection'
24
26
  export * from './TryUsSection'
27
+ export * from './TryNowSection'
25
28
  export * from './UnsubscribeSection'
26
29
  export * from './WhyLawDistrictSection'
27
30
  export * from './LearnMoreSection'