@npm_leadtech/legal-lib-components 5.39.12 → 5.40.1
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 +203 -95
- package/dist/images/svg/jumbo-bckground-l.svg +20 -0
- package/dist/images/svg/jumbo-bckground-m.svg +15 -0
- package/dist/images/svg/jumbo-bckground-xxl.svg +20 -0
- package/dist/src/components/atoms/Radio/Radio.d.ts +2 -2
- package/dist/src/components/atoms/Radio/Radio.js +15 -16
- package/dist/src/components/atoms/Radio/Radio.scss +183 -105
- package/dist/src/components/atoms/Radio/Radio.tsx +34 -38
- package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +3 -9
- package/dist/src/components/atoms/Radio/RadioProps.types.js +1 -6
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +3 -10
- package/dist/src/components/atoms/Radio/index.d.ts +1 -1
- package/dist/src/components/atoms/Radio/index.js +0 -1
- package/dist/src/components/atoms/Radio/index.ts +1 -1
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +7 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +15 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +15 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +11 -4
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.d.ts +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.js +1 -1
- package/dist/src/components/molecules/Feedback/Feedback.tsx +2 -2
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.d.ts +2 -2
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +2 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +4 -6
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.d.ts +1 -3
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts +1 -3
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.d.ts +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +1 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +5 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.ts +5 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.d.ts +4 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.js +7 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.js +28 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.styled.ts +29 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.tsx +19 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.d.ts +7 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.js +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContentProps.types.ts +8 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.d.ts +2 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.js +1 -0
- package/dist/src/components/organisms/JumbotronEsignatureContent/index.ts +2 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +25 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.ts +25 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +4 -4
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.d.ts +2 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +2 -1
- package/dist/src/components/organisms/index.d.ts +1 -0
- package/dist/src/components/organisms/index.js +1 -0
- package/dist/src/components/organisms/index.ts +1 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.d.ts +3 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.js +5 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPage.tsx +23 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.d.ts +7 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.js +1 -0
- package/dist/src/components/pages/EsignatureLandingPage/EsignatureLandingPageProps.types.ts +8 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.d.ts +2 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.js +2 -0
- package/dist/src/components/pages/EsignatureLandingPage/index.ts +2 -0
- package/dist/src/components/pages/index.d.ts +1 -0
- package/dist/src/components/pages/index.js +1 -0
- package/dist/src/components/pages/index.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +17 -2
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js +22 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts +22 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +32 -6
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.d.ts +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
|
|
3
3
|
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled';
|
|
4
4
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
5
|
-
const RatafiaSubscriptionCard = ({ cardStyle
|
|
5
|
+
const RatafiaSubscriptionCard = ({ cardStyle, iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, linkText }) => {
|
|
6
6
|
if (!title)
|
|
7
7
|
return null;
|
|
8
8
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
9
9
|
const renderFeatures = (features, className) => features.map((feature) => (_jsxs("div", { className: `ratafia-card__feature ${className ?? ''}`, children: [feature.image?.url && _jsx(IconSvgURLWithThemeColor, { url: feature.image.url, height: '16', width: '16' }), _jsx(RichTextStrapi, { html: feature.title })] }, feature.title)));
|
|
10
|
-
return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa:
|
|
10
|
+
return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa: 'ratafia-card-button', givenClass: 'ratafia-card__button', color: buttonStyle, label: buttonText, link: linkText ?? '#' }) }))] }));
|
|
11
11
|
};
|
|
12
12
|
export default RatafiaSubscriptionCard;
|
|
@@ -6,15 +6,14 @@ import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
|
|
|
6
6
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
7
7
|
|
|
8
8
|
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
9
|
-
cardStyle
|
|
9
|
+
cardStyle,
|
|
10
10
|
iconTitle,
|
|
11
11
|
title,
|
|
12
12
|
priceText,
|
|
13
13
|
mainFeatures,
|
|
14
14
|
AIFeatures,
|
|
15
15
|
buttonText,
|
|
16
|
-
|
|
17
|
-
handleClick
|
|
16
|
+
linkText
|
|
18
17
|
}) => {
|
|
19
18
|
if (!title) return null
|
|
20
19
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
|
|
@@ -45,12 +44,11 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
45
44
|
{buttonText && (
|
|
46
45
|
<div className='ratafia-card__footer'>
|
|
47
46
|
<Button
|
|
48
|
-
dataQa=
|
|
47
|
+
dataQa='ratafia-card-button'
|
|
49
48
|
givenClass='ratafia-card__button'
|
|
50
49
|
color={buttonStyle}
|
|
51
50
|
label={buttonText}
|
|
52
|
-
|
|
53
|
-
onClick={handleClick}
|
|
51
|
+
link={linkText ?? '#'}
|
|
54
52
|
/>
|
|
55
53
|
</div>
|
|
56
54
|
)}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
subscriptionTypeName?: string;
|
|
3
2
|
cardStyle?: CardStyleType;
|
|
4
3
|
iconTitle?: IconTitleProps;
|
|
5
4
|
title?: string;
|
|
@@ -7,8 +6,7 @@ export interface RatafiaSubscriptionCardProps {
|
|
|
7
6
|
mainFeatures?: BenefitProps[];
|
|
8
7
|
AIFeatures?: BenefitProps[];
|
|
9
8
|
buttonText?: string;
|
|
10
|
-
|
|
11
|
-
handleClick?: () => void;
|
|
9
|
+
linkText?: string;
|
|
12
10
|
}
|
|
13
11
|
interface IconTitleProps {
|
|
14
12
|
name?: string;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
subscriptionTypeName?: string
|
|
3
2
|
cardStyle?: CardStyleType
|
|
4
3
|
iconTitle?: IconTitleProps
|
|
5
4
|
title?: string
|
|
@@ -7,8 +6,7 @@ export interface RatafiaSubscriptionCardProps {
|
|
|
7
6
|
mainFeatures?: BenefitProps[]
|
|
8
7
|
AIFeatures?: BenefitProps[]
|
|
9
8
|
buttonText?: string
|
|
10
|
-
|
|
11
|
-
handleClick?: () => void
|
|
9
|
+
linkText?: string
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
interface IconTitleProps {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TagRatafiaItem } from '../../atoms';
|
|
3
3
|
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled';
|
|
4
|
-
const TagsRatafiaList = ({ tags = [] }) => {
|
|
4
|
+
const TagsRatafiaList = ({ tags = [], type }) => {
|
|
5
5
|
if (tags.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(TagsRatafiaListStyled, { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag }, tag.id))) }));
|
|
7
|
+
return (_jsx(TagsRatafiaListStyled, { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag, type: type }, tag.id))) }));
|
|
8
8
|
};
|
|
9
9
|
export default TagsRatafiaList;
|
|
@@ -4,13 +4,13 @@ import { TagRatafiaItem } from '../../atoms'
|
|
|
4
4
|
import { type TagsRatafiaListProps } from './TagsRatafiaListProps.types'
|
|
5
5
|
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled'
|
|
6
6
|
|
|
7
|
-
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [] }) => {
|
|
7
|
+
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [], type }) => {
|
|
8
8
|
if (tags.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
11
|
<TagsRatafiaListStyled className='tag-ratafia-list'>
|
|
12
12
|
{tags.map((tag) => (
|
|
13
|
-
<TagRatafiaItem key={tag.id} {...tag} />
|
|
13
|
+
<TagRatafiaItem key={tag.id} {...tag} type={type} />
|
|
14
14
|
))}
|
|
15
15
|
</TagsRatafiaListStyled>
|
|
16
16
|
)
|
package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { JumbotronEsignatureStyled } from './JumbotronEsignatureContent.styled';
|
|
3
|
+
import { TagsRatafiaList } from '../../molecules';
|
|
4
|
+
const JumbotronEsignatureContent = ({ title, body, tags, type }) => {
|
|
5
|
+
return (_jsxs(JumbotronEsignatureStyled, { children: [_jsx("div", { className: 'jumbotron-esignature-content__title', children: title }), _jsx("span", { className: 'sans-serif --medium jumbotron-esignature-content__description', itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags, type: type })] }));
|
|
6
|
+
};
|
|
7
|
+
export default JumbotronEsignatureContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronEsignatureStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const JumbotronEsignatureStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: 1rem;
|
|
7
|
+
|
|
8
|
+
.jumbotron-esignature-content__title {
|
|
9
|
+
&__text {
|
|
10
|
+
line-height: 2.25rem;
|
|
11
|
+
font-size: 2rem;
|
|
12
|
+
font-family: 'Inter', sans-serif;
|
|
13
|
+
color: var(--primary-main-dark-2);
|
|
14
|
+
font-weight: 700;
|
|
15
|
+
letter-spacing: 0.3rem;
|
|
16
|
+
|
|
17
|
+
&__icon {
|
|
18
|
+
padding: 0 0.6rem;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
color: var(--primary-main-dark-2);
|
|
21
|
+
background: var(--secondary-main-light-2);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.jumbotron-esignature-content__description {
|
|
26
|
+
color: var(--neutral-neutral-1);
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const JumbotronEsignatureStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
|
|
9
|
+
.jumbotron-esignature-content__title {
|
|
10
|
+
&__text {
|
|
11
|
+
line-height: 2.25rem;
|
|
12
|
+
font-size: 2rem;
|
|
13
|
+
font-family: 'Inter', sans-serif;
|
|
14
|
+
color: var(--primary-main-dark-2);
|
|
15
|
+
font-weight: 700;
|
|
16
|
+
letter-spacing: 0.3rem;
|
|
17
|
+
|
|
18
|
+
&__icon {
|
|
19
|
+
padding: 0 0.6rem;
|
|
20
|
+
border-radius: 4px;
|
|
21
|
+
color: var(--primary-main-dark-2);
|
|
22
|
+
background: var(--secondary-main-light-2);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.jumbotron-esignature-content__description {
|
|
27
|
+
color: var(--neutral-neutral-1);
|
|
28
|
+
}
|
|
29
|
+
`
|
package/dist/src/components/organisms/JumbotronEsignatureContent/JumbotronEsignatureContent.tsx
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { type JumbotronEsignatureContentProps } from './JumbotronEsignatureContentProps.types'
|
|
4
|
+
import { JumbotronEsignatureStyled } from './JumbotronEsignatureContent.styled'
|
|
5
|
+
import { TagsRatafiaList } from '../../molecules'
|
|
6
|
+
|
|
7
|
+
const JumbotronEsignatureContent: FC<JumbotronEsignatureContentProps> = ({ title, body, tags, type }) => {
|
|
8
|
+
return (
|
|
9
|
+
<JumbotronEsignatureStyled>
|
|
10
|
+
<div className='jumbotron-esignature-content__title'>{title}</div>
|
|
11
|
+
<span className='sans-serif --medium jumbotron-esignature-content__description' itemProp='text'>
|
|
12
|
+
{body}
|
|
13
|
+
</span>
|
|
14
|
+
<TagsRatafiaList tags={tags} type={type} />
|
|
15
|
+
</JumbotronEsignatureStyled>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default JumbotronEsignatureContent
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as JumbotronEsignatureContent } from './JumbotronEsignatureContent';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled';
|
|
3
3
|
import { TagsRatafiaList } from '../../molecules';
|
|
4
|
-
const JumbotronRatafiaContent = ({ title, body, tags }) => {
|
|
5
|
-
return (_jsxs(JumbotronRatafiaStyled, { children: [_jsx("div", { className:
|
|
4
|
+
const JumbotronRatafiaContent = ({ title, body, tags, type }) => {
|
|
5
|
+
return (_jsxs(JumbotronRatafiaStyled, { children: [_jsx("div", { className: `jumbotron-${type}-content__title`, children: title }), _jsx("span", { className: `sans-serif --medium jumbotron-${type}-content__description`, itemProp: 'text', children: body }), _jsx(TagsRatafiaList, { tags: tags, type: type })] }));
|
|
6
6
|
};
|
|
7
7
|
export default JumbotronRatafiaContent;
|
package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js
CHANGED
|
@@ -23,4 +23,29 @@ export const JumbotronRatafiaStyled = styled.div `
|
|
|
23
23
|
.jumbotron-ratafia-content__description {
|
|
24
24
|
color: var(--others-white);
|
|
25
25
|
}
|
|
26
|
+
|
|
27
|
+
.jumbotron-esignature-content__title {
|
|
28
|
+
h1 {
|
|
29
|
+
color: var(--primary-main-dark-2);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__text {
|
|
33
|
+
line-height: 2.25rem;
|
|
34
|
+
font-size: 2rem;
|
|
35
|
+
font-family: 'Inter', sans-serif;
|
|
36
|
+
color: var(--primary-main-dark-2);
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
letter-spacing: 0.3rem;
|
|
39
|
+
|
|
40
|
+
&__icon {
|
|
41
|
+
padding: 0 0.6rem;
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
color: var(--primary-main-dark-2);
|
|
44
|
+
background: var(--secondary-main-light-2);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.jumbotron-esignature-content__description {
|
|
49
|
+
color: var(--neutral-neutral-1);
|
|
50
|
+
}
|
|
26
51
|
`;
|
package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.ts
CHANGED
|
@@ -24,4 +24,29 @@ export const JumbotronRatafiaStyled = styled.div`
|
|
|
24
24
|
.jumbotron-ratafia-content__description {
|
|
25
25
|
color: var(--others-white);
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
.jumbotron-esignature-content__title {
|
|
29
|
+
h1 {
|
|
30
|
+
color: var(--primary-main-dark-2);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__text {
|
|
34
|
+
line-height: 2.25rem;
|
|
35
|
+
font-size: 2rem;
|
|
36
|
+
font-family: 'Inter', sans-serif;
|
|
37
|
+
color: var(--primary-main-dark-2);
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
letter-spacing: 0.3rem;
|
|
40
|
+
|
|
41
|
+
&__icon {
|
|
42
|
+
padding: 0 0.6rem;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
color: var(--primary-main-dark-2);
|
|
45
|
+
background: var(--secondary-main-light-2);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.jumbotron-esignature-content__description {
|
|
50
|
+
color: var(--neutral-neutral-1);
|
|
51
|
+
}
|
|
27
52
|
`
|
|
@@ -4,14 +4,14 @@ import { type JumbotronRatafiaContentProps } from './JumbotronRatafiaContentProp
|
|
|
4
4
|
import { JumbotronRatafiaStyled } from './JumbotronRatafiaContent.styled'
|
|
5
5
|
import { TagsRatafiaList } from '../../molecules'
|
|
6
6
|
|
|
7
|
-
const JumbotronRatafiaContent: FC<JumbotronRatafiaContentProps> = ({ title, body, tags }) => {
|
|
7
|
+
const JumbotronRatafiaContent: FC<JumbotronRatafiaContentProps> = ({ title, body, tags, type }) => {
|
|
8
8
|
return (
|
|
9
9
|
<JumbotronRatafiaStyled>
|
|
10
|
-
<div className=
|
|
11
|
-
<span className=
|
|
10
|
+
<div className={`jumbotron-${type}-content__title`}>{title}</div>
|
|
11
|
+
<span className={`sans-serif --medium jumbotron-${type}-content__description`} itemProp='text'>
|
|
12
12
|
{body}
|
|
13
13
|
</span>
|
|
14
|
-
<TagsRatafiaList tags={tags} />
|
|
14
|
+
<TagsRatafiaList tags={tags} type={type} />
|
|
15
15
|
</JumbotronRatafiaStyled>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup';
|
|
|
11
11
|
export * from './FeaturesRatafiaContent';
|
|
12
12
|
export * from './GuidelinesContent';
|
|
13
13
|
export * from './JumbotronRatafiaContent';
|
|
14
|
+
export * from './JumbotronEsignatureContent';
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia';
|
|
15
16
|
export * from './KeyFactsResultContentRatafia';
|
|
16
17
|
export * from './LanguageSelector';
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup';
|
|
|
11
11
|
export * from './FeaturesRatafiaContent';
|
|
12
12
|
export * from './GuidelinesContent';
|
|
13
13
|
export * from './JumbotronRatafiaContent';
|
|
14
|
+
export * from './JumbotronEsignatureContent';
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia';
|
|
15
16
|
export * from './KeyFactsResultContentRatafia';
|
|
16
17
|
export * from './LanguageSelector';
|
|
@@ -11,6 +11,7 @@ export * from './FaqGroup'
|
|
|
11
11
|
export * from './FeaturesRatafiaContent'
|
|
12
12
|
export * from './GuidelinesContent'
|
|
13
13
|
export * from './JumbotronRatafiaContent'
|
|
14
|
+
export * from './JumbotronEsignatureContent'
|
|
14
15
|
export * from './KeyFactsLoadingContentRatafia'
|
|
15
16
|
export * from './KeyFactsResultContentRatafia'
|
|
16
17
|
export * from './LanguageSelector'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FaqSection, JumbotronRatafiaSection } from '../../sections';
|
|
3
|
+
export const EsignatureLandingPage = ({ jumbotronSectionProps, trustPilotBox, faqGroupProps }) => {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content: jumbotronSectionProps.content, alternativeStyles: jumbotronSectionProps.alternativeStyles, children: jumbotronSectionProps.children }), trustPilotBox ?? trustPilotBox, _jsx(FaqSection, { groups: faqGroupProps, givenClass: 'faq-ratafia-section' })] }));
|
|
5
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { FaqSection, JumbotronRatafiaSection } from '../../sections'
|
|
4
|
+
import { type EsignatureLandingPageProps } from './EsignatureLandingPageProps.types'
|
|
5
|
+
|
|
6
|
+
export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({
|
|
7
|
+
jumbotronSectionProps,
|
|
8
|
+
trustPilotBox,
|
|
9
|
+
faqGroupProps
|
|
10
|
+
}) => {
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<JumbotronRatafiaSection
|
|
14
|
+
content={jumbotronSectionProps.content}
|
|
15
|
+
alternativeStyles={jumbotronSectionProps.alternativeStyles}
|
|
16
|
+
>
|
|
17
|
+
{jumbotronSectionProps.children}
|
|
18
|
+
</JumbotronRatafiaSection>
|
|
19
|
+
{trustPilotBox ?? trustPilotBox}
|
|
20
|
+
<FaqSection groups={faqGroupProps} givenClass='faq-ratafia-section' />
|
|
21
|
+
</>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FaqGroupProps } from '../../organisms';
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections';
|
|
3
|
+
export interface EsignatureLandingPageProps {
|
|
4
|
+
jumbotronSectionProps: JumbotronRatafiaSectionProps;
|
|
5
|
+
faqGroupProps: FaqGroupProps[];
|
|
6
|
+
trustPilotBox?: React.ReactNode;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FaqGroupProps } from '../../organisms'
|
|
2
|
+
import { JumbotronRatafiaSectionProps } from '../../sections'
|
|
3
|
+
|
|
4
|
+
export interface EsignatureLandingPageProps {
|
|
5
|
+
jumbotronSectionProps: JumbotronRatafiaSectionProps
|
|
6
|
+
faqGroupProps: FaqGroupProps[]
|
|
7
|
+
trustPilotBox?: React.ReactNode
|
|
8
|
+
}
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent';
|
|
3
3
|
import { JumbotronRatafiaSectionStyled } from './JumbotronRatafiaSection.styled';
|
|
4
|
-
const
|
|
5
|
-
|
|
4
|
+
const styleConfigMap = {
|
|
5
|
+
ratafia: {
|
|
6
|
+
backgroundClass: 'background-ratafia-animation',
|
|
7
|
+
id: 'ratafia-jumbotron',
|
|
8
|
+
type: 'ratafia'
|
|
9
|
+
},
|
|
10
|
+
esignature: {
|
|
11
|
+
backgroundClass: 'background-esignature',
|
|
12
|
+
id: 'esignature-jumbotron',
|
|
13
|
+
type: 'esignature'
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const JumbotronRatafiaSection = ({ content, children, alternativeStyles }) => {
|
|
17
|
+
const styleConfig = styleConfigMap[alternativeStyles ?? 'ratafia'];
|
|
18
|
+
const sectionClassName = `jumbotron-ratafia-section ${styleConfig.backgroundClass}`;
|
|
19
|
+
const sectionId = styleConfig.id;
|
|
20
|
+
return (_jsx(JumbotronRatafiaSectionStyled, { className: sectionClassName, id: sectionId, children: _jsxs("div", { className: 'jumbotron-ratafia-section__wrapper', children: [_jsx(JumbotronRatafiaContent, { title: content.title, tags: content.tags, body: content.body, type: styleConfig.type }), _jsx("span", { className: 'jumbotron-ratafia-section__wrapper__children', children: children })] }) }));
|
|
6
21
|
};
|
|
7
22
|
export default JumbotronRatafiaSection;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import backElementSign01 from '../../../../images/svg/jumbo-bckground-m.svg';
|
|
2
|
+
import backElementSign02 from '../../../../images/svg/jumbo-bckground-l.svg';
|
|
3
|
+
import backElementSign03 from '../../../../images/svg/jumbo-bckground-xxl.svg';
|
|
1
4
|
import { device } from '../../../globalStyles/breakpoints';
|
|
2
5
|
import styled from 'styled-components';
|
|
3
6
|
export const JumbotronRatafiaSectionStyled = styled.section `
|
|
@@ -14,6 +17,25 @@ export const JumbotronRatafiaSectionStyled = styled.section `
|
|
|
14
17
|
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
15
18
|
}
|
|
16
19
|
|
|
20
|
+
&.background-esignature {
|
|
21
|
+
background-color: #f3f7fa;
|
|
22
|
+
background-image: url(${backElementSign01});
|
|
23
|
+
background-size: cover;
|
|
24
|
+
background-position: center;
|
|
25
|
+
background-repeat: no-repeat;
|
|
26
|
+
|
|
27
|
+
@media ${device['landscape-tablets']} {
|
|
28
|
+
background-image: url(${backElementSign02});
|
|
29
|
+
background-size: cover, cover;
|
|
30
|
+
background-position: center, center;
|
|
31
|
+
background-repeat: no-repeat, no-repeat;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media ${device['desktop-xl']} {
|
|
35
|
+
background-image: url(${backElementSign03});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
17
39
|
.jumbotron-ratafia-section {
|
|
18
40
|
&__wrapper {
|
|
19
41
|
display: flex;
|
package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.styled.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import backElementSign01 from '../../../../images/svg/jumbo-bckground-m.svg'
|
|
2
|
+
import backElementSign02 from '../../../../images/svg/jumbo-bckground-l.svg'
|
|
3
|
+
import backElementSign03 from '../../../../images/svg/jumbo-bckground-xxl.svg'
|
|
1
4
|
import { device } from '../../../globalStyles/breakpoints'
|
|
2
5
|
import styled from 'styled-components'
|
|
3
6
|
|
|
@@ -15,6 +18,25 @@ export const JumbotronRatafiaSectionStyled = styled.section`
|
|
|
15
18
|
padding: 5rem 7.5rem 6.5rem 7.5rem;
|
|
16
19
|
}
|
|
17
20
|
|
|
21
|
+
&.background-esignature {
|
|
22
|
+
background-color: #f3f7fa;
|
|
23
|
+
background-image: url(${backElementSign01});
|
|
24
|
+
background-size: cover;
|
|
25
|
+
background-position: center;
|
|
26
|
+
background-repeat: no-repeat;
|
|
27
|
+
|
|
28
|
+
@media ${device['landscape-tablets']} {
|
|
29
|
+
background-image: url(${backElementSign02});
|
|
30
|
+
background-size: cover, cover;
|
|
31
|
+
background-position: center, center;
|
|
32
|
+
background-repeat: no-repeat, no-repeat;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media ${device['desktop-xl']} {
|
|
36
|
+
background-image: url(${backElementSign03});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
18
40
|
.jumbotron-ratafia-section {
|
|
19
41
|
&__wrapper {
|
|
20
42
|
display: flex;
|