@npm_leadtech/legal-lib-components 5.64.10 → 5.64.12

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 (70) hide show
  1. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +4 -2
  2. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts +4 -2
  3. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +6 -24
  4. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +6 -24
  5. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +2 -1
  6. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +2 -1
  7. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -9
  8. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +50 -0
  9. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -50
  10. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -50
  11. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -18
  12. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +0 -6
  13. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +1 -6
  14. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +0 -7
  15. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  16. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
  17. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +1 -4
  18. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  19. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +4 -7
  20. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -4
  21. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +1 -4
  22. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +13 -9
  23. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +13 -9
  24. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +1 -0
  25. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +1 -0
  26. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  27. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -5
  28. package/dist/src/components/sections/index.d.ts +0 -1
  29. package/dist/src/components/sections/index.js +0 -1
  30. package/dist/src/components/sections/index.ts +0 -1
  31. package/dist/tsconfig.build.tsbuildinfo +1 -1
  32. package/package.json +2 -4
  33. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  34. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
  35. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +0 -4
  36. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +0 -6
  37. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +0 -1
  38. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +0 -88
  39. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +0 -89
  40. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +0 -21
  41. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +0 -5
  42. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.js +0 -1
  43. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +0 -5
  44. package/dist/src/components/atoms/CardStoryItem/index.d.ts +0 -2
  45. package/dist/src/components/atoms/CardStoryItem/index.js +0 -1
  46. package/dist/src/components/atoms/CardStoryItem/index.ts +0 -2
  47. package/dist/src/components/molecules/CardStory/CardStory.d.ts +0 -4
  48. package/dist/src/components/molecules/CardStory/CardStory.js +0 -7
  49. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +0 -1
  50. package/dist/src/components/molecules/CardStory/CardStory.styled.js +0 -24
  51. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +0 -25
  52. package/dist/src/components/molecules/CardStory/CardStory.tsx +0 -17
  53. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +0 -4
  54. package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +0 -1
  55. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +0 -5
  56. package/dist/src/components/molecules/CardStory/index.d.ts +0 -2
  57. package/dist/src/components/molecules/CardStory/index.js +0 -1
  58. package/dist/src/components/molecules/CardStory/index.ts +0 -2
  59. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +0 -4
  60. package/dist/src/components/sections/CardStorySection/CardStorySection.js +0 -7
  61. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +0 -1
  62. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +0 -42
  63. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +0 -43
  64. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +0 -19
  65. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +0 -7
  66. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +0 -1
  67. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +0 -8
  68. package/dist/src/components/sections/CardStorySection/index.d.ts +0 -2
  69. package/dist/src/components/sections/CardStorySection/index.js +0 -1
  70. package/dist/src/components/sections/CardStorySection/index.ts +0 -2
@@ -16,9 +16,11 @@ export const KeyFactCardListRatafiaStyled = styled.div `
16
16
  border-bottom: 8px solid var(--neutral-neutral-6);
17
17
  background: var(--neutral-neutral-6);
18
18
 
19
- height: calc(100vh - 24.5rem);
19
+ height: max(calc(100vh - 24.5rem), 240px);
20
+
20
21
  @media ${device['portrait-tablets']} {
21
- height: calc(100vh - 33.5rem);
22
+ height: max(calc(100vh - 33.5rem), 240px);
22
23
  }
24
+
23
25
  overflow-y: auto;
24
26
  `;
@@ -17,9 +17,11 @@ export const KeyFactCardListRatafiaStyled = styled.div`
17
17
  border-bottom: 8px solid var(--neutral-neutral-6);
18
18
  background: var(--neutral-neutral-6);
19
19
 
20
- height: calc(100vh - 24.5rem);
20
+ height: max(calc(100vh - 24.5rem), 240px);
21
+
21
22
  @media ${device['portrait-tablets']} {
22
- height: calc(100vh - 33.5rem);
23
+ height: max(calc(100vh - 33.5rem), 240px);
23
24
  }
25
+
24
26
  overflow-y: auto;
25
27
  `
@@ -11,19 +11,13 @@ export const AboutUsContentStyled = styled.div `
11
11
 
12
12
  .about-us-content__body {
13
13
  margin-top: 1rem;
14
+ margin-bottom: 2rem;
14
15
  font-family: var(--font-sans);
15
16
 
16
17
  @media ${device['landscape-tablets']} {
17
- flex-basis: 56%;
18
+ flex-basis: 50%;
18
19
  margin-top: 0;
19
- }
20
-
21
- @media ${device.laptop} {
22
- flex-basis: 59%;
23
- }
24
-
25
- @media ${device.desktop} {
26
- flex-basis: 60%;
20
+ margin-bottom: 3rem;
27
21
  }
28
22
 
29
23
  .m-richText {
@@ -50,28 +44,16 @@ export const AboutUsContentStyled = styled.div `
50
44
 
51
45
  @media ${device['landscape-tablets']} {
52
46
  margin-bottom: 0;
53
- margin-right: 1.5rem;
54
- flex-basis: 42%;
47
+ margin-right: 1rem;
48
+ flex-basis: 50%;
55
49
  }
56
50
 
57
51
  @media ${device.laptop} {
58
- flex-basis: 39%;
59
- margin-right: 2.5rem;
60
- }
61
-
62
- @media ${device.desktop} {
63
- flex-basis: 36.3%;
52
+ margin-bottom: -3rem;
64
53
  }
65
54
 
66
55
  img {
67
56
  width: 100%;
68
- border-radius: 16px;
69
- }
70
-
71
- .gatsby-image-wrapper-constrained {
72
- @media ${device['landscape-tablets']} {
73
- height: 100%;
74
- }
75
57
  }
76
58
  }
77
59
  `;
@@ -12,19 +12,13 @@ export const AboutUsContentStyled = styled.div`
12
12
 
13
13
  .about-us-content__body {
14
14
  margin-top: 1rem;
15
+ margin-bottom: 2rem;
15
16
  font-family: var(--font-sans);
16
17
 
17
18
  @media ${device['landscape-tablets']} {
18
- flex-basis: 56%;
19
+ flex-basis: 50%;
19
20
  margin-top: 0;
20
- }
21
-
22
- @media ${device.laptop} {
23
- flex-basis: 59%;
24
- }
25
-
26
- @media ${device.desktop} {
27
- flex-basis: 60%;
21
+ margin-bottom: 3rem;
28
22
  }
29
23
 
30
24
  .m-richText {
@@ -51,28 +45,16 @@ export const AboutUsContentStyled = styled.div`
51
45
 
52
46
  @media ${device['landscape-tablets']} {
53
47
  margin-bottom: 0;
54
- margin-right: 1.5rem;
55
- flex-basis: 42%;
48
+ margin-right: 1rem;
49
+ flex-basis: 50%;
56
50
  }
57
51
 
58
52
  @media ${device.laptop} {
59
- flex-basis: 39%;
60
- margin-right: 2.5rem;
61
- }
62
-
63
- @media ${device.desktop} {
64
- flex-basis: 36.3%;
53
+ margin-bottom: -3rem;
65
54
  }
66
55
 
67
56
  img {
68
57
  width: 100%;
69
- border-radius: 16px;
70
- }
71
-
72
- .gatsby-image-wrapper-constrained {
73
- @media ${device['landscape-tablets']} {
74
- height: 100%;
75
- }
76
58
  }
77
59
  }
78
60
  `
@@ -17,7 +17,8 @@ export const LayoutRatafiaStyled = styled.div `
17
17
  justify-content: space-between;
18
18
  padding: 1.5rem 1.5rem 0 1.5rem;
19
19
  width: 100%;
20
- height: calc(100vh - 8.375rem);
20
+ min-height: 400px;
21
+ height: auto;
21
22
  border-radius: var(--l-border-radius) var(--l-border-radius) 0 0;
22
23
  background: var(--others-white);
23
24
  box-shadow: var(--box-shadow-small);
@@ -18,7 +18,8 @@ export const LayoutRatafiaStyled = styled.div`
18
18
  justify-content: space-between;
19
19
  padding: 1.5rem 1.5rem 0 1.5rem;
20
20
  width: 100%;
21
- height: calc(100vh - 8.375rem);
21
+ min-height: 400px;
22
+ height: auto;
22
23
  border-radius: var(--l-border-radius) var(--l-border-radius) 0 0;
23
24
  background: var(--others-white);
24
25
  box-shadow: var(--box-shadow-small);
@@ -1,14 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
3
2
  import { RichTextInner } from '../../atoms';
4
3
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
5
- import classNames from 'classnames';
6
- const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFreeLegalBlogsContentType.default }) => {
7
- const classTry = classNames({
8
- 'try-our-free-legal-blogs-section-content': true,
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
- });
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 })] }));
4
+ const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
5
+ return (_jsxs(TryOurFreeLegalBlogsContentStyled, { 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
6
  };
14
7
  export default TryOurFreeLegalBlogsContent;
@@ -0,0 +1,50 @@
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
+ }
@@ -6,56 +6,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
6
6
  @media ${device['landscape-tablets']} {
7
7
  flex-direction: row;
8
8
  }
9
-
10
- &.try-our-free-legal-blogs-section-content--our-mission {
11
- margin-top: 1.5rem;
12
- margin-bottom: 1.5rem;
13
- align-items: center;
14
- @media ${device['landscape-tablets']} {
15
- margin-top: 3rem;
16
- }
17
-
18
- .try-our-free-legal-blogs-section__texts {
19
- margin-bottom: 2rem;
20
- @media ${device['landscape-tablets']} {
21
- margin-bottom: 1rem;
22
- }
23
-
24
- &__title {
25
- font-family: var(--font-sans);
26
- font-size: 28px;
27
- font-weight: 700;
28
- text-align: left;
29
- }
30
- }
31
- }
32
-
33
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
34
- margin-top: 1.5rem;
35
- margin-bottom: 1.5rem;
36
- align-items: center;
37
- @media ${device['landscape-tablets']} {
38
- margin-bottom: 3rem;
39
- flex-direction: row-reverse;
40
- }
41
-
42
- .try-our-free-legal-blogs-section__texts {
43
- margin-bottom: 2rem;
44
- @media ${device['landscape-tablets']} {
45
- margin-bottom: 1rem;
46
- margin-right: 0rem;
47
- margin-left: 3rem;
48
- }
49
-
50
- &__title {
51
- font-family: var(--font-sans);
52
- font-size: 28px;
53
- font-weight: 700;
54
- text-align: left;
55
- }
56
- }
57
- }
58
-
59
9
  .try-our-free-legal-blogs-section__texts {
60
10
  flex-basis: 50%;
61
11
  display: flex;
@@ -7,56 +7,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
7
7
  @media ${device['landscape-tablets']} {
8
8
  flex-direction: row;
9
9
  }
10
-
11
- &.try-our-free-legal-blogs-section-content--our-mission {
12
- margin-top: 1.5rem;
13
- margin-bottom: 1.5rem;
14
- align-items: center;
15
- @media ${device['landscape-tablets']} {
16
- margin-top: 3rem;
17
- }
18
-
19
- .try-our-free-legal-blogs-section__texts {
20
- margin-bottom: 2rem;
21
- @media ${device['landscape-tablets']} {
22
- margin-bottom: 1rem;
23
- }
24
-
25
- &__title {
26
- font-family: var(--font-sans);
27
- font-size: 28px;
28
- font-weight: 700;
29
- text-align: left;
30
- }
31
- }
32
- }
33
-
34
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
35
- margin-top: 1.5rem;
36
- margin-bottom: 1.5rem;
37
- align-items: center;
38
- @media ${device['landscape-tablets']} {
39
- margin-bottom: 3rem;
40
- flex-direction: row-reverse;
41
- }
42
-
43
- .try-our-free-legal-blogs-section__texts {
44
- margin-bottom: 2rem;
45
- @media ${device['landscape-tablets']} {
46
- margin-bottom: 1rem;
47
- margin-right: 0rem;
48
- margin-left: 3rem;
49
- }
50
-
51
- &__title {
52
- font-family: var(--font-sans);
53
- font-size: 28px;
54
- font-weight: 700;
55
- text-align: left;
56
- }
57
- }
58
- }
59
-
60
10
  .try-our-free-legal-blogs-section__texts {
61
11
  flex-basis: 50%;
62
12
  display: flex;
@@ -1,27 +1,12 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
- import {
4
- type TryOurFreeLegalBlogsContentProps,
5
- TryOurFreeLegalBlogsContentType
6
- } from './TryOurFreeLegalBlogsContentProps.types'
7
3
  import { RichTextInner } from '../../atoms'
4
+ import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
8
5
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
9
- import classNames from 'classnames'
10
6
 
11
- const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
12
- title,
13
- image,
14
- children,
15
- type = TryOurFreeLegalBlogsContentType.default
16
- }) => {
17
- const classTry = classNames({
18
- 'try-our-free-legal-blogs-section-content': true,
19
- 'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
- 'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
- TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
22
- })
7
+ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
23
8
  return (
24
- <TryOurFreeLegalBlogsContentStyled className={classTry}>
9
+ <TryOurFreeLegalBlogsContentStyled>
25
10
  <div className='try-our-free-legal-blogs-section__texts'>
26
11
  <h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
27
12
  <RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
@@ -1,11 +1,5 @@
1
- export declare enum TryOurFreeLegalBlogsContentType {
2
- default = "Default",
3
- ourMission = "Our Mission",
4
- ourMissionFirstImage = "Our Mission First Image"
5
- }
6
1
  export interface TryOurFreeLegalBlogsContentProps {
7
2
  title: string;
8
3
  image: React.ReactNode;
9
4
  children: React.ReactNode;
10
- type?: TryOurFreeLegalBlogsContentType;
11
5
  }
@@ -1,6 +1 @@
1
- export var TryOurFreeLegalBlogsContentType;
2
- (function (TryOurFreeLegalBlogsContentType) {
3
- TryOurFreeLegalBlogsContentType["default"] = "Default";
4
- TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
5
- TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
6
- })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
1
+ export {};
@@ -1,12 +1,5 @@
1
- export enum TryOurFreeLegalBlogsContentType {
2
- default = 'Default',
3
- ourMission = 'Our Mission',
4
- ourMissionFirstImage = 'Our Mission First Image'
5
- }
6
-
7
1
  export interface TryOurFreeLegalBlogsContentProps {
8
2
  title: string
9
3
  image: React.ReactNode
10
4
  children: React.ReactNode
11
- type?: TryOurFreeLegalBlogsContentType
12
5
  }
@@ -1,2 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { TryOurFreeLegalBlogsContentType, type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
2
+ export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,2 +1 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,5 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
2
- export {
3
- TryOurFreeLegalBlogsContentType,
4
- type TryOurFreeLegalBlogsContentProps
5
- } from './TryOurFreeLegalBlogsContentProps.types'
2
+ export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
- export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, 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 }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), 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 })] }));
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 })] }));
5
5
  };
@@ -3,7 +3,6 @@ import React from 'react'
3
3
  import {
4
4
  AboutUsSection,
5
5
  AsSeeInSection,
6
- CardStorySection,
7
6
  ExpertsSection,
8
7
  GuidelinesSection,
9
8
  PeopleSayAboutUsSection,
@@ -13,9 +12,7 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
13
12
 
14
13
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
15
14
  aboutUsSectionProps,
16
- ourMissionBlogsSectionProps,
17
- ourCoreValuesBlogsSectionProps,
18
- cardStorySection,
15
+ tryOurFreeLegalBlogsSectionProps,
19
16
  peopleSayAboutUsSectionProps,
20
17
  guidelinesSectionProps,
21
18
  expertsSectionProps,
@@ -25,9 +22,9 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
25
22
  return (
26
23
  <>
27
24
  {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
28
- {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
29
- {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
30
- {cardStorySection != null && <CardStorySection {...cardStorySection} />}
25
+ {tryOurFreeLegalBlogsSectionProps != null && (
26
+ <TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
27
+ )}
31
28
  {guidelinesSectionProps != null && (
32
29
  <GuidelinesSection {...guidelinesSectionProps}>
33
30
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -1,9 +1,7 @@
1
- import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  export interface AboutUsPageProps {
3
3
  aboutUsSectionProps?: AboutUsSectionProps;
4
- ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
- ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
- cardStorySection?: CardStorySectionProps;
4
+ tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
7
5
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
8
6
  guidelinesSectionProps?: GuidelinesSectionProps;
9
7
  tryUsSectionProps?: TryUsSectionProps;
@@ -1,7 +1,6 @@
1
1
  import type {
2
2
  AboutUsSectionProps,
3
3
  AsSeeInSectionProps,
4
- CardStorySectionProps,
5
4
  ExpertsSectionProps,
6
5
  GuidelinesSectionProps,
7
6
  PeopleSayAboutUsSectionProps,
@@ -11,9 +10,7 @@ import type {
11
10
 
12
11
  export interface AboutUsPageProps {
13
12
  aboutUsSectionProps?: AboutUsSectionProps
14
- ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
15
- ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
- cardStorySection?: CardStorySectionProps
13
+ tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
17
14
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
18
15
  guidelinesSectionProps?: GuidelinesSectionProps
19
16
  tryUsSectionProps?: TryUsSectionProps
@@ -3,10 +3,10 @@ import styled from 'styled-components';
3
3
  export const AboutUsSectionStyled = styled.div `
4
4
  padding-top: 1.125rem;
5
5
  background: var(--primary-main-light-6);
6
- padding-bottom: 2rem;
6
+ margin-bottom: 3rem;
7
7
 
8
- @media ${device['landscape-tablets']} {
9
- padding-bottom: 4rem;
8
+ @media ${device.laptop} {
9
+ margin-bottom: 5rem;
10
10
  }
11
11
 
12
12
  .about-us-section {
@@ -26,10 +26,9 @@ export const AboutUsSectionStyled = styled.div `
26
26
  }
27
27
 
28
28
  &__sub-title {
29
- margin-bottom: 2rem;
30
- margin-top: 2rem;
29
+ margin-bottom: 1.5rem;
31
30
  text-align: center;
32
- font-size: 1.75rem;
31
+ font-size: 2rem;
33
32
  line-height: 1.2;
34
33
  letter-spacing: -0.4px;
35
34
  font-weight: 400;
@@ -37,12 +36,17 @@ export const AboutUsSectionStyled = styled.div `
37
36
  color: var(--neutral-neutral-1);
38
37
 
39
38
  @media ${device['landscape-tablets']} {
40
- font-size: 2rem;
41
- margin: 3rem auto 3rem auto;
39
+ font-size: 2.3rem;
40
+ max-width: $sm;
41
+ margin: 0 auto 2rem auto;
42
+ }
43
+
44
+ @media ${device.desktop} {
45
+ max-width: 792px;
42
46
  }
43
47
 
44
48
  @media ${device.laptop} {
45
- font-size: 2.25rem;
49
+ font-size: 3rem;
46
50
  }
47
51
  }
48
52
  }
@@ -4,10 +4,10 @@ import styled from 'styled-components'
4
4
  export const AboutUsSectionStyled = styled.div`
5
5
  padding-top: 1.125rem;
6
6
  background: var(--primary-main-light-6);
7
- padding-bottom: 2rem;
7
+ margin-bottom: 3rem;
8
8
 
9
- @media ${device['landscape-tablets']} {
10
- padding-bottom: 4rem;
9
+ @media ${device.laptop} {
10
+ margin-bottom: 5rem;
11
11
  }
12
12
 
13
13
  .about-us-section {
@@ -27,10 +27,9 @@ export const AboutUsSectionStyled = styled.div`
27
27
  }
28
28
 
29
29
  &__sub-title {
30
- margin-bottom: 2rem;
31
- margin-top: 2rem;
30
+ margin-bottom: 1.5rem;
32
31
  text-align: center;
33
- font-size: 1.75rem;
32
+ font-size: 2rem;
34
33
  line-height: 1.2;
35
34
  letter-spacing: -0.4px;
36
35
  font-weight: 400;
@@ -38,12 +37,17 @@ export const AboutUsSectionStyled = styled.div`
38
37
  color: var(--neutral-neutral-1);
39
38
 
40
39
  @media ${device['landscape-tablets']} {
41
- font-size: 2rem;
42
- margin: 3rem auto 3rem auto;
40
+ font-size: 2.3rem;
41
+ max-width: $sm;
42
+ margin: 0 auto 2rem auto;
43
+ }
44
+
45
+ @media ${device.desktop} {
46
+ max-width: 792px;
43
47
  }
44
48
 
45
49
  @media ${device.laptop} {
46
- font-size: 2.25rem;
50
+ font-size: 3rem;
47
51
  }
48
52
  }
49
53
  }
@@ -6,4 +6,5 @@ export const GuidelinesSectionStyled = styled.section `
6
6
  background: var(--neutral-neutral-6);
7
7
  padding-top: 2rem;
8
8
  padding-bottom: 2rem;
9
+ margin-top: 3rem;
9
10
  `;
@@ -7,4 +7,5 @@ export const GuidelinesSectionStyled = styled.section`
7
7
  background: var(--neutral-neutral-6);
8
8
  padding-top: 2rem;
9
9
  padding-bottom: 2rem;
10
+ margin-top: 3rem;
10
11
  `
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
3
3
  import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
4
4
  const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
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 }) }));
5
+ return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
6
6
  };
7
7
  export default TryOurFreeLegalBlogsSection;
@@ -7,11 +7,7 @@ import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection
7
7
  const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
8
8
  return (
9
9
  <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
10
- <TryOurFreeLegalBlogsContent
11
- title={contentTryOurFreeLegalBlogs.title}
12
- image={contentTryOurFreeLegalBlogs.image}
13
- type={contentTryOurFreeLegalBlogs.type}
14
- >
10
+ <TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
15
11
  {contentTryOurFreeLegalBlogs.children}
16
12
  </TryOurFreeLegalBlogsContent>
17
13
  </TryOurFreeLegalBlogsSectionStyled>
@@ -23,4 +23,3 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
- export * from './CardStorySection';
@@ -23,4 +23,3 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
- export * from './CardStorySection';
@@ -23,4 +23,3 @@ export * from './TryUsSection'
23
23
  export * from './UnsubscribeSection'
24
24
  export * from './WhyLawDistrictSection'
25
25
  export * from './LearnMoreSection'
26
- export * from './CardStorySection'