@npm_leadtech/legal-lib-components 7.30.3 → 7.30.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/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js
CHANGED
|
@@ -5,11 +5,11 @@ import classNames from 'classnames';
|
|
|
5
5
|
const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
|
|
6
6
|
const classTry = classNames({
|
|
7
7
|
default: contentTryOurFreeLegalBlogs.type === 'Default',
|
|
8
|
-
'our-mission': contentTryOurFreeLegalBlogs.type === 'Our Mission',
|
|
9
|
-
'our-mission-first-image': contentTryOurFreeLegalBlogs.type === 'Our Mission First Image',
|
|
10
|
-
'how-it-works': contentTryOurFreeLegalBlogs.type === 'How It Works',
|
|
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
11
|
'how-it-works-first-image': contentTryOurFreeLegalBlogs.type === 'How It Works First Image'
|
|
12
12
|
});
|
|
13
|
-
return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: `try-our-free-legal-blogs-section
|
|
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 }) }));
|
|
14
14
|
};
|
|
15
15
|
export default TryOurFreeLegalBlogsSection;
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx
CHANGED
|
@@ -8,15 +8,14 @@ import classNames from 'classnames'
|
|
|
8
8
|
const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
|
|
9
9
|
const classTry = classNames({
|
|
10
10
|
default: contentTryOurFreeLegalBlogs.type === 'Default',
|
|
11
|
-
'our-mission': contentTryOurFreeLegalBlogs.type === 'Our Mission',
|
|
12
|
-
'our-mission-first-image':
|
|
13
|
-
|
|
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',
|
|
14
15
|
'how-it-works-first-image': contentTryOurFreeLegalBlogs.type === 'How It Works First Image'
|
|
15
16
|
})
|
|
16
17
|
return (
|
|
17
|
-
<TryOurFreeLegalBlogsSectionStyled
|
|
18
|
-
className={`try-our-free-legal-blogs-section wrapper wrapper--responsive ${classTry}`}
|
|
19
|
-
>
|
|
18
|
+
<TryOurFreeLegalBlogsSectionStyled className={`try-our-free-legal-blogs-section ${classTry}`}>
|
|
20
19
|
<TryOurFreeLegalBlogsContent
|
|
21
20
|
title={contentTryOurFreeLegalBlogs.title}
|
|
22
21
|
image={contentTryOurFreeLegalBlogs.image}
|