@npm_leadtech/legal-lib-components 5.78.2 → 5.78.3
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/png/about-us-dena.png +0 -0
- package/dist/images/png/about-us-grover.png +0 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +1 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +21 -17
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +21 -17
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +9 -8
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +3 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +3 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +4 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +4 -7
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +0 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +0 -3
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +1 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +3 -20
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +3 -20
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +1 -3
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.d.ts +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +0 -1
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +0 -7
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +0 -7
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +37 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +11 -9
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +11 -9
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +5 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +5 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +2 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +2 -11
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +0 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +0 -3
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +7 -11
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +7 -11
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExpertCardStyled } from './ExpertCard.styled';
|
|
3
3
|
const ExpertCard = ({ title, url, description, image }) => {
|
|
4
|
-
return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] }) }));
|
|
4
|
+
return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), _jsxs("div", { className: 'expert-card__texts', children: [url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] })] }) }));
|
|
5
5
|
};
|
|
6
6
|
export default ExpertCard;
|
|
@@ -17,50 +17,54 @@ export const ExpertCardStyled = styled.div `
|
|
|
17
17
|
.expert-card {
|
|
18
18
|
&__box {
|
|
19
19
|
background-color: white;
|
|
20
|
-
border-radius:
|
|
20
|
+
border-radius: 1rem;
|
|
21
21
|
box-shadow: var(--box-shadow-container);
|
|
22
|
-
padding: 7rem 2rem 0 2rem;
|
|
23
|
-
min-height: 13rem;
|
|
24
22
|
display: flex;
|
|
25
|
-
flex-direction:
|
|
23
|
+
flex-direction: row;
|
|
26
24
|
align-items: center;
|
|
27
25
|
justify-content: flex-start;
|
|
28
|
-
width: 17.625rem;
|
|
29
|
-
margin-left: 0;
|
|
30
26
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
width: 383px;
|
|
28
|
+
padding: 16px;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 24px;
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
&__image {
|
|
37
|
-
position: absolute;
|
|
38
|
-
transform: translateY(-115%);
|
|
39
|
-
|
|
40
34
|
img {
|
|
41
|
-
|
|
35
|
+
width: 117px;
|
|
36
|
+
height: auto;
|
|
37
|
+
border-radius: 8px;
|
|
42
38
|
}
|
|
43
39
|
}
|
|
44
40
|
|
|
41
|
+
&__texts {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: start;
|
|
45
|
+
justify-content: left;
|
|
46
|
+
}
|
|
47
|
+
|
|
45
48
|
&__title {
|
|
46
49
|
font-family: var(--font-sans);
|
|
47
50
|
font-size: 18px;
|
|
48
51
|
font-weight: 700;
|
|
49
52
|
line-height: 1.5rem;
|
|
50
53
|
letter-spacing: -0.3px;
|
|
51
|
-
text-align: center;
|
|
52
54
|
width: 75%;
|
|
53
55
|
text-decoration: none;
|
|
56
|
+
margin-bottom: 0.6rem;
|
|
57
|
+
min-width: fit-content;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
&__description {
|
|
57
|
-
|
|
61
|
+
color: var(--neutral-neutral-1);
|
|
62
|
+
font-family: Inter;
|
|
58
63
|
font-size: 16px;
|
|
64
|
+
font-style: normal;
|
|
59
65
|
font-weight: 400;
|
|
60
66
|
line-height: 22px;
|
|
61
67
|
letter-spacing: -0.3px;
|
|
62
|
-
text-align: center;
|
|
63
|
-
width: 75%;
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
`;
|
|
@@ -18,50 +18,54 @@ export const ExpertCardStyled = styled.div`
|
|
|
18
18
|
.expert-card {
|
|
19
19
|
&__box {
|
|
20
20
|
background-color: white;
|
|
21
|
-
border-radius:
|
|
21
|
+
border-radius: 1rem;
|
|
22
22
|
box-shadow: var(--box-shadow-container);
|
|
23
|
-
padding: 7rem 2rem 0 2rem;
|
|
24
|
-
min-height: 13rem;
|
|
25
23
|
display: flex;
|
|
26
|
-
flex-direction:
|
|
24
|
+
flex-direction: row;
|
|
27
25
|
align-items: center;
|
|
28
26
|
justify-content: flex-start;
|
|
29
|
-
width: 17.625rem;
|
|
30
|
-
margin-left: 0;
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
width: 383px;
|
|
29
|
+
padding: 16px;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: 24px;
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
&__image {
|
|
38
|
-
position: absolute;
|
|
39
|
-
transform: translateY(-115%);
|
|
40
|
-
|
|
41
35
|
img {
|
|
42
|
-
|
|
36
|
+
width: 117px;
|
|
37
|
+
height: auto;
|
|
38
|
+
border-radius: 8px;
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
41
|
|
|
42
|
+
&__texts {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: start;
|
|
46
|
+
justify-content: left;
|
|
47
|
+
}
|
|
48
|
+
|
|
46
49
|
&__title {
|
|
47
50
|
font-family: var(--font-sans);
|
|
48
51
|
font-size: 18px;
|
|
49
52
|
font-weight: 700;
|
|
50
53
|
line-height: 1.5rem;
|
|
51
54
|
letter-spacing: -0.3px;
|
|
52
|
-
text-align: center;
|
|
53
55
|
width: 75%;
|
|
54
56
|
text-decoration: none;
|
|
57
|
+
margin-bottom: 0.6rem;
|
|
58
|
+
min-width: fit-content;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
&__description {
|
|
58
|
-
|
|
62
|
+
color: var(--neutral-neutral-1);
|
|
63
|
+
font-family: Inter;
|
|
59
64
|
font-size: 16px;
|
|
65
|
+
font-style: normal;
|
|
60
66
|
font-weight: 400;
|
|
61
67
|
line-height: 22px;
|
|
62
68
|
letter-spacing: -0.3px;
|
|
63
|
-
text-align: center;
|
|
64
|
-
width: 75%;
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
71
|
`
|
|
@@ -8,14 +8,15 @@ const ExpertCard: FC<ExpertCardProps> = ({ title, url, description, image }) =>
|
|
|
8
8
|
<ExpertCardStyled className='expert-card'>
|
|
9
9
|
<div className='expert-card__box'>
|
|
10
10
|
<div className='expert-card__image'>{image}</div>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
<div className='expert-card__texts'>
|
|
12
|
+
{url != null && (
|
|
13
|
+
<a className='expert-card__title' href={url}>
|
|
14
|
+
{title}
|
|
15
|
+
</a>
|
|
16
|
+
)}
|
|
17
|
+
{url == null && <p className='expert-card__title'>{title}</p>}
|
|
18
|
+
<p className='expert-card__description'>{description}</p>
|
|
19
|
+
</div>
|
|
19
20
|
</div>
|
|
20
21
|
</ExpertCardStyled>
|
|
21
22
|
)
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const TrustPilotStyled = styled.div `
|
|
4
|
-
|
|
4
|
+
margin: auto;
|
|
5
|
+
padding: 0 1rem;
|
|
5
6
|
|
|
6
7
|
&.trustpilot {
|
|
7
8
|
@media ${device['landscape-tablets']} {
|
|
8
|
-
margin:
|
|
9
|
+
margin: 3rem auto;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
`;
|
|
@@ -2,11 +2,12 @@ import { device } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const TrustPilotStyled = styled.div`
|
|
5
|
-
|
|
5
|
+
margin: auto;
|
|
6
|
+
padding: 0 1rem;
|
|
6
7
|
|
|
7
8
|
&.trustpilot {
|
|
8
9
|
@media ${device['landscape-tablets']} {
|
|
9
|
-
margin:
|
|
10
|
+
margin: 3rem auto;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
`
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled';
|
|
3
|
-
|
|
3
|
+
import midBanner1Img from '../../../../images/svg/mid-banner-1.svg';
|
|
4
|
+
import midBanner2Img from '../../../../images/svg/mid-banner-2.svg';
|
|
5
|
+
import midBanner3Img from '../../../../images/svg/mid-banner-3.svg';
|
|
6
|
+
const MidBannerRatafiaSample = ({ image, isEsignatureImage = false }) => {
|
|
4
7
|
return (_jsxs(MidBannerRatafiaSampleStyled, { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), !isEsignatureImage && (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: midBanner1Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner2Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner3Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] }))] }));
|
|
5
8
|
};
|
|
6
9
|
export default MidBannerRatafiaSample;
|
|
@@ -2,14 +2,11 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { type MidBannerRatafiaSampleProps } from './MidBannerRatafiaSampleProps.types'
|
|
4
4
|
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled'
|
|
5
|
+
import midBanner1Img from '../../../../images/svg/mid-banner-1.svg'
|
|
6
|
+
import midBanner2Img from '../../../../images/svg/mid-banner-2.svg'
|
|
7
|
+
import midBanner3Img from '../../../../images/svg/mid-banner-3.svg'
|
|
5
8
|
|
|
6
|
-
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
7
|
-
image,
|
|
8
|
-
isEsignatureImage = false,
|
|
9
|
-
midBanner1Img,
|
|
10
|
-
midBanner2Img,
|
|
11
|
-
midBanner3Img
|
|
12
|
-
}) => {
|
|
9
|
+
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({ image, isEsignatureImage = false }) => {
|
|
13
10
|
return (
|
|
14
11
|
<MidBannerRatafiaSampleStyled className='mid-banner-ratafia-sample'>
|
|
15
12
|
<div className='mid-banner-ratafia-sample__image'>{image}</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TrustworthyWebsitesStyled } from './TrustworthyWebsites.styled';
|
|
3
3
|
const TrustworthyWebsites = ({ images }) => {
|
|
4
|
-
return (_jsx(TrustworthyWebsitesStyled, { className: 'trustworthy-websites', children: images.map((item) => (_jsx("div", { className: 'trustworthy-websites__image', children:
|
|
4
|
+
return (_jsx(TrustworthyWebsitesStyled, { className: 'trustworthy-websites', children: images.map((item) => (_jsx("div", { className: 'trustworthy-websites__image', children: item.src }, item.id))) }));
|
|
5
5
|
};
|
|
6
6
|
export default TrustworthyWebsites;
|
|
@@ -1,31 +1,14 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
1
|
import styled from 'styled-components';
|
|
3
2
|
export const TrustworthyWebsitesStyled = styled.div `
|
|
4
3
|
display: flex;
|
|
5
4
|
flex-wrap: wrap;
|
|
6
|
-
justify-content:
|
|
5
|
+
justify-content: center;
|
|
7
6
|
align-items: center;
|
|
8
7
|
|
|
9
|
-
@media ${device['landscape-tablets']} {
|
|
10
|
-
gap: 4%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
8
|
.trustworthy-websites {
|
|
14
9
|
&__image {
|
|
15
|
-
margin:
|
|
16
|
-
width:
|
|
17
|
-
|
|
18
|
-
@media ${device['landscape-tablets']} {
|
|
19
|
-
width: 10.28%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
img {
|
|
23
|
-
margin: 0 auto;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.gatsby-image-wrapper-constrained {
|
|
27
|
-
display: block;
|
|
28
|
-
}
|
|
10
|
+
margin: 1.5rem;
|
|
11
|
+
max-width: 7rem;
|
|
29
12
|
}
|
|
30
13
|
}
|
|
31
14
|
`;
|
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
1
|
import styled from 'styled-components'
|
|
3
2
|
|
|
4
3
|
export const TrustworthyWebsitesStyled = styled.div`
|
|
5
4
|
display: flex;
|
|
6
5
|
flex-wrap: wrap;
|
|
7
|
-
justify-content:
|
|
6
|
+
justify-content: center;
|
|
8
7
|
align-items: center;
|
|
9
8
|
|
|
10
|
-
@media ${device['landscape-tablets']} {
|
|
11
|
-
gap: 4%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
9
|
.trustworthy-websites {
|
|
15
10
|
&__image {
|
|
16
|
-
margin:
|
|
17
|
-
width:
|
|
18
|
-
|
|
19
|
-
@media ${device['landscape-tablets']} {
|
|
20
|
-
width: 10.28%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
img {
|
|
24
|
-
margin: 0 auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.gatsby-image-wrapper-constrained {
|
|
28
|
-
display: block;
|
|
29
|
-
}
|
|
11
|
+
margin: 1.5rem;
|
|
12
|
+
max-width: 7rem;
|
|
30
13
|
}
|
|
31
14
|
}
|
|
32
15
|
`
|
|
@@ -8,9 +8,7 @@ const TrustworthyWebsites: FC<TrustworthyWebsitesProps> = ({ images }) => {
|
|
|
8
8
|
<TrustworthyWebsitesStyled className='trustworthy-websites'>
|
|
9
9
|
{images.map((item) => (
|
|
10
10
|
<div className='trustworthy-websites__image' key={item.id}>
|
|
11
|
-
|
|
12
|
-
{item.src}
|
|
13
|
-
</a>
|
|
11
|
+
{item.src}
|
|
14
12
|
</div>
|
|
15
13
|
))}
|
|
16
14
|
</TrustworthyWebsitesStyled>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.as-seen-in-section-box {
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
background-color: get-color(secondary, main-light-5);
|
|
7
|
+
padding: 0 1.5rem;
|
|
8
|
+
|
|
9
|
+
@include laptop {
|
|
10
|
+
margin-top: 12rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.as-seen-in-section {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
17
|
+
background: get-color(others, white);
|
|
18
|
+
transform: translateY(-5rem);
|
|
19
|
+
padding: 1.5rem 0;
|
|
20
|
+
|
|
21
|
+
@include laptop {
|
|
22
|
+
transform: translateY(-50%);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__title {
|
|
26
|
+
color: var(--neutral-neutral-2);
|
|
27
|
+
text-align: center;
|
|
28
|
+
font-size: 32px;
|
|
29
|
+
font-family: var(--font-serif);
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
line-height: 42px;
|
|
33
|
+
letter-spacing: -0.3px;
|
|
34
|
+
margin: 1rem 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -2,28 +2,30 @@ import { device } from '../../../globalStyles/breakpoints';
|
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const AsSeeInSectionStyled = styled.section `
|
|
4
4
|
flex-shrink: 0;
|
|
5
|
-
background-color:
|
|
6
|
-
padding: 2rem 1.5rem;
|
|
5
|
+
background-color: get-color(secondary, main-light-5);
|
|
6
|
+
padding: 0 1.5rem 2rem 1.5rem;
|
|
7
7
|
|
|
8
8
|
@media ${device['landscape-tablets']} {
|
|
9
|
-
padding: 3rem 1.5rem;
|
|
9
|
+
padding: 0 1.5rem 3rem 1.5rem;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.as-seen-in-section {
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
15
16
|
background: get-color(others, white);
|
|
17
|
+
padding: 1.5rem 0;
|
|
16
18
|
|
|
17
19
|
&__title {
|
|
18
|
-
color: var(--neutral-neutral-
|
|
20
|
+
color: var(--neutral-neutral-2);
|
|
19
21
|
text-align: center;
|
|
20
|
-
font-size:
|
|
21
|
-
font-family: var(--font-
|
|
22
|
+
font-size: 32px;
|
|
23
|
+
font-family: var(--font-serif);
|
|
22
24
|
font-style: normal;
|
|
23
|
-
font-weight:
|
|
24
|
-
line-height:
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
line-height: 42px;
|
|
25
27
|
letter-spacing: -0.3px;
|
|
26
|
-
margin:
|
|
28
|
+
margin: 1rem 0;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
`;
|
|
@@ -3,28 +3,30 @@ import styled from 'styled-components'
|
|
|
3
3
|
|
|
4
4
|
export const AsSeeInSectionStyled = styled.section`
|
|
5
5
|
flex-shrink: 0;
|
|
6
|
-
background-color:
|
|
7
|
-
padding: 2rem 1.5rem;
|
|
6
|
+
background-color: get-color(secondary, main-light-5);
|
|
7
|
+
padding: 0 1.5rem 2rem 1.5rem;
|
|
8
8
|
|
|
9
9
|
@media ${device['landscape-tablets']} {
|
|
10
|
-
padding: 3rem 1.5rem;
|
|
10
|
+
padding: 0 1.5rem 3rem 1.5rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.as-seen-in-section {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
16
17
|
background: get-color(others, white);
|
|
18
|
+
padding: 1.5rem 0;
|
|
17
19
|
|
|
18
20
|
&__title {
|
|
19
|
-
color: var(--neutral-neutral-
|
|
21
|
+
color: var(--neutral-neutral-2);
|
|
20
22
|
text-align: center;
|
|
21
|
-
font-size:
|
|
22
|
-
font-family: var(--font-
|
|
23
|
+
font-size: 32px;
|
|
24
|
+
font-family: var(--font-serif);
|
|
23
25
|
font-style: normal;
|
|
24
|
-
font-weight:
|
|
25
|
-
line-height:
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
line-height: 42px;
|
|
26
28
|
letter-spacing: -0.3px;
|
|
27
|
-
margin:
|
|
29
|
+
margin: 1rem 0;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExpertCardList } from '../../molecules';
|
|
3
3
|
import { ExpertsSectionStyled } from './ExpertsSection.styled';
|
|
4
|
-
const ExpertsSection = ({ title, contentExpertCardList }) => {
|
|
4
|
+
const ExpertsSection = ({ title, description, contentExpertCardList }) => {
|
|
5
5
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
8
|
+
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx("div", { className: 'experts-section__description', children: description }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
9
9
|
};
|
|
10
10
|
export default ExpertsSection;
|
|
@@ -5,6 +5,7 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
5
5
|
justify-content: center;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
background-color: var(--neutral-neutral-6);
|
|
8
|
+
margin-bottom: 4rem;
|
|
8
9
|
|
|
9
10
|
.experts-section {
|
|
10
11
|
&__title {
|
|
@@ -22,5 +23,9 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
22
23
|
width: 100%;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
26
|
+
|
|
27
|
+
&__description {
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
31
|
`;
|
|
@@ -6,6 +6,7 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
6
6
|
justify-content: center;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
background-color: var(--neutral-neutral-6);
|
|
9
|
+
margin-bottom: 4rem;
|
|
9
10
|
|
|
10
11
|
.experts-section {
|
|
11
12
|
&__title {
|
|
@@ -23,5 +24,9 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
23
24
|
width: 100%;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
|
|
28
|
+
&__description {
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
26
31
|
}
|
|
27
32
|
`
|
|
@@ -4,7 +4,7 @@ import { ExpertCardList } from '../../molecules'
|
|
|
4
4
|
import { type ExpertsSectionProps } from './ExpertsSectionProps.types'
|
|
5
5
|
import { ExpertsSectionStyled } from './ExpertsSection.styled'
|
|
6
6
|
|
|
7
|
-
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
|
|
7
|
+
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentExpertCardList }) => {
|
|
8
8
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
9
9
|
return null
|
|
10
10
|
}
|
|
@@ -12,6 +12,7 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList
|
|
|
12
12
|
return (
|
|
13
13
|
<ExpertsSectionStyled className='experts-section'>
|
|
14
14
|
<h2 className='experts-section__title'>{title}</h2>
|
|
15
|
+
<div className='experts-section__description'>{description}</div>
|
|
15
16
|
<ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
|
|
16
17
|
</ExpertsSectionStyled>
|
|
17
18
|
)
|
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules';
|
|
3
3
|
import { MidBannerRatafiaSectionStyled } from './MidBannerRatafiaSection.styled';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image
|
|
5
|
+
const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image }) => {
|
|
6
6
|
const isEsignature = ctaDataQa.includes('esignature') && true;
|
|
7
7
|
const classnames = classNames({
|
|
8
8
|
'--is-esignature': isEsignature
|
|
9
9
|
});
|
|
10
|
-
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image, isEsignatureImage: isEsignature
|
|
10
|
+
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image, isEsignatureImage: isEsignature }) })] }) }));
|
|
11
11
|
};
|
|
12
12
|
export default MidBannerRatafiaSection;
|
|
@@ -11,10 +11,7 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
11
11
|
ctaLabel,
|
|
12
12
|
ctaLink,
|
|
13
13
|
ctaDataQa,
|
|
14
|
-
image
|
|
15
|
-
midBanner1Img,
|
|
16
|
-
midBanner2Img,
|
|
17
|
-
midBanner3Img
|
|
14
|
+
image
|
|
18
15
|
}) => {
|
|
19
16
|
const isEsignature = ctaDataQa.includes('esignature') && true
|
|
20
17
|
const classnames = classNames({
|
|
@@ -31,13 +28,7 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
31
28
|
ctaDataQa={ctaDataQa}
|
|
32
29
|
/>
|
|
33
30
|
<div className={`mid-banner-ratafia-section__wrapper__sample ${classnames}`}>
|
|
34
|
-
<MidBannerRatafiaSample
|
|
35
|
-
image={image}
|
|
36
|
-
isEsignatureImage={isEsignature}
|
|
37
|
-
midBanner1Img={midBanner1Img}
|
|
38
|
-
midBanner2Img={midBanner2Img}
|
|
39
|
-
midBanner3Img={midBanner3Img}
|
|
40
|
-
/>
|
|
31
|
+
<MidBannerRatafiaSample image={image} isEsignatureImage={isEsignature} />
|
|
41
32
|
</div>
|
|
42
33
|
</div>
|
|
43
34
|
</MidBannerRatafiaSectionStyled>
|
package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js
CHANGED
|
@@ -4,10 +4,10 @@ export const PeopleSayAboutUsSectionStyled = styled.section `
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
margin: 0 auto;
|
|
6
6
|
text-align: center;
|
|
7
|
-
padding:
|
|
7
|
+
padding: 1.5rem;
|
|
8
8
|
|
|
9
|
-
@media ${device
|
|
10
|
-
padding:
|
|
9
|
+
@media ${device.laptop} {
|
|
10
|
+
padding: 0;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@media ${device.desktop} {
|
|
@@ -16,10 +16,10 @@ export const PeopleSayAboutUsSectionStyled = styled.section `
|
|
|
16
16
|
|
|
17
17
|
.people-say {
|
|
18
18
|
&__title {
|
|
19
|
-
font-family: var(--font-
|
|
20
|
-
font-size:
|
|
21
|
-
font-weight:
|
|
22
|
-
line-height:
|
|
19
|
+
font-family: var(--font-serif);
|
|
20
|
+
font-size: 32px;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
line-height: 42px;
|
|
23
23
|
letter-spacing: -0.3px;
|
|
24
24
|
text-align: center;
|
|
25
25
|
}
|
|
@@ -29,10 +29,6 @@ export const PeopleSayAboutUsSectionStyled = styled.section `
|
|
|
29
29
|
text-align: left;
|
|
30
30
|
margin-top: 2rem;
|
|
31
31
|
|
|
32
|
-
a {
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
color: var(--primary-main);
|
|
35
|
-
}
|
|
36
32
|
> p,
|
|
37
33
|
> blockquote {
|
|
38
34
|
margin-top: 1.5rem;
|
package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts
CHANGED
|
@@ -5,10 +5,10 @@ export const PeopleSayAboutUsSectionStyled = styled.section`
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
margin: 0 auto;
|
|
7
7
|
text-align: center;
|
|
8
|
-
padding:
|
|
8
|
+
padding: 1.5rem;
|
|
9
9
|
|
|
10
|
-
@media ${device
|
|
11
|
-
padding:
|
|
10
|
+
@media ${device.laptop} {
|
|
11
|
+
padding: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@media ${device.desktop} {
|
|
@@ -17,10 +17,10 @@ export const PeopleSayAboutUsSectionStyled = styled.section`
|
|
|
17
17
|
|
|
18
18
|
.people-say {
|
|
19
19
|
&__title {
|
|
20
|
-
font-family: var(--font-
|
|
21
|
-
font-size:
|
|
22
|
-
font-weight:
|
|
23
|
-
line-height:
|
|
20
|
+
font-family: var(--font-serif);
|
|
21
|
+
font-size: 32px;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
line-height: 42px;
|
|
24
24
|
letter-spacing: -0.3px;
|
|
25
25
|
text-align: center;
|
|
26
26
|
}
|
|
@@ -30,10 +30,6 @@ export const PeopleSayAboutUsSectionStyled = styled.section`
|
|
|
30
30
|
text-align: left;
|
|
31
31
|
margin-top: 2rem;
|
|
32
32
|
|
|
33
|
-
a {
|
|
34
|
-
text-decoration: underline;
|
|
35
|
-
color: var(--primary-main);
|
|
36
|
-
}
|
|
37
33
|
> p,
|
|
38
34
|
> blockquote {
|
|
39
35
|
margin-top: 1.5rem;
|