@npm_leadtech/legal-lib-components 5.80.0 → 5.81.0
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 +24 -25
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +24 -25
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +9 -8
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +2 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +2 -3
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +12 -3
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +12 -3
- 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;
|
|
@@ -4,63 +4,62 @@ export const ExpertCardStyled = styled.div `
|
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
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
7
|
|
|
17
8
|
.expert-card {
|
|
18
9
|
&__box {
|
|
19
10
|
background-color: white;
|
|
20
|
-
border-radius:
|
|
21
|
-
box-shadow: var(--box-shadow-container);
|
|
22
|
-
padding: 7rem 2rem 0 2rem;
|
|
23
|
-
min-height: 13rem;
|
|
11
|
+
border-radius: 1rem;
|
|
12
|
+
//box-shadow: var(--box-shadow-container);
|
|
24
13
|
display: flex;
|
|
25
|
-
flex-direction:
|
|
14
|
+
flex-direction: row;
|
|
26
15
|
align-items: center;
|
|
27
16
|
justify-content: flex-start;
|
|
28
|
-
width:
|
|
29
|
-
|
|
17
|
+
width: 330px;
|
|
18
|
+
padding: 16px;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: 24px;
|
|
30
21
|
|
|
31
|
-
@media ${device['
|
|
32
|
-
|
|
22
|
+
@media ${device['laptop']} {
|
|
23
|
+
width: 383px;
|
|
33
24
|
}
|
|
34
25
|
}
|
|
35
26
|
|
|
36
27
|
&__image {
|
|
37
|
-
|
|
38
|
-
transform: translateY(-115%);
|
|
39
|
-
|
|
28
|
+
min-width: 117px;
|
|
40
29
|
img {
|
|
41
|
-
|
|
30
|
+
width: 117px;
|
|
31
|
+
height: auto;
|
|
32
|
+
border-radius: 8px;
|
|
42
33
|
}
|
|
43
34
|
}
|
|
44
35
|
|
|
36
|
+
&__texts {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: start;
|
|
40
|
+
justify-content: left;
|
|
41
|
+
}
|
|
42
|
+
|
|
45
43
|
&__title {
|
|
46
44
|
font-family: var(--font-sans);
|
|
47
45
|
font-size: 18px;
|
|
48
46
|
font-weight: 700;
|
|
49
47
|
line-height: 1.5rem;
|
|
50
48
|
letter-spacing: -0.3px;
|
|
51
|
-
text-align: center;
|
|
52
49
|
width: 75%;
|
|
53
50
|
text-decoration: none;
|
|
51
|
+
margin-bottom: 0.6rem;
|
|
52
|
+
min-width: fit-content;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
&__description {
|
|
57
56
|
font-family: var(--font-sans);
|
|
57
|
+
color: var(--neutral-neutral-1);
|
|
58
58
|
font-size: 16px;
|
|
59
|
+
font-style: normal;
|
|
59
60
|
font-weight: 400;
|
|
60
61
|
line-height: 22px;
|
|
61
62
|
letter-spacing: -0.3px;
|
|
62
|
-
text-align: center;
|
|
63
|
-
width: 75%;
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
`;
|
|
@@ -5,63 +5,62 @@ export const ExpertCardStyled = styled.div`
|
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
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
8
|
|
|
18
9
|
.expert-card {
|
|
19
10
|
&__box {
|
|
20
11
|
background-color: white;
|
|
21
|
-
border-radius:
|
|
22
|
-
box-shadow: var(--box-shadow-container);
|
|
23
|
-
padding: 7rem 2rem 0 2rem;
|
|
24
|
-
min-height: 13rem;
|
|
12
|
+
border-radius: 1rem;
|
|
13
|
+
//box-shadow: var(--box-shadow-container);
|
|
25
14
|
display: flex;
|
|
26
|
-
flex-direction:
|
|
15
|
+
flex-direction: row;
|
|
27
16
|
align-items: center;
|
|
28
17
|
justify-content: flex-start;
|
|
29
|
-
width:
|
|
30
|
-
|
|
18
|
+
width: 330px;
|
|
19
|
+
padding: 16px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 24px;
|
|
31
22
|
|
|
32
|
-
@media ${device['
|
|
33
|
-
|
|
23
|
+
@media ${device['laptop']} {
|
|
24
|
+
width: 383px;
|
|
34
25
|
}
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
&__image {
|
|
38
|
-
|
|
39
|
-
transform: translateY(-115%);
|
|
40
|
-
|
|
29
|
+
min-width: 117px;
|
|
41
30
|
img {
|
|
42
|
-
|
|
31
|
+
width: 117px;
|
|
32
|
+
height: auto;
|
|
33
|
+
border-radius: 8px;
|
|
43
34
|
}
|
|
44
35
|
}
|
|
45
36
|
|
|
37
|
+
&__texts {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: start;
|
|
41
|
+
justify-content: left;
|
|
42
|
+
}
|
|
43
|
+
|
|
46
44
|
&__title {
|
|
47
45
|
font-family: var(--font-sans);
|
|
48
46
|
font-size: 18px;
|
|
49
47
|
font-weight: 700;
|
|
50
48
|
line-height: 1.5rem;
|
|
51
49
|
letter-spacing: -0.3px;
|
|
52
|
-
text-align: center;
|
|
53
50
|
width: 75%;
|
|
54
51
|
text-decoration: none;
|
|
52
|
+
margin-bottom: 0.6rem;
|
|
53
|
+
min-width: fit-content;
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
&__description {
|
|
58
57
|
font-family: var(--font-sans);
|
|
58
|
+
color: var(--neutral-neutral-1);
|
|
59
59
|
font-size: 16px;
|
|
60
|
+
font-style: normal;
|
|
60
61
|
font-weight: 400;
|
|
61
62
|
line-height: 22px;
|
|
62
63
|
letter-spacing: -0.3px;
|
|
63
|
-
text-align: center;
|
|
64
|
-
width: 75%;
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
`
|
|
@@ -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
|
)
|
|
@@ -3,12 +3,11 @@ import styled from 'styled-components';
|
|
|
3
3
|
export const ExpertCardListStyled = styled.div `
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-flow: column;
|
|
6
|
-
gap:
|
|
6
|
+
gap: 2rem;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
margin: 2rem 0
|
|
8
|
+
margin: 2rem 0 0 0;
|
|
9
9
|
|
|
10
10
|
@media ${device['landscape-tablets']} {
|
|
11
11
|
flex-flow: row wrap;
|
|
12
|
-
gap: 5rem 2rem;
|
|
13
12
|
}
|
|
14
13
|
`;
|
|
@@ -4,12 +4,11 @@ import styled from 'styled-components'
|
|
|
4
4
|
export const ExpertCardListStyled = styled.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-flow: column;
|
|
7
|
-
gap:
|
|
7
|
+
gap: 2rem;
|
|
8
8
|
justify-content: center;
|
|
9
|
-
margin: 2rem 0
|
|
9
|
+
margin: 2rem 0 0 0;
|
|
10
10
|
|
|
11
11
|
@media ${device['landscape-tablets']} {
|
|
12
12
|
flex-flow: row wrap;
|
|
13
|
-
gap: 5rem 2rem;
|
|
14
13
|
}
|
|
15
14
|
`
|
|
@@ -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;
|
|
@@ -4,13 +4,18 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
background-color: var(--
|
|
7
|
+
background-color: var(--primary-main-light-6);
|
|
8
|
+
padding: 0 1.5rem 2rem 1.5rem;
|
|
9
|
+
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
padding: 0 1.5rem 3rem 1.5rem;
|
|
12
|
+
}
|
|
8
13
|
|
|
9
14
|
.experts-section {
|
|
10
15
|
&__title {
|
|
11
|
-
font-family: var(--font-
|
|
16
|
+
font-family: var(--font-sans);
|
|
12
17
|
font-size: 32px;
|
|
13
|
-
font-weight:
|
|
18
|
+
font-weight: 700;
|
|
14
19
|
line-height: 42px;
|
|
15
20
|
letter-spacing: -0.3px;
|
|
16
21
|
text-align: center;
|
|
@@ -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
|
`;
|
|
@@ -5,13 +5,18 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
background-color: var(--
|
|
8
|
+
background-color: var(--primary-main-light-6);
|
|
9
|
+
padding: 0 1.5rem 2rem 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device['landscape-tablets']} {
|
|
12
|
+
padding: 0 1.5rem 3rem 1.5rem;
|
|
13
|
+
}
|
|
9
14
|
|
|
10
15
|
.experts-section {
|
|
11
16
|
&__title {
|
|
12
|
-
font-family: var(--font-
|
|
17
|
+
font-family: var(--font-sans);
|
|
13
18
|
font-size: 32px;
|
|
14
|
-
font-weight:
|
|
19
|
+
font-weight: 700;
|
|
15
20
|
line-height: 42px;
|
|
16
21
|
letter-spacing: -0.3px;
|
|
17
22
|
text-align: center;
|
|
@@ -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
|
)
|