@npm_leadtech/legal-lib-components 5.79.0 → 5.79.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/images/png/about-us-dena.png +0 -0
- package/dist/images/png/about-us-grover.png +0 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +1 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +21 -26
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +21 -26
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +9 -8
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +1 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +1 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +9 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +9 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +2 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +2 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExpertCardStyled } from './ExpertCard.styled';
|
|
3
3
|
const ExpertCard = ({ title, url, description, image }) => {
|
|
4
|
-
return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] }) }));
|
|
4
|
+
return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), _jsxs("div", { className: 'expert-card__texts', children: [url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] })] }) }));
|
|
5
5
|
};
|
|
6
6
|
export default ExpertCard;
|
|
@@ -1,66 +1,61 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
1
|
import styled from 'styled-components';
|
|
3
2
|
export const ExpertCardStyled = styled.div `
|
|
4
3
|
display: flex;
|
|
5
4
|
align-items: center;
|
|
6
5
|
justify-content: center;
|
|
7
|
-
margin-top: 10rem;
|
|
8
|
-
|
|
9
|
-
&:first-child {
|
|
10
|
-
margin-top: 5rem;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media ${device['landscape-tablets']} {
|
|
14
|
-
margin-top: 5rem;
|
|
15
|
-
}
|
|
16
6
|
|
|
17
7
|
.expert-card {
|
|
18
8
|
&__box {
|
|
19
9
|
background-color: white;
|
|
20
|
-
border-radius:
|
|
10
|
+
border-radius: 1rem;
|
|
21
11
|
box-shadow: var(--box-shadow-container);
|
|
22
|
-
padding: 7rem 2rem 0 2rem;
|
|
23
|
-
min-height: 13rem;
|
|
24
12
|
display: flex;
|
|
25
|
-
flex-direction:
|
|
13
|
+
flex-direction: row;
|
|
26
14
|
align-items: center;
|
|
27
15
|
justify-content: flex-start;
|
|
28
|
-
width: 17.625rem;
|
|
29
|
-
margin-left: 0;
|
|
30
16
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
width: 383px;
|
|
18
|
+
padding: 16px;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: 24px;
|
|
34
21
|
}
|
|
35
22
|
|
|
36
23
|
&__image {
|
|
37
|
-
|
|
38
|
-
transform: translateY(-115%);
|
|
39
|
-
|
|
24
|
+
min-width: 117px;
|
|
40
25
|
img {
|
|
41
|
-
|
|
26
|
+
width: 117px;
|
|
27
|
+
height: auto;
|
|
28
|
+
border-radius: 8px;
|
|
42
29
|
}
|
|
43
30
|
}
|
|
44
31
|
|
|
32
|
+
&__texts {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: start;
|
|
36
|
+
justify-content: left;
|
|
37
|
+
}
|
|
38
|
+
|
|
45
39
|
&__title {
|
|
46
40
|
font-family: var(--font-sans);
|
|
47
41
|
font-size: 18px;
|
|
48
42
|
font-weight: 700;
|
|
49
43
|
line-height: 1.5rem;
|
|
50
44
|
letter-spacing: -0.3px;
|
|
51
|
-
text-align: center;
|
|
52
45
|
width: 75%;
|
|
53
46
|
text-decoration: none;
|
|
47
|
+
margin-bottom: 0.6rem;
|
|
48
|
+
min-width: fit-content;
|
|
54
49
|
}
|
|
55
50
|
|
|
56
51
|
&__description {
|
|
57
52
|
font-family: var(--font-sans);
|
|
53
|
+
color: var(--neutral-neutral-1);
|
|
58
54
|
font-size: 16px;
|
|
55
|
+
font-style: normal;
|
|
59
56
|
font-weight: 400;
|
|
60
57
|
line-height: 22px;
|
|
61
58
|
letter-spacing: -0.3px;
|
|
62
|
-
text-align: center;
|
|
63
|
-
width: 75%;
|
|
64
59
|
}
|
|
65
60
|
}
|
|
66
61
|
`;
|
|
@@ -1,67 +1,62 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
1
|
import styled from 'styled-components'
|
|
3
2
|
|
|
4
3
|
export const ExpertCardStyled = styled.div`
|
|
5
4
|
display: flex;
|
|
6
5
|
align-items: center;
|
|
7
6
|
justify-content: center;
|
|
8
|
-
margin-top: 10rem;
|
|
9
|
-
|
|
10
|
-
&:first-child {
|
|
11
|
-
margin-top: 5rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media ${device['landscape-tablets']} {
|
|
15
|
-
margin-top: 5rem;
|
|
16
|
-
}
|
|
17
7
|
|
|
18
8
|
.expert-card {
|
|
19
9
|
&__box {
|
|
20
10
|
background-color: white;
|
|
21
|
-
border-radius:
|
|
11
|
+
border-radius: 1rem;
|
|
22
12
|
box-shadow: var(--box-shadow-container);
|
|
23
|
-
padding: 7rem 2rem 0 2rem;
|
|
24
|
-
min-height: 13rem;
|
|
25
13
|
display: flex;
|
|
26
|
-
flex-direction:
|
|
14
|
+
flex-direction: row;
|
|
27
15
|
align-items: center;
|
|
28
16
|
justify-content: flex-start;
|
|
29
|
-
width: 17.625rem;
|
|
30
|
-
margin-left: 0;
|
|
31
17
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
width: 383px;
|
|
19
|
+
padding: 16px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 24px;
|
|
35
22
|
}
|
|
36
23
|
|
|
37
24
|
&__image {
|
|
38
|
-
|
|
39
|
-
transform: translateY(-115%);
|
|
40
|
-
|
|
25
|
+
min-width: 117px;
|
|
41
26
|
img {
|
|
42
|
-
|
|
27
|
+
width: 117px;
|
|
28
|
+
height: auto;
|
|
29
|
+
border-radius: 8px;
|
|
43
30
|
}
|
|
44
31
|
}
|
|
45
32
|
|
|
33
|
+
&__texts {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: start;
|
|
37
|
+
justify-content: left;
|
|
38
|
+
}
|
|
39
|
+
|
|
46
40
|
&__title {
|
|
47
41
|
font-family: var(--font-sans);
|
|
48
42
|
font-size: 18px;
|
|
49
43
|
font-weight: 700;
|
|
50
44
|
line-height: 1.5rem;
|
|
51
45
|
letter-spacing: -0.3px;
|
|
52
|
-
text-align: center;
|
|
53
46
|
width: 75%;
|
|
54
47
|
text-decoration: none;
|
|
48
|
+
margin-bottom: 0.6rem;
|
|
49
|
+
min-width: fit-content;
|
|
55
50
|
}
|
|
56
51
|
|
|
57
52
|
&__description {
|
|
58
53
|
font-family: var(--font-sans);
|
|
54
|
+
color: var(--neutral-neutral-1);
|
|
59
55
|
font-size: 16px;
|
|
56
|
+
font-style: normal;
|
|
60
57
|
font-weight: 400;
|
|
61
58
|
line-height: 22px;
|
|
62
59
|
letter-spacing: -0.3px;
|
|
63
|
-
text-align: center;
|
|
64
|
-
width: 75%;
|
|
65
60
|
}
|
|
66
61
|
}
|
|
67
62
|
`
|
|
@@ -8,14 +8,15 @@ const ExpertCard: FC<ExpertCardProps> = ({ title, url, description, image }) =>
|
|
|
8
8
|
<ExpertCardStyled className='expert-card'>
|
|
9
9
|
<div className='expert-card__box'>
|
|
10
10
|
<div className='expert-card__image'>{image}</div>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
<div className='expert-card__texts'>
|
|
12
|
+
{url != null && (
|
|
13
|
+
<a className='expert-card__title' href={url}>
|
|
14
|
+
{title}
|
|
15
|
+
</a>
|
|
16
|
+
)}
|
|
17
|
+
{url == null && <p className='expert-card__title'>{title}</p>}
|
|
18
|
+
<p className='expert-card__description'>{description}</p>
|
|
19
|
+
</div>
|
|
19
20
|
</div>
|
|
20
21
|
</ExpertCardStyled>
|
|
21
22
|
)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExpertCardList } from '../../molecules';
|
|
3
3
|
import { ExpertsSectionStyled } from './ExpertsSection.styled';
|
|
4
|
-
const ExpertsSection = ({ title, contentExpertCardList }) => {
|
|
4
|
+
const ExpertsSection = ({ title, description, contentExpertCardList }) => {
|
|
5
5
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
|
-
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
8
|
+
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx("div", { className: 'experts-section__description', children: description }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
9
9
|
};
|
|
10
10
|
export default ExpertsSection;
|
|
@@ -5,6 +5,11 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
5
5
|
justify-content: center;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
background-color: var(--neutral-neutral-6);
|
|
8
|
+
padding: 2rem 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
padding: 3rem 1.5rem;
|
|
12
|
+
}
|
|
8
13
|
|
|
9
14
|
.experts-section {
|
|
10
15
|
&__title {
|
|
@@ -22,5 +27,9 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
22
27
|
width: 100%;
|
|
23
28
|
}
|
|
24
29
|
}
|
|
30
|
+
|
|
31
|
+
&__description {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
25
34
|
}
|
|
26
35
|
`;
|
|
@@ -6,6 +6,11 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
6
6
|
justify-content: center;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
background-color: var(--neutral-neutral-6);
|
|
9
|
+
padding: 2rem 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device['landscape-tablets']} {
|
|
12
|
+
padding: 3rem 1.5rem;
|
|
13
|
+
}
|
|
9
14
|
|
|
10
15
|
.experts-section {
|
|
11
16
|
&__title {
|
|
@@ -23,5 +28,9 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
23
28
|
width: 100%;
|
|
24
29
|
}
|
|
25
30
|
}
|
|
31
|
+
|
|
32
|
+
&__description {
|
|
33
|
+
text-align: center;
|
|
34
|
+
}
|
|
26
35
|
}
|
|
27
36
|
`
|
|
@@ -4,7 +4,7 @@ import { ExpertCardList } from '../../molecules'
|
|
|
4
4
|
import { type ExpertsSectionProps } from './ExpertsSectionProps.types'
|
|
5
5
|
import { ExpertsSectionStyled } from './ExpertsSection.styled'
|
|
6
6
|
|
|
7
|
-
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
|
|
7
|
+
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentExpertCardList }) => {
|
|
8
8
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
9
9
|
return null
|
|
10
10
|
}
|
|
@@ -12,6 +12,7 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList
|
|
|
12
12
|
return (
|
|
13
13
|
<ExpertsSectionStyled className='experts-section'>
|
|
14
14
|
<h2 className='experts-section__title'>{title}</h2>
|
|
15
|
+
<div className='experts-section__description'>{description}</div>
|
|
15
16
|
<ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
|
|
16
17
|
</ExpertsSectionStyled>
|
|
17
18
|
)
|