@npm_leadtech/legal-lib-components 7.25.5 → 7.25.6

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 (91) hide show
  1. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +7 -7
  2. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +7 -7
  3. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +1 -1
  4. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +1 -1
  5. package/dist/src/components/atoms/RatafiaLandingIcon/RatafiaLandingIcon.scss +2 -1
  6. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +7 -1
  7. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +7 -2
  8. package/dist/src/components/atoms/TopBar/TopBar.styled.js +1 -1
  9. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +1 -1
  10. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
  11. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
  12. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.js +1 -1
  13. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.ts +1 -1
  14. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.js +1 -1
  15. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.ts +1 -1
  16. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +1 -1
  17. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +1 -1
  18. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.js +3 -3
  19. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.ts +3 -3
  20. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +13 -11
  21. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +13 -11
  22. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +27 -10
  23. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +27 -10
  24. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -3
  25. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -4
  26. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -4
  27. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +1 -4
  28. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -3
  29. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
  30. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -3
  31. package/dist/src/components/sections/Header/Header.js +1 -1
  32. package/dist/src/components/sections/Header/Header.styled.js +14 -8
  33. package/dist/src/components/sections/Header/Header.styled.ts +14 -8
  34. package/dist/src/components/sections/Header/Header.tsx +1 -1
  35. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
  36. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -4
  37. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -4
  38. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -11
  39. package/dist/src/components/sections/index.d.ts +0 -3
  40. package/dist/src/components/sections/index.js +0 -3
  41. package/dist/src/components/sections/index.ts +0 -3
  42. package/dist/src/globalStyles/breakpoints.d.ts +2 -0
  43. package/dist/src/globalStyles/breakpoints.js +2 -0
  44. package/dist/src/globalStyles/breakpoints.ts +3 -0
  45. package/dist/tsconfig.build.tsbuildinfo +1 -1
  46. package/package.json +1 -1
  47. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
  48. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
  49. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
  50. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -50
  51. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -51
  52. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
  53. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
  54. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
  55. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
  56. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
  57. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
  58. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
  59. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
  60. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
  61. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
  62. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
  63. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
  64. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
  65. package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
  66. package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
  67. package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
  68. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
  69. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
  70. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
  71. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -94
  72. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -95
  73. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -69
  74. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
  75. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
  76. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
  77. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
  78. package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
  79. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
  80. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
  81. package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
  82. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
  83. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -186
  84. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -187
  85. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -28
  86. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
  87. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
  88. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
  89. package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
  90. package/dist/src/components/sections/TryNowSection/index.js +0 -1
  91. package/dist/src/components/sections/TryNowSection/index.ts +0 -2
@@ -12,7 +12,7 @@ export const NavMenuStyled = styled.nav`
12
12
  flex: 1;
13
13
  }
14
14
  &.--is-mobile {
15
- @media (min-width: ${size.sm}) {
15
+ @media (min-width: ${size.tab}) {
16
16
  display: none;
17
17
  }
18
18
  }
@@ -28,6 +28,10 @@ export const NavMenuStyled = styled.nav`
28
28
  .left-nav {
29
29
  display: flex;
30
30
  align-items: center;
31
+ @media (max-width: 1024px) {
32
+ gap: 1rem;
33
+ }
34
+ gap: 2rem;
31
35
  }
32
36
 
33
37
  .header-phone {
@@ -50,7 +54,17 @@ export const NavMenuStyled = styled.nav`
50
54
  flex-flow: row nowrap;
51
55
  align-items: center;
52
56
  justify-content: flex-end;
53
- gap: 1.5rem;
57
+ gap: 2rem;
58
+
59
+ @media (max-width: 1024px) {
60
+ gap: 1rem;
61
+ }
62
+
63
+ .nav-menu-item {
64
+ @media (max-width: 1024px) {
65
+ display: none;
66
+ }
67
+ }
54
68
 
55
69
  .search {
56
70
  width: 100%;
@@ -58,7 +72,7 @@ export const NavMenuStyled = styled.nav`
58
72
  }
59
73
  }
60
74
 
61
- @media ${device['landscape-tablets']} {
75
+ @media (min-width: ${size.tab}) {
62
76
  display: flex;
63
77
  align-items: center;
64
78
  flex-direction: row;
@@ -77,12 +91,10 @@ export const NavMenuStyled = styled.nav`
77
91
  .navigation-pane__help,
78
92
  .navigation-pane__resources {
79
93
  position: relative;
80
- margin-left: 0.5rem;
81
94
  padding: 0.75rem 0;
82
95
  cursor: pointer;
83
96
 
84
97
  @media ${device['portrait-tablets']} {
85
- margin-right: 1.5rem;
86
98
  padding-bottom: 0.5rem;
87
99
  }
88
100
 
@@ -219,7 +231,7 @@ export const NavMenuStyled = styled.nav`
219
231
  width: 100%;
220
232
  }
221
233
 
222
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
234
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
223
235
  display: none;
224
236
  }
225
237
 
@@ -301,8 +313,13 @@ export const NavMenuStyled = styled.nav`
301
313
  display: flex;
302
314
  align-items: center;
303
315
  min-width: 18rem;
316
+ gap: 2rem;
317
+
318
+ @media (max-width: 1024px) {
319
+ gap: 1rem;
320
+ }
304
321
 
305
- @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
322
+ @media (min-width: ${size.tab}) and (max-width: ${size.lg}) {
306
323
  min-width: 12rem;
307
324
  }
308
325
 
@@ -333,7 +350,7 @@ export const NavMenuStyled = styled.nav`
333
350
  display: flex;
334
351
  flex-direction: column;
335
352
 
336
- @media ${device['landscape-tablets']} {
353
+ @media (max-width: ${size.tab}) {
337
354
  display: none;
338
355
  }
339
356
  .navigation-pane__user-menu {
@@ -580,12 +597,12 @@ export const NavMenuStyled = styled.nav`
580
597
  .is-tablet {
581
598
  display: none;
582
599
 
583
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
600
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
584
601
  display: flex;
585
602
  }
586
603
  }
587
604
 
588
- @media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
605
+ @media (min-width: ${size.xxs}) and (max-width: ${size.tab}) {
589
606
  .navigation-pane__wrapper {
590
607
  display: flex;
591
608
  flex-direction: column;
@@ -7,9 +7,7 @@ const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFree
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
10
+ 'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
13
11
  });
14
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 })] }));
15
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;
@@ -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;
@@ -18,10 +18,7 @@ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
18
18
  'try-our-free-legal-blogs-section-content': true,
19
19
  'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
20
  'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
- TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type,
22
- 'try-our-free-legal-blogs-section-content--how-it-works': TryOurFreeLegalBlogsContentType.howItWorks === type,
23
- 'try-our-free-legal-blogs-section-content--how-it-works-first-image':
24
- TryOurFreeLegalBlogsContentType.howItWorksFirstImage === type
21
+ TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
25
22
  })
26
23
  return (
27
24
  <TryOurFreeLegalBlogsContentStyled className={classTry}>
@@ -1,9 +1,7 @@
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;
@@ -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 {
@@ -5,7 +5,7 @@ import { HeaderStyled } from './Header.styled';
5
5
  import { NavMenu } from '../../organisms/NavMenu';
6
6
  const Header = forwardRef(({ mainHeaderProps, topBarProps, navMenuProps }, ref) => {
7
7
  const { classnames, siteName } = mainHeaderProps;
8
- return (_jsxs(HeaderStyled, { className: `header ${classnames}`, ref: ref, id: 'header', children: [_jsx(TopBar, { ...topBarProps }), _jsxs("span", { itemScope: true, itemType: 'https://www.schema.org/Brand', className: 'wrapper flex header__inner', children: [_jsx("a", { "data-qa": 'Header_Logo', className: 'header__logo', href: '/', children: _jsx(Logo, { siteName: siteName, width: '188', height: '32' }) }), _jsx(NavMenu, { ...navMenuProps })] })] }));
8
+ return (_jsxs(HeaderStyled, { className: `header ${classnames}`, ref: ref, id: 'header', children: [_jsx(TopBar, { ...topBarProps }), _jsxs("span", { itemScope: true, itemType: 'https://www.schema.org/Brand', className: 'flex header__inner', children: [_jsx("a", { "data-qa": 'Header_Logo', className: 'header__logo', href: '/', children: _jsx(Logo, { siteName: siteName, width: '188', height: '32' }) }), _jsx(NavMenu, { ...navMenuProps })] })] }));
9
9
  });
10
10
  Header.displayName = 'Header';
11
11
  export default Header;
@@ -6,7 +6,7 @@ export const HeaderStyled = styled.header `
6
6
  transition: all 0.3s ease;
7
7
  z-index: 1000;
8
8
 
9
- @media (max-width: ${size.sm}) {
9
+ @media (max-width: ${size.tab}) {
10
10
  position: sticky;
11
11
  top: 0;
12
12
  width: 100%;
@@ -24,11 +24,10 @@ export const HeaderStyled = styled.header `
24
24
  .header__inner {
25
25
  align-items: center;
26
26
  justify-content: space-between;
27
- max-width: 1200px;
28
27
  padding: 1rem 1.5rem;
29
28
 
30
- @media (min-width: ${size.sm}) {
31
- padding: 1rem 1rem 1.5rem 1rem;
29
+ @media (min-width: ${size.tab}) {
30
+ padding: 1rem 2rem 1rem 2rem;
32
31
  }
33
32
  }
34
33
 
@@ -39,7 +38,7 @@ export const HeaderStyled = styled.header `
39
38
 
40
39
  .top-bar-wrapper {
41
40
  .top-bar {
42
- @media (max-width: ${size.sm}) {
41
+ @media (max-width: ${size.tab}) {
43
42
  font-size: 0.78rem;
44
43
  letter-spacing: -0.5px;
45
44
  }
@@ -49,7 +48,7 @@ export const HeaderStyled = styled.header `
49
48
  width: 100%;
50
49
  display: flex;
51
50
  justify-content: space-around;
52
- @media ${device['landscape-tablets']} {
51
+ @media ${device.tablets} {
53
52
  justify-content: center;
54
53
  width: auto;
55
54
  }
@@ -72,7 +71,7 @@ export const HeaderStyled = styled.header `
72
71
  &.hide-header-in-mobile {
73
72
  position: relative;
74
73
 
75
- @media ${device['landscape-tablets']} {
74
+ @media ${device.tablets} {
76
75
  position: sticky;
77
76
  }
78
77
  }
@@ -83,7 +82,7 @@ export const HeaderStyled = styled.header `
83
82
  align-items: center;
84
83
  justify-content: space-between;
85
84
 
86
- @media (min-width: ${size.sm}) {
85
+ @media (min-width: ${size.tab}) {
87
86
  padding: 1rem;
88
87
  }
89
88
  }
@@ -91,6 +90,13 @@ export const HeaderStyled = styled.header `
91
90
  .header__logo {
92
91
  z-index: 200;
93
92
  min-width: max-content;
93
+
94
+ img {
95
+ @media (max-width: 1024px) {
96
+ width: 141px;
97
+ height: auto;
98
+ }
99
+ }
94
100
  }
95
101
 
96
102
  &.product-header-background {
@@ -7,7 +7,7 @@ export const HeaderStyled = styled.header`
7
7
  transition: all 0.3s ease;
8
8
  z-index: 1000;
9
9
 
10
- @media (max-width: ${size.sm}) {
10
+ @media (max-width: ${size.tab}) {
11
11
  position: sticky;
12
12
  top: 0;
13
13
  width: 100%;
@@ -25,11 +25,10 @@ export const HeaderStyled = styled.header`
25
25
  .header__inner {
26
26
  align-items: center;
27
27
  justify-content: space-between;
28
- max-width: 1200px;
29
28
  padding: 1rem 1.5rem;
30
29
 
31
- @media (min-width: ${size.sm}) {
32
- padding: 1rem 1rem 1.5rem 1rem;
30
+ @media (min-width: ${size.tab}) {
31
+ padding: 1rem 2rem 1rem 2rem;
33
32
  }
34
33
  }
35
34
 
@@ -40,7 +39,7 @@ export const HeaderStyled = styled.header`
40
39
 
41
40
  .top-bar-wrapper {
42
41
  .top-bar {
43
- @media (max-width: ${size.sm}) {
42
+ @media (max-width: ${size.tab}) {
44
43
  font-size: 0.78rem;
45
44
  letter-spacing: -0.5px;
46
45
  }
@@ -50,7 +49,7 @@ export const HeaderStyled = styled.header`
50
49
  width: 100%;
51
50
  display: flex;
52
51
  justify-content: space-around;
53
- @media ${device['landscape-tablets']} {
52
+ @media ${device.tablets} {
54
53
  justify-content: center;
55
54
  width: auto;
56
55
  }
@@ -73,7 +72,7 @@ export const HeaderStyled = styled.header`
73
72
  &.hide-header-in-mobile {
74
73
  position: relative;
75
74
 
76
- @media ${device['landscape-tablets']} {
75
+ @media ${device.tablets} {
77
76
  position: sticky;
78
77
  }
79
78
  }
@@ -84,7 +83,7 @@ export const HeaderStyled = styled.header`
84
83
  align-items: center;
85
84
  justify-content: space-between;
86
85
 
87
- @media (min-width: ${size.sm}) {
86
+ @media (min-width: ${size.tab}) {
88
87
  padding: 1rem;
89
88
  }
90
89
  }
@@ -92,6 +91,13 @@ export const HeaderStyled = styled.header`
92
91
  .header__logo {
93
92
  z-index: 200;
94
93
  min-width: max-content;
94
+
95
+ img {
96
+ @media (max-width: 1024px) {
97
+ width: 141px;
98
+ height: auto;
99
+ }
100
+ }
95
101
  }
96
102
 
97
103
  &.product-header-background {
@@ -12,7 +12,7 @@ const Header = forwardRef<HTMLDivElement, HeaderProps>(
12
12
  return (
13
13
  <HeaderStyled className={`header ${classnames}`} ref={ref} id='header'>
14
14
  <TopBar {...topBarProps} />
15
- <span itemScope itemType='https://www.schema.org/Brand' className={'wrapper flex header__inner'}>
15
+ <span itemScope itemType='https://www.schema.org/Brand' className={'flex header__inner'}>
16
16
  <a data-qa={'Header_Logo'} className='header__logo' href='/'>
17
17
  <Logo siteName={siteName} width='188' height='32' />
18
18
  </a>
@@ -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
- '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',
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 wrapper wrapper--responsive ${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,8 +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
- background-color: var(--neutral-neutral-6);
13
- }
14
10
  `;
@@ -8,8 +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
- background-color: var(--neutral-neutral-6);
14
- }
15
11
  `
@@ -3,20 +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
- 'our-mission': contentTryOurFreeLegalBlogs.type === 'Our Mission',
12
- 'our-mission-first-image': contentTryOurFreeLegalBlogs.type === 'Our Mission First Image',
13
- 'how-it-works': contentTryOurFreeLegalBlogs.type === 'How It Works',
14
- 'how-it-works-first-image': contentTryOurFreeLegalBlogs.type === 'How It Works First Image'
15
- })
16
8
  return (
17
- <TryOurFreeLegalBlogsSectionStyled
18
- className={`try-our-free-legal-blogs-section wrapper wrapper--responsive ${classTry}`}
19
- >
9
+ <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
20
10
  <TryOurFreeLegalBlogsContent
21
11
  title={contentTryOurFreeLegalBlogs.title}
22
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'
@@ -2,6 +2,7 @@ interface Size {
2
2
  xxs: string;
3
3
  xs: string;
4
4
  sm: string;
5
+ tab: string;
5
6
  md: string;
6
7
  lg: string;
7
8
  xl: string;
@@ -12,6 +13,7 @@ export declare const device: {
12
13
  mobile: string;
13
14
  'portrait-tablets': string;
14
15
  'landscape-tablets': string;
16
+ tablets: string;
15
17
  laptop: string;
16
18
  desktop: string;
17
19
  'desktop-xl': string;
@@ -2,6 +2,7 @@ export const size = {
2
2
  xxs: '328px', // for very small screen mobile
3
3
  xs: '575px', // for small screen mobile
4
4
  sm: '720px', // for mobile screen
5
+ tab: '768px', // for tablets in portrait
5
6
  md: '960px', // for tablets
6
7
  lg: '1200px', // for laptops
7
8
  xl: '1600px', // for desktop / monitors
@@ -11,6 +12,7 @@ export const device = {
11
12
  mobile: `(max-width: ${size.xs})`,
12
13
  'portrait-tablets': `(min-width: ${size.xs})`,
13
14
  'landscape-tablets': `(min-width: ${size.sm})`,
15
+ tablets: `(min-width: ${size.tab})`,
14
16
  laptop: `(min-width: ${size.md})`,
15
17
  desktop: `(min-width: ${size.lg})`,
16
18
  'desktop-xl': `(min-width: ${size.xl})`
@@ -2,6 +2,7 @@ interface Size {
2
2
  xxs: string
3
3
  xs: string
4
4
  sm: string
5
+ tab: string
5
6
  md: string
6
7
  lg: string
7
8
  xl: string
@@ -12,6 +13,7 @@ export const size: Size = {
12
13
  xxs: '328px', // for very small screen mobile
13
14
  xs: '575px', // for small screen mobile
14
15
  sm: '720px', // for mobile screen
16
+ tab: '768px', // for tablets in portrait
15
17
  md: '960px', // for tablets
16
18
  lg: '1200px', // for laptops
17
19
  xl: '1600px', // for desktop / monitors
@@ -22,6 +24,7 @@ export const device = {
22
24
  mobile: `(max-width: ${size.xs})`,
23
25
  'portrait-tablets': `(min-width: ${size.xs})`,
24
26
  'landscape-tablets': `(min-width: ${size.sm})`,
27
+ tablets: `(min-width: ${size.tab})`,
25
28
  laptop: `(min-width: ${size.md})`,
26
29
  desktop: `(min-width: ${size.lg})`,
27
30
  'desktop-xl': `(min-width: ${size.xl})`