@npm_leadtech/legal-lib-components 5.2.10 → 5.2.12
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 +56 -13
- package/dist/src/components/atoms/CardPane/CardPane.scss +2 -12
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +61 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +24 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +7 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +7 -0
- package/package.json +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -1291,20 +1291,9 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
.pane-wrapper:nth-child(3) {
|
|
1293
1293
|
margin-top: 30px;
|
|
1294
|
-
padding-right: 0;
|
|
1295
|
-
}
|
|
1296
|
-
.pane-wrapper:nth-child(4) {
|
|
1297
|
-
margin-top: 45px;
|
|
1298
|
-
text-align: right;
|
|
1299
|
-
}
|
|
1300
|
-
@media (min-width: 328px) and (max-width: 720px) {
|
|
1301
|
-
.pane-wrapper:nth-child(4) {
|
|
1302
|
-
text-align: left;
|
|
1303
|
-
margin-top: 16px;
|
|
1304
|
-
}
|
|
1305
1294
|
}
|
|
1306
|
-
.pane-wrapper:
|
|
1307
|
-
|
|
1295
|
+
.pane-wrapper:last-child {
|
|
1296
|
+
padding-right: 0;
|
|
1308
1297
|
}
|
|
1309
1298
|
.pane-wrapper span {
|
|
1310
1299
|
display: block;
|
|
@@ -7535,6 +7524,60 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7535
7524
|
letter-spacing: -0.3px;
|
|
7536
7525
|
margin: 1rem 0;
|
|
7537
7526
|
}
|
|
7527
|
+
.contact-us-section {
|
|
7528
|
+
display: flex;
|
|
7529
|
+
flex-direction: column;
|
|
7530
|
+
transform: translateY(-5rem);
|
|
7531
|
+
color: var(--neutral-neutral-1);
|
|
7532
|
+
margin-top: 1rem;
|
|
7533
|
+
}
|
|
7534
|
+
.contact-us-section__title {
|
|
7535
|
+
text-align: center;
|
|
7536
|
+
font-size: 32px;
|
|
7537
|
+
font-family: "Lora", serif;
|
|
7538
|
+
font-style: normal;
|
|
7539
|
+
font-weight: 400;
|
|
7540
|
+
line-height: 42px;
|
|
7541
|
+
letter-spacing: -0.3px;
|
|
7542
|
+
margin: 1rem 0;
|
|
7543
|
+
}
|
|
7544
|
+
.contact-us-section__text {
|
|
7545
|
+
text-align: center;
|
|
7546
|
+
font-style: normal;
|
|
7547
|
+
font-weight: 400;
|
|
7548
|
+
margin: 0 0 2rem 0;
|
|
7549
|
+
}
|
|
7550
|
+
.contact-us-section-blocks {
|
|
7551
|
+
display: flex;
|
|
7552
|
+
justify-content: center;
|
|
7553
|
+
flex-direction: column;
|
|
7554
|
+
gap: 2.5rem;
|
|
7555
|
+
}
|
|
7556
|
+
@media (min-width: 960px) {
|
|
7557
|
+
.contact-us-section-blocks {
|
|
7558
|
+
flex-direction: row;
|
|
7559
|
+
}
|
|
7560
|
+
}
|
|
7561
|
+
.contact-us-section-blocks__item {
|
|
7562
|
+
display: flex;
|
|
7563
|
+
flex-direction: column;
|
|
7564
|
+
align-items: center;
|
|
7565
|
+
background-color: white;
|
|
7566
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
7567
|
+
border-radius: 0.25rem;
|
|
7568
|
+
min-width: 200px;
|
|
7569
|
+
padding: 1rem;
|
|
7570
|
+
}
|
|
7571
|
+
.contact-us-section-blocks__item__image {
|
|
7572
|
+
width: 2rem;
|
|
7573
|
+
}
|
|
7574
|
+
.contact-us-section-blocks__item__title {
|
|
7575
|
+
margin-top: 1rem;
|
|
7576
|
+
line-height: 1rem;
|
|
7577
|
+
}
|
|
7578
|
+
.contact-us-section-blocks__item__text {
|
|
7579
|
+
font-size: 14px;
|
|
7580
|
+
}
|
|
7538
7581
|
.benefit-ratafia-section {
|
|
7539
7582
|
display: flex;
|
|
7540
7583
|
justify-content: center;
|
|
@@ -57,20 +57,10 @@
|
|
|
57
57
|
}
|
|
58
58
|
&:nth-child(3) {
|
|
59
59
|
margin-top: 30px;
|
|
60
|
-
padding-right: 0;
|
|
61
60
|
}
|
|
62
|
-
&:
|
|
63
|
-
|
|
64
|
-
text-align: right;
|
|
65
|
-
@media (min-width: #{$xxs}) and (max-width: #{$sm}) {
|
|
66
|
-
text-align: left;
|
|
67
|
-
margin-top: 16px;
|
|
68
|
-
}
|
|
69
|
-
.pane--title {
|
|
70
|
-
font-size: 0.75rem;
|
|
71
|
-
}
|
|
61
|
+
&:last-child {
|
|
62
|
+
padding-right: 0;
|
|
72
63
|
}
|
|
73
|
-
|
|
74
64
|
span {
|
|
75
65
|
display: block;
|
|
76
66
|
&.marker {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsSeeInContent } from '../../organisms';
|
|
3
3
|
// import './AsSeeInSection.scss'
|
|
4
|
-
const AsSeeInSection = ({ title, contentAsSeeIn }) => {
|
|
4
|
+
const AsSeeInSection = ({ title, contentAsSeeIn, contactSectionTitle, contactSectionText, contactSectionBlocks }) => {
|
|
5
5
|
if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (
|
|
8
|
+
return (_jsxs("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 })] }), Array.isArray(contactSectionBlocks) && contactSectionBlocks.length > 0 && (_jsxs("div", { className: 'contact-us-section', children: [_jsx("h2", { className: 'contact-us-section__title', children: contactSectionTitle }), _jsx("p", { className: 'contact-us-section__text', children: contactSectionText }), Array.isArray(contactSectionBlocks) && (_jsx("div", { className: 'contact-us-section-blocks', children: contactSectionBlocks.map((item, index) => (_jsxs("div", { className: 'contact-us-section-blocks__item', children: [_jsx("div", { className: 'contact-us-section-blocks__item__image', children: item.image }), _jsx("div", { className: 'contact-us-section-blocks__item__title', children: item.title }), _jsx("p", { className: 'contact-us-section-blocks__item__text', children: item.body })] }, index))) }))] }))] }));
|
|
9
9
|
};
|
|
10
10
|
export default AsSeeInSection;
|
|
@@ -29,3 +29,64 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
.contact-us-section {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
transform: translateY(-5rem);
|
|
37
|
+
color: var(--neutral-neutral-1);
|
|
38
|
+
margin-top: 1rem;
|
|
39
|
+
|
|
40
|
+
&__title {
|
|
41
|
+
text-align: center;
|
|
42
|
+
font-size: 32px;
|
|
43
|
+
font-family: $font-serif;
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
line-height: 42px;
|
|
47
|
+
letter-spacing: -0.3px;
|
|
48
|
+
margin: 1rem 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__text {
|
|
52
|
+
text-align: center;
|
|
53
|
+
font-style: normal;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
margin: 0 0 2rem 0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-blocks {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
gap: 2.5rem;
|
|
63
|
+
|
|
64
|
+
@include laptop {
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__item {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
align-items: center;
|
|
72
|
+
background-color: white;
|
|
73
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
74
|
+
border-radius: 0.25rem;
|
|
75
|
+
min-width: 200px;
|
|
76
|
+
padding: 1rem;
|
|
77
|
+
|
|
78
|
+
&__image {
|
|
79
|
+
width: 2rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__title {
|
|
83
|
+
margin-top: 1rem;
|
|
84
|
+
line-height: 1rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__text {
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -4,7 +4,13 @@ import { AsSeeInContent } from '../../organisms'
|
|
|
4
4
|
import { type AsSeeInSectionProps } from './AsSeeInSectionProps.types'
|
|
5
5
|
// import './AsSeeInSection.scss'
|
|
6
6
|
|
|
7
|
-
const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
7
|
+
const AsSeeInSection: FC<AsSeeInSectionProps> = ({
|
|
8
|
+
title,
|
|
9
|
+
contentAsSeeIn,
|
|
10
|
+
contactSectionTitle,
|
|
11
|
+
contactSectionText,
|
|
12
|
+
contactSectionBlocks
|
|
13
|
+
}) => {
|
|
8
14
|
if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
|
|
9
15
|
return null
|
|
10
16
|
}
|
|
@@ -15,6 +21,23 @@ const AsSeeInSection: FC<AsSeeInSectionProps> = ({ title, contentAsSeeIn }) => {
|
|
|
15
21
|
<h2 className='as-seen-in-section__title'>{title}</h2>
|
|
16
22
|
<AsSeeInContent trustWorthyImages={contentAsSeeIn.trustWorthyImages}>{contentAsSeeIn.children}</AsSeeInContent>
|
|
17
23
|
</div>
|
|
24
|
+
{Array.isArray(contactSectionBlocks) && contactSectionBlocks.length > 0 && (
|
|
25
|
+
<div className='contact-us-section'>
|
|
26
|
+
<h2 className='contact-us-section__title'>{contactSectionTitle}</h2>
|
|
27
|
+
<p className='contact-us-section__text'>{contactSectionText}</p>
|
|
28
|
+
{Array.isArray(contactSectionBlocks) && (
|
|
29
|
+
<div className='contact-us-section-blocks'>
|
|
30
|
+
{contactSectionBlocks.map((item, index) => (
|
|
31
|
+
<div className='contact-us-section-blocks__item' key={index}>
|
|
32
|
+
<div className='contact-us-section-blocks__item__image'>{item.image}</div>
|
|
33
|
+
<div className='contact-us-section-blocks__item__title'>{item.title}</div>
|
|
34
|
+
<p className='contact-us-section-blocks__item__text'>{item.body}</p>
|
|
35
|
+
</div>
|
|
36
|
+
))}
|
|
37
|
+
</div>
|
|
38
|
+
)}
|
|
39
|
+
</div>
|
|
40
|
+
)}
|
|
18
41
|
</section>
|
|
19
42
|
)
|
|
20
43
|
}
|
|
@@ -2,4 +2,11 @@ import { type AsSeeInContentProps } from '../../organisms/AsSeeInContent';
|
|
|
2
2
|
export interface AsSeeInSectionProps {
|
|
3
3
|
title: string;
|
|
4
4
|
contentAsSeeIn: AsSeeInContentProps;
|
|
5
|
+
contactSectionTitle: string;
|
|
6
|
+
contactSectionText: string;
|
|
7
|
+
contactSectionBlocks?: {
|
|
8
|
+
image: React.ReactNode;
|
|
9
|
+
title: string;
|
|
10
|
+
body: string;
|
|
11
|
+
}[];
|
|
5
12
|
}
|
|
@@ -3,4 +3,11 @@ import { type AsSeeInContentProps } from '../../organisms/AsSeeInContent'
|
|
|
3
3
|
export interface AsSeeInSectionProps {
|
|
4
4
|
title: string
|
|
5
5
|
contentAsSeeIn: AsSeeInContentProps
|
|
6
|
+
contactSectionTitle: string
|
|
7
|
+
contactSectionText: string
|
|
8
|
+
contactSectionBlocks?: {
|
|
9
|
+
image: React.ReactNode
|
|
10
|
+
title: string
|
|
11
|
+
body: string
|
|
12
|
+
}[]
|
|
6
13
|
}
|