@npm_leadtech/legal-lib-components 7.40.3 → 7.41.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 (65) hide show
  1. package/dist/src/components/atoms/Divider/Divider.js +2 -4
  2. package/dist/src/components/atoms/Divider/Divider.styled.js +6 -0
  3. package/dist/src/components/atoms/Divider/Divider.styled.ts +6 -0
  4. package/dist/src/components/atoms/Divider/Divider.tsx +10 -6
  5. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -5
  6. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -35
  7. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -35
  8. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +2 -7
  9. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -4
  10. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
  11. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -4
  12. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
  13. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -30
  14. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -30
  15. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -11
  16. package/dist/src/components/sections/index.d.ts +0 -3
  17. package/dist/src/components/sections/index.js +0 -3
  18. package/dist/src/components/sections/index.ts +0 -3
  19. package/dist/tsconfig.build.tsbuildinfo +1 -1
  20. package/package.json +1 -2
  21. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
  22. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
  23. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
  24. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -46
  25. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -47
  26. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
  27. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
  28. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
  29. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
  30. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
  31. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
  32. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
  33. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
  34. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
  35. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
  36. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
  37. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
  38. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
  39. package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
  40. package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
  41. package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
  42. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
  43. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
  44. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
  45. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -118
  46. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -119
  47. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -70
  48. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
  49. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
  50. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
  51. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
  52. package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
  53. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
  54. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
  55. package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
  56. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
  57. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -190
  58. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -191
  59. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -27
  60. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
  61. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
  62. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
  63. package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
  64. package/dist/src/components/sections/TryNowSection/index.js +0 -1
  65. package/dist/src/components/sections/TryNowSection/index.ts +0 -2
@@ -1,8 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DividerStyled } from './Divider.styled';
3
3
  const Divider = ({ containerClass, lineClass, text, image }) => {
4
- if (text?.length === 0 || image?.length === 0)
5
- return null;
6
- return (_jsxs(DividerStyled, { className: `divider ${containerClass ?? ''}`, children: [_jsx("div", { className: `divider__line ${lineClass ?? ''}` }), text !== undefined && _jsx("p", { className: 'divider__word', children: text }), image !== undefined && _jsx("img", { className: 'divider__image', src: image, alt: '', role: 'img' }), _jsx("div", { className: `divider__line ${lineClass ?? ''}` })] }));
4
+ return (_jsx(DividerStyled, { className: `divider ${containerClass ?? ''}`, children: text?.length === 0 || image?.length === 0 ? (_jsx("div", { className: `divider__line--complete ${lineClass ?? ''}` })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: `divider__line ${lineClass ?? ''}` }), text !== undefined && _jsx("p", { className: 'divider__word', children: text }), image !== undefined && _jsx("img", { className: 'divider__image', src: image, alt: '', role: 'img' }), _jsx("div", { className: `divider__line ${lineClass ?? ''}` })] })) }));
7
5
  };
8
6
  export default Divider;
@@ -11,6 +11,12 @@ export const DividerStyled = styled.div `
11
11
  border-bottom: 1px solid var(--neutral-neutral-4);
12
12
  }
13
13
 
14
+ &__line--complete {
15
+ width: 100%;
16
+ height: 0px;
17
+ border-bottom: 1px solid var(--neutral-neutral-4);
18
+ }
19
+
14
20
  &__word,
15
21
  &__image {
16
22
  width: fit-content;
@@ -12,6 +12,12 @@ export const DividerStyled = styled.div`
12
12
  border-bottom: 1px solid var(--neutral-neutral-4);
13
13
  }
14
14
 
15
+ &__line--complete {
16
+ width: 100%;
17
+ height: 0px;
18
+ border-bottom: 1px solid var(--neutral-neutral-4);
19
+ }
20
+
15
21
  &__word,
16
22
  &__image {
17
23
  width: fit-content;
@@ -4,14 +4,18 @@ import { type DividerProps } from './DividerProps.types'
4
4
  import { DividerStyled } from './Divider.styled'
5
5
 
6
6
  const Divider: FC<DividerProps> = ({ containerClass, lineClass, text, image }) => {
7
- if (text?.length === 0 || image?.length === 0) return null
8
-
9
7
  return (
10
8
  <DividerStyled className={`divider ${containerClass ?? ''}`}>
11
- <div className={`divider__line ${lineClass ?? ''}`}></div>
12
- {text !== undefined && <p className='divider__word'>{text}</p>}
13
- {image !== undefined && <img className='divider__image' src={image} alt='' role='img'></img>}
14
- <div className={`divider__line ${lineClass ?? ''}`}></div>
9
+ {text?.length === 0 || image?.length === 0 ? (
10
+ <div className={`divider__line--complete ${lineClass ?? ''}`}></div>
11
+ ) : (
12
+ <>
13
+ <div className={`divider__line ${lineClass ?? ''}`}></div>
14
+ {text !== undefined && <p className='divider__word'>{text}</p>}
15
+ {image !== undefined && <img className='divider__image' src={image} alt='' role='img'></img>}
16
+ <div className={`divider__line ${lineClass ?? ''}`}></div>
17
+ </>
18
+ )}
15
19
  </DividerStyled>
16
20
  )
17
21
  }
@@ -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, imageFirstOnMobile = false }) => {
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
  `
@@ -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
  }
@@ -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
- 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 }) }));
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
  `
@@ -3,24 +3,14 @@ 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={`try-our-free-legal-blogs-section ${classTry}`}>
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}
22
13
  type={contentTryOurFreeLegalBlogs.type}
23
- imageFirstOnMobile={contentTryOurFreeLegalBlogs.imageFirstOnMobile ?? false}
24
14
  >
25
15
  {contentTryOurFreeLegalBlogs.children}
26
16
  </TryOurFreeLegalBlogsContent>
@@ -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'