@npm_leadtech/legal-lib-components 7.25.3 → 7.25.5

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 (76) hide show
  1. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +1 -1
  2. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +1 -1
  3. package/dist/src/components/atoms/RatafiaLandingIcon/RatafiaLandingIcon.scss +1 -2
  4. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -7
  5. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +2 -7
  6. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
  7. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
  8. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +3 -0
  9. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +5 -0
  10. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +1 -0
  11. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +50 -0
  12. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +51 -0
  13. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +20 -0
  14. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +5 -0
  15. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +1 -0
  16. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +5 -0
  17. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +2 -0
  18. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +2 -0
  19. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +2 -0
  20. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +4 -6
  21. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +4 -6
  22. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +5 -22
  23. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +5 -22
  24. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -1
  25. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +4 -2
  26. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +4 -2
  27. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +4 -1
  28. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +3 -1
  29. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +2 -0
  30. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +3 -1
  31. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +3 -0
  32. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +5 -0
  33. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +26 -0
  34. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +10 -0
  35. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +1 -0
  36. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +16 -0
  37. package/dist/src/components/pages/HowItWorksPage/index.d.ts +2 -0
  38. package/dist/src/components/pages/HowItWorksPage/index.js +2 -0
  39. package/dist/src/components/pages/HowItWorksPage/index.ts +2 -0
  40. package/dist/src/components/sections/Header/Header.js +1 -1
  41. package/dist/src/components/sections/Header/Header.styled.js +2 -8
  42. package/dist/src/components/sections/Header/Header.styled.ts +2 -8
  43. package/dist/src/components/sections/Header/Header.tsx +1 -1
  44. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +4 -0
  45. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +12 -0
  46. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +1 -0
  47. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +94 -0
  48. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +95 -0
  49. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +69 -0
  50. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +15 -0
  51. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +1 -0
  52. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +16 -0
  53. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +2 -0
  54. package/dist/src/components/sections/LawGeniusCardsSection/index.js +1 -0
  55. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +2 -0
  56. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +3 -0
  57. package/dist/src/components/sections/TryNowSection/TryNowSection.js +6 -0
  58. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +1 -0
  59. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +186 -0
  60. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +187 -0
  61. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +28 -0
  62. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +8 -0
  63. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +1 -0
  64. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +9 -0
  65. package/dist/src/components/sections/TryNowSection/index.d.ts +2 -0
  66. package/dist/src/components/sections/TryNowSection/index.js +1 -0
  67. package/dist/src/components/sections/TryNowSection/index.ts +2 -0
  68. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +9 -1
  69. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +4 -0
  70. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +4 -0
  71. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +11 -1
  72. package/dist/src/components/sections/index.d.ts +3 -0
  73. package/dist/src/components/sections/index.js +3 -0
  74. package/dist/src/components/sections/index.ts +3 -0
  75. package/dist/tsconfig.build.tsbuildinfo +1 -1
  76. package/package.json +1 -1
@@ -55,7 +55,7 @@ export const FixedFooterStyled = styled.div `
55
55
  margin: auto;
56
56
  padding: 2.75rem 1rem 1rem;
57
57
  }
58
- @media (min-width: 1024px) {
58
+ @media (min-width: 720px) {
59
59
  footer .language-selector-mobile-container {
60
60
  display: none;
61
61
  }
@@ -56,7 +56,7 @@ export const FixedFooterStyled = styled.div`
56
56
  margin: auto;
57
57
  padding: 2.75rem 1rem 1rem;
58
58
  }
59
- @media (min-width: 1024px) {
59
+ @media (min-width: 720px) {
60
60
  footer .language-selector-mobile-container {
61
61
  display: none;
62
62
  }
@@ -1,7 +1,6 @@
1
1
  .ratafia-landing-icon {
2
- padding: 1px 4px;
2
+ padding: 0.25rem 0.5rem;
3
3
  border-radius: var(--s-border-radius);
4
4
  color: var(--neutral-neutral-1);
5
5
  background: var(--secondary-main-light-3);
6
- font-size: 12px;
7
6
  }
@@ -1,6 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
3
- import { useEffect, useState } from 'react';
4
2
  import Select from 'react-select';
5
3
  import { SearchSelectStyled } from './SearchSelect.styled';
6
4
  import classNames from 'classnames';
@@ -25,7 +23,6 @@ const getSortedItems = (items, isSortAlphabetically = false) => {
25
23
  };
26
24
  const SearchSelect = (props) => {
27
25
  const { customClass = '', menuPlacement = MenuPlacement.bottom } = props;
28
- const [menuPortalTarget, setMenuPortalTarget] = useState();
29
26
  const sortedItems = getSortedItems(props.items, props.isSortAlphabetically);
30
27
  const defaultValue = props.defaultValue;
31
28
  const classnames = classNames({
@@ -34,9 +31,6 @@ const SearchSelect = (props) => {
34
31
  [customClass]: props.customClass,
35
32
  '--group-invalid': !props.isValidGroup
36
33
  });
37
- useEffect(() => {
38
- setMenuPortalTarget(document.body);
39
- }, []);
40
34
  const handleChange = (selectedOption) => {
41
35
  const selectObject = {
42
36
  target: {
@@ -57,6 +51,6 @@ const SearchSelect = (props) => {
57
51
  };
58
52
  },
59
53
  menuPortal: (base) => ({ ...base, zIndex: 9999 })
60
- }, id: props.name, name: props.name, className: 'legal-selector', defaultValue: defaultValue, onChange: handleChange, isDisabled: props.disabled, isSearchable: props.isSearchable !== false, options: sortedItems, escapeClearsValue: true, isClearable: true, menuPortalTarget: menuPortalTarget, placeholder: props.placeholder, defaultMenuIsOpen: props.defaultMenuIsOpen, menuPlacement: menuPlacement })] })] }));
54
+ }, id: props.name, name: props.name, className: 'legal-selector', defaultValue: defaultValue, onChange: handleChange, isDisabled: props.disabled, isSearchable: props.isSearchable !== false, options: sortedItems, escapeClearsValue: true, isClearable: true, menuPortalTarget: document.body, placeholder: props.placeholder, defaultMenuIsOpen: props.defaultMenuIsOpen, menuPlacement: menuPlacement })] })] }));
61
55
  };
62
56
  export default SearchSelect;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
 
3
- import React, { type FC, useEffect, useState } from 'react'
3
+ import React, { type FC } from 'react'
4
4
  import Select from 'react-select'
5
5
 
6
6
  import { type SearchSelectProps } from './SearchSelectProps.types'
@@ -28,7 +28,6 @@ const getSortedItems = (items: any, isSortAlphabetically: boolean | undefined =
28
28
 
29
29
  const SearchSelect: FC<SearchSelectProps> = (props) => {
30
30
  const { customClass = '', menuPlacement = MenuPlacement.bottom } = props
31
- const [menuPortalTarget, setMenuPortalTarget] = useState<HTMLElement | undefined>()
32
31
  const sortedItems = getSortedItems(props.items, props.isSortAlphabetically)
33
32
  const defaultValue = props.defaultValue as unknown as string
34
33
 
@@ -39,10 +38,6 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
39
38
  '--group-invalid': !props.isValidGroup
40
39
  })
41
40
 
42
- useEffect(() => {
43
- setMenuPortalTarget(document.body)
44
- }, [])
45
-
46
41
  const handleChange = (selectedOption): void => {
47
42
  const selectObject = {
48
43
  target: {
@@ -95,7 +90,7 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
95
90
  options={sortedItems}
96
91
  escapeClearsValue={true}
97
92
  isClearable={true}
98
- menuPortalTarget={menuPortalTarget}
93
+ menuPortalTarget={document.body}
99
94
  placeholder={props.placeholder}
100
95
  defaultMenuIsOpen={props.defaultMenuIsOpen}
101
96
  menuPlacement={menuPlacement}
@@ -13,7 +13,7 @@ export const ContactInformation = styled.div `
13
13
  margin-bottom: 1rem;
14
14
  width: 100%;
15
15
 
16
- @media (min-width: 1024px) {
16
+ @media (min-width: 828px) {
17
17
  display: none;
18
18
  }
19
19
  }
@@ -14,7 +14,7 @@ export const ContactInformation = styled.div`
14
14
  margin-bottom: 1rem;
15
15
  width: 100%;
16
16
 
17
- @media (min-width: 1024px) {
17
+ @media (min-width: 828px) {
18
18
  display: none;
19
19
  }
20
20
  }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { LawGeniusInfoCardProps } from './LawGeniusInfoCardProps';
3
+ export declare const LawGeniusInfoCard: React.FC<LawGeniusInfoCardProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled';
3
+ export const LawGeniusInfoCard = ({ icon, title = '', text = '' }) => {
4
+ return (_jsx(LawGeniusInfoCardStyled, { className: 'info-card', children: _jsx("div", { className: 'info-card-wrapper', children: _jsxs("div", { className: 'content', children: [_jsxs("p", { className: 'title', children: [_jsx("div", { className: 'info-icon', children: icon }), title] }), _jsx("p", { className: 'text', children: text })] }) }) }));
5
+ };
@@ -0,0 +1 @@
1
+ export declare const LawGeniusInfoCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,50 @@
1
+ import styled from 'styled-components';
2
+ export const LawGeniusInfoCardStyled = styled.div `
3
+ width: 100%;
4
+ background-color: var(--others-white);
5
+ border-radius: var(--s-border-radius);
6
+ margin-top: 1rem;
7
+ margin-bottom: 1rem;
8
+ display: flex;
9
+ align-items: center;
10
+ padding: 1rem 1.5rem;
11
+
12
+ .info-card-wrapper {
13
+ display: flex;
14
+ }
15
+
16
+ @media not all and (min-resolution: 0.001dpcm) {
17
+ @supports (-webkit-appearance: none) {
18
+ letter-spacing: -1px;
19
+ }
20
+ }
21
+
22
+ .info-icon {
23
+ margin-top: 0.1rem;
24
+ margin-right: 0.5rem;
25
+
26
+ path {
27
+ fill: var(--primary-main-dark-1);
28
+ }
29
+ }
30
+
31
+ .title {
32
+ display: flex;
33
+ color: var(--primary-main-dark-1);
34
+ font-size: 1rem;
35
+ font-weight: bold;
36
+
37
+ &.email {
38
+ text-decoration: underline;
39
+ }
40
+
41
+ a {
42
+ color: var(--primary-main-dark-1);
43
+ }
44
+ }
45
+
46
+ .text {
47
+ font-size: 0.875rem;
48
+ color: var(--neutral-neutral-2);
49
+ }
50
+ `;
@@ -0,0 +1,51 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const LawGeniusInfoCardStyled = styled.div`
4
+ width: 100%;
5
+ background-color: var(--others-white);
6
+ border-radius: var(--s-border-radius);
7
+ margin-top: 1rem;
8
+ margin-bottom: 1rem;
9
+ display: flex;
10
+ align-items: center;
11
+ padding: 1rem 1.5rem;
12
+
13
+ .info-card-wrapper {
14
+ display: flex;
15
+ }
16
+
17
+ @media not all and (min-resolution: 0.001dpcm) {
18
+ @supports (-webkit-appearance: none) {
19
+ letter-spacing: -1px;
20
+ }
21
+ }
22
+
23
+ .info-icon {
24
+ margin-top: 0.1rem;
25
+ margin-right: 0.5rem;
26
+
27
+ path {
28
+ fill: var(--primary-main-dark-1);
29
+ }
30
+ }
31
+
32
+ .title {
33
+ display: flex;
34
+ color: var(--primary-main-dark-1);
35
+ font-size: 1rem;
36
+ font-weight: bold;
37
+
38
+ &.email {
39
+ text-decoration: underline;
40
+ }
41
+
42
+ a {
43
+ color: var(--primary-main-dark-1);
44
+ }
45
+ }
46
+
47
+ .text {
48
+ font-size: 0.875rem;
49
+ color: var(--neutral-neutral-2);
50
+ }
51
+ `
@@ -0,0 +1,20 @@
1
+ import React from 'react'
2
+
3
+ import { LawGeniusInfoCardProps } from './LawGeniusInfoCardProps'
4
+ import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled'
5
+
6
+ export const LawGeniusInfoCard: React.FC<LawGeniusInfoCardProps> = ({ icon, title = '', text = '' }) => {
7
+ return (
8
+ <LawGeniusInfoCardStyled className='info-card'>
9
+ <div className='info-card-wrapper'>
10
+ <div className='content'>
11
+ <p className='title'>
12
+ <div className='info-icon'>{icon}</div>
13
+ {title}
14
+ </p>
15
+ <p className='text'>{text}</p>
16
+ </div>
17
+ </div>
18
+ </LawGeniusInfoCardStyled>
19
+ )
20
+ }
@@ -0,0 +1,5 @@
1
+ export interface LawGeniusInfoCardProps {
2
+ title: string;
3
+ text: string;
4
+ icon: React.ReactNode;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface LawGeniusInfoCardProps {
2
+ title: string
3
+ text: string
4
+ icon: React.ReactNode
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard';
2
+ export * from './LawGeniusInfoCardProps';
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard';
2
+ export * from './LawGeniusInfoCardProps';
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard'
2
+ export * from './LawGeniusInfoCardProps'
@@ -39,7 +39,6 @@ export const MenuItemsStyled = styled.div `
39
39
  .left-nav {
40
40
  display: flex;
41
41
  align-items: center;
42
- gap: 1rem;
43
42
  }
44
43
 
45
44
  .header-phone {
@@ -88,6 +87,7 @@ export const MenuItemsStyled = styled.div `
88
87
  .navigation-pane__products__container,
89
88
  .navigation-pane__resources__container {
90
89
  display: flex;
90
+ gap: 0.5rem;
91
91
  display: none;
92
92
 
93
93
  @media ${device['landscape-tablets']} {
@@ -103,10 +103,12 @@ export const MenuItemsStyled = styled.div `
103
103
  .navigation-pane__resources,
104
104
  .navigation-pane__help {
105
105
  position: relative;
106
+ margin-left: 0.5rem;
106
107
  padding: 0.75rem 0;
107
108
  cursor: pointer;
108
109
 
109
110
  @media ${device['portrait-tablets']} {
111
+ margin-right: 1.5rem;
110
112
  padding-bottom: 0.5rem;
111
113
  }
112
114
 
@@ -337,10 +339,6 @@ export const MenuItemsStyled = styled.div `
337
339
  align-items: center;
338
340
  min-width: 18rem;
339
341
 
340
- @media (max-width: 1024px) {
341
- gap: 1rem;
342
- }
343
-
344
342
  @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
345
343
  min-width: 12rem;
346
344
  }
@@ -369,7 +367,7 @@ export const MenuItemsStyled = styled.div `
369
367
  .navigation-pane.--is-mobile {
370
368
  display: flex;
371
369
 
372
- @media (max-width: ${size.sm}) {
370
+ @media ${device['landscape-tablets']} {
373
371
  display: none;
374
372
  }
375
373
 
@@ -40,7 +40,6 @@ export const MenuItemsStyled = styled.div`
40
40
  .left-nav {
41
41
  display: flex;
42
42
  align-items: center;
43
- gap: 1rem;
44
43
  }
45
44
 
46
45
  .header-phone {
@@ -89,6 +88,7 @@ export const MenuItemsStyled = styled.div`
89
88
  .navigation-pane__products__container,
90
89
  .navigation-pane__resources__container {
91
90
  display: flex;
91
+ gap: 0.5rem;
92
92
  display: none;
93
93
 
94
94
  @media ${device['landscape-tablets']} {
@@ -104,10 +104,12 @@ export const MenuItemsStyled = styled.div`
104
104
  .navigation-pane__resources,
105
105
  .navigation-pane__help {
106
106
  position: relative;
107
+ margin-left: 0.5rem;
107
108
  padding: 0.75rem 0;
108
109
  cursor: pointer;
109
110
 
110
111
  @media ${device['portrait-tablets']} {
112
+ margin-right: 1.5rem;
111
113
  padding-bottom: 0.5rem;
112
114
  }
113
115
 
@@ -338,10 +340,6 @@ export const MenuItemsStyled = styled.div`
338
340
  align-items: center;
339
341
  min-width: 18rem;
340
342
 
341
- @media (max-width: 1024px) {
342
- gap: 1rem;
343
- }
344
-
345
343
  @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
346
344
  min-width: 12rem;
347
345
  }
@@ -370,7 +368,7 @@ export const MenuItemsStyled = styled.div`
370
368
  .navigation-pane.--is-mobile {
371
369
  display: flex;
372
370
 
373
- @media (max-width: ${size.sm}) {
371
+ @media ${device['landscape-tablets']} {
374
372
  display: none;
375
373
  }
376
374
 
@@ -27,10 +27,6 @@ export const NavMenuStyled = styled.nav `
27
27
  .left-nav {
28
28
  display: flex;
29
29
  align-items: center;
30
- @media (max-width: 1024px) {
31
- gap: 1rem;
32
- }
33
- gap: 2rem;
34
30
  }
35
31
 
36
32
  .header-phone {
@@ -53,17 +49,7 @@ export const NavMenuStyled = styled.nav `
53
49
  flex-flow: row nowrap;
54
50
  align-items: center;
55
51
  justify-content: flex-end;
56
- gap: 2rem;
57
-
58
- @media (max-width: 1024px) {
59
- gap: 1rem;
60
- }
61
-
62
- .nav-menu-item {
63
- @media (max-width: 1024px) {
64
- display: none;
65
- }
66
- }
52
+ gap: 1.5rem;
67
53
 
68
54
  .search {
69
55
  width: 100%;
@@ -71,7 +57,7 @@ export const NavMenuStyled = styled.nav `
71
57
  }
72
58
  }
73
59
 
74
- @media (min-width: ${size.sm}) {
60
+ @media ${device['landscape-tablets']} {
75
61
  display: flex;
76
62
  align-items: center;
77
63
  flex-direction: row;
@@ -90,10 +76,12 @@ export const NavMenuStyled = styled.nav `
90
76
  .navigation-pane__help,
91
77
  .navigation-pane__resources {
92
78
  position: relative;
79
+ margin-left: 0.5rem;
93
80
  padding: 0.75rem 0;
94
81
  cursor: pointer;
95
82
 
96
83
  @media ${device['portrait-tablets']} {
84
+ margin-right: 1.5rem;
97
85
  padding-bottom: 0.5rem;
98
86
  }
99
87
 
@@ -312,11 +300,6 @@ export const NavMenuStyled = styled.nav `
312
300
  display: flex;
313
301
  align-items: center;
314
302
  min-width: 18rem;
315
- gap: 2rem;
316
-
317
- @media (max-width: 1024px) {
318
- gap: 1rem;
319
- }
320
303
 
321
304
  @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
322
305
  min-width: 12rem;
@@ -349,7 +332,7 @@ export const NavMenuStyled = styled.nav `
349
332
  display: flex;
350
333
  flex-direction: column;
351
334
 
352
- @media (max-width: ${size.sm}) {
335
+ @media ${device['landscape-tablets']} {
353
336
  display: none;
354
337
  }
355
338
  .navigation-pane__user-menu {
@@ -28,10 +28,6 @@ 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;
35
31
  }
36
32
 
37
33
  .header-phone {
@@ -54,17 +50,7 @@ export const NavMenuStyled = styled.nav`
54
50
  flex-flow: row nowrap;
55
51
  align-items: center;
56
52
  justify-content: flex-end;
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
- }
53
+ gap: 1.5rem;
68
54
 
69
55
  .search {
70
56
  width: 100%;
@@ -72,7 +58,7 @@ export const NavMenuStyled = styled.nav`
72
58
  }
73
59
  }
74
60
 
75
- @media (min-width: ${size.sm}) {
61
+ @media ${device['landscape-tablets']} {
76
62
  display: flex;
77
63
  align-items: center;
78
64
  flex-direction: row;
@@ -91,10 +77,12 @@ export const NavMenuStyled = styled.nav`
91
77
  .navigation-pane__help,
92
78
  .navigation-pane__resources {
93
79
  position: relative;
80
+ margin-left: 0.5rem;
94
81
  padding: 0.75rem 0;
95
82
  cursor: pointer;
96
83
 
97
84
  @media ${device['portrait-tablets']} {
85
+ margin-right: 1.5rem;
98
86
  padding-bottom: 0.5rem;
99
87
  }
100
88
 
@@ -313,11 +301,6 @@ export const NavMenuStyled = styled.nav`
313
301
  display: flex;
314
302
  align-items: center;
315
303
  min-width: 18rem;
316
- gap: 2rem;
317
-
318
- @media (max-width: 1024px) {
319
- gap: 1rem;
320
- }
321
304
 
322
305
  @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
323
306
  min-width: 12rem;
@@ -350,7 +333,7 @@ export const NavMenuStyled = styled.nav`
350
333
  display: flex;
351
334
  flex-direction: column;
352
335
 
353
- @media (max-width: ${size.sm}) {
336
+ @media ${device['landscape-tablets']} {
354
337
  display: none;
355
338
  }
356
339
  .navigation-pane__user-menu {
@@ -7,7 +7,9 @@ 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
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
11
13
  });
12
14
  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 })] }));
13
15
  };
@@ -7,7 +7,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
7
7
  flex-direction: row;
8
8
  }
9
9
 
10
- &.try-our-free-legal-blogs-section-content--our-mission {
10
+ &.try-our-free-legal-blogs-section-content--our-mission,
11
+ &.try-our-free-legal-blogs-section-content--how-it-works {
11
12
  margin-top: 1.5rem;
12
13
  margin-bottom: 1.5rem;
13
14
  align-items: center;
@@ -30,7 +31,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
30
31
  }
31
32
  }
32
33
 
33
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
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 {
34
36
  margin-top: 1.5rem;
35
37
  margin-bottom: 1.5rem;
36
38
  align-items: center;
@@ -8,7 +8,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
8
8
  flex-direction: row;
9
9
  }
10
10
 
11
- &.try-our-free-legal-blogs-section-content--our-mission {
11
+ &.try-our-free-legal-blogs-section-content--our-mission,
12
+ &.try-our-free-legal-blogs-section-content--how-it-works {
12
13
  margin-top: 1.5rem;
13
14
  margin-bottom: 1.5rem;
14
15
  align-items: center;
@@ -31,7 +32,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
31
32
  }
32
33
  }
33
34
 
34
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
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 {
35
37
  margin-top: 1.5rem;
36
38
  margin-bottom: 1.5rem;
37
39
  align-items: center;
@@ -18,7 +18,10 @@ 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
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
22
25
  })
23
26
  return (
24
27
  <TryOurFreeLegalBlogsContentStyled className={classTry}>
@@ -1,7 +1,9 @@
1
1
  export declare enum TryOurFreeLegalBlogsContentType {
2
2
  default = "Default",
3
3
  ourMission = "Our Mission",
4
- ourMissionFirstImage = "Our Mission First Image"
4
+ ourMissionFirstImage = "Our Mission First Image",
5
+ howItWorks = "How It Works",
6
+ howItWorksFirstImage = "How It Works First Image"
5
7
  }
6
8
  export interface TryOurFreeLegalBlogsContentProps {
7
9
  title: string;
@@ -3,4 +3,6 @@ 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";
6
8
  })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
@@ -1,7 +1,9 @@
1
1
  export enum TryOurFreeLegalBlogsContentType {
2
2
  default = 'Default',
3
3
  ourMission = 'Our Mission',
4
- ourMissionFirstImage = 'Our Mission First Image'
4
+ ourMissionFirstImage = 'Our Mission First Image',
5
+ howItWorks = 'How It Works',
6
+ howItWorksFirstImage = 'How It Works First Image'
5
7
  }
6
8
 
7
9
  export interface TryOurFreeLegalBlogsContentProps {
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type HowItWorksPageProps } from './HowItWorksPageProps';
3
+ export declare const HowItWorksPage: React.FC<HowItWorksPageProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { HeroSection, LawGeniusCardsSection, TryNowSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
+ export const HowItWorksPage = ({ aboutUsSectionProps, howItWorksStep1Props, howItWorksStep2Props, howItWorksStep3Props, howItWorksStep4Props, lawGeniusCardsSectionProps, tryNowSectionProps }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(HeroSection, { ...aboutUsSectionProps }), howItWorksStep1Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep1Props }), howItWorksStep2Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep2Props }), howItWorksStep3Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep3Props }), howItWorksStep4Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep4Props }), lawGeniusCardsSectionProps != null && _jsx(LawGeniusCardsSection, { ...lawGeniusCardsSectionProps }), tryNowSectionProps != null && _jsx(TryNowSection, { ...tryNowSectionProps })] }));
5
+ };