@npm_leadtech/legal-lib-components 5.2.12 → 5.2.14
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 +43 -5
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +1 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +8 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +7 -2
- package/dist/src/components/sections/BlogSection/BlogSection.js +4 -3
- package/dist/src/components/sections/BlogSection/BlogSection.scss +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +8 -4
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +5 -0
- package/package.json +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -6410,7 +6410,7 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6410
6410
|
}
|
|
6411
6411
|
.trustworthy-websites__image {
|
|
6412
6412
|
margin: 1.5rem;
|
|
6413
|
-
max-width:
|
|
6413
|
+
max-width: 7rem;
|
|
6414
6414
|
}
|
|
6415
6415
|
.type-modules-list {
|
|
6416
6416
|
display: flex;
|
|
@@ -6851,8 +6851,15 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6851
6851
|
}
|
|
6852
6852
|
.guidelines-section-main {
|
|
6853
6853
|
display: flex;
|
|
6854
|
-
flex-direction:
|
|
6854
|
+
flex-direction: column;
|
|
6855
6855
|
flex-wrap: nowrap;
|
|
6856
|
+
padding: 1.5rem;
|
|
6857
|
+
}
|
|
6858
|
+
@media (min-width: 960px) {
|
|
6859
|
+
.guidelines-section-main {
|
|
6860
|
+
flex-direction: row;
|
|
6861
|
+
padding: 0;
|
|
6862
|
+
}
|
|
6856
6863
|
}
|
|
6857
6864
|
.guidelines-section__texts {
|
|
6858
6865
|
flex-basis: 50%;
|
|
@@ -6909,7 +6916,7 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
6909
6916
|
}
|
|
6910
6917
|
}
|
|
6911
6918
|
.guidelines-section__image.is-mobile {
|
|
6912
|
-
display:
|
|
6919
|
+
display: none;
|
|
6913
6920
|
}
|
|
6914
6921
|
@media (min-width: 720px) {
|
|
6915
6922
|
.guidelines-section__image.is-mobile {
|
|
@@ -7511,9 +7518,14 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7511
7518
|
flex-direction: column;
|
|
7512
7519
|
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
7513
7520
|
background: var(--others-white);
|
|
7514
|
-
transform: translateY(-
|
|
7521
|
+
transform: translateY(-5rem);
|
|
7515
7522
|
padding: 1.5rem 0;
|
|
7516
7523
|
}
|
|
7524
|
+
@media (min-width: 960px) {
|
|
7525
|
+
.as-seen-in-section-box .as-seen-in-section {
|
|
7526
|
+
transform: translateY(-50%);
|
|
7527
|
+
}
|
|
7528
|
+
}
|
|
7517
7529
|
.as-seen-in-section-box .as-seen-in-section__title {
|
|
7518
7530
|
text-align: center;
|
|
7519
7531
|
font-size: 32px;
|
|
@@ -7551,11 +7563,12 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7551
7563
|
display: flex;
|
|
7552
7564
|
justify-content: center;
|
|
7553
7565
|
flex-direction: column;
|
|
7554
|
-
gap:
|
|
7566
|
+
gap: 1rem;
|
|
7555
7567
|
}
|
|
7556
7568
|
@media (min-width: 960px) {
|
|
7557
7569
|
.contact-us-section-blocks {
|
|
7558
7570
|
flex-direction: row;
|
|
7571
|
+
gap: 2.5rem;
|
|
7559
7572
|
}
|
|
7560
7573
|
}
|
|
7561
7574
|
.contact-us-section-blocks__item {
|
|
@@ -7646,6 +7659,16 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7646
7659
|
max-width: 1200px;
|
|
7647
7660
|
}
|
|
7648
7661
|
}
|
|
7662
|
+
.blog .blog__description {
|
|
7663
|
+
font-family: Inter;
|
|
7664
|
+
font-size: 16px;
|
|
7665
|
+
font-weight: 400;
|
|
7666
|
+
line-height: 22px;
|
|
7667
|
+
letter-spacing: -0.3px;
|
|
7668
|
+
text-align: left;
|
|
7669
|
+
color: #6d7275;
|
|
7670
|
+
margin: 1rem 0 1.5rem 0;
|
|
7671
|
+
}
|
|
7649
7672
|
.blog .blog__title {
|
|
7650
7673
|
color: var(--primary-main-dark-1);
|
|
7651
7674
|
}
|
|
@@ -7654,6 +7677,15 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
7654
7677
|
margin-bottom: 3rem;
|
|
7655
7678
|
}
|
|
7656
7679
|
}
|
|
7680
|
+
.blog .blog__title.category-product-title {
|
|
7681
|
+
margin-bottom: 0;
|
|
7682
|
+
font-family: Inter;
|
|
7683
|
+
font-size: 28px;
|
|
7684
|
+
font-weight: 700;
|
|
7685
|
+
line-height: 32px;
|
|
7686
|
+
letter-spacing: -0.3px;
|
|
7687
|
+
text-align: left;
|
|
7688
|
+
}
|
|
7657
7689
|
.blog .cta-button {
|
|
7658
7690
|
width: 100%;
|
|
7659
7691
|
margin-top: 3rem;
|
|
@@ -8229,6 +8261,12 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
|
|
|
8229
8261
|
width: 100%;
|
|
8230
8262
|
margin: 0 auto;
|
|
8231
8263
|
text-align: center;
|
|
8264
|
+
padding: 1.5rem;
|
|
8265
|
+
}
|
|
8266
|
+
@media (min-width: 960px) {
|
|
8267
|
+
.people-say {
|
|
8268
|
+
padding: 0;
|
|
8269
|
+
}
|
|
8232
8270
|
}
|
|
8233
8271
|
@media (min-width: 1200px) {
|
|
8234
8272
|
.people-say {
|
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
.guidelines-section {
|
|
5
5
|
&-main {
|
|
6
6
|
display: flex;
|
|
7
|
-
flex-direction:
|
|
7
|
+
flex-direction: column;
|
|
8
8
|
flex-wrap: nowrap;
|
|
9
|
+
padding: 1.5rem;
|
|
10
|
+
|
|
11
|
+
@include laptop {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
&__texts {
|
|
@@ -65,7 +71,7 @@
|
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
&.is-mobile {
|
|
68
|
-
display:
|
|
74
|
+
display: none;
|
|
69
75
|
|
|
70
76
|
@include landscape-tablets {
|
|
71
77
|
display: none;
|
|
@@ -14,9 +14,13 @@
|
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
16
16
|
background: get-color(others, white);
|
|
17
|
-
transform: translateY(-
|
|
17
|
+
transform: translateY(-5rem);
|
|
18
18
|
padding: 1.5rem 0;
|
|
19
19
|
|
|
20
|
+
@include laptop {
|
|
21
|
+
transform: translateY(-50%);
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
&__title {
|
|
21
25
|
text-align: center;
|
|
22
26
|
font-size: 32px;
|
|
@@ -59,10 +63,11 @@
|
|
|
59
63
|
display: flex;
|
|
60
64
|
justify-content: center;
|
|
61
65
|
flex-direction: column;
|
|
62
|
-
gap:
|
|
66
|
+
gap: 1rem;
|
|
63
67
|
|
|
64
68
|
@include laptop {
|
|
65
69
|
flex-direction: row;
|
|
70
|
+
gap: 2.5rem;
|
|
66
71
|
}
|
|
67
72
|
|
|
68
73
|
&__item {
|
|
@@ -2,9 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { ArticlesList } from '../../organisms';
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
4
|
// import './BlogSection.scss'
|
|
5
|
-
const BlogSection = ({ blogTitle, blogCta, articles }) => {
|
|
5
|
+
const BlogSection = ({ blogTitle, blogCta = null, blogDescription = null, articles }) => {
|
|
6
6
|
if (articles.articles?.length === 0)
|
|
7
|
-
return
|
|
8
|
-
|
|
7
|
+
return;
|
|
8
|
+
const categoryProductTitle = !!blogDescription;
|
|
9
|
+
return (_jsxs("div", { className: 'blog', children: [_jsx("h2", { className: `serif --super-large blog__title ${categoryProductTitle ? 'category-product-title' : ''}`, children: blogTitle }), blogDescription && _jsx("p", { className: 'blog__description', children: blogDescription }), _jsx(ArticlesList, { articles: articles.articles }), blogCta && _jsx(Button, { dataQa: '', color: 'secondary', label: blogCta, givenClass: 'cta-button', link: '/articles' })] }));
|
|
9
10
|
};
|
|
10
11
|
export default BlogSection;
|
|
@@ -14,12 +14,33 @@
|
|
|
14
14
|
max-width: $lg;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
.blog__description {
|
|
18
|
+
font-family: Inter;
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
line-height: 22px;
|
|
22
|
+
letter-spacing: -0.3px;
|
|
23
|
+
text-align: left;
|
|
24
|
+
color: #6d7275;
|
|
25
|
+
margin: 1rem 0 1.5rem 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
.blog__title {
|
|
18
29
|
color: get-color(primary, main-dark-1);
|
|
19
30
|
|
|
20
31
|
@include laptop {
|
|
21
32
|
margin-bottom: 3rem;
|
|
22
33
|
}
|
|
34
|
+
|
|
35
|
+
&.category-product-title {
|
|
36
|
+
margin-bottom: 0;
|
|
37
|
+
font-family: Inter;
|
|
38
|
+
font-size: 28px;
|
|
39
|
+
font-weight: 700;
|
|
40
|
+
line-height: 32px;
|
|
41
|
+
letter-spacing: -0.3px;
|
|
42
|
+
text-align: left;
|
|
43
|
+
}
|
|
23
44
|
}
|
|
24
45
|
|
|
25
46
|
.cta-button {
|
|
@@ -6,14 +6,18 @@ import { type BlogSectionProps } from './BlogSectionProps.types'
|
|
|
6
6
|
import { Button } from '../../atoms'
|
|
7
7
|
// import './BlogSection.scss'
|
|
8
8
|
|
|
9
|
-
const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta, articles }) => {
|
|
10
|
-
if (articles.articles?.length === 0) return
|
|
9
|
+
const BlogSection: FC<BlogSectionProps> = ({ blogTitle, blogCta = null, blogDescription = null, articles }) => {
|
|
10
|
+
if (articles.articles?.length === 0) return
|
|
11
|
+
const categoryProductTitle = !!blogDescription
|
|
11
12
|
|
|
12
13
|
return (
|
|
13
14
|
<div className={'blog'}>
|
|
14
|
-
<h2 className={
|
|
15
|
+
<h2 className={`serif --super-large blog__title ${categoryProductTitle ? 'category-product-title' : ''}`}>
|
|
16
|
+
{blogTitle}
|
|
17
|
+
</h2>
|
|
18
|
+
{blogDescription && <p className='blog__description'>{blogDescription}</p>}
|
|
15
19
|
<ArticlesList articles={articles.articles} />
|
|
16
|
-
<Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />
|
|
20
|
+
{blogCta && <Button dataQa='' color='secondary' label={blogCta} givenClass='cta-button' link={'/articles'} />}
|
|
17
21
|
</div>
|
|
18
22
|
)
|
|
19
23
|
}
|