@npm_leadtech/legal-lib-components 5.18.7 → 5.19.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/README.md +0 -16
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +1 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.d.ts +0 -1
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +0 -1
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +2 -5
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +0 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +0 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +5 -20
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +5 -20
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +1 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +1 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +14 -17
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +14 -17
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +1 -3
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +0 -2
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +0 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +13 -9
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +13 -9
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +3 -4
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +0 -7
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +0 -7
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +2 -8
- package/dist/src/components/organisms/index.d.ts +0 -1
- package/dist/src/components/organisms/index.js +0 -1
- package/dist/src/components/organisms/index.ts +0 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.js +2 -11
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +2 -11
- package/dist/src/components/pages/index.d.ts +0 -2
- package/dist/src/components/pages/index.js +0 -2
- package/dist/src/components/pages/index.ts +0 -2
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +1 -4
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +1 -4
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +2 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +3 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -7
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.d.ts +0 -3
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.js +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.js +0 -41
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.styled.ts +0 -42
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.tsx +0 -16
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.d.ts +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafiaProps.types.ts +0 -5
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.d.ts +0 -2
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.js +0 -1
- package/dist/src/components/organisms/LimitReachedContentRatafia/index.ts +0 -2
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.d.ts +0 -3
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.js +0 -13
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.js +0 -22
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.ts +0 -23
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.tsx +0 -56
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.d.ts +0 -15
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.js +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.ts +0 -16
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.d.ts +0 -2
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.js +0 -1
- package/dist/src/components/pages/LimitReachedRatafiaPage/index.ts +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.d.ts +0 -3
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.js +0 -12
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.d.ts +0 -1
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.js +0 -28
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.styled.ts +0 -29
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPage.tsx +0 -38
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.d.ts +0 -33
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.js +0 -1
- package/dist/src/components/pages/PricingRatafiaPage/PricingRatafiaPageProps.ts +0 -38
- package/dist/src/components/pages/PricingRatafiaPage/index.d.ts +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/index.js +0 -2
- package/dist/src/components/pages/PricingRatafiaPage/index.ts +0 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const LimitReachedContentRatafiaStyled = styled.div `
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
gap: 1rem;
|
|
8
|
-
align-self: stretch;
|
|
9
|
-
@media ${device['portrait-tablets']} {
|
|
10
|
-
gap: 2rem;
|
|
11
|
-
}
|
|
12
|
-
.limit-reached-content-ratafia {
|
|
13
|
-
&__title {
|
|
14
|
-
color: var(--neutral-neutral-2);
|
|
15
|
-
font-size: 1rem;
|
|
16
|
-
@media ${device['portrait-tablets']} {
|
|
17
|
-
font-size: 1.125rem;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
&__message {
|
|
21
|
-
display: flex;
|
|
22
|
-
padding: 0.5rem;
|
|
23
|
-
align-items: flex-start;
|
|
24
|
-
gap: 0.5rem;
|
|
25
|
-
@media ${device['portrait-tablets']} {
|
|
26
|
-
align-items: center;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
border-radius: 0.25rem;
|
|
30
|
-
background: var(--neutral-neutral-6);
|
|
31
|
-
&__icon {
|
|
32
|
-
width: 0.875rem;
|
|
33
|
-
height: 0.875rem;
|
|
34
|
-
flex-shrink: 0;
|
|
35
|
-
}
|
|
36
|
-
&__text {
|
|
37
|
-
color: var(--neutral-neutral-2);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
export const LimitReachedContentRatafiaStyled = styled.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
gap: 1rem;
|
|
9
|
-
align-self: stretch;
|
|
10
|
-
@media ${device['portrait-tablets']} {
|
|
11
|
-
gap: 2rem;
|
|
12
|
-
}
|
|
13
|
-
.limit-reached-content-ratafia {
|
|
14
|
-
&__title {
|
|
15
|
-
color: var(--neutral-neutral-2);
|
|
16
|
-
font-size: 1rem;
|
|
17
|
-
@media ${device['portrait-tablets']} {
|
|
18
|
-
font-size: 1.125rem;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
&__message {
|
|
22
|
-
display: flex;
|
|
23
|
-
padding: 0.5rem;
|
|
24
|
-
align-items: flex-start;
|
|
25
|
-
gap: 0.5rem;
|
|
26
|
-
@media ${device['portrait-tablets']} {
|
|
27
|
-
align-items: center;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
border-radius: 0.25rem;
|
|
31
|
-
background: var(--neutral-neutral-6);
|
|
32
|
-
&__icon {
|
|
33
|
-
width: 0.875rem;
|
|
34
|
-
height: 0.875rem;
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
}
|
|
37
|
-
&__text {
|
|
38
|
-
color: var(--neutral-neutral-2);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
`
|
package/dist/src/components/organisms/LimitReachedContentRatafia/LimitReachedContentRatafia.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { type FC } from 'react'
|
|
2
|
-
|
|
3
|
-
import { LimitReachedContentRatafiaProps } from '../LimitReachedContentRatafia'
|
|
4
|
-
import { LimitReachedContentRatafiaStyled } from './LimitReachedContentRatafia.styled'
|
|
5
|
-
|
|
6
|
-
export const LimitReachedContentRatafia: FC<LimitReachedContentRatafiaProps> = ({ title, message, icon }) => {
|
|
7
|
-
return (
|
|
8
|
-
<LimitReachedContentRatafiaStyled className='limit-reached-content-ratafia'>
|
|
9
|
-
<h2 className='limit-reached-content-ratafia__title sans-serif --bold-weight'>{title}</h2>
|
|
10
|
-
<div className='limit-reached-content-ratafia__message'>
|
|
11
|
-
<div className='limit-reached-content-ratafia__message__icon'>{icon}</div>
|
|
12
|
-
<div className='limit-reached-content-ratafia__message__text sans-serif --small'>{message}</div>
|
|
13
|
-
</div>
|
|
14
|
-
</LimitReachedContentRatafiaStyled>
|
|
15
|
-
)
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LimitReachedContentRatafia } from './LimitReachedContentRatafia';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from '../../atoms';
|
|
3
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
4
|
-
import { LayoutRatafia } from '../../organisms/LayoutRatafia';
|
|
5
|
-
import { LimitReachedContentRatafia } from '../../organisms';
|
|
6
|
-
import { LimitReachedRatafiaPageStyled } from './LimitReachedRatafiaPage.styled';
|
|
7
|
-
export const LimitReachedRatafiaPage = ({ header, limitReachedContent, disclaimer, goToDashboardCta }) => {
|
|
8
|
-
const ctaButton = (_jsx(Button, { givenClass: 'limit-reached-ratafia-page__cta', dataQa: goToDashboardCta.dataQa, color: 'primary', label: goToDashboardCta.label, link: goToDashboardCta.link }));
|
|
9
|
-
const content = _jsx(LimitReachedContentRatafia, { ...limitReachedContent });
|
|
10
|
-
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
11
|
-
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctaButton] }));
|
|
12
|
-
return (_jsx(LimitReachedRatafiaPageStyled, { className: 'limit-reached-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
13
|
-
};
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPage.styled.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LimitReachedRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const LimitReachedRatafiaPageStyled = styled.div `
|
|
4
|
-
background-color: var(--neutral-neutral-6);
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
flex: 1 0 0;
|
|
9
|
-
align-self: stretch;
|
|
10
|
-
gap: 1.5rem;
|
|
11
|
-
.limit-reached-ratafia-page {
|
|
12
|
-
&__cta {
|
|
13
|
-
align-self: start;
|
|
14
|
-
display: block;
|
|
15
|
-
width: 100%;
|
|
16
|
-
margin-top: 0.5rem;
|
|
17
|
-
@media ${device['portrait-tablets']} {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
export const LimitReachedRatafiaPageStyled = styled.div`
|
|
5
|
-
background-color: var(--neutral-neutral-6);
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: flex-start;
|
|
9
|
-
flex: 1 0 0;
|
|
10
|
-
align-self: stretch;
|
|
11
|
-
gap: 1.5rem;
|
|
12
|
-
.limit-reached-ratafia-page {
|
|
13
|
-
&__cta {
|
|
14
|
-
align-self: start;
|
|
15
|
-
display: block;
|
|
16
|
-
width: 100%;
|
|
17
|
-
margin-top: 0.5rem;
|
|
18
|
-
@media ${device['portrait-tablets']} {
|
|
19
|
-
display: inline-block;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
`
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { Button } from '../../atoms'
|
|
4
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
5
|
-
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
6
|
-
import { LimitReachedContentRatafia } from '../../organisms'
|
|
7
|
-
import { LimitReachedRatafiaPageProps } from './LimitReachedRatafiaPageProps.types'
|
|
8
|
-
import { LimitReachedRatafiaPageStyled } from './LimitReachedRatafiaPage.styled'
|
|
9
|
-
|
|
10
|
-
export const LimitReachedRatafiaPage: React.FC<LimitReachedRatafiaPageProps> = ({
|
|
11
|
-
header,
|
|
12
|
-
limitReachedContent,
|
|
13
|
-
disclaimer,
|
|
14
|
-
goToDashboardCta
|
|
15
|
-
}) => {
|
|
16
|
-
const ctaButton = (
|
|
17
|
-
<Button
|
|
18
|
-
givenClass='limit-reached-ratafia-page__cta'
|
|
19
|
-
dataQa={goToDashboardCta.dataQa}
|
|
20
|
-
color='primary'
|
|
21
|
-
label={goToDashboardCta.label}
|
|
22
|
-
link={goToDashboardCta.link}
|
|
23
|
-
/>
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
const content = <LimitReachedContentRatafia {...limitReachedContent} />
|
|
27
|
-
|
|
28
|
-
const footerDesktop = (
|
|
29
|
-
<DisclaimerRatafia
|
|
30
|
-
icon={disclaimer.icon}
|
|
31
|
-
text={disclaimer.text}
|
|
32
|
-
copyrightText={disclaimer.copyrightText}
|
|
33
|
-
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
34
|
-
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
35
|
-
/>
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
const footerMobile = (
|
|
39
|
-
<>
|
|
40
|
-
{footerDesktop}
|
|
41
|
-
{ctaButton}
|
|
42
|
-
</>
|
|
43
|
-
)
|
|
44
|
-
|
|
45
|
-
return (
|
|
46
|
-
<LimitReachedRatafiaPageStyled className='limit-reached-ratafia-page'>
|
|
47
|
-
<LayoutRatafia
|
|
48
|
-
header={header}
|
|
49
|
-
content={content}
|
|
50
|
-
cta={ctaButton}
|
|
51
|
-
footerDesktop={footerDesktop}
|
|
52
|
-
footerMobile={footerMobile}
|
|
53
|
-
/>
|
|
54
|
-
</LimitReachedRatafiaPageStyled>
|
|
55
|
-
)
|
|
56
|
-
}
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DisclaimerRatafiaProps } from '../../atoms';
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules';
|
|
3
|
-
import { LimitReachedContentRatafiaProps } from '../../organisms';
|
|
4
|
-
export interface LimitReachedRatafiaPageProps {
|
|
5
|
-
header: HeaderRatafiaProps;
|
|
6
|
-
limitReachedContent: LimitReachedContentRatafiaProps;
|
|
7
|
-
disclaimer: DisclaimerRatafiaProps;
|
|
8
|
-
goToDashboardCta: cta;
|
|
9
|
-
}
|
|
10
|
-
interface cta {
|
|
11
|
-
label: string;
|
|
12
|
-
link?: string;
|
|
13
|
-
dataQa: string;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/components/pages/LimitReachedRatafiaPage/LimitReachedRatafiaPageProps.types.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DisclaimerRatafiaProps } from '../../atoms'
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules'
|
|
3
|
-
import { LimitReachedContentRatafiaProps } from '../../organisms'
|
|
4
|
-
|
|
5
|
-
export interface LimitReachedRatafiaPageProps {
|
|
6
|
-
header: HeaderRatafiaProps
|
|
7
|
-
limitReachedContent: LimitReachedContentRatafiaProps
|
|
8
|
-
disclaimer: DisclaimerRatafiaProps
|
|
9
|
-
goToDashboardCta: cta
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface cta {
|
|
13
|
-
label: string
|
|
14
|
-
link?: string
|
|
15
|
-
dataQa: string
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { LimitReachedRatafiaPage } from './LimitReachedRatafiaPage';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
3
|
-
import { LayoutRatafia } from '../../organisms';
|
|
4
|
-
import { RatafiaSubscriptionCard } from '../../molecules';
|
|
5
|
-
import { PricingRatafiaPageStyled } from './PricingRatafiaPage.styled';
|
|
6
|
-
export const PricingRatafiaPage = ({ header, disclaimer, pricingPage }) => {
|
|
7
|
-
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
8
|
-
const footerMobile = _jsx(_Fragment, { children: footerDesktop });
|
|
9
|
-
const content = (_jsxs("div", { className: 'pricing-ratafia-page__content', children: [_jsx("div", { className: 'pricing-ratafia-page__content__title', children: pricingPage.title }), _jsx("div", { className: 'pricing-ratafia-page__content__cards', children: pricingPage.cardSubscription?.length > 0 &&
|
|
10
|
-
pricingPage.cardSubscription.map((card) => _jsx(RatafiaSubscriptionCard, { ...card }, card.id)) })] }));
|
|
11
|
-
return (_jsx(PricingRatafiaPageStyled, { className: 'pricing-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PricingRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const PricingRatafiaPageStyled = styled.div `
|
|
4
|
-
background-color: var(--neutral-neutral-6);
|
|
5
|
-
|
|
6
|
-
.pricing-ratafia-page__content {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-flow: column nowrap;
|
|
9
|
-
gap: 2rem;
|
|
10
|
-
width: 100%;
|
|
11
|
-
|
|
12
|
-
&__title {
|
|
13
|
-
font-size: 18px;
|
|
14
|
-
font-weight: bold;
|
|
15
|
-
color: var(--neutral-neutral-2);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__cards {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
gap: 1rem;
|
|
22
|
-
|
|
23
|
-
@media ${device.mobile} {
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
export const PricingRatafiaPageStyled = styled.div`
|
|
5
|
-
background-color: var(--neutral-neutral-6);
|
|
6
|
-
|
|
7
|
-
.pricing-ratafia-page__content {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-flow: column nowrap;
|
|
10
|
-
gap: 2rem;
|
|
11
|
-
width: 100%;
|
|
12
|
-
|
|
13
|
-
&__title {
|
|
14
|
-
font-size: 18px;
|
|
15
|
-
font-weight: bold;
|
|
16
|
-
color: var(--neutral-neutral-2);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__cards {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
gap: 1rem;
|
|
23
|
-
|
|
24
|
-
@media ${device.mobile} {
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
`
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
4
|
-
import { LayoutRatafia } from '../../organisms'
|
|
5
|
-
import { type PricingRatafiaPageProps } from './PricingRatafiaPageProps'
|
|
6
|
-
import { RatafiaSubscriptionCard } from '../../molecules'
|
|
7
|
-
|
|
8
|
-
import { PricingRatafiaPageStyled } from './PricingRatafiaPage.styled'
|
|
9
|
-
|
|
10
|
-
export const PricingRatafiaPage: React.FC<PricingRatafiaPageProps> = ({ header, disclaimer, pricingPage }) => {
|
|
11
|
-
const footerDesktop = (
|
|
12
|
-
<DisclaimerRatafia
|
|
13
|
-
icon={disclaimer.icon}
|
|
14
|
-
text={disclaimer.text}
|
|
15
|
-
copyrightText={disclaimer.copyrightText}
|
|
16
|
-
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
17
|
-
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
18
|
-
/>
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
const footerMobile = <>{footerDesktop}</>
|
|
22
|
-
|
|
23
|
-
const content = (
|
|
24
|
-
<div className='pricing-ratafia-page__content'>
|
|
25
|
-
<div className='pricing-ratafia-page__content__title'>{pricingPage.title}</div>
|
|
26
|
-
<div className='pricing-ratafia-page__content__cards'>
|
|
27
|
-
{pricingPage.cardSubscription?.length > 0 &&
|
|
28
|
-
pricingPage.cardSubscription.map((card) => <RatafiaSubscriptionCard key={card.id} {...card} />)}
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<PricingRatafiaPageStyled className='pricing-ratafia-page'>
|
|
35
|
-
<LayoutRatafia header={header} content={content} footerDesktop={footerDesktop} footerMobile={footerMobile} />
|
|
36
|
-
</PricingRatafiaPageStyled>
|
|
37
|
-
)
|
|
38
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type DisclaimerRatafiaProps } from '../../atoms';
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules';
|
|
3
|
-
export interface PricingRatafiaPageProps {
|
|
4
|
-
header: HeaderRatafiaProps;
|
|
5
|
-
disclaimer: DisclaimerRatafiaProps;
|
|
6
|
-
pricingPage: PricingPageProps;
|
|
7
|
-
}
|
|
8
|
-
export interface PricingPageProps {
|
|
9
|
-
title: string;
|
|
10
|
-
cardSubscription: SubscriptionCardProps[] | [];
|
|
11
|
-
}
|
|
12
|
-
export interface SubscriptionCardProps {
|
|
13
|
-
id: string;
|
|
14
|
-
cardStyle: CardStyleType;
|
|
15
|
-
iconTitle: FeatureImageProps;
|
|
16
|
-
title: string;
|
|
17
|
-
priceText: string;
|
|
18
|
-
mainFeatures: FeatureProps[] | [];
|
|
19
|
-
AIFeatures: FeatureProps[] | [];
|
|
20
|
-
buttonText: string;
|
|
21
|
-
linkText: string;
|
|
22
|
-
}
|
|
23
|
-
export type CardStyleType = 'Primary' | 'Secondary';
|
|
24
|
-
interface FeatureProps {
|
|
25
|
-
description: string;
|
|
26
|
-
image: FeatureImageProps;
|
|
27
|
-
title: string;
|
|
28
|
-
}
|
|
29
|
-
interface FeatureImageProps {
|
|
30
|
-
name: string;
|
|
31
|
-
url: string;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { type DisclaimerRatafiaProps } from '../../atoms'
|
|
2
|
-
import { type HeaderRatafiaProps } from '../../molecules'
|
|
3
|
-
|
|
4
|
-
export interface PricingRatafiaPageProps {
|
|
5
|
-
header: HeaderRatafiaProps
|
|
6
|
-
disclaimer: DisclaimerRatafiaProps
|
|
7
|
-
pricingPage: PricingPageProps
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface PricingPageProps {
|
|
11
|
-
title: string
|
|
12
|
-
cardSubscription: SubscriptionCardProps[] | []
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface SubscriptionCardProps {
|
|
16
|
-
id: string
|
|
17
|
-
cardStyle: CardStyleType
|
|
18
|
-
iconTitle: FeatureImageProps
|
|
19
|
-
title: string
|
|
20
|
-
priceText: string
|
|
21
|
-
mainFeatures: FeatureProps[] | []
|
|
22
|
-
AIFeatures: FeatureProps[] | []
|
|
23
|
-
buttonText: string
|
|
24
|
-
linkText: string
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type CardStyleType = 'Primary' | 'Secondary'
|
|
28
|
-
|
|
29
|
-
interface FeatureProps {
|
|
30
|
-
description: string
|
|
31
|
-
image: FeatureImageProps
|
|
32
|
-
title: string
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface FeatureImageProps {
|
|
36
|
-
name: string
|
|
37
|
-
url: string
|
|
38
|
-
}
|
|
File without changes
|