@npm_leadtech/legal-lib-components 7.0.14 → 7.0.16
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/FeatureRatafiaCard/FeatureRatafiaCard.js +1 -1
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +2 -2
- package/dist/src/components/atoms/IconImage/IconImage.js +2 -2
- package/dist/src/components/atoms/IconImage/IconImage.tsx +7 -9
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +6 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +6 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +11 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +11 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +18 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +1 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +3 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -0
- package/dist/src/components/pages/PricingPage/PricingPage.js +2 -2
- package/dist/src/components/pages/PricingPage/PricingPage.styled.js +27 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +27 -0
- package/dist/src/components/pages/PricingPage/PricingPage.tsx +9 -7
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +2 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +2 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +5 -3
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js +65 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts +65 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +5 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.d.ts +1 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FeatureRatafiaCardStyled } from './FeatureRatafiaCard.styled';
|
|
3
3
|
export const FeatureRatafiaCard = ({ title, icon, description, isReleased = true, notReleasedText }) => {
|
|
4
|
-
return (_jsx(FeatureRatafiaCardStyled, { className: 'feature-ratafia-card', children: _jsx("div", { className: isReleased ? 'feature-ratafia-card-released' : 'feature-ratafia-card-not-released', children: _jsxs("div", { className: 'feature-ratafia-card__wrapper', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header__title', children: [icon !== null && _jsx("div", { className: 'feature-ratafia-card__wrapper__header__title__icon', children: icon }), _jsx("
|
|
4
|
+
return (_jsx(FeatureRatafiaCardStyled, { className: 'feature-ratafia-card', children: _jsx("div", { className: isReleased ? 'feature-ratafia-card-released' : 'feature-ratafia-card-not-released', children: _jsxs("div", { className: 'feature-ratafia-card__wrapper', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header__title', children: [icon !== null && _jsx("div", { className: 'feature-ratafia-card__wrapper__header__title__icon', children: icon }), _jsx("p", { className: 'sans-serif --big --bold-weight feature-ratafia-card__wrapper__header__title__text', children: title })] }), !isReleased && (_jsx("p", { className: 'sans-serif --small --bold-weight feature-ratafia-card__wrapper__header__not-released', children: notReleasedText }))] }), _jsx("p", { className: 'sans-serif --medium feature-ratafia-card__wrapper__description', children: description })] }) }) }));
|
|
5
5
|
};
|
|
6
6
|
export default FeatureRatafiaCard;
|
|
@@ -17,9 +17,9 @@ export const FeatureRatafiaCard: React.FC<FeatureRatafiaCardProps> = ({
|
|
|
17
17
|
<div className='feature-ratafia-card__wrapper__header'>
|
|
18
18
|
<div className='feature-ratafia-card__wrapper__header__title'>
|
|
19
19
|
{icon !== null && <div className='feature-ratafia-card__wrapper__header__title__icon'>{icon}</div>}
|
|
20
|
-
<
|
|
20
|
+
<p className='sans-serif --big --bold-weight feature-ratafia-card__wrapper__header__title__text'>
|
|
21
21
|
{title}
|
|
22
|
-
</
|
|
22
|
+
</p>
|
|
23
23
|
</div>
|
|
24
24
|
{!isReleased && (
|
|
25
25
|
<p className='sans-serif --small --bold-weight feature-ratafia-card__wrapper__header__not-released'>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconImage = ({ iconName, baseSrcUrl =
|
|
3
|
-
return
|
|
2
|
+
const IconImage = ({ iconName, baseSrcUrl = 'https://assets.lawdistrict.com/', givenClass, iconFormat = 'svg' }) => {
|
|
3
|
+
return _jsx("img", { className: givenClass, src: `${baseSrcUrl}${iconName}.${iconFormat}`, alt: '', role: 'img' });
|
|
4
4
|
};
|
|
5
5
|
export default IconImage;
|
|
@@ -2,15 +2,13 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { type IconImageProps } from './IconImageProps.types'
|
|
4
4
|
|
|
5
|
-
const IconImage: React.FC<IconImageProps> = ({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/>
|
|
13
|
-
)
|
|
5
|
+
const IconImage: React.FC<IconImageProps> = ({
|
|
6
|
+
iconName,
|
|
7
|
+
baseSrcUrl = 'https://assets.lawdistrict.com/',
|
|
8
|
+
givenClass,
|
|
9
|
+
iconFormat = 'svg'
|
|
10
|
+
}) => {
|
|
11
|
+
return <img className={givenClass} src={`${baseSrcUrl}${iconName}.${iconFormat}`} alt='' role='img' />
|
|
14
12
|
}
|
|
15
13
|
|
|
16
14
|
export default IconImage
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js
CHANGED
|
@@ -20,6 +20,12 @@ export const MidBannerRatafiaContentStyled = styled.div `
|
|
|
20
20
|
&__description {
|
|
21
21
|
align-self: stretch;
|
|
22
22
|
color: var(--neutral-neutral-1);
|
|
23
|
+
|
|
24
|
+
.richt-text-strapi {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: var(--global-gap);
|
|
28
|
+
}
|
|
23
29
|
}
|
|
24
30
|
}
|
|
25
31
|
&__cta {
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts
CHANGED
|
@@ -21,6 +21,12 @@ export const MidBannerRatafiaContentStyled = styled.div`
|
|
|
21
21
|
&__description {
|
|
22
22
|
align-self: stretch;
|
|
23
23
|
color: var(--neutral-neutral-1);
|
|
24
|
+
|
|
25
|
+
.richt-text-strapi {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: var(--global-gap);
|
|
29
|
+
}
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
&__cta {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled';
|
|
3
|
-
const MidBannerRatafiaSample = ({ image, isEsignatureImage = false, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
4
|
-
return (_jsxs(MidBannerRatafiaSampleStyled, { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), !isEsignatureImage && (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: midBanner1Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner2Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner3Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] }))] }));
|
|
3
|
+
const MidBannerRatafiaSample = ({ image, isEsignatureImage = false, isAbout = false, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
4
|
+
return (_jsxs(MidBannerRatafiaSampleStyled, { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), !isEsignatureImage && !isAbout && (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: midBanner1Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner2Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner3Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] })), isAbout && (_jsxs("div", { className: 'about-page', children: [_jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts about-page__signed-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner1Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text about-page__signed-tag', children: "Signed" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses about-page__ai-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: midBanner3Img, alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "AI Reviewed" })] })] }))] }));
|
|
5
5
|
};
|
|
6
6
|
export default MidBannerRatafiaSample;
|
package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js
CHANGED
|
@@ -66,4 +66,15 @@ export const MidBannerRatafiaSampleStyled = styled.div `
|
|
|
66
66
|
top: 75px;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
.about-page {
|
|
71
|
+
&__ai-tag {
|
|
72
|
+
background: var(--primary-main-light-5);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__signed-tag {
|
|
76
|
+
background: var(--primary-main-dark-1);
|
|
77
|
+
color: var(--others-white);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
69
80
|
`;
|
package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts
CHANGED
|
@@ -67,4 +67,15 @@ export const MidBannerRatafiaSampleStyled = styled.div`
|
|
|
67
67
|
top: 75px;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
+
|
|
71
|
+
.about-page {
|
|
72
|
+
&__ai-tag {
|
|
73
|
+
background: var(--primary-main-light-5);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__signed-tag {
|
|
77
|
+
background: var(--primary-main-dark-1);
|
|
78
|
+
color: var(--others-white);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
70
81
|
`
|
|
@@ -6,6 +6,7 @@ import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled'
|
|
|
6
6
|
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
7
7
|
image,
|
|
8
8
|
isEsignatureImage = false,
|
|
9
|
+
isAbout = false,
|
|
9
10
|
midBanner1Img,
|
|
10
11
|
midBanner2Img,
|
|
11
12
|
midBanner3Img
|
|
@@ -13,7 +14,7 @@ const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
|
13
14
|
return (
|
|
14
15
|
<MidBannerRatafiaSampleStyled className='mid-banner-ratafia-sample'>
|
|
15
16
|
<div className='mid-banner-ratafia-sample__image'>{image}</div>
|
|
16
|
-
{!isEsignatureImage && (
|
|
17
|
+
{!isEsignatureImage && !isAbout && (
|
|
17
18
|
<>
|
|
18
19
|
<div className='mid-banner-ratafia-sample__sumarized-tag'>
|
|
19
20
|
<img className='mid-banner-ratafia-sample__sumarized-tag__icon' src={midBanner1Img} alt='' role='img' />
|
|
@@ -31,6 +32,22 @@ const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({
|
|
|
31
32
|
</div>
|
|
32
33
|
</>
|
|
33
34
|
)}
|
|
35
|
+
{isAbout && (
|
|
36
|
+
<div className='about-page'>
|
|
37
|
+
<div className='mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts about-page__signed-tag'>
|
|
38
|
+
<img className='mid-banner-ratafia-sample__feature-tag__icon' src={midBanner1Img} alt='' role='img' />
|
|
39
|
+
<p className='sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text about-page__signed-tag'>
|
|
40
|
+
Signed
|
|
41
|
+
</p>
|
|
42
|
+
</div>
|
|
43
|
+
<div className='mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses about-page__ai-tag'>
|
|
44
|
+
<img className='mid-banner-ratafia-sample__feature-tag__icon' src={midBanner3Img} alt='' role='img' />
|
|
45
|
+
<p className='sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text'>
|
|
46
|
+
AI Reviewed
|
|
47
|
+
</p>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
)}
|
|
34
51
|
</MidBannerRatafiaSampleStyled>
|
|
35
52
|
)
|
|
36
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, HeroSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
|
|
2
|
+
import { AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, HeroSection, MidBannerRatafiaSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
|
|
3
3
|
import { ContactContent, HowWeHelp } from '../../organisms';
|
|
4
|
-
export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, howWeHelp, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, contactContentProps, isJonSnow = false }) => {
|
|
5
|
-
return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(HeroSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), howWeHelp != null && _jsx(HowWeHelp, { ...howWeHelp }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps }), !isJonSnow && contactContentProps != null && _jsx(ContactContent, { ...contactContentProps })] }));
|
|
4
|
+
export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, howWeHelp, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, midBannerSectionProps, contactContentProps, isJonSnow = false }) => {
|
|
5
|
+
return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(HeroSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), howWeHelp != null && _jsx(HowWeHelp, { ...howWeHelp }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps }), !isJonSnow && midBannerSectionProps != null && _jsx(MidBannerRatafiaSection, { ...midBannerSectionProps }), !isJonSnow && contactContentProps != null && _jsx(ContactContent, { ...contactContentProps })] }));
|
|
6
6
|
};
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ExpertsSection,
|
|
7
7
|
GuidelinesSection,
|
|
8
8
|
HeroSection,
|
|
9
|
+
MidBannerRatafiaSection,
|
|
9
10
|
PeopleSayAboutUsSection,
|
|
10
11
|
TryOurFreeLegalBlogsSection
|
|
11
12
|
} from '../../sections'
|
|
@@ -22,6 +23,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
|
22
23
|
guidelinesSectionProps,
|
|
23
24
|
expertsSectionProps,
|
|
24
25
|
asSeeInSectionProps,
|
|
26
|
+
midBannerSectionProps,
|
|
25
27
|
contactContentProps,
|
|
26
28
|
isJonSnow = false
|
|
27
29
|
}) => {
|
|
@@ -42,6 +44,7 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
|
42
44
|
<PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
|
|
43
45
|
)}
|
|
44
46
|
{!isJonSnow && asSeeInSectionProps != null && <AsSeeInSection {...asSeeInSectionProps} />}
|
|
47
|
+
{!isJonSnow && midBannerSectionProps != null && <MidBannerRatafiaSection {...midBannerSectionProps} />}
|
|
45
48
|
{!isJonSnow && contactContentProps != null && <ContactContent {...contactContentProps} />}
|
|
46
49
|
</>
|
|
47
50
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
1
|
+
import type { AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, HeroSectionProps, MidBannerRatafiaSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
2
2
|
import { ContactContentProps, HowWeHelpProps } from '../../organisms';
|
|
3
3
|
export interface AboutUsPageProps {
|
|
4
4
|
aboutUsSectionProps?: HeroSectionProps;
|
|
@@ -11,6 +11,7 @@ export interface AboutUsPageProps {
|
|
|
11
11
|
tryUsSectionProps?: TryUsSectionProps;
|
|
12
12
|
expertsSectionProps?: ExpertsSectionProps;
|
|
13
13
|
asSeeInSectionProps?: AsSeeInSectionProps;
|
|
14
|
+
midBannerSectionProps?: MidBannerRatafiaSectionProps;
|
|
14
15
|
contactContentProps?: ContactContentProps;
|
|
15
16
|
isJonSnow?: boolean;
|
|
16
17
|
}
|
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
ExpertsSectionProps,
|
|
5
5
|
GuidelinesSectionProps,
|
|
6
6
|
HeroSectionProps,
|
|
7
|
+
MidBannerRatafiaSectionProps,
|
|
7
8
|
PeopleSayAboutUsSectionProps,
|
|
8
9
|
TryOurFreeLegalBlogsSectionProps,
|
|
9
10
|
TryUsSectionProps
|
|
@@ -21,6 +22,7 @@ export interface AboutUsPageProps {
|
|
|
21
22
|
tryUsSectionProps?: TryUsSectionProps
|
|
22
23
|
expertsSectionProps?: ExpertsSectionProps
|
|
23
24
|
asSeeInSectionProps?: AsSeeInSectionProps
|
|
25
|
+
midBannerSectionProps?: MidBannerRatafiaSectionProps
|
|
24
26
|
contactContentProps?: ContactContentProps
|
|
25
27
|
isJonSnow?: boolean
|
|
26
28
|
}
|
|
@@ -5,6 +5,6 @@ import { PlanBoxPricingSubscriptionCard } from '../../molecules';
|
|
|
5
5
|
import { PricingPageStyled } from './PricingPage.styled';
|
|
6
6
|
export const PricingPage = ({ benefitsContent, faqsContent, helpResourcesCards, pricingPlanContent, pricingSection, supportContent }) => {
|
|
7
7
|
return (_jsxs(PricingPageStyled, { children: [pricingSection != null && _jsx(HeroSection, { ...pricingSection }), _jsxs("div", { className: 'pricing-plans wrapper wrapper--responsive', children: [pricingPlanContent?.title && _jsx("h2", { className: 'pricing-plans__title', children: pricingPlanContent.title }), _jsx("div", { className: 'pricing-plans__cards', children: pricingPlanContent?.plans?.length > 0 &&
|
|
8
|
-
pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }),
|
|
9
|
-
|
|
8
|
+
pricingPlanContent?.plans?.map((plan) => _jsx(PlanBoxPricingSubscriptionCard, { ...plan }, plan?.id)) })] }), _jsx(CardBoxMinimalSection, { cards: helpResourcesCards }), _jsx("div", { className: 'wrapper wrapper--responsive', children: _jsxs("div", { className: 'benefits', children: [benefitsContent?.title && _jsx("h2", { className: 'benefits__title', children: benefitsContent.title }), _jsx("div", { className: 'benefits__cards', children: benefitsContent?.benefitsList?.length > 0 &&
|
|
9
|
+
benefitsContent?.benefitsList?.map((benefit) => (_jsx(BenefitCard, { hasShadow: false, ...benefit }, benefit?.id))) })] }) }), _jsxs("div", { className: 'support-section', children: [supportContent?.title && (_jsxs("div", { className: 'support-section__content', children: [_jsx("h2", { children: supportContent.title }), supportContent.description] })), _jsx(CardBoxFeaturedSection, { cards: supportContent?.benefitsList })] }), _jsx("div", { className: 'faqs-section', children: _jsx(FaqSection, { groups: faqsContent?.faqItems, givenClass: 'faqs-section__content wrapper wrapper--responsive' }) })] }));
|
|
10
10
|
};
|
|
@@ -3,6 +3,8 @@ import styled from 'styled-components';
|
|
|
3
3
|
export const PricingPageStyled = styled.div `
|
|
4
4
|
width: 100%;
|
|
5
5
|
.pricing-plans {
|
|
6
|
+
padding-left: 1.5rem;
|
|
7
|
+
padding-right: 1.5rem;
|
|
6
8
|
align-items: center;
|
|
7
9
|
display: flex;
|
|
8
10
|
flex-flow: column nowrap;
|
|
@@ -16,6 +18,26 @@ export const PricingPageStyled = styled.div `
|
|
|
16
18
|
line-height: 32px;
|
|
17
19
|
letter-spacing: -0.3px;
|
|
18
20
|
margin-top: 48px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.subscription-card__feature {
|
|
25
|
+
margin-bottom: 1rem;
|
|
26
|
+
&.ratafia-feature {
|
|
27
|
+
padding: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.subscription-card__button {
|
|
32
|
+
flex: inherit;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.primary {
|
|
36
|
+
.subscription-card__feature {
|
|
37
|
+
&.ratafia-feature {
|
|
38
|
+
background-color: var(--primary-main-light-5);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
19
41
|
}
|
|
20
42
|
&__cards {
|
|
21
43
|
display: flex;
|
|
@@ -33,10 +55,13 @@ export const PricingPageStyled = styled.div `
|
|
|
33
55
|
display: flex;
|
|
34
56
|
flex-direction: column;
|
|
35
57
|
align-items: center;
|
|
58
|
+
padding-left: 1.5rem;
|
|
59
|
+
padding-right: 1.5rem;
|
|
36
60
|
&__content {
|
|
37
61
|
display: flex;
|
|
38
62
|
flex-direction: column;
|
|
39
63
|
align-items: center;
|
|
64
|
+
text-align: center;
|
|
40
65
|
|
|
41
66
|
h2 {
|
|
42
67
|
color: var(--Neutral-800, var(--neutral-neutral-1));
|
|
@@ -55,6 +80,8 @@ export const PricingPageStyled = styled.div `
|
|
|
55
80
|
background: var(--primary-main-light-6);
|
|
56
81
|
border-radius: 16px;
|
|
57
82
|
margin-top: 48px;
|
|
83
|
+
padding-left: 1.5rem;
|
|
84
|
+
padding-right: 1.5rem;
|
|
58
85
|
&__title {
|
|
59
86
|
color: var(--Neutral-800, var(--neutral-neutral-1));
|
|
60
87
|
font-size: 28px;
|
|
@@ -4,6 +4,8 @@ import styled from 'styled-components'
|
|
|
4
4
|
export const PricingPageStyled = styled.div`
|
|
5
5
|
width: 100%;
|
|
6
6
|
.pricing-plans {
|
|
7
|
+
padding-left: 1.5rem;
|
|
8
|
+
padding-right: 1.5rem;
|
|
7
9
|
align-items: center;
|
|
8
10
|
display: flex;
|
|
9
11
|
flex-flow: column nowrap;
|
|
@@ -17,6 +19,26 @@ export const PricingPageStyled = styled.div`
|
|
|
17
19
|
line-height: 32px;
|
|
18
20
|
letter-spacing: -0.3px;
|
|
19
21
|
margin-top: 48px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.subscription-card__feature {
|
|
26
|
+
margin-bottom: 1rem;
|
|
27
|
+
&.ratafia-feature {
|
|
28
|
+
padding: 0.5rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.subscription-card__button {
|
|
33
|
+
flex: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.primary {
|
|
37
|
+
.subscription-card__feature {
|
|
38
|
+
&.ratafia-feature {
|
|
39
|
+
background-color: var(--primary-main-light-5);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
20
42
|
}
|
|
21
43
|
&__cards {
|
|
22
44
|
display: flex;
|
|
@@ -34,10 +56,13 @@ export const PricingPageStyled = styled.div`
|
|
|
34
56
|
display: flex;
|
|
35
57
|
flex-direction: column;
|
|
36
58
|
align-items: center;
|
|
59
|
+
padding-left: 1.5rem;
|
|
60
|
+
padding-right: 1.5rem;
|
|
37
61
|
&__content {
|
|
38
62
|
display: flex;
|
|
39
63
|
flex-direction: column;
|
|
40
64
|
align-items: center;
|
|
65
|
+
text-align: center;
|
|
41
66
|
|
|
42
67
|
h2 {
|
|
43
68
|
color: var(--Neutral-800, var(--neutral-neutral-1));
|
|
@@ -56,6 +81,8 @@ export const PricingPageStyled = styled.div`
|
|
|
56
81
|
background: var(--primary-main-light-6);
|
|
57
82
|
border-radius: 16px;
|
|
58
83
|
margin-top: 48px;
|
|
84
|
+
padding-left: 1.5rem;
|
|
85
|
+
padding-right: 1.5rem;
|
|
59
86
|
&__title {
|
|
60
87
|
color: var(--Neutral-800, var(--neutral-neutral-1));
|
|
61
88
|
font-size: 28px;
|
|
@@ -25,13 +25,15 @@ export const PricingPage: React.FC<PricingPageProps> = ({
|
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
<CardBoxMinimalSection cards={helpResourcesCards} />
|
|
28
|
-
<div className='
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
benefitsContent?.benefitsList?.
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
<div className='wrapper wrapper--responsive'>
|
|
29
|
+
<div className='benefits'>
|
|
30
|
+
{benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
|
|
31
|
+
<div className='benefits__cards'>
|
|
32
|
+
{benefitsContent?.benefitsList?.length > 0 &&
|
|
33
|
+
benefitsContent?.benefitsList?.map((benefit) => (
|
|
34
|
+
<BenefitCard hasShadow={false} key={benefit?.id} {...benefit} />
|
|
35
|
+
))}
|
|
36
|
+
</div>
|
|
35
37
|
</div>
|
|
36
38
|
</div>
|
|
37
39
|
<div className='support-section'>
|
package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js
CHANGED
|
@@ -39,7 +39,7 @@ export const FeaturesRatafiaSectionStyled = styled.section `
|
|
|
39
39
|
|
|
40
40
|
&__children {
|
|
41
41
|
display: none;
|
|
42
|
-
|
|
42
|
+
width: 100%;
|
|
43
43
|
|
|
44
44
|
@media ${device.desktop} {
|
|
45
45
|
display: flex;
|
|
@@ -48,6 +48,7 @@ export const FeaturesRatafiaSectionStyled = styled.section `
|
|
|
48
48
|
}
|
|
49
49
|
img {
|
|
50
50
|
width: 100%;
|
|
51
|
+
height: auto;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
}
|
package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts
CHANGED
|
@@ -40,7 +40,7 @@ export const FeaturesRatafiaSectionStyled = styled.section`
|
|
|
40
40
|
|
|
41
41
|
&__children {
|
|
42
42
|
display: none;
|
|
43
|
-
|
|
43
|
+
width: 100%;
|
|
44
44
|
|
|
45
45
|
@media ${device.desktop} {
|
|
46
46
|
display: flex;
|
|
@@ -49,6 +49,7 @@ export const FeaturesRatafiaSectionStyled = styled.section`
|
|
|
49
49
|
}
|
|
50
50
|
img {
|
|
51
51
|
width: 100%;
|
|
52
|
+
height: auto;
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -3,10 +3,12 @@ import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules
|
|
|
3
3
|
import { MidBannerRatafiaSectionStyled } from './MidBannerRatafiaSection.styled';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image, midBanner1Img, midBanner2Img, midBanner3Img }) => {
|
|
6
|
-
const isEsignature = ctaDataQa.includes('esignature')
|
|
6
|
+
const isEsignature = ctaDataQa.includes('esignature');
|
|
7
|
+
const isAbout = ctaDataQa.includes('about');
|
|
7
8
|
const classnames = classNames({
|
|
8
|
-
'--is-esignature': isEsignature
|
|
9
|
+
'--is-esignature': isEsignature,
|
|
10
|
+
'--is-about': isAbout
|
|
9
11
|
});
|
|
10
|
-
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image, isEsignatureImage: isEsignature, midBanner1Img: midBanner1Img, midBanner2Img: midBanner2Img, midBanner3Img: midBanner3Img }) })] }) }));
|
|
12
|
+
return (_jsx(MidBannerRatafiaSectionStyled, { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: `mid-banner-ratafia-section__wrapper ${classnames}`, children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: `mid-banner-ratafia-section__wrapper__sample ${classnames}`, children: _jsx(MidBannerRatafiaSample, { image: image, isAbout: isAbout, isEsignatureImage: isEsignature, midBanner1Img: midBanner1Img, midBanner2Img: midBanner2Img, midBanner3Img: midBanner3Img }) })] }) }));
|
|
11
13
|
};
|
|
12
14
|
export default MidBannerRatafiaSection;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.js
CHANGED
|
@@ -51,6 +51,16 @@ export const MidBannerRatafiaSectionStyled = styled.section `
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
55
|
+
@media ${device.desktop} {
|
|
56
|
+
padding: 3rem 5rem 0rem 4rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mid-banner-ratafia-content {
|
|
60
|
+
padding-bottom: 3rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
54
64
|
.mid-banner-ratafia-section__wrapper__sample.--is-esignature {
|
|
55
65
|
display: none;
|
|
56
66
|
|
|
@@ -73,4 +83,59 @@ export const MidBannerRatafiaSectionStyled = styled.section `
|
|
|
73
83
|
}
|
|
74
84
|
}
|
|
75
85
|
}
|
|
86
|
+
|
|
87
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
88
|
+
background-color: var(--primary-main-light-6);
|
|
89
|
+
|
|
90
|
+
.mid-banner-ratafia-content {
|
|
91
|
+
height: 100%;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
&__header {
|
|
94
|
+
h2 {
|
|
95
|
+
color: var(--primary-main-dark-2);
|
|
96
|
+
font-family: var(--font-family-inter, Inter);
|
|
97
|
+
font-size: 28px;
|
|
98
|
+
font-style: normal;
|
|
99
|
+
font-weight: 700;
|
|
100
|
+
line-height: 32px;
|
|
101
|
+
letter-spacing: -0.3px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.mid-banner-ratafia-content__cta {
|
|
106
|
+
height: auto;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
112
|
+
padding: 2rem 2rem 0 2rem;
|
|
113
|
+
|
|
114
|
+
@media ${device.desktop} {
|
|
115
|
+
padding: 2rem 5rem 0 4rem;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.mid-banner-ratafia-section__wrapper__sample.--is-about {
|
|
120
|
+
display: none;
|
|
121
|
+
|
|
122
|
+
@media ${device.laptop} {
|
|
123
|
+
display: flex;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.mid-banner-ratafia-sample {
|
|
127
|
+
&__image {
|
|
128
|
+
img {
|
|
129
|
+
max-width: 25rem;
|
|
130
|
+
box-shadow:
|
|
131
|
+
0 -0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25),
|
|
132
|
+
0 0.125rem 0.375rem -0.125rem rgba(2, 55, 74, 0);
|
|
133
|
+
|
|
134
|
+
@media ${device.desktop} {
|
|
135
|
+
max-height: 30rem;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
76
141
|
`;
|
package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.styled.ts
CHANGED
|
@@ -52,6 +52,16 @@ export const MidBannerRatafiaSectionStyled = styled.section`
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
56
|
+
@media ${device.desktop} {
|
|
57
|
+
padding: 3rem 5rem 0rem 4rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.mid-banner-ratafia-content {
|
|
61
|
+
padding-bottom: 3rem;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
55
65
|
.mid-banner-ratafia-section__wrapper__sample.--is-esignature {
|
|
56
66
|
display: none;
|
|
57
67
|
|
|
@@ -74,4 +84,59 @@ export const MidBannerRatafiaSectionStyled = styled.section`
|
|
|
74
84
|
}
|
|
75
85
|
}
|
|
76
86
|
}
|
|
87
|
+
|
|
88
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
89
|
+
background-color: var(--primary-main-light-6);
|
|
90
|
+
|
|
91
|
+
.mid-banner-ratafia-content {
|
|
92
|
+
height: 100%;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
&__header {
|
|
95
|
+
h2 {
|
|
96
|
+
color: var(--primary-main-dark-2);
|
|
97
|
+
font-family: var(--font-family-inter, Inter);
|
|
98
|
+
font-size: 28px;
|
|
99
|
+
font-style: normal;
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
line-height: 32px;
|
|
102
|
+
letter-spacing: -0.3px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.mid-banner-ratafia-content__cta {
|
|
107
|
+
height: auto;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mid-banner-ratafia-section__wrapper.--is-about {
|
|
113
|
+
padding: 2rem 2rem 0 2rem;
|
|
114
|
+
|
|
115
|
+
@media ${device.desktop} {
|
|
116
|
+
padding: 2rem 5rem 0 4rem;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.mid-banner-ratafia-section__wrapper__sample.--is-about {
|
|
121
|
+
display: none;
|
|
122
|
+
|
|
123
|
+
@media ${device.laptop} {
|
|
124
|
+
display: flex;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.mid-banner-ratafia-sample {
|
|
128
|
+
&__image {
|
|
129
|
+
img {
|
|
130
|
+
max-width: 25rem;
|
|
131
|
+
box-shadow:
|
|
132
|
+
0 -0.125rem 0.375rem 0 rgba(2, 55, 74, 0.25),
|
|
133
|
+
0 0.125rem 0.375rem -0.125rem rgba(2, 55, 74, 0);
|
|
134
|
+
|
|
135
|
+
@media ${device.desktop} {
|
|
136
|
+
max-height: 30rem;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
77
142
|
`
|
|
@@ -16,9 +16,11 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
16
16
|
midBanner2Img,
|
|
17
17
|
midBanner3Img
|
|
18
18
|
}) => {
|
|
19
|
-
const isEsignature = ctaDataQa.includes('esignature')
|
|
19
|
+
const isEsignature = ctaDataQa.includes('esignature')
|
|
20
|
+
const isAbout = ctaDataQa.includes('about')
|
|
20
21
|
const classnames = classNames({
|
|
21
|
-
'--is-esignature': isEsignature
|
|
22
|
+
'--is-esignature': isEsignature,
|
|
23
|
+
'--is-about': isAbout
|
|
22
24
|
})
|
|
23
25
|
return (
|
|
24
26
|
<MidBannerRatafiaSectionStyled className='mid-banner-ratafia-section'>
|
|
@@ -33,6 +35,7 @@ const MidBannerRatafiaSection: FC<MidBannerRatafiaSectionProps> = ({
|
|
|
33
35
|
<div className={`mid-banner-ratafia-section__wrapper__sample ${classnames}`}>
|
|
34
36
|
<MidBannerRatafiaSample
|
|
35
37
|
image={image}
|
|
38
|
+
isAbout={isAbout}
|
|
36
39
|
isEsignatureImage={isEsignature}
|
|
37
40
|
midBanner1Img={midBanner1Img}
|
|
38
41
|
midBanner2Img={midBanner2Img}
|