@npm_leadtech/legal-lib-components 5.77.0 → 5.78.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/TrustPilot/TrustPilot.styled.js +2 -3
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +2 -3
- 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.styled.js +0 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +0 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.js +11 -7
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.styled.ts +11 -7
- package/package.json +1 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +0 -37
|
@@ -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,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
|
`
|
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
|
@@ -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
|
-
}
|