@npm_leadtech/legal-lib-components 5.2.1 → 5.2.2
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 +50 -18
- 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 +2 -2
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +37 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +20 -6
- 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/package.json +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -5073,7 +5073,7 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
5073
5073
|
display: flex;
|
|
5074
5074
|
flex-direction: column;
|
|
5075
5075
|
justify-content: center;
|
|
5076
|
-
|
|
5076
|
+
margin: 2rem 0 3rem 0;
|
|
5077
5077
|
}
|
|
5078
5078
|
@media (min-width: 720px) {
|
|
5079
5079
|
.expert-card-list {
|
|
@@ -6403,9 +6403,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6403
6403
|
display: flex;
|
|
6404
6404
|
flex-wrap: wrap;
|
|
6405
6405
|
justify-content: center;
|
|
6406
|
+
align-items: center;
|
|
6406
6407
|
}
|
|
6407
6408
|
.trustworthy-websites__image {
|
|
6408
6409
|
margin: 1.5rem;
|
|
6410
|
+
max-width: 8rem;
|
|
6409
6411
|
}
|
|
6410
6412
|
.type-modules-list {
|
|
6411
6413
|
display: flex;
|
|
@@ -6844,6 +6846,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6844
6846
|
align-self: stretch;
|
|
6845
6847
|
color: var(--neutral-neutral-1);
|
|
6846
6848
|
}
|
|
6849
|
+
.guidelines-section-main {
|
|
6850
|
+
display: flex;
|
|
6851
|
+
flex-direction: row;
|
|
6852
|
+
flex-wrap: nowrap;
|
|
6853
|
+
}
|
|
6847
6854
|
.guidelines-section__texts {
|
|
6848
6855
|
flex-basis: 50%;
|
|
6849
6856
|
display: flex;
|
|
@@ -6866,7 +6873,6 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6866
6873
|
font-family: "Lora", serif;
|
|
6867
6874
|
margin-bottom: 2rem;
|
|
6868
6875
|
text-align: center;
|
|
6869
|
-
color: var(--neutral-neutral-2);
|
|
6870
6876
|
font-size: 32px;
|
|
6871
6877
|
font-style: normal;
|
|
6872
6878
|
font-weight: 400;
|
|
@@ -6907,6 +6913,33 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6907
6913
|
display: none;
|
|
6908
6914
|
}
|
|
6909
6915
|
}
|
|
6916
|
+
.guidelines-section-detail {
|
|
6917
|
+
display: flex;
|
|
6918
|
+
gap: 1.5rem;
|
|
6919
|
+
margin: 2rem 0 1rem 0;
|
|
6920
|
+
}
|
|
6921
|
+
.guidelines-section-detail__item {
|
|
6922
|
+
display: flex;
|
|
6923
|
+
flex: 1;
|
|
6924
|
+
flex-direction: column;
|
|
6925
|
+
background: var(--others-white);
|
|
6926
|
+
border-radius: 0.5rem;
|
|
6927
|
+
padding: 1.5rem;
|
|
6928
|
+
}
|
|
6929
|
+
.guidelines-section-detail__item__image {
|
|
6930
|
+
width: 100%;
|
|
6931
|
+
border-radius: 0.5rem;
|
|
6932
|
+
}
|
|
6933
|
+
.guidelines-section-detail__item__title {
|
|
6934
|
+
font-family: "Lora", serif;
|
|
6935
|
+
font-style: normal;
|
|
6936
|
+
font-weight: 400;
|
|
6937
|
+
font-size: 24px;
|
|
6938
|
+
line-height: 32px;
|
|
6939
|
+
letter-spacing: -0.3px;
|
|
6940
|
+
color: var(--neutral-neutral-1);
|
|
6941
|
+
margin: 1.5rem 0 1rem 0;
|
|
6942
|
+
}
|
|
6910
6943
|
.jumbotron-ratafia-content {
|
|
6911
6944
|
display: flex;
|
|
6912
6945
|
flex-direction: column;
|
|
@@ -7325,10 +7358,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7325
7358
|
}
|
|
7326
7359
|
.try-our-free-legal-blogs-section__texts__title {
|
|
7327
7360
|
font-family: "Lora", serif;
|
|
7328
|
-
font-size:
|
|
7361
|
+
font-size: 32px;
|
|
7329
7362
|
line-height: 42px;
|
|
7330
7363
|
margin-bottom: 2rem;
|
|
7331
7364
|
text-align: center;
|
|
7365
|
+
font-weight: 400;
|
|
7332
7366
|
}
|
|
7333
7367
|
@media (min-width: 720px) {
|
|
7334
7368
|
.try-our-free-legal-blogs-section__texts__title {
|
|
@@ -7438,24 +7472,22 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7438
7472
|
}
|
|
7439
7473
|
.as-seen-in-section-box {
|
|
7440
7474
|
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;
|
|
7475
|
+
background-color: var(--secondary-main-light-5);
|
|
7447
7476
|
}
|
|
7448
7477
|
@media (min-width: 960px) {
|
|
7449
7478
|
.as-seen-in-section-box {
|
|
7450
|
-
margin:
|
|
7479
|
+
margin-top: 12rem;
|
|
7451
7480
|
}
|
|
7452
7481
|
}
|
|
7453
7482
|
.as-seen-in-section-box .as-seen-in-section {
|
|
7454
7483
|
display: flex;
|
|
7455
7484
|
flex-direction: column;
|
|
7485
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
7486
|
+
background: var(--others-white);
|
|
7487
|
+
transform: translateY(-50%);
|
|
7488
|
+
padding: 1.5rem 0;
|
|
7456
7489
|
}
|
|
7457
7490
|
.as-seen-in-section-box .as-seen-in-section__title {
|
|
7458
|
-
color: var(--neutral-neutral-2);
|
|
7459
7491
|
text-align: center;
|
|
7460
7492
|
font-size: 32px;
|
|
7461
7493
|
font-family: "Lora", serif;
|
|
@@ -7636,8 +7668,8 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7636
7668
|
display: flex;
|
|
7637
7669
|
justify-content: center;
|
|
7638
7670
|
flex-direction: column;
|
|
7639
|
-
background-color: var(--
|
|
7640
|
-
margin-bottom:
|
|
7671
|
+
background-color: var(--primary-main-light-6);
|
|
7672
|
+
margin-bottom: 4rem;
|
|
7641
7673
|
}
|
|
7642
7674
|
.experts-section__title {
|
|
7643
7675
|
font-family: "Lora", serif;
|
|
@@ -7757,11 +7789,11 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7757
7789
|
.guidelines-section {
|
|
7758
7790
|
display: flex;
|
|
7759
7791
|
flex-direction: column;
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7792
|
+
align-items: center;
|
|
7793
|
+
background: var(--neutral-neutral-6);
|
|
7794
|
+
padding-top: 2rem;
|
|
7795
|
+
padding-bottom: 2rem;
|
|
7796
|
+
margin-top: 3rem;
|
|
7765
7797
|
}
|
|
7766
7798
|
.how-it-works-wrapper {
|
|
7767
7799
|
background-color: var(--neutral-neutral-6);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextInner } 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(RichTextInner, { customClass: 'guidelines-section-detail__item__text', children: item.text })] }, 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;
|
|
@@ -67,4 +72,35 @@
|
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
}
|
|
75
|
+
|
|
76
|
+
&-detail {
|
|
77
|
+
display: flex;
|
|
78
|
+
gap: 1.5rem;
|
|
79
|
+
margin: 2rem 0 1rem 0;
|
|
80
|
+
|
|
81
|
+
&__item {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex: 1;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
background: get-color(others, white);
|
|
86
|
+
border-radius: 0.5rem;
|
|
87
|
+
padding: 1.5rem;
|
|
88
|
+
|
|
89
|
+
&__image {
|
|
90
|
+
width: 100%;
|
|
91
|
+
border-radius: 0.5rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__title {
|
|
95
|
+
font-family: $font-serif;
|
|
96
|
+
font-style: normal;
|
|
97
|
+
font-weight: 400;
|
|
98
|
+
font-size: 24px;
|
|
99
|
+
line-height: 32px;
|
|
100
|
+
letter-spacing: -0.3px;
|
|
101
|
+
color: get-color(neutral, neutral-1);
|
|
102
|
+
margin: 1.5rem 0 1rem 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
70
106
|
}
|
|
@@ -1,18 +1,32 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
1
2
|
import React, { type FC } from 'react'
|
|
2
3
|
|
|
3
4
|
import { type GuidelinesContentProps } from './GuidelinesContentProps.types'
|
|
4
5
|
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
|
+
<RichTextInner customClass='guidelines-section-detail__item__text'>{item.text}</RichTextInner>
|
|
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>
|