@npm_leadtech/legal-lib-components 5.2.1 → 5.2.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/css/styles.css +95 -18
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +4 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +1 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +2 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +64 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +21 -7
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +1 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +2 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +4 -7
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +1 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +6 -8
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +1 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +2 -2
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +1 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +5 -4
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +6 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +2 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +20 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +6 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.d.ts +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.ts +1 -0
- package/package.json +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -2554,6 +2554,9 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
2554
2554
|
position: absolute;
|
|
2555
2555
|
transform: translateY(-115%);
|
|
2556
2556
|
}
|
|
2557
|
+
.expert-card__image img {
|
|
2558
|
+
border-radius: 100%;
|
|
2559
|
+
}
|
|
2557
2560
|
.expert-card__title {
|
|
2558
2561
|
font-family: "Inter", sans-serif;
|
|
2559
2562
|
font-size: 18px;
|
|
@@ -5073,7 +5076,7 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
5073
5076
|
display: flex;
|
|
5074
5077
|
flex-direction: column;
|
|
5075
5078
|
justify-content: center;
|
|
5076
|
-
|
|
5079
|
+
margin: 2rem 0 3rem 0;
|
|
5077
5080
|
}
|
|
5078
5081
|
@media (min-width: 720px) {
|
|
5079
5082
|
.expert-card-list {
|
|
@@ -6403,9 +6406,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6403
6406
|
display: flex;
|
|
6404
6407
|
flex-wrap: wrap;
|
|
6405
6408
|
justify-content: center;
|
|
6409
|
+
align-items: center;
|
|
6406
6410
|
}
|
|
6407
6411
|
.trustworthy-websites__image {
|
|
6408
6412
|
margin: 1.5rem;
|
|
6413
|
+
max-width: 8rem;
|
|
6409
6414
|
}
|
|
6410
6415
|
.type-modules-list {
|
|
6411
6416
|
display: flex;
|
|
@@ -6844,6 +6849,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6844
6849
|
align-self: stretch;
|
|
6845
6850
|
color: var(--neutral-neutral-1);
|
|
6846
6851
|
}
|
|
6852
|
+
.guidelines-section-main {
|
|
6853
|
+
display: flex;
|
|
6854
|
+
flex-direction: row;
|
|
6855
|
+
flex-wrap: nowrap;
|
|
6856
|
+
}
|
|
6847
6857
|
.guidelines-section__texts {
|
|
6848
6858
|
flex-basis: 50%;
|
|
6849
6859
|
display: flex;
|
|
@@ -6866,7 +6876,6 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6866
6876
|
font-family: "Lora", serif;
|
|
6867
6877
|
margin-bottom: 2rem;
|
|
6868
6878
|
text-align: center;
|
|
6869
|
-
color: var(--neutral-neutral-2);
|
|
6870
6879
|
font-size: 32px;
|
|
6871
6880
|
font-style: normal;
|
|
6872
6881
|
font-weight: 400;
|
|
@@ -6907,6 +6916,57 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6907
6916
|
display: none;
|
|
6908
6917
|
}
|
|
6909
6918
|
}
|
|
6919
|
+
.guidelines-section__image.is-mobile img {
|
|
6920
|
+
display: none;
|
|
6921
|
+
}
|
|
6922
|
+
.guidelines-section-detail {
|
|
6923
|
+
display: flex;
|
|
6924
|
+
flex-direction: column;
|
|
6925
|
+
gap: 1.5rem;
|
|
6926
|
+
margin: 2rem 0 1rem 0;
|
|
6927
|
+
}
|
|
6928
|
+
@media (min-width: 960px) {
|
|
6929
|
+
.guidelines-section-detail {
|
|
6930
|
+
flex-direction: row;
|
|
6931
|
+
}
|
|
6932
|
+
}
|
|
6933
|
+
.guidelines-section-detail__item {
|
|
6934
|
+
display: flex;
|
|
6935
|
+
flex: 1;
|
|
6936
|
+
flex-direction: column;
|
|
6937
|
+
background: var(--others-white);
|
|
6938
|
+
border-radius: 0.5rem;
|
|
6939
|
+
padding: 1.5rem;
|
|
6940
|
+
}
|
|
6941
|
+
.guidelines-section-detail__item__image {
|
|
6942
|
+
width: 100%;
|
|
6943
|
+
border-radius: 0.5rem;
|
|
6944
|
+
}
|
|
6945
|
+
.guidelines-section-detail__item__title {
|
|
6946
|
+
font-family: "Lora", serif;
|
|
6947
|
+
font-style: normal;
|
|
6948
|
+
font-weight: 400;
|
|
6949
|
+
font-size: 24px;
|
|
6950
|
+
line-height: 32px;
|
|
6951
|
+
letter-spacing: -0.3px;
|
|
6952
|
+
color: var(--neutral-neutral-1);
|
|
6953
|
+
margin: 1.5rem 0 1rem 0;
|
|
6954
|
+
}
|
|
6955
|
+
.guidelines-section-detail__item ul {
|
|
6956
|
+
list-style-type: disc;
|
|
6957
|
+
}
|
|
6958
|
+
.guidelines-section-detail__item ol {
|
|
6959
|
+
list-style-type: decimal;
|
|
6960
|
+
}
|
|
6961
|
+
.guidelines-section-detail__item ul,
|
|
6962
|
+
.guidelines-section-detail__item ol {
|
|
6963
|
+
margin-left: 1rem;
|
|
6964
|
+
margin-bottom: 1rem;
|
|
6965
|
+
}
|
|
6966
|
+
.guidelines-section-detail__item ul li,
|
|
6967
|
+
.guidelines-section-detail__item ol li {
|
|
6968
|
+
margin-bottom: 0;
|
|
6969
|
+
}
|
|
6910
6970
|
.jumbotron-ratafia-content {
|
|
6911
6971
|
display: flex;
|
|
6912
6972
|
flex-direction: column;
|
|
@@ -7325,10 +7385,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7325
7385
|
}
|
|
7326
7386
|
.try-our-free-legal-blogs-section__texts__title {
|
|
7327
7387
|
font-family: "Lora", serif;
|
|
7328
|
-
font-size:
|
|
7388
|
+
font-size: 32px;
|
|
7329
7389
|
line-height: 42px;
|
|
7330
7390
|
margin-bottom: 2rem;
|
|
7331
7391
|
text-align: center;
|
|
7392
|
+
font-weight: 400;
|
|
7332
7393
|
}
|
|
7333
7394
|
@media (min-width: 720px) {
|
|
7334
7395
|
.try-our-free-legal-blogs-section__texts__title {
|
|
@@ -7438,24 +7499,22 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7438
7499
|
}
|
|
7439
7500
|
.as-seen-in-section-box {
|
|
7440
7501
|
flex-shrink: 0;
|
|
7441
|
-
|
|
7442
|
-
background: #fff;
|
|
7443
|
-
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
7444
|
-
margin: 2rem;
|
|
7445
|
-
padding: 1rem;
|
|
7446
|
-
max-width: 1200px;
|
|
7502
|
+
background-color: var(--secondary-main-light-5);
|
|
7447
7503
|
}
|
|
7448
7504
|
@media (min-width: 960px) {
|
|
7449
7505
|
.as-seen-in-section-box {
|
|
7450
|
-
margin:
|
|
7506
|
+
margin-top: 12rem;
|
|
7451
7507
|
}
|
|
7452
7508
|
}
|
|
7453
7509
|
.as-seen-in-section-box .as-seen-in-section {
|
|
7454
7510
|
display: flex;
|
|
7455
7511
|
flex-direction: column;
|
|
7512
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
7513
|
+
background: var(--others-white);
|
|
7514
|
+
transform: translateY(-50%);
|
|
7515
|
+
padding: 1.5rem 0;
|
|
7456
7516
|
}
|
|
7457
7517
|
.as-seen-in-section-box .as-seen-in-section__title {
|
|
7458
|
-
color: var(--neutral-neutral-2);
|
|
7459
7518
|
text-align: center;
|
|
7460
7519
|
font-size: 32px;
|
|
7461
7520
|
font-family: "Lora", serif;
|
|
@@ -7636,8 +7695,8 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7636
7695
|
display: flex;
|
|
7637
7696
|
justify-content: center;
|
|
7638
7697
|
flex-direction: column;
|
|
7639
|
-
background-color: var(--
|
|
7640
|
-
margin-bottom:
|
|
7698
|
+
background-color: var(--primary-main-light-6);
|
|
7699
|
+
margin-bottom: 4rem;
|
|
7641
7700
|
}
|
|
7642
7701
|
.experts-section__title {
|
|
7643
7702
|
font-family: "Lora", serif;
|
|
@@ -7757,11 +7816,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7757
7816
|
.guidelines-section {
|
|
7758
7817
|
display: flex;
|
|
7759
7818
|
flex-direction: column;
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7819
|
+
align-items: center;
|
|
7820
|
+
background: var(--neutral-neutral-6);
|
|
7821
|
+
padding-top: 2rem;
|
|
7822
|
+
padding-bottom: 2rem;
|
|
7823
|
+
margin-top: 3rem;
|
|
7765
7824
|
}
|
|
7766
7825
|
.how-it-works-wrapper {
|
|
7767
7826
|
background-color: var(--neutral-neutral-6);
|
|
@@ -8117,6 +8176,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
8117
8176
|
margin: 0 auto;
|
|
8118
8177
|
text-align: center;
|
|
8119
8178
|
}
|
|
8179
|
+
@media (min-width: 1200px) {
|
|
8180
|
+
.people-say {
|
|
8181
|
+
max-width: 1200px;
|
|
8182
|
+
}
|
|
8183
|
+
}
|
|
8120
8184
|
.people-say__title {
|
|
8121
8185
|
font-family: "Lora", serif;
|
|
8122
8186
|
font-size: 32px;
|
|
@@ -8125,6 +8189,19 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
8125
8189
|
letter-spacing: -0.3px;
|
|
8126
8190
|
text-align: center;
|
|
8127
8191
|
}
|
|
8192
|
+
.people-say .richt-text-strapi {
|
|
8193
|
+
text-align: left;
|
|
8194
|
+
margin-top: 2rem;
|
|
8195
|
+
}
|
|
8196
|
+
.people-say .richt-text-strapi > p,
|
|
8197
|
+
.people-say .richt-text-strapi > blockquote {
|
|
8198
|
+
margin-top: 1.5rem;
|
|
8199
|
+
}
|
|
8200
|
+
.people-say .richt-text-strapi blockquote {
|
|
8201
|
+
padding: 1rem;
|
|
8202
|
+
background: var(--neutral-neutral-6);
|
|
8203
|
+
border-radius: 4px;
|
|
8204
|
+
}
|
|
8128
8205
|
.steps-ratafia-section {
|
|
8129
8206
|
z-index: 999;
|
|
8130
8207
|
width: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { RichTextInner } from '../../atoms';
|
|
2
|
+
import { RichTextInner, RichTextStrapi } from '../../atoms';
|
|
3
3
|
// import './GuidelinesContent.scss'
|
|
4
|
-
const GuidelinesContent = ({ title, image, children }) => {
|
|
5
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { className: 'guidelines-section__image big-devices', children: image }), _jsxs("div", { className: 'guidelines-section__texts', children: [_jsx("h2", { className: 'guidelines-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'guidelines-section__texts__body', children: children })] }), _jsx("div", { className: 'guidelines-section__image is-mobile', children: image })] }));
|
|
4
|
+
const GuidelinesContent = ({ title, image, detail, children }) => {
|
|
5
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'guidelines-section-main wrapper', children: [_jsx("div", { className: 'guidelines-section__image big-devices', children: image }), _jsxs("div", { className: 'guidelines-section__texts', children: [_jsx("h2", { className: 'guidelines-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'guidelines-section__texts__body', children: children })] }), _jsx("div", { className: 'guidelines-section__image is-mobile', children: image })] }), Array.isArray(detail) && (_jsx("div", { className: 'guidelines-section-detail wrapper', children: detail.map((item, index) => (_jsxs("div", { className: 'guidelines-section-detail__item', children: [_jsx("div", { className: 'guidelines-section-detail__item__image', children: item.image }), _jsx("div", { className: 'guidelines-section-detail__item__title', children: item.title }), _jsx(RichTextStrapi, { html: item.body?.data?.childMarkdownRemark?.html })] }, index))) }))] }));
|
|
6
6
|
};
|
|
7
7
|
export default GuidelinesContent;
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
4
|
.guidelines-section {
|
|
5
|
+
&-main {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
flex-wrap: nowrap;
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
&__texts {
|
|
6
12
|
flex-basis: 50%;
|
|
7
13
|
display: flex;
|
|
@@ -23,7 +29,6 @@
|
|
|
23
29
|
font-family: $font-serif;
|
|
24
30
|
margin-bottom: 2rem;
|
|
25
31
|
text-align: center;
|
|
26
|
-
color: get-color(neutral, neutral-2);
|
|
27
32
|
font-size: 32px;
|
|
28
33
|
font-style: normal;
|
|
29
34
|
font-weight: 400;
|
|
@@ -65,6 +70,64 @@
|
|
|
65
70
|
@include landscape-tablets {
|
|
66
71
|
display: none;
|
|
67
72
|
}
|
|
73
|
+
|
|
74
|
+
img {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-detail {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
gap: 1.5rem;
|
|
84
|
+
margin: 2rem 0 1rem 0;
|
|
85
|
+
|
|
86
|
+
@include laptop {
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__item {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex: 1;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
background: get-color(others, white);
|
|
95
|
+
border-radius: 0.5rem;
|
|
96
|
+
padding: 1.5rem;
|
|
97
|
+
|
|
98
|
+
&__image {
|
|
99
|
+
width: 100%;
|
|
100
|
+
border-radius: 0.5rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&__title {
|
|
104
|
+
font-family: $font-serif;
|
|
105
|
+
font-style: normal;
|
|
106
|
+
font-weight: 400;
|
|
107
|
+
font-size: 24px;
|
|
108
|
+
line-height: 32px;
|
|
109
|
+
letter-spacing: -0.3px;
|
|
110
|
+
color: get-color(neutral, neutral-1);
|
|
111
|
+
margin: 1.5rem 0 1rem 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
ul {
|
|
115
|
+
list-style-type: disc;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
ol {
|
|
119
|
+
list-style-type: decimal;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
ul,
|
|
123
|
+
ol {
|
|
124
|
+
margin-left: 1rem;
|
|
125
|
+
margin-bottom: 1rem;
|
|
126
|
+
|
|
127
|
+
li {
|
|
128
|
+
margin-bottom: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
68
131
|
}
|
|
69
132
|
}
|
|
70
133
|
}
|
|
@@ -1,18 +1,32 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
1
2
|
import React, { type FC } from 'react'
|
|
2
3
|
|
|
4
|
+
import { RichTextInner, RichTextStrapi } from '../../atoms'
|
|
3
5
|
import { type GuidelinesContentProps } from './GuidelinesContentProps.types'
|
|
4
|
-
import { RichTextInner } from '../../atoms'
|
|
5
6
|
// import './GuidelinesContent.scss'
|
|
6
7
|
|
|
7
|
-
const GuidelinesContent: FC<GuidelinesContentProps> = ({ title, image, children }) => {
|
|
8
|
+
const GuidelinesContent: FC<GuidelinesContentProps> = ({ title, image, detail, children }) => {
|
|
8
9
|
return (
|
|
9
10
|
<>
|
|
10
|
-
<div className='guidelines-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
11
|
+
<div className='guidelines-section-main wrapper'>
|
|
12
|
+
<div className='guidelines-section__image big-devices'>{image}</div>
|
|
13
|
+
<div className='guidelines-section__texts'>
|
|
14
|
+
<h2 className='guidelines-section__texts__title'>{title}</h2>
|
|
15
|
+
<RichTextInner customClass='guidelines-section__texts__body'>{children}</RichTextInner>
|
|
16
|
+
</div>
|
|
17
|
+
<div className='guidelines-section__image is-mobile'>{image}</div>
|
|
14
18
|
</div>
|
|
15
|
-
|
|
19
|
+
{Array.isArray(detail) && (
|
|
20
|
+
<div className='guidelines-section-detail wrapper'>
|
|
21
|
+
{detail.map((item, index) => (
|
|
22
|
+
<div className='guidelines-section-detail__item' key={index}>
|
|
23
|
+
<div className='guidelines-section-detail__item__image'>{item.image}</div>
|
|
24
|
+
<div className='guidelines-section-detail__item__title'>{item.title}</div>
|
|
25
|
+
<RichTextStrapi html={item.body?.data?.childMarkdownRemark?.html as string} />
|
|
26
|
+
</div>
|
|
27
|
+
))}
|
|
28
|
+
</div>
|
|
29
|
+
)}
|
|
16
30
|
</>
|
|
17
31
|
)
|
|
18
32
|
}
|
|
@@ -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
|
|
3
|
-
export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps,
|
|
4
|
-
return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })),
|
|
2
|
+
import { AboutUsSection, AsSeeInSection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
|
|
3
|
+
export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
|
|
5
5
|
};
|
|
@@ -7,8 +7,7 @@ import {
|
|
|
7
7
|
ExpertsSection,
|
|
8
8
|
GuidelinesSection,
|
|
9
9
|
PeopleSayAboutUsSection,
|
|
10
|
-
TryOurFreeLegalBlogsSection
|
|
11
|
-
TryUsSection
|
|
10
|
+
TryOurFreeLegalBlogsSection
|
|
12
11
|
} from '../../sections'
|
|
13
12
|
import { type AboutUsPageProps } from './AboutUsPageProps'
|
|
14
13
|
|
|
@@ -17,7 +16,6 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
|
17
16
|
tryOurFreeLegalBlogsSectionProps,
|
|
18
17
|
peopleSayAboutUsSectionProps,
|
|
19
18
|
guidelinesSectionProps,
|
|
20
|
-
tryUsSectionProps,
|
|
21
19
|
expertsSectionProps,
|
|
22
20
|
asSeeInSectionProps,
|
|
23
21
|
isJonSnow = false
|
|
@@ -28,16 +26,15 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
|
28
26
|
{tryOurFreeLegalBlogsSectionProps != null && (
|
|
29
27
|
<TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
|
|
30
28
|
)}
|
|
31
|
-
{!isJonSnow && peopleSayAboutUsSectionProps != null && (
|
|
32
|
-
<PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
|
|
33
|
-
)}
|
|
34
29
|
{guidelinesSectionProps != null && (
|
|
35
30
|
<GuidelinesSection {...guidelinesSectionProps}>
|
|
36
31
|
{guidelinesSectionProps.contentGuidelines?.children}
|
|
37
32
|
</GuidelinesSection>
|
|
38
33
|
)}
|
|
39
|
-
{tryUsSectionProps != null && <TryUsSection {...tryUsSectionProps}>{tryUsSectionProps.children}</TryUsSection>}
|
|
40
34
|
{expertsSectionProps != null && <ExpertsSection {...expertsSectionProps} />}
|
|
35
|
+
{!isJonSnow && peopleSayAboutUsSectionProps != null && (
|
|
36
|
+
<PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
|
|
37
|
+
)}
|
|
41
38
|
{!isJonSnow && asSeeInSectionProps != null && <AsSeeInSection {...asSeeInSectionProps} />}
|
|
42
39
|
</>
|
|
43
40
|
)
|
|
@@ -5,6 +5,6 @@ const AsSeeInSection = ({ title, contentAsSeeIn }) => {
|
|
|
5
5
|
if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsx("section", { className: 'as-seen-in-section-box', children: _jsxs("div", { className: 'as-seen-in-section', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }) }));
|
|
8
|
+
return (_jsx("section", { className: 'as-seen-in-section-box', children: _jsxs("div", { className: 'as-seen-in-section wrapper', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }) }));
|
|
9
9
|
};
|
|
10
10
|
export default AsSeeInSection;
|
|
@@ -3,23 +3,21 @@
|
|
|
3
3
|
|
|
4
4
|
.as-seen-in-section-box {
|
|
5
5
|
flex-shrink: 0;
|
|
6
|
-
|
|
7
|
-
background: #fff;
|
|
8
|
-
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
9
|
-
margin: 2rem;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
max-width: 1200px;
|
|
6
|
+
background-color: get-color(secondary, main-light-5);
|
|
12
7
|
|
|
13
8
|
@include laptop {
|
|
14
|
-
margin:
|
|
9
|
+
margin-top: 12rem;
|
|
15
10
|
}
|
|
16
11
|
|
|
17
12
|
.as-seen-in-section {
|
|
18
13
|
display: flex;
|
|
19
14
|
flex-direction: column;
|
|
15
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
16
|
+
background: get-color(others, white);
|
|
17
|
+
transform: translateY(-50%);
|
|
18
|
+
padding: 1.5rem 0;
|
|
20
19
|
|
|
21
20
|
&__title {
|
|
22
|
-
color: get-color(neutral, neutral-2);
|
|
23
21
|
text-align: center;
|
|
24
22
|
font-size: 32px;
|
|
25
23
|
font-family: $font-serif;
|
|
@@ -11,7 +11,7 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({ title, contentAsSeeIn }) => {
|
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
13
|
<section className='as-seen-in-section-box'>
|
|
14
|
-
<div className='as-seen-in-section'>
|
|
14
|
+
<div className='as-seen-in-section wrapper'>
|
|
15
15
|
<h2 className='as-seen-in-section__title'>{title}</h2>
|
|
16
16
|
<AsSeeInContent trustWorthyImages={contentAsSeeIn.trustWorthyImages}>{contentAsSeeIn.children}</AsSeeInContent>
|
|
17
17
|
</div>
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
background-color: get-color(
|
|
9
|
-
margin-bottom:
|
|
8
|
+
background-color: get-color(primary, main-light-6);
|
|
9
|
+
margin-bottom: 4rem;
|
|
10
10
|
|
|
11
11
|
&__title {
|
|
12
12
|
font-family: $font-serif;
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { GuidelinesContent } from '../../organisms/GuidelinesContent';
|
|
3
3
|
// import './GuidelinesSection.scss'
|
|
4
4
|
const GuidelinesSection = ({ contentGuidelines }) => {
|
|
5
|
-
return (_jsx("section", { className: 'guidelines-section
|
|
5
|
+
return (_jsx("section", { className: 'guidelines-section', children: _jsx(GuidelinesContent, { title: contentGuidelines.title, image: contentGuidelines.image, detail: contentGuidelines.detail, children: contentGuidelines.children }) }));
|
|
6
6
|
};
|
|
7
7
|
export default GuidelinesSection;
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
.guidelines-section {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
align-items: center;
|
|
8
|
+
background: get-color(neutral, neutral-6);
|
|
9
|
+
padding-top: 2rem;
|
|
10
|
+
padding-bottom: 2rem;
|
|
11
|
+
margin-top: 3rem;
|
|
11
12
|
}
|
|
@@ -6,8 +6,12 @@ import { type GuidelinesSectionProps } from './GuidelinesSectionProps.types'
|
|
|
6
6
|
|
|
7
7
|
const GuidelinesSection: FC<GuidelinesSectionProps> = ({ contentGuidelines }) => {
|
|
8
8
|
return (
|
|
9
|
-
<section className='guidelines-section
|
|
10
|
-
<GuidelinesContent
|
|
9
|
+
<section className='guidelines-section'>
|
|
10
|
+
<GuidelinesContent
|
|
11
|
+
title={contentGuidelines.title}
|
|
12
|
+
image={contentGuidelines.image}
|
|
13
|
+
detail={contentGuidelines.detail}
|
|
14
|
+
>
|
|
11
15
|
{contentGuidelines.children}
|
|
12
16
|
</GuidelinesContent>
|
|
13
17
|
</section>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { TrustPilot } from '../../atoms';
|
|
3
3
|
// import './PeopleSayAboutUsSection.scss'
|
|
4
|
-
const PeopleSayAboutUsSection = ({ title, contentTrustPilot }) => {
|
|
5
|
-
return (_jsxs("section", { className: 'people-say', children: [Boolean(title) && _jsx("h2", { className: 'people-say__title', children: title }), _jsx(TrustPilot, { children: contentTrustPilot.children })] }));
|
|
4
|
+
const PeopleSayAboutUsSection = ({ title, testimonialsSectionContent, contentTrustPilot }) => {
|
|
5
|
+
return (_jsxs("section", { className: 'people-say', children: [Boolean(title) && _jsx("h2", { className: 'people-say__title', children: title }), testimonialsSectionContent, _jsx(TrustPilot, { children: contentTrustPilot.children })] }));
|
|
6
6
|
};
|
|
7
7
|
export default PeopleSayAboutUsSection;
|
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
margin: 0 auto;
|
|
7
7
|
text-align: center;
|
|
8
8
|
|
|
9
|
+
@include desktop {
|
|
10
|
+
max-width: $max-width;
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
&__title {
|
|
10
14
|
font-family: $font-serif;
|
|
11
15
|
font-size: 32px;
|
|
@@ -14,4 +18,20 @@
|
|
|
14
18
|
letter-spacing: -0.3px;
|
|
15
19
|
text-align: center;
|
|
16
20
|
}
|
|
21
|
+
|
|
22
|
+
.richt-text-strapi {
|
|
23
|
+
text-align: left;
|
|
24
|
+
margin-top: 2rem;
|
|
25
|
+
|
|
26
|
+
> p,
|
|
27
|
+
> blockquote {
|
|
28
|
+
margin-top: 1.5rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
blockquote {
|
|
32
|
+
padding: 1rem;
|
|
33
|
+
background: var(--neutral-neutral-6);
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
17
37
|
}
|
|
@@ -4,10 +4,15 @@ import { type PeopleSayAboutUsSectionProps } from './PeopleSayAboutUsSectionProp
|
|
|
4
4
|
import { TrustPilot } from '../../atoms'
|
|
5
5
|
// import './PeopleSayAboutUsSection.scss'
|
|
6
6
|
|
|
7
|
-
const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps> = ({
|
|
7
|
+
const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps> = ({
|
|
8
|
+
title,
|
|
9
|
+
testimonialsSectionContent,
|
|
10
|
+
contentTrustPilot
|
|
11
|
+
}) => {
|
|
8
12
|
return (
|
|
9
13
|
<section className='people-say'>
|
|
10
14
|
{Boolean(title) && <h2 className='people-say__title'>{title}</h2>}
|
|
15
|
+
{testimonialsSectionContent}
|
|
11
16
|
<TrustPilot>{contentTrustPilot.children}</TrustPilot>
|
|
12
17
|
</section>
|
|
13
18
|
)
|