@npm_leadtech/legal-lib-components 5.64.14 → 5.64.16
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.
- package/dist/images/componentsSvg/flags/CAFlag.d.ts +2 -0
- package/dist/images/componentsSvg/flags/CAFlag.js +4 -0
- package/dist/images/componentsSvg/flags/CAFlag.tsx +34 -0
- package/dist/images/componentsSvg/flags/DEFlag.d.ts +2 -0
- package/dist/images/componentsSvg/flags/DEFlag.js +4 -0
- package/dist/images/componentsSvg/flags/DEFlag.tsx +20 -0
- package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
- package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +4 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +6 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +91 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +92 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +23 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +5 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.js +1 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +5 -0
- package/dist/src/components/atoms/CardStoryItem/index.d.ts +2 -0
- package/dist/src/components/atoms/CardStoryItem/index.js +1 -0
- package/dist/src/components/atoms/CardStoryItem/index.ts +2 -0
- package/dist/src/components/molecules/CardStory/CardStory.d.ts +4 -0
- package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
- package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +1 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
- package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
- package/dist/src/components/molecules/CardStory/index.js +1 -0
- package/dist/src/components/molecules/CardStory/index.ts +2 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +2 -4
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts +2 -4
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.js +5 -1
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +5 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +1 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +1 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
- package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +1 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +1 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
- package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
- package/dist/src/components/sections/CardStorySection/index.js +1 -0
- package/dist/src/components/sections/CardStorySection/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
- package/dist/src/components/sections/index.d.ts +1 -0
- package/dist/src/components/sections/index.js +1 -0
- package/dist/src/components/sections/index.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
|
|
2
3
|
import { RichTextInner } from '../../atoms';
|
|
3
4
|
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
|
|
4
|
-
|
|
5
|
-
|
|
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 })] }));
|
|
6
13
|
};
|
|
7
14
|
export default TryOurFreeLegalBlogsContent;
|
|
@@ -6,6 +6,56 @@ 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
|
+
|
|
9
59
|
.try-our-free-legal-blogs-section__texts {
|
|
10
60
|
flex-basis: 50%;
|
|
11
61
|
display: flex;
|
|
@@ -7,6 +7,56 @@ 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
|
+
|
|
10
60
|
.try-our-free-legal-blogs-section__texts {
|
|
11
61
|
flex-basis: 50%;
|
|
12
62
|
display: flex;
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
|
+
import {
|
|
4
|
+
type TryOurFreeLegalBlogsContentProps,
|
|
5
|
+
TryOurFreeLegalBlogsContentType
|
|
6
|
+
} from './TryOurFreeLegalBlogsContentProps.types'
|
|
3
7
|
import { RichTextInner } from '../../atoms'
|
|
4
|
-
import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
|
|
5
8
|
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
|
|
9
|
+
import classNames from 'classnames'
|
|
6
10
|
|
|
7
|
-
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
|
|
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
|
+
})
|
|
8
23
|
return (
|
|
9
|
-
<TryOurFreeLegalBlogsContentStyled>
|
|
24
|
+
<TryOurFreeLegalBlogsContentStyled className={classTry}>
|
|
10
25
|
<div className='try-our-free-legal-blogs-section__texts'>
|
|
11
26
|
<h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
|
|
12
27
|
<RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
export declare enum TryOurFreeLegalBlogsContentType {
|
|
2
|
+
default = "Default",
|
|
3
|
+
ourMission = "Our Mission",
|
|
4
|
+
ourMissionFirstImage = "Our Mission First Image"
|
|
5
|
+
}
|
|
1
6
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
2
7
|
title: string;
|
|
3
8
|
image: React.ReactNode;
|
|
4
9
|
children: React.ReactNode;
|
|
10
|
+
type?: TryOurFreeLegalBlogsContentType;
|
|
5
11
|
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export
|
|
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,5 +1,12 @@
|
|
|
1
|
+
export enum TryOurFreeLegalBlogsContentType {
|
|
2
|
+
default = 'Default',
|
|
3
|
+
ourMission = 'Our Mission',
|
|
4
|
+
ourMissionFirstImage = 'Our Mission First Image'
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
2
8
|
title: string
|
|
3
9
|
image: React.ReactNode
|
|
4
10
|
children: React.ReactNode
|
|
11
|
+
type?: TryOurFreeLegalBlogsContentType
|
|
5
12
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
|
|
2
|
-
export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
|
|
2
|
+
export { TryOurFreeLegalBlogsContentType, type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
|
|
2
|
-
export {
|
|
2
|
+
export {
|
|
3
|
+
TryOurFreeLegalBlogsContentType,
|
|
4
|
+
type TryOurFreeLegalBlogsContentProps
|
|
5
|
+
} 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, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
|
|
3
|
-
export const AboutUsPage = ({ aboutUsSectionProps,
|
|
4
|
-
return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }),
|
|
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 })] }));
|
|
5
5
|
};
|
|
@@ -3,6 +3,7 @@ import React from 'react'
|
|
|
3
3
|
import {
|
|
4
4
|
AboutUsSection,
|
|
5
5
|
AsSeeInSection,
|
|
6
|
+
CardStorySection,
|
|
6
7
|
ExpertsSection,
|
|
7
8
|
GuidelinesSection,
|
|
8
9
|
PeopleSayAboutUsSection,
|
|
@@ -12,7 +13,9 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
|
|
|
12
13
|
|
|
13
14
|
export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
14
15
|
aboutUsSectionProps,
|
|
15
|
-
|
|
16
|
+
ourMissionBlogsSectionProps,
|
|
17
|
+
ourCoreValuesBlogsSectionProps,
|
|
18
|
+
cardStorySection,
|
|
16
19
|
peopleSayAboutUsSectionProps,
|
|
17
20
|
guidelinesSectionProps,
|
|
18
21
|
expertsSectionProps,
|
|
@@ -22,9 +25,9 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
|
22
25
|
return (
|
|
23
26
|
<>
|
|
24
27
|
{aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
|
|
25
|
-
{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
{ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
|
|
29
|
+
{ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
|
|
30
|
+
{cardStorySection != null && <CardStorySection {...cardStorySection} />}
|
|
28
31
|
{guidelinesSectionProps != null && (
|
|
29
32
|
<GuidelinesSection {...guidelinesSectionProps}>
|
|
30
33
|
{guidelinesSectionProps.contentGuidelines?.children}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
1
|
+
import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
2
2
|
export interface AboutUsPageProps {
|
|
3
3
|
aboutUsSectionProps?: AboutUsSectionProps;
|
|
4
|
-
|
|
4
|
+
ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
|
|
5
|
+
ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
|
|
6
|
+
cardStorySection?: CardStorySectionProps;
|
|
5
7
|
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
|
|
6
8
|
guidelinesSectionProps?: GuidelinesSectionProps;
|
|
7
9
|
tryUsSectionProps?: TryUsSectionProps;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
AboutUsSectionProps,
|
|
3
3
|
AsSeeInSectionProps,
|
|
4
|
+
CardStorySectionProps,
|
|
4
5
|
ExpertsSectionProps,
|
|
5
6
|
GuidelinesSectionProps,
|
|
6
7
|
PeopleSayAboutUsSectionProps,
|
|
@@ -10,7 +11,9 @@ import type {
|
|
|
10
11
|
|
|
11
12
|
export interface AboutUsPageProps {
|
|
12
13
|
aboutUsSectionProps?: AboutUsSectionProps
|
|
13
|
-
|
|
14
|
+
ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
|
|
15
|
+
ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
|
|
16
|
+
cardStorySection?: CardStorySectionProps
|
|
14
17
|
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
|
|
15
18
|
guidelinesSectionProps?: GuidelinesSectionProps
|
|
16
19
|
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
|
-
|
|
6
|
+
padding-bottom: 2rem;
|
|
7
7
|
|
|
8
|
-
@media ${device
|
|
9
|
-
|
|
8
|
+
@media ${device['landscape-tablets']} {
|
|
9
|
+
padding-bottom: 4rem;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.about-us-section {
|
|
@@ -26,9 +26,10 @@ export const AboutUsSectionStyled = styled.div `
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&__sub-title {
|
|
29
|
-
margin-bottom:
|
|
29
|
+
margin-bottom: 2rem;
|
|
30
|
+
margin-top: 2rem;
|
|
30
31
|
text-align: center;
|
|
31
|
-
font-size:
|
|
32
|
+
font-size: 1.75rem;
|
|
32
33
|
line-height: 1.2;
|
|
33
34
|
letter-spacing: -0.4px;
|
|
34
35
|
font-weight: 400;
|
|
@@ -36,17 +37,12 @@ export const AboutUsSectionStyled = styled.div `
|
|
|
36
37
|
color: var(--neutral-neutral-1);
|
|
37
38
|
|
|
38
39
|
@media ${device['landscape-tablets']} {
|
|
39
|
-
font-size:
|
|
40
|
-
|
|
41
|
-
margin: 0 auto 2rem auto;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@media ${device.desktop} {
|
|
45
|
-
max-width: 792px;
|
|
40
|
+
font-size: 2rem;
|
|
41
|
+
margin: 3rem auto 3rem auto;
|
|
46
42
|
}
|
|
47
43
|
|
|
48
44
|
@media ${device.laptop} {
|
|
49
|
-
font-size:
|
|
45
|
+
font-size: 2.25rem;
|
|
50
46
|
}
|
|
51
47
|
}
|
|
52
48
|
}
|
|
@@ -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
|
-
|
|
7
|
+
padding-bottom: 2rem;
|
|
8
8
|
|
|
9
|
-
@media ${device
|
|
10
|
-
|
|
9
|
+
@media ${device['landscape-tablets']} {
|
|
10
|
+
padding-bottom: 4rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.about-us-section {
|
|
@@ -27,9 +27,10 @@ export const AboutUsSectionStyled = styled.div`
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&__sub-title {
|
|
30
|
-
margin-bottom:
|
|
30
|
+
margin-bottom: 2rem;
|
|
31
|
+
margin-top: 2rem;
|
|
31
32
|
text-align: center;
|
|
32
|
-
font-size:
|
|
33
|
+
font-size: 1.75rem;
|
|
33
34
|
line-height: 1.2;
|
|
34
35
|
letter-spacing: -0.4px;
|
|
35
36
|
font-weight: 400;
|
|
@@ -37,17 +38,12 @@ export const AboutUsSectionStyled = styled.div`
|
|
|
37
38
|
color: var(--neutral-neutral-1);
|
|
38
39
|
|
|
39
40
|
@media ${device['landscape-tablets']} {
|
|
40
|
-
font-size:
|
|
41
|
-
|
|
42
|
-
margin: 0 auto 2rem auto;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@media ${device.desktop} {
|
|
46
|
-
max-width: 792px;
|
|
41
|
+
font-size: 2rem;
|
|
42
|
+
margin: 3rem auto 3rem auto;
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
@media ${device.laptop} {
|
|
50
|
-
font-size:
|
|
46
|
+
font-size: 2.25rem;
|
|
51
47
|
}
|
|
52
48
|
}
|
|
53
49
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CardStory } from '../../molecules/CardStory';
|
|
3
|
+
import { CardStorySectionStyled } from './CardStorySection.styled';
|
|
4
|
+
const CardStorySection = ({ title, text, cardStory }) => {
|
|
5
|
+
return (_jsx(CardStorySectionStyled, { className: 'card-story-section', children: _jsxs("div", { className: 'wrapper card-story-section__content', children: [_jsx("h2", { className: 'card-story-section__title', children: title }), _jsx("div", { className: 'card-story-section__text', children: text }), _jsx(CardStory, { cardStoryItems: cardStory.cardStoryItems })] }) }));
|
|
6
|
+
};
|
|
7
|
+
export default CardStorySection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CardStorySectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const CardStorySectionStyled = styled.div `
|
|
4
|
+
padding: 1.5rem;
|
|
5
|
+
background: var(--secondary-main-light-4);
|
|
6
|
+
|
|
7
|
+
.card-story-section {
|
|
8
|
+
&__title {
|
|
9
|
+
font-weight: 700;
|
|
10
|
+
font-size: 1.8rem;
|
|
11
|
+
color: var(--neutral-neutral-1);
|
|
12
|
+
font-family: var(--font-sans);
|
|
13
|
+
padding-bottom: 1.5rem;
|
|
14
|
+
}
|
|
15
|
+
&__text {
|
|
16
|
+
font-size: 1rem;
|
|
17
|
+
color: var(--neutral-neutral-1);
|
|
18
|
+
font-family: var(--font-sans);
|
|
19
|
+
padding-bottom: 0.5rem;
|
|
20
|
+
}
|
|
21
|
+
&__content {
|
|
22
|
+
border-radius: var(--l-border-radius);
|
|
23
|
+
background: var(--others-white);
|
|
24
|
+
padding: 1.5rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media ${device['landscape-tablets']} {
|
|
29
|
+
padding: 3rem 1.5rem 3rem 1.5rem;
|
|
30
|
+
|
|
31
|
+
.card-story-section {
|
|
32
|
+
&__title {
|
|
33
|
+
}
|
|
34
|
+
&__text {
|
|
35
|
+
padding-bottom: 1.5rem;
|
|
36
|
+
}
|
|
37
|
+
&__content {
|
|
38
|
+
padding: 3rem;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const CardStorySectionStyled = styled.div`
|
|
5
|
+
padding: 1.5rem;
|
|
6
|
+
background: var(--secondary-main-light-4);
|
|
7
|
+
|
|
8
|
+
.card-story-section {
|
|
9
|
+
&__title {
|
|
10
|
+
font-weight: 700;
|
|
11
|
+
font-size: 1.8rem;
|
|
12
|
+
color: var(--neutral-neutral-1);
|
|
13
|
+
font-family: var(--font-sans);
|
|
14
|
+
padding-bottom: 1.5rem;
|
|
15
|
+
}
|
|
16
|
+
&__text {
|
|
17
|
+
font-size: 1rem;
|
|
18
|
+
color: var(--neutral-neutral-1);
|
|
19
|
+
font-family: var(--font-sans);
|
|
20
|
+
padding-bottom: 0.5rem;
|
|
21
|
+
}
|
|
22
|
+
&__content {
|
|
23
|
+
border-radius: var(--l-border-radius);
|
|
24
|
+
background: var(--others-white);
|
|
25
|
+
padding: 1.5rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media ${device['landscape-tablets']} {
|
|
30
|
+
padding: 3rem 1.5rem 3rem 1.5rem;
|
|
31
|
+
|
|
32
|
+
.card-story-section {
|
|
33
|
+
&__title {
|
|
34
|
+
}
|
|
35
|
+
&__text {
|
|
36
|
+
padding-bottom: 1.5rem;
|
|
37
|
+
}
|
|
38
|
+
&__content {
|
|
39
|
+
padding: 3rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { CardStory } from '../../molecules/CardStory'
|
|
4
|
+
import { CardStorySectionProps } from './CardStorySectionProps.types'
|
|
5
|
+
import { CardStorySectionStyled } from './CardStorySection.styled'
|
|
6
|
+
|
|
7
|
+
const CardStorySection: FC<CardStorySectionProps> = ({ title, text, cardStory }) => {
|
|
8
|
+
return (
|
|
9
|
+
<CardStorySectionStyled className='card-story-section'>
|
|
10
|
+
<div className='wrapper card-story-section__content'>
|
|
11
|
+
<h2 className='card-story-section__title'>{title}</h2>
|
|
12
|
+
<div className='card-story-section__text'>{text}</div>
|
|
13
|
+
<CardStory cardStoryItems={cardStory.cardStoryItems} />
|
|
14
|
+
</div>
|
|
15
|
+
</CardStorySectionStyled>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default CardStorySection
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CardStorySection } from './CardStorySection';
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js
CHANGED
|
@@ -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, 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 }) }));
|
|
6
6
|
};
|
|
7
7
|
export default TryOurFreeLegalBlogsSection;
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx
CHANGED
|
@@ -7,7 +7,11 @@ 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
|
|
10
|
+
<TryOurFreeLegalBlogsContent
|
|
11
|
+
title={contentTryOurFreeLegalBlogs.title}
|
|
12
|
+
image={contentTryOurFreeLegalBlogs.image}
|
|
13
|
+
type={contentTryOurFreeLegalBlogs.type}
|
|
14
|
+
>
|
|
11
15
|
{contentTryOurFreeLegalBlogs.children}
|
|
12
16
|
</TryOurFreeLegalBlogsContent>
|
|
13
17
|
</TryOurFreeLegalBlogsSectionStyled>
|