@npm_leadtech/legal-lib-components 5.78.5 → 5.79.0
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/src/components/atoms/ExpertCard/ExpertCard.js +1 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +27 -22
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +27 -22
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +8 -9
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +2 -3
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +2 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +1 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +1 -4
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +7 -4
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +3 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +3 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +1 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +20 -3
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +20 -3
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.d.ts +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +1 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +7 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +7 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.js +9 -11
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.styled.ts +9 -11
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +0 -5
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -5
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +1 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +0 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +0 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +2 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +11 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +3 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +3 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +11 -7
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +11 -7
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +1 -0
- package/package.json +1 -1
- package/dist/images/png/about-us-dena.png +0 -0
- package/dist/images/png/about-us-grover.png +0 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -37
|
@@ -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 }),
|
|
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 })] }) }));
|
|
5
5
|
};
|
|
6
6
|
export default ExpertCard;
|
|
@@ -1,61 +1,66 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const ExpertCardStyled = styled.div `
|
|
3
4
|
display: flex;
|
|
4
5
|
align-items: center;
|
|
5
6
|
justify-content: center;
|
|
7
|
+
margin-top: 10rem;
|
|
8
|
+
|
|
9
|
+
&:first-child {
|
|
10
|
+
margin-top: 5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media ${device['landscape-tablets']} {
|
|
14
|
+
margin-top: 5rem;
|
|
15
|
+
}
|
|
6
16
|
|
|
7
17
|
.expert-card {
|
|
8
18
|
&__box {
|
|
9
19
|
background-color: white;
|
|
10
|
-
border-radius:
|
|
20
|
+
border-radius: 0.3rem;
|
|
11
21
|
box-shadow: var(--box-shadow-container);
|
|
22
|
+
padding: 7rem 2rem 0 2rem;
|
|
23
|
+
min-height: 13rem;
|
|
12
24
|
display: flex;
|
|
13
|
-
flex-direction:
|
|
25
|
+
flex-direction: column;
|
|
14
26
|
align-items: center;
|
|
15
27
|
justify-content: flex-start;
|
|
28
|
+
width: 17.625rem;
|
|
29
|
+
margin-left: 0;
|
|
16
30
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
gap: 24px;
|
|
31
|
+
@media ${device['landscape-tablets']} {
|
|
32
|
+
margin-left: 2rem;
|
|
33
|
+
}
|
|
21
34
|
}
|
|
22
35
|
|
|
23
36
|
&__image {
|
|
24
|
-
|
|
37
|
+
position: absolute;
|
|
38
|
+
transform: translateY(-115%);
|
|
39
|
+
|
|
25
40
|
img {
|
|
26
|
-
|
|
27
|
-
height: auto;
|
|
28
|
-
border-radius: 8px;
|
|
41
|
+
border-radius: 100%;
|
|
29
42
|
}
|
|
30
43
|
}
|
|
31
44
|
|
|
32
|
-
&__texts {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: start;
|
|
36
|
-
justify-content: left;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
45
|
&__title {
|
|
40
46
|
font-family: var(--font-sans);
|
|
41
47
|
font-size: 18px;
|
|
42
48
|
font-weight: 700;
|
|
43
49
|
line-height: 1.5rem;
|
|
44
50
|
letter-spacing: -0.3px;
|
|
51
|
+
text-align: center;
|
|
45
52
|
width: 75%;
|
|
46
53
|
text-decoration: none;
|
|
47
|
-
margin-bottom: 0.6rem;
|
|
48
|
-
min-width: fit-content;
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
&__description {
|
|
52
|
-
|
|
53
|
-
font-family: Inter;
|
|
57
|
+
font-family: var(--font-sans);
|
|
54
58
|
font-size: 16px;
|
|
55
|
-
font-style: normal;
|
|
56
59
|
font-weight: 400;
|
|
57
60
|
line-height: 22px;
|
|
58
61
|
letter-spacing: -0.3px;
|
|
62
|
+
text-align: center;
|
|
63
|
+
width: 75%;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
`;
|
|
@@ -1,62 +1,67 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const ExpertCardStyled = styled.div`
|
|
4
5
|
display: flex;
|
|
5
6
|
align-items: center;
|
|
6
7
|
justify-content: center;
|
|
8
|
+
margin-top: 10rem;
|
|
9
|
+
|
|
10
|
+
&:first-child {
|
|
11
|
+
margin-top: 5rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media ${device['landscape-tablets']} {
|
|
15
|
+
margin-top: 5rem;
|
|
16
|
+
}
|
|
7
17
|
|
|
8
18
|
.expert-card {
|
|
9
19
|
&__box {
|
|
10
20
|
background-color: white;
|
|
11
|
-
border-radius:
|
|
21
|
+
border-radius: 0.3rem;
|
|
12
22
|
box-shadow: var(--box-shadow-container);
|
|
23
|
+
padding: 7rem 2rem 0 2rem;
|
|
24
|
+
min-height: 13rem;
|
|
13
25
|
display: flex;
|
|
14
|
-
flex-direction:
|
|
26
|
+
flex-direction: column;
|
|
15
27
|
align-items: center;
|
|
16
28
|
justify-content: flex-start;
|
|
29
|
+
width: 17.625rem;
|
|
30
|
+
margin-left: 0;
|
|
17
31
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
gap: 24px;
|
|
32
|
+
@media ${device['landscape-tablets']} {
|
|
33
|
+
margin-left: 2rem;
|
|
34
|
+
}
|
|
22
35
|
}
|
|
23
36
|
|
|
24
37
|
&__image {
|
|
25
|
-
|
|
38
|
+
position: absolute;
|
|
39
|
+
transform: translateY(-115%);
|
|
40
|
+
|
|
26
41
|
img {
|
|
27
|
-
|
|
28
|
-
height: auto;
|
|
29
|
-
border-radius: 8px;
|
|
42
|
+
border-radius: 100%;
|
|
30
43
|
}
|
|
31
44
|
}
|
|
32
45
|
|
|
33
|
-
&__texts {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
align-items: start;
|
|
37
|
-
justify-content: left;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
46
|
&__title {
|
|
41
47
|
font-family: var(--font-sans);
|
|
42
48
|
font-size: 18px;
|
|
43
49
|
font-weight: 700;
|
|
44
50
|
line-height: 1.5rem;
|
|
45
51
|
letter-spacing: -0.3px;
|
|
52
|
+
text-align: center;
|
|
46
53
|
width: 75%;
|
|
47
54
|
text-decoration: none;
|
|
48
|
-
margin-bottom: 0.6rem;
|
|
49
|
-
min-width: fit-content;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
&__description {
|
|
53
|
-
|
|
54
|
-
font-family: Inter;
|
|
58
|
+
font-family: var(--font-sans);
|
|
55
59
|
font-size: 16px;
|
|
56
|
-
font-style: normal;
|
|
57
60
|
font-weight: 400;
|
|
58
61
|
line-height: 22px;
|
|
59
62
|
letter-spacing: -0.3px;
|
|
63
|
+
text-align: center;
|
|
64
|
+
width: 75%;
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
`
|
|
@@ -8,15 +8,14 @@ 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
|
-
{url
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</div>
|
|
11
|
+
{url != null && (
|
|
12
|
+
<a className='expert-card__title' href={url}>
|
|
13
|
+
{title}
|
|
14
|
+
</a>
|
|
15
|
+
)}
|
|
16
|
+
{url == null && <p className='expert-card__title'>{title}</p>}
|
|
17
|
+
|
|
18
|
+
<p className='expert-card__description'>{description}</p>
|
|
20
19
|
</div>
|
|
21
20
|
</ExpertCardStyled>
|
|
22
21
|
)
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
export const TrustPilotStyled = styled.div `
|
|
4
|
-
|
|
5
|
-
padding: 0 1rem;
|
|
4
|
+
padding: 4rem 0 0rem;
|
|
6
5
|
|
|
7
6
|
&.trustpilot {
|
|
8
7
|
@media ${device['landscape-tablets']} {
|
|
9
|
-
margin:
|
|
8
|
+
margin: 0 auto;
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
`;
|
|
@@ -2,12 +2,11 @@ import { device } from '../../../globalStyles/breakpoints'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
export const TrustPilotStyled = styled.div`
|
|
5
|
-
|
|
6
|
-
padding: 0 1rem;
|
|
5
|
+
padding: 4rem 0 0rem;
|
|
7
6
|
|
|
8
7
|
&.trustpilot {
|
|
9
8
|
@media ${device['landscape-tablets']} {
|
|
10
|
-
margin:
|
|
9
|
+
margin: 0 auto;
|
|
11
10
|
}
|
|
12
11
|
}
|
|
13
12
|
`
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled';
|
|
3
|
-
|
|
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 }) => {
|
|
3
|
+
const MidBannerRatafiaSample = ({ image, isEsignatureImage = false, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
7
4
|
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" })] })] }))] }));
|
|
8
5
|
};
|
|
9
6
|
export default MidBannerRatafiaSample;
|
|
@@ -2,11 +2,14 @@ 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'
|
|
8
5
|
|
|
9
|
-
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
6
|
+
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
7
|
+
image,
|
|
8
|
+
isEsignatureImage = false,
|
|
9
|
+
midBanner1Img,
|
|
10
|
+
midBanner2Img,
|
|
11
|
+
midBanner3Img
|
|
12
|
+
}) => {
|
|
10
13
|
return (
|
|
11
14
|
<MidBannerRatafiaSampleStyled className='mid-banner-ratafia-sample'>
|
|
12
15
|
<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: item.src }, item.id))) }));
|
|
4
|
+
return (_jsx(TrustworthyWebsitesStyled, { className: 'trustworthy-websites', children: images.map((item) => (_jsx("div", { className: 'trustworthy-websites__image', children: _jsx("a", { href: item.url, target: '_blank', rel: 'noreferrer', children: item.src }) }, item.id))) }));
|
|
5
5
|
};
|
|
6
6
|
export default TrustworthyWebsites;
|
|
@@ -1,14 +1,31 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const TrustworthyWebsitesStyled = styled.div `
|
|
3
4
|
display: flex;
|
|
4
5
|
flex-wrap: wrap;
|
|
5
|
-
justify-content:
|
|
6
|
+
justify-content: space-around;
|
|
6
7
|
align-items: center;
|
|
7
8
|
|
|
9
|
+
@media ${device['landscape-tablets']} {
|
|
10
|
+
gap: 4%;
|
|
11
|
+
}
|
|
12
|
+
|
|
8
13
|
.trustworthy-websites {
|
|
9
14
|
&__image {
|
|
10
|
-
margin:
|
|
11
|
-
|
|
15
|
+
margin: 1rem 0 1rem 0;
|
|
16
|
+
width: 45.5%;
|
|
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
|
+
}
|
|
12
29
|
}
|
|
13
30
|
}
|
|
14
31
|
`;
|
|
@@ -1,15 +1,32 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const TrustworthyWebsitesStyled = styled.div`
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-wrap: wrap;
|
|
6
|
-
justify-content:
|
|
7
|
+
justify-content: space-around;
|
|
7
8
|
align-items: center;
|
|
8
9
|
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
gap: 4%;
|
|
12
|
+
}
|
|
13
|
+
|
|
9
14
|
.trustworthy-websites {
|
|
10
15
|
&__image {
|
|
11
|
-
margin:
|
|
12
|
-
|
|
16
|
+
margin: 1rem 0 1rem 0;
|
|
17
|
+
width: 45.5%;
|
|
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
|
+
}
|
|
13
30
|
}
|
|
14
31
|
}
|
|
15
32
|
`
|
|
@@ -8,7 +8,9 @@ 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
|
-
{item.
|
|
11
|
+
<a href={item.url} target='_blank' rel='noreferrer'>
|
|
12
|
+
{item.src}
|
|
13
|
+
</a>
|
|
12
14
|
</div>
|
|
13
15
|
))}
|
|
14
16
|
</TrustworthyWebsitesStyled>
|
|
@@ -2,30 +2,28 @@ 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:
|
|
5
|
+
background-color: var(--neutral-neutral-6);
|
|
6
|
+
padding: 2rem 1.5rem;
|
|
7
7
|
|
|
8
8
|
@media ${device['landscape-tablets']} {
|
|
9
|
-
padding:
|
|
9
|
+
padding: 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);
|
|
16
15
|
background: get-color(others, white);
|
|
17
|
-
padding: 1.5rem 0;
|
|
18
16
|
|
|
19
17
|
&__title {
|
|
20
|
-
color: var(--neutral-neutral-
|
|
18
|
+
color: var(--neutral-neutral-1);
|
|
21
19
|
text-align: center;
|
|
22
|
-
font-size:
|
|
23
|
-
font-family: var(--font-
|
|
20
|
+
font-size: 1.75rem;
|
|
21
|
+
font-family: var(--font-sans);
|
|
24
22
|
font-style: normal;
|
|
25
|
-
font-weight:
|
|
26
|
-
line-height:
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
line-height: 1;
|
|
27
25
|
letter-spacing: -0.3px;
|
|
28
|
-
margin:
|
|
26
|
+
margin: 0rem 0 1.5rem 0;
|
|
29
27
|
}
|
|
30
28
|
}
|
|
31
29
|
`;
|
|
@@ -3,30 +3,28 @@ import styled from 'styled-components'
|
|
|
3
3
|
|
|
4
4
|
export const AsSeeInSectionStyled = styled.section`
|
|
5
5
|
flex-shrink: 0;
|
|
6
|
-
background-color:
|
|
7
|
-
padding:
|
|
6
|
+
background-color: var(--neutral-neutral-6);
|
|
7
|
+
padding: 2rem 1.5rem;
|
|
8
8
|
|
|
9
9
|
@media ${device['landscape-tablets']} {
|
|
10
|
-
padding:
|
|
10
|
+
padding: 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);
|
|
17
16
|
background: get-color(others, white);
|
|
18
|
-
padding: 1.5rem 0;
|
|
19
17
|
|
|
20
18
|
&__title {
|
|
21
|
-
color: var(--neutral-neutral-
|
|
19
|
+
color: var(--neutral-neutral-1);
|
|
22
20
|
text-align: center;
|
|
23
|
-
font-size:
|
|
24
|
-
font-family: var(--font-
|
|
21
|
+
font-size: 1.75rem;
|
|
22
|
+
font-family: var(--font-sans);
|
|
25
23
|
font-style: normal;
|
|
26
|
-
font-weight:
|
|
27
|
-
line-height:
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
line-height: 1;
|
|
28
26
|
letter-spacing: -0.3px;
|
|
29
|
-
margin:
|
|
27
|
+
margin: 0rem 0 1.5rem 0;
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
30
|
`
|
|
@@ -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,
|
|
4
|
+
const ExpertsSection = ({ title, 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(
|
|
8
|
+
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
9
9
|
};
|
|
10
10
|
export default ExpertsSection;
|
|
@@ -5,7 +5,6 @@ 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;
|
|
9
8
|
|
|
10
9
|
.experts-section {
|
|
11
10
|
&__title {
|
|
@@ -23,9 +22,5 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
23
22
|
width: 100%;
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
&__description {
|
|
28
|
-
text-align: center;
|
|
29
|
-
}
|
|
30
25
|
}
|
|
31
26
|
`;
|
|
@@ -6,7 +6,6 @@ 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;
|
|
10
9
|
|
|
11
10
|
.experts-section {
|
|
12
11
|
&__title {
|
|
@@ -24,9 +23,5 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
24
23
|
width: 100%;
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
&__description {
|
|
29
|
-
text-align: center;
|
|
30
|
-
}
|
|
31
26
|
}
|
|
32
27
|
`
|
|
@@ -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,
|
|
7
|
+
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
|
|
8
8
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
9
9
|
return null
|
|
10
10
|
}
|
|
@@ -12,7 +12,6 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentEx
|
|
|
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>
|
|
16
15
|
<ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
|
|
17
16
|
</ExpertsSectionStyled>
|
|
18
17
|
)
|
|
@@ -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, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
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, midBanner1Img: midBanner1Img, midBanner2Img: midBanner2Img, midBanner3Img: midBanner3Img }) })] }) }));
|
|
11
11
|
};
|
|
12
12
|
export default MidBannerRatafiaSection;
|
|
@@ -11,7 +11,10 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
11
11
|
ctaLabel,
|
|
12
12
|
ctaLink,
|
|
13
13
|
ctaDataQa,
|
|
14
|
-
image
|
|
14
|
+
image,
|
|
15
|
+
midBanner1Img,
|
|
16
|
+
midBanner2Img,
|
|
17
|
+
midBanner3Img
|
|
15
18
|
}) => {
|
|
16
19
|
const isEsignature = ctaDataQa.includes('esignature') && true
|
|
17
20
|
const classnames = classNames({
|
|
@@ -28,7 +31,13 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
28
31
|
ctaDataQa={ctaDataQa}
|
|
29
32
|
/>
|
|
30
33
|
<div className={`mid-banner-ratafia-section__wrapper__sample ${classnames}`}>
|
|
31
|
-
<MidBannerRatafiaSample
|
|
34
|
+
<MidBannerRatafiaSample
|
|
35
|
+
image={image}
|
|
36
|
+
isEsignatureImage={isEsignature}
|
|
37
|
+
midBanner1Img={midBanner1Img}
|
|
38
|
+
midBanner2Img={midBanner2Img}
|
|
39
|
+
midBanner3Img={midBanner3Img}
|
|
40
|
+
/>
|
|
32
41
|
</div>
|
|
33
42
|
</div>
|
|
34
43
|
</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: 1.5rem;
|
|
7
|
+
padding: 2rem 1.5rem;
|
|
8
8
|
|
|
9
|
-
@media ${device
|
|
10
|
-
padding:
|
|
9
|
+
@media ${device['landscape-tablets']} {
|
|
10
|
+
padding: 3rem 1.5rem;
|
|
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-sans);
|
|
20
|
+
font-size: 1.75rem;
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
line-height: 1.3;
|
|
23
23
|
letter-spacing: -0.3px;
|
|
24
24
|
text-align: center;
|
|
25
25
|
}
|
|
@@ -29,6 +29,10 @@ 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
|
+
}
|
|
32
36
|
> p,
|
|
33
37
|
> blockquote {
|
|
34
38
|
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: 1.5rem;
|
|
8
|
+
padding: 2rem 1.5rem;
|
|
9
9
|
|
|
10
|
-
@media ${device
|
|
11
|
-
padding:
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
padding: 3rem 1.5rem;
|
|
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-sans);
|
|
21
|
+
font-size: 1.75rem;
|
|
22
|
+
font-weight: 700;
|
|
23
|
+
line-height: 1.3;
|
|
24
24
|
letter-spacing: -0.3px;
|
|
25
25
|
text-align: center;
|
|
26
26
|
}
|
|
@@ -30,6 +30,10 @@ 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
|
+
}
|
|
33
37
|
> p,
|
|
34
38
|
> blockquote {
|
|
35
39
|
margin-top: 1.5rem;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
}
|