@npm_leadtech/legal-lib-components 5.64.3 → 5.64.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
8
8
  }
9
9
 
10
10
  &.try-our-free-legal-blogs-section-content--our-mission {
11
+ margin-top: 1.5rem;
12
+ margin-bottom: 1.5rem;
11
13
  align-items: center;
12
14
  .try-our-free-legal-blogs-section__texts {
13
15
  margin-bottom: 2rem;
@@ -25,6 +27,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
25
27
  }
26
28
 
27
29
  &.try-our-free-legal-blogs-section-content--our-mission-first-image {
30
+ margin-top: 1.5rem;
31
+ margin-bottom: 1.5rem;
28
32
  align-items: center;
29
33
  @media ${device['landscape-tablets']} {
30
34
  flex-direction: row-reverse;
@@ -9,6 +9,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
9
9
  }
10
10
 
11
11
  &.try-our-free-legal-blogs-section-content--our-mission {
12
+ margin-top: 1.5rem;
13
+ margin-bottom: 1.5rem;
12
14
  align-items: center;
13
15
  .try-our-free-legal-blogs-section__texts {
14
16
  margin-bottom: 2rem;
@@ -26,6 +28,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
26
28
  }
27
29
 
28
30
  &.try-our-free-legal-blogs-section-content--our-mission-first-image {
31
+ margin-top: 1.5rem;
32
+ margin-bottom: 1.5rem;
29
33
  align-items: center;
30
34
  @media ${device['landscape-tablets']} {
31
35
  flex-direction: row-reverse;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AboutUsSection, AsSeeInSection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
- export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
- return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
3
+ export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
5
5
  };
@@ -12,7 +12,8 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
12
12
 
13
13
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
14
14
  aboutUsSectionProps,
15
- tryOurFreeLegalBlogsSectionProps,
15
+ ourMissionBlogsSectionProps,
16
+ ourCoreValuesBlogsSectionProps,
16
17
  peopleSayAboutUsSectionProps,
17
18
  guidelinesSectionProps,
18
19
  expertsSectionProps,
@@ -22,9 +23,8 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
22
23
  return (
23
24
  <>
24
25
  {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
25
- {tryOurFreeLegalBlogsSectionProps != null && (
26
- <TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
27
- )}
26
+ {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
27
+ {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
28
28
  {guidelinesSectionProps != null && (
29
29
  <GuidelinesSection {...guidelinesSectionProps}>
30
30
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -1,7 +1,8 @@
1
1
  import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  export interface AboutUsPageProps {
3
3
  aboutUsSectionProps?: AboutUsSectionProps;
4
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
4
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
6
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
6
7
  guidelinesSectionProps?: GuidelinesSectionProps;
7
8
  tryUsSectionProps?: TryUsSectionProps;
@@ -10,7 +10,8 @@ import type {
10
10
 
11
11
  export interface AboutUsPageProps {
12
12
  aboutUsSectionProps?: AboutUsSectionProps
13
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
13
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
14
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
14
15
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
15
16
  guidelinesSectionProps?: GuidelinesSectionProps
16
17
  tryUsSectionProps?: TryUsSectionProps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.64.3",
3
+ "version": "5.64.4",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,50 +0,0 @@
1
- @import '../../../globalStyles/variables.scss';
2
- @import '../../../globalStyles/mediaqueries.scss';
3
-
4
- .try-our-free-legal-blogs-section {
5
- &__texts {
6
- flex-basis: 50%;
7
- display: flex;
8
- flex-direction: column;
9
- justify-content: center;
10
- margin-bottom: 1rem;
11
- margin-right: 0;
12
- color: var(--neutral-neutral-1);
13
- font-style: normal;
14
- font-weight: 400;
15
- letter-spacing: -0.3px;
16
-
17
- @include landscape-tablets {
18
- margin-right: 3rem;
19
- margin-bottom: 0;
20
- }
21
-
22
- &__title {
23
- font-family: var(--font-serif);
24
- font-size: 32px;
25
- line-height: 42px;
26
- margin-bottom: 2rem;
27
- text-align: center;
28
- font-weight: 400;
29
-
30
- @include landscape-tablets {
31
- text-align: left;
32
- }
33
- }
34
-
35
- &__body {
36
- font-family: var(--font-sans);
37
- font-size: 16px;
38
- line-height: 22px;
39
-
40
- a {
41
- color: var(--primary-main-light-1);
42
- font-weight: 400 !important;
43
- }
44
- }
45
- }
46
-
47
- &__image {
48
- flex-basis: 50%;
49
- }
50
- }