@npm_leadtech/legal-lib-components 7.30.4 → 7.30.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 (67) hide show
  1. package/dist/src/components/molecules/ContactInfo/ContactInfo.js +1 -1
  2. package/dist/src/components/molecules/ContactInfo/ContactInfo.tsx +6 -4
  3. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooter.js +1 -1
  4. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooter.tsx +9 -3
  5. package/dist/src/components/organisms/NavMenu/NavMenu.js +1 -1
  6. package/dist/src/components/organisms/NavMenu/NavMenu.tsx +1 -1
  7. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -3
  8. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -4
  9. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -4
  10. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +1 -4
  11. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -3
  12. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
  13. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -3
  14. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
  15. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -30
  16. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -30
  17. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -10
  18. package/dist/src/components/sections/index.d.ts +0 -3
  19. package/dist/src/components/sections/index.js +0 -3
  20. package/dist/src/components/sections/index.ts +0 -3
  21. package/dist/tsconfig.build.tsbuildinfo +1 -1
  22. package/package.json +1 -2
  23. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
  24. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
  25. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
  26. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -46
  27. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -47
  28. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
  29. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
  30. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
  31. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
  32. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
  33. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
  34. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
  35. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
  36. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
  37. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
  38. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
  39. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
  40. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
  41. package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
  42. package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
  43. package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
  44. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
  45. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
  46. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
  47. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -94
  48. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -95
  49. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -69
  50. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
  51. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
  52. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
  53. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
  54. package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
  55. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
  56. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
  57. package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
  58. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
  59. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -186
  60. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -187
  61. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -28
  62. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
  63. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
  64. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
  65. package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
  66. package/dist/src/components/sections/TryNowSection/index.js +0 -1
  67. package/dist/src/components/sections/TryNowSection/index.ts +0 -2
@@ -1,4 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ContactInformation, PhoneButton } from './ContactInfo.styled';
3
3
  import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon';
4
- export const ContactInfo = ({ phoneNumber, schedule, languageSelector }) => (_jsxs(ContactInformation, { children: [Boolean(languageSelector) && _jsx("div", { className: 'language-selector-mobile-container', children: languageSelector }), _jsx("b", { className: 'sans-serif --extra-small --bold-weight site-phone', children: phoneNumber }), _jsxs(PhoneButton, { children: [_jsx(PhoneIcon, { fill: 'white', width: 20, height: 20 }), _jsx("span", { children: phoneNumber })] }), _jsx("span", { className: 'sans-serif --extra-small site-schedule', children: schedule })] }));
4
+ export const ContactInfo = ({ phoneNumber, schedule, languageSelector }) => (_jsxs(ContactInformation, { children: [Boolean(languageSelector) && _jsx("div", { className: 'language-selector-mobile-container', children: languageSelector }), _jsx("b", { className: 'sans-serif --extra-small --bold-weight site-phone', children: phoneNumber }), phoneNumber && (_jsxs(PhoneButton, { children: [_jsx(PhoneIcon, { fill: 'white', width: 20, height: 20 }), _jsx("span", { children: phoneNumber })] })), _jsx("span", { className: 'sans-serif --extra-small site-schedule', children: schedule })] }));
@@ -7,10 +7,12 @@ export const ContactInfo: React.FC<ContactInfoProps> = ({ phoneNumber, schedule,
7
7
  <ContactInformation>
8
8
  {Boolean(languageSelector) && <div className='language-selector-mobile-container'>{languageSelector}</div>}
9
9
  <b className='sans-serif --extra-small --bold-weight site-phone'>{phoneNumber}</b>
10
- <PhoneButton>
11
- <PhoneIcon fill='white' width={20} height={20} />
12
- <span>{phoneNumber}</span>
13
- </PhoneButton>
10
+ {phoneNumber && (
11
+ <PhoneButton>
12
+ <PhoneIcon fill='white' width={20} height={20} />
13
+ <span>{phoneNumber}</span>
14
+ </PhoneButton>
15
+ )}
14
16
  <span className='sans-serif --extra-small site-schedule'>{schedule}</span>
15
17
  </ContactInformation>
16
18
  )
@@ -3,6 +3,6 @@ import { ContactBarWrapperStyled, ContactBarWrapperText, ScheduleWrapper } from
3
3
  import { IconWeb } from '../../../../images/componentsSvg/IconWeb';
4
4
  import { WideInfoBar } from '../../atoms/WideInfoBar';
5
5
  export const InfoBarFooter = ({ sitePhone, siteSchedule, securityText, guaranteeText, securityIconBlack, guaranteeIconGrey, isJonSnow = false, isAnonymousPayment = false }) => {
6
- return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment) && 'hidden'}`, children: [_jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), ` - ${siteSchedule}`] }), _jsxs("div", { className: 'no-mobile', children: [_jsx("strong", { children: sitePhone }), " - ", siteSchedule] })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
6
+ return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment) && 'hidden'}`, children: [sitePhone && _jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), sitePhone ? `${sitePhone} - ${siteSchedule}` : siteSchedule] }), _jsx("div", { className: 'no-mobile', children: sitePhone ? (_jsxs(_Fragment, { children: [_jsx("strong", { children: sitePhone }), " - ", siteSchedule] })) : (siteSchedule) })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
7
7
  };
8
8
  export default InfoBarFooter;
@@ -18,16 +18,22 @@ export const InfoBarFooter: React.FC<InfoBarFooterProps> = ({
18
18
  <WideInfoBar>
19
19
  <>
20
20
  <ContactBarWrapperStyled className={`${(isJonSnow || isAnonymousPayment) && 'hidden'}`}>
21
- <IconWeb />
21
+ {sitePhone && <IconWeb />}
22
22
  <ScheduleWrapper>
23
23
  <div className='is-mobile'>
24
24
  <a className='phone' href={`tel:${sitePhone}`}>
25
25
  <strong>{sitePhone}</strong>
26
26
  </a>
27
- {` - ${siteSchedule}`}
27
+ {sitePhone ? `${sitePhone} - ${siteSchedule}` : siteSchedule}
28
28
  </div>
29
29
  <div className='no-mobile'>
30
- <strong>{sitePhone}</strong> - {siteSchedule}
30
+ {sitePhone ? (
31
+ <>
32
+ <strong>{sitePhone}</strong> - {siteSchedule}
33
+ </>
34
+ ) : (
35
+ siteSchedule
36
+ )}
31
37
  </div>
32
38
  </ScheduleWrapper>
33
39
  </ContactBarWrapperStyled>
@@ -6,5 +6,5 @@ import { NavMobileContactBar } from '../../molecules/NavMobileContactBar';
6
6
  import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon';
7
7
  import { SearchBar } from '../../../components/molecules/SearchBar/SearchBar';
8
8
  export const NavMenu = ({ isLeftNavHidden, isHeaderProductsHidden, isSearchBarHidden, isResourcesHidden, showHeaderPhone, toggleMenuOpen, isMenuOpen, languageSelectorProps, configVars, searchableProducts, finalMenu, userActions, menuStrings, routes, searchBarTexts, sitePhone, handleResultClick, languageSelectorConfigEnabled, isJonSnow, triggerMenuClose, triggerMenuOpen, setCookiePolicyFunc, navMenuItems, extraMenu }) => {
9
- return (_jsxs(NavMenuStyled, { children: [_jsxs("nav", { itemScope: true, itemType: 'https://www.schema.org/SiteNavigationElement', className: `navigation-pane --is-mobile ${isHeaderProductsHidden ? '--no-products' : ''}`, children: [_jsx("div", { onClick: toggleMenuOpen, onKeyDown: toggleMenuOpen, className: 'navigation-pane__trigger sans-serif --small', children: !isMenuOpen ? triggerMenuOpen : triggerMenuClose }), isMenuOpen && (_jsxs("div", { className: 'navigation-pane__wrapper', children: [userActions, !isSearchBarHidden && (_jsx(SearchBar, { products: searchableProducts, searchBarTexts: searchBarTexts, routes: routes, handleResultClick: handleResultClick })), _jsx(MenuItems, { hasProducts: !isHeaderProductsHidden, isResourcesHidden: isResourcesHidden, seeAllDocumentsText: menuStrings, setCookiePolicyFunc: setCookiePolicyFunc, routes: routes, finalMenu: finalMenu, configVars: configVars, navMenuItems: navMenuItems, extraMenu: extraMenu }), !isJonSnow && _jsx(NavMobileContactBar, { phone: sitePhone })] }))] }), _jsxs("nav", { className: `navigation-pane --is-desktop ${isHeaderProductsHidden ? '--no-products' : ''}`, children: [!isLeftNavHidden && (_jsx("div", { className: 'left-nav', children: _jsx(MenuItems, { hasProducts: !isHeaderProductsHidden, isResourcesHidden: isResourcesHidden, seeAllDocumentsText: menuStrings, setCookiePolicyFunc: setCookiePolicyFunc, routes: routes, finalMenu: finalMenu, configVars: configVars, navMenuItems: navMenuItems, extraMenu: extraMenu }) })), _jsxs("div", { className: 'right-nav', children: [showHeaderPhone && (_jsxs("div", { className: 'header-phone', children: [_jsx(PhoneIcon, {}), _jsxs("b", { children: [sitePhone, " "] })] })), !isSearchBarHidden && (_jsx(SearchBar, { products: searchableProducts, searchBarTexts: searchBarTexts, routes: routes, handleResultClick: handleResultClick })), languageSelectorConfigEnabled && languageSelectorProps && _jsx(LanguageSelector, { ...languageSelectorProps }), userActions] })] })] }));
9
+ return (_jsxs(NavMenuStyled, { children: [_jsxs("nav", { itemScope: true, itemType: 'https://www.schema.org/SiteNavigationElement', className: `navigation-pane --is-mobile ${isHeaderProductsHidden ? '--no-products' : ''}`, children: [_jsx("div", { onClick: toggleMenuOpen, onKeyDown: toggleMenuOpen, className: 'navigation-pane__trigger sans-serif --small', children: !isMenuOpen ? triggerMenuOpen : triggerMenuClose }), isMenuOpen && (_jsxs("div", { className: 'navigation-pane__wrapper', children: [userActions, !isSearchBarHidden && (_jsx(SearchBar, { products: searchableProducts, searchBarTexts: searchBarTexts, routes: routes, handleResultClick: handleResultClick })), _jsx(MenuItems, { hasProducts: !isHeaderProductsHidden, isResourcesHidden: isResourcesHidden, seeAllDocumentsText: menuStrings, setCookiePolicyFunc: setCookiePolicyFunc, routes: routes, finalMenu: finalMenu, configVars: configVars, navMenuItems: navMenuItems, extraMenu: extraMenu }), !isJonSnow && sitePhone && _jsx(NavMobileContactBar, { phone: sitePhone })] }))] }), _jsxs("nav", { className: `navigation-pane --is-desktop ${isHeaderProductsHidden ? '--no-products' : ''}`, children: [!isLeftNavHidden && (_jsx("div", { className: 'left-nav', children: _jsx(MenuItems, { hasProducts: !isHeaderProductsHidden, isResourcesHidden: isResourcesHidden, seeAllDocumentsText: menuStrings, setCookiePolicyFunc: setCookiePolicyFunc, routes: routes, finalMenu: finalMenu, configVars: configVars, navMenuItems: navMenuItems, extraMenu: extraMenu }) })), _jsxs("div", { className: 'right-nav', children: [showHeaderPhone && (_jsxs("div", { className: 'header-phone', children: [_jsx(PhoneIcon, {}), _jsxs("b", { children: [sitePhone, " "] })] })), !isSearchBarHidden && (_jsx(SearchBar, { products: searchableProducts, searchBarTexts: searchBarTexts, routes: routes, handleResultClick: handleResultClick })), languageSelectorConfigEnabled && languageSelectorProps && _jsx(LanguageSelector, { ...languageSelectorProps }), userActions] })] })] }));
10
10
  };
@@ -71,7 +71,7 @@ export const NavMenu: React.FC<NavMenuProps> = ({
71
71
  navMenuItems={navMenuItems}
72
72
  extraMenu={extraMenu}
73
73
  />
74
- {!isJonSnow && <NavMobileContactBar phone={sitePhone} />}
74
+ {!isJonSnow && sitePhone && <NavMobileContactBar phone={sitePhone} />}
75
75
  </div>
76
76
  )}
77
77
  </nav>
@@ -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 {
@@ -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, 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,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={`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}
@@ -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'