@npm_leadtech/legal-lib-components 7.40.2 → 7.40.4
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.
- package/dist/css/styles.css +4 -2
- package/dist/src/components/molecules/TextInput/TextInput.scss +4 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -5
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -35
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -35
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +2 -7
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -4
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -4
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -30
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -30
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -10
- package/dist/src/components/sections/index.d.ts +0 -3
- package/dist/src/components/sections/index.js +0 -3
- package/dist/src/components/sections/index.ts +0 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -46
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -47
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
- package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
- package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
- package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
- package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
- package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
- package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
- package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
- package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -118
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -119
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -70
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
- package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
- package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
- package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
- package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
- package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
- package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -190
- package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -191
- package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -27
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
- package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
- package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
- package/dist/src/components/sections/TryNowSection/index.js +0 -1
- package/dist/src/components/sections/TryNowSection/index.ts +0 -2
package/dist/css/styles.css
CHANGED
|
@@ -2114,9 +2114,11 @@ h2.react-datepicker__current-month {
|
|
|
2114
2114
|
.e-text--is-invalid .e-text__error {
|
|
2115
2115
|
display: flex;
|
|
2116
2116
|
align-content: center;
|
|
2117
|
-
bottom: -5.5rem;
|
|
2118
|
-
margin-top: 0.5rem;
|
|
2119
2117
|
color: var(--error-main);
|
|
2118
|
+
position: absolute;
|
|
2119
|
+
bottom: -1.5rem;
|
|
2120
|
+
align-items: center;
|
|
2121
|
+
height: fit-content;
|
|
2120
2122
|
}
|
|
2121
2123
|
.e-text--is-invalid .e-text__error-icon {
|
|
2122
2124
|
display: flex;
|
|
@@ -107,9 +107,11 @@
|
|
|
107
107
|
.e-text__error {
|
|
108
108
|
display: flex;
|
|
109
109
|
align-content: center;
|
|
110
|
-
bottom: -5.5rem;
|
|
111
|
-
margin-top: 0.5rem;
|
|
112
110
|
color: var(--error-main);
|
|
111
|
+
position: absolute;
|
|
112
|
+
bottom: -1.5rem;
|
|
113
|
+
align-items: center;
|
|
114
|
+
height: fit-content;
|
|
113
115
|
|
|
114
116
|
&-icon {
|
|
115
117
|
display: flex;
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js
CHANGED
|
@@ -3,14 +3,11 @@ import { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentPr
|
|
|
3
3
|
import { RichTextInner } from '../../atoms';
|
|
4
4
|
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
|
-
const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFreeLegalBlogsContentType.default
|
|
6
|
+
const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFreeLegalBlogsContentType.default }) => {
|
|
7
7
|
const classTry = classNames({
|
|
8
8
|
'try-our-free-legal-blogs-section-content': true,
|
|
9
9
|
'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
|
|
10
|
-
'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
11
|
-
'try-our-free-legal-blogs-section-content--how-it-works': TryOurFreeLegalBlogsContentType.howItWorks === type,
|
|
12
|
-
'try-our-free-legal-blogs-section-content--how-it-works-first-image': TryOurFreeLegalBlogsContentType.howItWorksFirstImage === type,
|
|
13
|
-
'try-our-free-legal-blogs-section-content--image-first-mobile': imageFirstOnMobile
|
|
10
|
+
'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
14
11
|
});
|
|
15
12
|
return (_jsxs(TryOurFreeLegalBlogsContentStyled, { className: classTry, children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
|
|
16
13
|
};
|
|
@@ -7,8 +7,7 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
|
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
&.try-our-free-legal-blogs-section-content--our-mission
|
|
11
|
-
&.try-our-free-legal-blogs-section-content--how-it-works {
|
|
10
|
+
&.try-our-free-legal-blogs-section-content--our-mission {
|
|
12
11
|
margin-top: 1.5rem;
|
|
13
12
|
margin-bottom: 1.5rem;
|
|
14
13
|
align-items: center;
|
|
@@ -31,8 +30,7 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
|
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
&.try-our-free-legal-blogs-section-content--our-mission-first-image
|
|
35
|
-
&.try-our-free-legal-blogs-section-content--how-it-works-first-image {
|
|
33
|
+
&.try-our-free-legal-blogs-section-content--our-mission-first-image {
|
|
36
34
|
margin-top: 1.5rem;
|
|
37
35
|
margin-bottom: 1.5rem;
|
|
38
36
|
align-items: center;
|
|
@@ -103,35 +101,4 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
|
|
|
103
101
|
.try-our-free-legal-blogs-section__image {
|
|
104
102
|
flex-basis: 50%;
|
|
105
103
|
}
|
|
106
|
-
|
|
107
|
-
&.try-our-free-legal-blogs-section-content--image-first-mobile {
|
|
108
|
-
.try-our-free-legal-blogs-section__texts {
|
|
109
|
-
order: 2;
|
|
110
|
-
@media ${device['landscape-tablets']} {
|
|
111
|
-
order: 1;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.try-our-free-legal-blogs-section__image {
|
|
116
|
-
order: 1;
|
|
117
|
-
margin-bottom: 2rem;
|
|
118
|
-
@media ${device['landscape-tablets']} {
|
|
119
|
-
order: 2;
|
|
120
|
-
margin-bottom: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&.try-our-free-legal-blogs-section-content--how-it-works {
|
|
126
|
-
ul {
|
|
127
|
-
list-style-type: disc;
|
|
128
|
-
padding-left: 1.2rem;
|
|
129
|
-
li {
|
|
130
|
-
margin-bottom: 0;
|
|
131
|
-
a {
|
|
132
|
-
text-decoration: underline;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
104
|
`;
|
|
@@ -8,8 +8,7 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
|
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
&.try-our-free-legal-blogs-section-content--our-mission
|
|
12
|
-
&.try-our-free-legal-blogs-section-content--how-it-works {
|
|
11
|
+
&.try-our-free-legal-blogs-section-content--our-mission {
|
|
13
12
|
margin-top: 1.5rem;
|
|
14
13
|
margin-bottom: 1.5rem;
|
|
15
14
|
align-items: center;
|
|
@@ -32,8 +31,7 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
|
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
&.try-our-free-legal-blogs-section-content--our-mission-first-image
|
|
36
|
-
&.try-our-free-legal-blogs-section-content--how-it-works-first-image {
|
|
34
|
+
&.try-our-free-legal-blogs-section-content--our-mission-first-image {
|
|
37
35
|
margin-top: 1.5rem;
|
|
38
36
|
margin-bottom: 1.5rem;
|
|
39
37
|
align-items: center;
|
|
@@ -104,35 +102,4 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
|
|
|
104
102
|
.try-our-free-legal-blogs-section__image {
|
|
105
103
|
flex-basis: 50%;
|
|
106
104
|
}
|
|
107
|
-
|
|
108
|
-
&.try-our-free-legal-blogs-section-content--image-first-mobile {
|
|
109
|
-
.try-our-free-legal-blogs-section__texts {
|
|
110
|
-
order: 2;
|
|
111
|
-
@media ${device['landscape-tablets']} {
|
|
112
|
-
order: 1;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.try-our-free-legal-blogs-section__image {
|
|
117
|
-
order: 1;
|
|
118
|
-
margin-bottom: 2rem;
|
|
119
|
-
@media ${device['landscape-tablets']} {
|
|
120
|
-
order: 2;
|
|
121
|
-
margin-bottom: 0;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.try-our-free-legal-blogs-section-content--how-it-works {
|
|
127
|
-
ul {
|
|
128
|
-
list-style-type: disc;
|
|
129
|
-
padding-left: 1.2rem;
|
|
130
|
-
li {
|
|
131
|
-
margin-bottom: 0;
|
|
132
|
-
a {
|
|
133
|
-
text-decoration: underline;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
105
|
`
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx
CHANGED
|
@@ -12,18 +12,13 @@ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
|
|
|
12
12
|
title,
|
|
13
13
|
image,
|
|
14
14
|
children,
|
|
15
|
-
type = TryOurFreeLegalBlogsContentType.default
|
|
16
|
-
imageFirstOnMobile = false
|
|
15
|
+
type = TryOurFreeLegalBlogsContentType.default
|
|
17
16
|
}) => {
|
|
18
17
|
const classTry = classNames({
|
|
19
18
|
'try-our-free-legal-blogs-section-content': true,
|
|
20
19
|
'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
|
|
21
20
|
'try-our-free-legal-blogs-section-content--our-mission-first-image':
|
|
22
|
-
TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
23
|
-
'try-our-free-legal-blogs-section-content--how-it-works': TryOurFreeLegalBlogsContentType.howItWorks === type,
|
|
24
|
-
'try-our-free-legal-blogs-section-content--how-it-works-first-image':
|
|
25
|
-
TryOurFreeLegalBlogsContentType.howItWorksFirstImage === type,
|
|
26
|
-
'try-our-free-legal-blogs-section-content--image-first-mobile': imageFirstOnMobile
|
|
21
|
+
TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
27
22
|
})
|
|
28
23
|
return (
|
|
29
24
|
<TryOurFreeLegalBlogsContentStyled className={classTry}>
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
export declare enum TryOurFreeLegalBlogsContentType {
|
|
2
2
|
default = "Default",
|
|
3
3
|
ourMission = "Our Mission",
|
|
4
|
-
ourMissionFirstImage = "Our Mission First Image"
|
|
5
|
-
howItWorks = "How It Works",
|
|
6
|
-
howItWorksFirstImage = "How It Works First Image"
|
|
4
|
+
ourMissionFirstImage = "Our Mission First Image"
|
|
7
5
|
}
|
|
8
6
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
9
7
|
title: string;
|
|
10
8
|
image: React.ReactNode;
|
|
11
9
|
children: React.ReactNode;
|
|
12
10
|
type?: TryOurFreeLegalBlogsContentType;
|
|
13
|
-
imageFirstOnMobile?: boolean;
|
|
14
11
|
}
|
|
@@ -3,6 +3,4 @@ export var TryOurFreeLegalBlogsContentType;
|
|
|
3
3
|
TryOurFreeLegalBlogsContentType["default"] = "Default";
|
|
4
4
|
TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
|
|
5
5
|
TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
|
|
6
|
-
TryOurFreeLegalBlogsContentType["howItWorks"] = "How It Works";
|
|
7
|
-
TryOurFreeLegalBlogsContentType["howItWorksFirstImage"] = "How It Works First Image";
|
|
8
6
|
})(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export enum TryOurFreeLegalBlogsContentType {
|
|
2
2
|
default = 'Default',
|
|
3
3
|
ourMission = 'Our Mission',
|
|
4
|
-
ourMissionFirstImage = 'Our Mission First Image'
|
|
5
|
-
howItWorks = 'How It Works',
|
|
6
|
-
howItWorksFirstImage = 'How It Works First Image'
|
|
4
|
+
ourMissionFirstImage = 'Our Mission First Image'
|
|
7
5
|
}
|
|
8
6
|
|
|
9
7
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
@@ -11,5 +9,4 @@ export interface TryOurFreeLegalBlogsContentProps {
|
|
|
11
9
|
image: React.ReactNode
|
|
12
10
|
children: React.ReactNode
|
|
13
11
|
type?: TryOurFreeLegalBlogsContentType
|
|
14
|
-
imageFirstOnMobile?: boolean
|
|
15
12
|
}
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
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';
|
|
5
4
|
const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
|
|
6
|
-
|
|
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, children: contentTryOurFreeLegalBlogs.children }) }));
|
|
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 }) }));
|
|
14
6
|
};
|
|
15
7
|
export default TryOurFreeLegalBlogsSection;
|
|
@@ -7,34 +7,4 @@ 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
|
-
}
|
|
40
10
|
`;
|
|
@@ -8,34 +8,4 @@ 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
|
-
}
|
|
41
11
|
`
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx
CHANGED
|
@@ -3,19 +3,10 @@ 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'
|
|
7
6
|
|
|
8
7
|
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
|
-
})
|
|
17
8
|
return (
|
|
18
|
-
<TryOurFreeLegalBlogsSectionStyled className=
|
|
9
|
+
<TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
|
|
19
10
|
<TryOurFreeLegalBlogsContent
|
|
20
11
|
title={contentTryOurFreeLegalBlogs.title}
|
|
21
12
|
image={contentTryOurFreeLegalBlogs.image}
|
|
@@ -14,9 +14,7 @@ export * from './GuidelinesSection';
|
|
|
14
14
|
export * from './HowGetYourFormsSection';
|
|
15
15
|
export * from './JumbotronRatafiaSection';
|
|
16
16
|
export * from './JumbotronSimplifiedSection';
|
|
17
|
-
export * from './LawGeniusCardsSection';
|
|
18
17
|
export * from './LegalSection';
|
|
19
|
-
export * from './LawGeniusCardsSection';
|
|
20
18
|
export * from './MidBannerRatafiaSection';
|
|
21
19
|
export * from './MoreDocsSection';
|
|
22
20
|
export * from './PeopleSayAboutUsSection';
|
|
@@ -24,7 +22,6 @@ export * from './StepsRatafiaSection';
|
|
|
24
22
|
export * from './TryItRatafiaSection';
|
|
25
23
|
export * from './TryOurFreeLegalBlogsSection';
|
|
26
24
|
export * from './TryUsSection';
|
|
27
|
-
export * from './TryNowSection';
|
|
28
25
|
export * from './UnsubscribeSection';
|
|
29
26
|
export * from './WhyLawDistrictSection';
|
|
30
27
|
export * from './LearnMoreSection';
|
|
@@ -14,9 +14,7 @@ export * from './GuidelinesSection';
|
|
|
14
14
|
export * from './HowGetYourFormsSection';
|
|
15
15
|
export * from './JumbotronRatafiaSection';
|
|
16
16
|
export * from './JumbotronSimplifiedSection';
|
|
17
|
-
export * from './LawGeniusCardsSection';
|
|
18
17
|
export * from './LegalSection';
|
|
19
|
-
export * from './LawGeniusCardsSection';
|
|
20
18
|
export * from './MidBannerRatafiaSection';
|
|
21
19
|
export * from './MoreDocsSection';
|
|
22
20
|
export * from './PeopleSayAboutUsSection';
|
|
@@ -24,7 +22,6 @@ export * from './StepsRatafiaSection';
|
|
|
24
22
|
export * from './TryItRatafiaSection';
|
|
25
23
|
export * from './TryOurFreeLegalBlogsSection';
|
|
26
24
|
export * from './TryUsSection';
|
|
27
|
-
export * from './TryNowSection';
|
|
28
25
|
export * from './UnsubscribeSection';
|
|
29
26
|
export * from './WhyLawDistrictSection';
|
|
30
27
|
export * from './LearnMoreSection';
|
|
@@ -14,9 +14,7 @@ export * from './GuidelinesSection'
|
|
|
14
14
|
export * from './HowGetYourFormsSection'
|
|
15
15
|
export * from './JumbotronRatafiaSection'
|
|
16
16
|
export * from './JumbotronSimplifiedSection'
|
|
17
|
-
export * from './LawGeniusCardsSection'
|
|
18
17
|
export * from './LegalSection'
|
|
19
|
-
export * from './LawGeniusCardsSection'
|
|
20
18
|
export * from './MidBannerRatafiaSection'
|
|
21
19
|
export * from './MoreDocsSection'
|
|
22
20
|
export * from './PeopleSayAboutUsSection'
|
|
@@ -24,7 +22,6 @@ export * from './StepsRatafiaSection'
|
|
|
24
22
|
export * from './TryItRatafiaSection'
|
|
25
23
|
export * from './TryOurFreeLegalBlogsSection'
|
|
26
24
|
export * from './TryUsSection'
|
|
27
|
-
export * from './TryNowSection'
|
|
28
25
|
export * from './UnsubscribeSection'
|
|
29
26
|
export * from './WhyLawDistrictSection'
|
|
30
27
|
export * from './LearnMoreSection'
|