@npm_leadtech/legal-lib-components 5.79.5 → 5.80.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/src/components/atoms/ExpertCard/ExpertCard.js +1 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +25 -24
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +25 -24
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +8 -9
- package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +2 -2
- package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +4 -1
- package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +1 -0
- package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +1 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +3 -2
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +3 -2
- package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +2 -2
- package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +5 -3
- package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +2 -0
- package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +3 -12
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +3 -12
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +1 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +0 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +0 -2
- package/package.json +1 -1
- package/dist/images/png/about-us-dena.png +0 -0
- package/dist/images/png/about-us-grover.png +0 -0
|
@@ -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 }),
|
|
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 })] }) }));
|
|
5
5
|
};
|
|
6
6
|
export default ExpertCard;
|
|
@@ -4,62 +4,63 @@ 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
|
+
}
|
|
7
16
|
|
|
8
17
|
.expert-card {
|
|
9
18
|
&__box {
|
|
10
19
|
background-color: white;
|
|
11
|
-
border-radius:
|
|
12
|
-
|
|
20
|
+
border-radius: 0.3rem;
|
|
21
|
+
box-shadow: var(--box-shadow-container);
|
|
22
|
+
padding: 7rem 2rem 0 2rem;
|
|
23
|
+
min-height: 13rem;
|
|
13
24
|
display: flex;
|
|
14
|
-
flex-direction:
|
|
25
|
+
flex-direction: column;
|
|
15
26
|
align-items: center;
|
|
16
27
|
justify-content: flex-start;
|
|
17
|
-
width:
|
|
18
|
-
|
|
19
|
-
align-items: center;
|
|
20
|
-
gap: 24px;
|
|
28
|
+
width: 17.625rem;
|
|
29
|
+
margin-left: 0;
|
|
21
30
|
|
|
22
|
-
@media ${device['
|
|
23
|
-
|
|
31
|
+
@media ${device['landscape-tablets']} {
|
|
32
|
+
margin-left: 2rem;
|
|
24
33
|
}
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
&__image {
|
|
28
|
-
|
|
37
|
+
position: absolute;
|
|
38
|
+
transform: translateY(-115%);
|
|
39
|
+
|
|
29
40
|
img {
|
|
30
|
-
|
|
31
|
-
height: auto;
|
|
32
|
-
border-radius: 8px;
|
|
41
|
+
border-radius: 100%;
|
|
33
42
|
}
|
|
34
43
|
}
|
|
35
44
|
|
|
36
|
-
&__texts {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
align-items: start;
|
|
40
|
-
justify-content: left;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
45
|
&__title {
|
|
44
46
|
font-family: var(--font-sans);
|
|
45
47
|
font-size: 18px;
|
|
46
48
|
font-weight: 700;
|
|
47
49
|
line-height: 1.5rem;
|
|
48
50
|
letter-spacing: -0.3px;
|
|
51
|
+
text-align: center;
|
|
49
52
|
width: 75%;
|
|
50
53
|
text-decoration: none;
|
|
51
|
-
margin-bottom: 0.6rem;
|
|
52
|
-
min-width: fit-content;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
&__description {
|
|
56
57
|
font-family: var(--font-sans);
|
|
57
|
-
color: var(--neutral-neutral-1);
|
|
58
58
|
font-size: 16px;
|
|
59
|
-
font-style: normal;
|
|
60
59
|
font-weight: 400;
|
|
61
60
|
line-height: 22px;
|
|
62
61
|
letter-spacing: -0.3px;
|
|
62
|
+
text-align: center;
|
|
63
|
+
width: 75%;
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
`;
|
|
@@ -5,62 +5,63 @@ 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
|
+
}
|
|
8
17
|
|
|
9
18
|
.expert-card {
|
|
10
19
|
&__box {
|
|
11
20
|
background-color: white;
|
|
12
|
-
border-radius:
|
|
13
|
-
|
|
21
|
+
border-radius: 0.3rem;
|
|
22
|
+
box-shadow: var(--box-shadow-container);
|
|
23
|
+
padding: 7rem 2rem 0 2rem;
|
|
24
|
+
min-height: 13rem;
|
|
14
25
|
display: flex;
|
|
15
|
-
flex-direction:
|
|
26
|
+
flex-direction: column;
|
|
16
27
|
align-items: center;
|
|
17
28
|
justify-content: flex-start;
|
|
18
|
-
width:
|
|
19
|
-
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 24px;
|
|
29
|
+
width: 17.625rem;
|
|
30
|
+
margin-left: 0;
|
|
22
31
|
|
|
23
|
-
@media ${device['
|
|
24
|
-
|
|
32
|
+
@media ${device['landscape-tablets']} {
|
|
33
|
+
margin-left: 2rem;
|
|
25
34
|
}
|
|
26
35
|
}
|
|
27
36
|
|
|
28
37
|
&__image {
|
|
29
|
-
|
|
38
|
+
position: absolute;
|
|
39
|
+
transform: translateY(-115%);
|
|
40
|
+
|
|
30
41
|
img {
|
|
31
|
-
|
|
32
|
-
height: auto;
|
|
33
|
-
border-radius: 8px;
|
|
42
|
+
border-radius: 100%;
|
|
34
43
|
}
|
|
35
44
|
}
|
|
36
45
|
|
|
37
|
-
&__texts {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
align-items: start;
|
|
41
|
-
justify-content: left;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
46
|
&__title {
|
|
45
47
|
font-family: var(--font-sans);
|
|
46
48
|
font-size: 18px;
|
|
47
49
|
font-weight: 700;
|
|
48
50
|
line-height: 1.5rem;
|
|
49
51
|
letter-spacing: -0.3px;
|
|
52
|
+
text-align: center;
|
|
50
53
|
width: 75%;
|
|
51
54
|
text-decoration: none;
|
|
52
|
-
margin-bottom: 0.6rem;
|
|
53
|
-
min-width: fit-content;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
&__description {
|
|
57
58
|
font-family: var(--font-sans);
|
|
58
|
-
color: var(--neutral-neutral-1);
|
|
59
59
|
font-size: 16px;
|
|
60
|
-
font-style: normal;
|
|
61
60
|
font-weight: 400;
|
|
62
61
|
line-height: 22px;
|
|
63
62
|
letter-spacing: -0.3px;
|
|
63
|
+
text-align: center;
|
|
64
|
+
width: 75%;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
`
|
|
@@ -8,15 +8,14 @@ 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
|
-
{url
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</div>
|
|
11
|
+
{url != null && (
|
|
12
|
+
<a className='expert-card__title' href={url}>
|
|
13
|
+
{title}
|
|
14
|
+
</a>
|
|
15
|
+
)}
|
|
16
|
+
{url == null && <p className='expert-card__title'>{title}</p>}
|
|
17
|
+
|
|
18
|
+
<p className='expert-card__description'>{description}</p>
|
|
20
19
|
</div>
|
|
21
20
|
</ExpertCardStyled>
|
|
22
21
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { RatafiaReviewResultStyled } from './RatafiaReviewResult.styled';
|
|
3
|
-
export const RatafiaReviewResult = ({ reviewQuestion, reviewPositiveIcon, reviewPositiveText, handleOnClickReviewPositive, reviewPositiveDataQa = true, reviewNegativeIcon, reviewNegativeText, handleOnClickReviewNegative, reviewNegativeDataQa, reviewFeedbackText, review }) => {
|
|
4
|
-
return (_jsx(RatafiaReviewResultStyled, { className: 'ratafia-review-result', children: review === null ? (_jsxs("div", { className: 'ratafia-review-result__review', children: [_jsx("p", { className: 'sans-serif ratafia-review-result__review__question', children: reviewQuestion }), _jsxs("div", { className: 'ratafia-review-result__review__buttons', children: [_jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewPositive, "data-qa": reviewPositiveDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewPositiveIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text positive', children: reviewPositiveText })] }), _jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewNegative, "data-qa": reviewNegativeDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewNegativeIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text negative', children: reviewNegativeText })] })] })] })) : (_jsx("div", { className: 'ratafia-review-result__review', children: _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__question', children: reviewFeedbackText }) })) }));
|
|
3
|
+
export const RatafiaReviewResult = ({ reviewQuestion, reviewPositiveIcon, reviewPositiveText, handleOnClickReviewPositive, reviewPositiveDataQa = true, reviewNegativeIcon, reviewNegativeText, handleOnClickReviewNegative, reviewNegativeDataQa, reviewFeedbackText, reviewFeedBackTextDataQa = 'lawgenius_review_feedback_text', review }) => {
|
|
4
|
+
return (_jsx(RatafiaReviewResultStyled, { className: 'ratafia-review-result', children: review === null ? (_jsxs("div", { className: 'ratafia-review-result__review', children: [_jsx("p", { className: 'sans-serif ratafia-review-result__review__question', children: reviewQuestion }), _jsxs("div", { className: 'ratafia-review-result__review__buttons', children: [_jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewPositive, "data-qa": reviewPositiveDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewPositiveIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text positive', children: reviewPositiveText })] }), _jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewNegative, "data-qa": reviewNegativeDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewNegativeIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text negative', children: reviewNegativeText })] })] })] })) : (_jsx("div", { className: 'ratafia-review-result__review', children: _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__question', "data-qa": reviewFeedBackTextDataQa, children: reviewFeedbackText }) })) }));
|
|
5
5
|
};
|
|
6
6
|
export default RatafiaReviewResult;
|
|
@@ -14,6 +14,7 @@ export const RatafiaReviewResult: React.FC<RatafiaReviewResultProps> = ({
|
|
|
14
14
|
handleOnClickReviewNegative,
|
|
15
15
|
reviewNegativeDataQa,
|
|
16
16
|
reviewFeedbackText,
|
|
17
|
+
reviewFeedBackTextDataQa = 'lawgenius_review_feedback_text',
|
|
17
18
|
review
|
|
18
19
|
}) => {
|
|
19
20
|
return (
|
|
@@ -46,7 +47,9 @@ export const RatafiaReviewResult: React.FC<RatafiaReviewResultProps> = ({
|
|
|
46
47
|
</div>
|
|
47
48
|
) : (
|
|
48
49
|
<div className='ratafia-review-result__review'>
|
|
49
|
-
<p className='sans-serif --small ratafia-review-result__review__question'
|
|
50
|
+
<p className='sans-serif --small ratafia-review-result__review__question' data-qa={reviewFeedBackTextDataQa}>
|
|
51
|
+
{reviewFeedbackText}
|
|
52
|
+
</p>
|
|
50
53
|
</div>
|
|
51
54
|
)}
|
|
52
55
|
</RatafiaReviewResultStyled>
|
|
@@ -3,11 +3,12 @@ import styled from 'styled-components';
|
|
|
3
3
|
export const ExpertCardListStyled = styled.div `
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-flow: column;
|
|
6
|
-
gap: 2rem;
|
|
6
|
+
gap: 0 2rem;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
margin: 2rem 0
|
|
8
|
+
margin: 2rem 0 3rem 0;
|
|
9
9
|
|
|
10
10
|
@media ${device['landscape-tablets']} {
|
|
11
11
|
flex-flow: row wrap;
|
|
12
|
+
gap: 5rem 2rem;
|
|
12
13
|
}
|
|
13
14
|
`;
|
|
@@ -4,11 +4,12 @@ import styled from 'styled-components'
|
|
|
4
4
|
export const ExpertCardListStyled = styled.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-flow: column;
|
|
7
|
-
gap: 2rem;
|
|
7
|
+
gap: 0 2rem;
|
|
8
8
|
justify-content: center;
|
|
9
|
-
margin: 2rem 0
|
|
9
|
+
margin: 2rem 0 3rem 0;
|
|
10
10
|
|
|
11
11
|
@media ${device['landscape-tablets']} {
|
|
12
12
|
flex-flow: row wrap;
|
|
13
|
+
gap: 5rem 2rem;
|
|
13
14
|
}
|
|
14
15
|
`
|
package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { RatafiaLoadingResultContentStyled } from './RatafiaLoadingResultContent.styled';
|
|
3
|
-
export const RatafiaLoadingResultContent = ({ documentName, icon, text }) => {
|
|
4
|
-
return (_jsxs(RatafiaLoadingResultContentStyled, { children: [_jsx("h2", { className: 'sans-serif --bold-weight ratafia-result-loading-content__document-name', children: documentName }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper', children: [_jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-1', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-2', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-5' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-3', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-7' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-4', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-8' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] })] }), _jsxs("div", { className: 'ratafia-result-loading-content__message', children: [_jsx("div", { className: 'ratafia-result-loading-content__message__icon', children: icon }), _jsx("span", { className: 'sans-serif --medium ratafia-result-loading-content__message__text', children: text })] })] }));
|
|
3
|
+
export const RatafiaLoadingResultContent = ({ documentName, icon, text, loadingContentDataQa = 'lawgenius_loading_result_content', loadingMessageDataQa = 'lawgenius_loading_result_message' }) => {
|
|
4
|
+
return (_jsxs(RatafiaLoadingResultContentStyled, { "data-qa": loadingContentDataQa, children: [_jsx("h2", { className: 'sans-serif --bold-weight ratafia-result-loading-content__document-name', children: documentName }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper', children: [_jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-1', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-2', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-5' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-3', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-7' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-4', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-8' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] })] }), _jsxs("div", { className: 'ratafia-result-loading-content__message', "data-qa": loadingMessageDataQa, children: [_jsx("div", { className: 'ratafia-result-loading-content__message__icon', children: icon }), _jsx("span", { className: 'sans-serif --medium ratafia-result-loading-content__message__text', children: text })] })] }));
|
|
5
5
|
};
|
|
6
6
|
export default RatafiaLoadingResultContent;
|
package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx
CHANGED
|
@@ -6,10 +6,12 @@ import { RatafiaLoadingResultContentStyled } from './RatafiaLoadingResultContent
|
|
|
6
6
|
export const RatafiaLoadingResultContent: React.FC<RatafiaLoadingResultContentProps> = ({
|
|
7
7
|
documentName,
|
|
8
8
|
icon,
|
|
9
|
-
text
|
|
9
|
+
text,
|
|
10
|
+
loadingContentDataQa = 'lawgenius_loading_result_content',
|
|
11
|
+
loadingMessageDataQa = 'lawgenius_loading_result_message'
|
|
10
12
|
}) => {
|
|
11
13
|
return (
|
|
12
|
-
<RatafiaLoadingResultContentStyled>
|
|
14
|
+
<RatafiaLoadingResultContentStyled data-qa={loadingContentDataQa}>
|
|
13
15
|
<h2 className='sans-serif --bold-weight ratafia-result-loading-content__document-name'>{documentName}</h2>
|
|
14
16
|
<div className='ratafia-result-loading-content__animation-wrapper'>
|
|
15
17
|
<div className='ratafia-result-loading-content__animation-wrapper__animation animation-1'>
|
|
@@ -35,7 +37,7 @@ export const RatafiaLoadingResultContent: React.FC<RatafiaLoadingResultContentPr
|
|
|
35
37
|
<div className='ratafia-result-loading-content__animation-wrapper__animation__loader item-6'></div>
|
|
36
38
|
</div>
|
|
37
39
|
</div>
|
|
38
|
-
<div className='ratafia-result-loading-content__message'>
|
|
40
|
+
<div className='ratafia-result-loading-content__message' data-qa={loadingMessageDataQa}>
|
|
39
41
|
<div className='ratafia-result-loading-content__message__icon'>{icon}</div>
|
|
40
42
|
<span className='sans-serif --medium ratafia-result-loading-content__message__text'>{text}</span>
|
|
41
43
|
</div>
|
|
@@ -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,
|
|
4
|
+
const ExpertsSection = ({ title, 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(
|
|
8
|
+
return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
|
|
9
9
|
};
|
|
10
10
|
export default ExpertsSection;
|
|
@@ -4,18 +4,13 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
background-color: var(--
|
|
8
|
-
padding: 0 1.5rem 2rem 1.5rem;
|
|
9
|
-
|
|
10
|
-
@media ${device['landscape-tablets']} {
|
|
11
|
-
padding: 0 1.5rem 3rem 1.5rem;
|
|
12
|
-
}
|
|
7
|
+
background-color: var(--neutral-neutral-6);
|
|
13
8
|
|
|
14
9
|
.experts-section {
|
|
15
10
|
&__title {
|
|
16
|
-
font-family: var(--font-
|
|
11
|
+
font-family: var(--font-serif);
|
|
17
12
|
font-size: 32px;
|
|
18
|
-
font-weight:
|
|
13
|
+
font-weight: 400;
|
|
19
14
|
line-height: 42px;
|
|
20
15
|
letter-spacing: -0.3px;
|
|
21
16
|
text-align: center;
|
|
@@ -27,9 +22,5 @@ export const ExpertsSectionStyled = styled.div `
|
|
|
27
22
|
width: 100%;
|
|
28
23
|
}
|
|
29
24
|
}
|
|
30
|
-
|
|
31
|
-
&__description {
|
|
32
|
-
text-align: center;
|
|
33
|
-
}
|
|
34
25
|
}
|
|
35
26
|
`;
|
|
@@ -5,18 +5,13 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
background-color: var(--
|
|
9
|
-
padding: 0 1.5rem 2rem 1.5rem;
|
|
10
|
-
|
|
11
|
-
@media ${device['landscape-tablets']} {
|
|
12
|
-
padding: 0 1.5rem 3rem 1.5rem;
|
|
13
|
-
}
|
|
8
|
+
background-color: var(--neutral-neutral-6);
|
|
14
9
|
|
|
15
10
|
.experts-section {
|
|
16
11
|
&__title {
|
|
17
|
-
font-family: var(--font-
|
|
12
|
+
font-family: var(--font-serif);
|
|
18
13
|
font-size: 32px;
|
|
19
|
-
font-weight:
|
|
14
|
+
font-weight: 400;
|
|
20
15
|
line-height: 42px;
|
|
21
16
|
letter-spacing: -0.3px;
|
|
22
17
|
text-align: center;
|
|
@@ -28,9 +23,5 @@ export const ExpertsSectionStyled = styled.div`
|
|
|
28
23
|
width: 100%;
|
|
29
24
|
}
|
|
30
25
|
}
|
|
31
|
-
|
|
32
|
-
&__description {
|
|
33
|
-
text-align: center;
|
|
34
|
-
}
|
|
35
26
|
}
|
|
36
27
|
`
|
|
@@ -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,
|
|
7
|
+
const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
|
|
8
8
|
if (contentExpertCardList.contentExpertCard.length === 0) {
|
|
9
9
|
return null
|
|
10
10
|
}
|
|
@@ -12,7 +12,6 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentEx
|
|
|
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>
|
|
16
15
|
<ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
|
|
17
16
|
</ExpertsSectionStyled>
|
|
18
17
|
)
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|