@npm_leadtech/legal-lib-components 5.3.1 → 5.3.10
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 +56 -125
- package/dist/src/components/atoms/index.d.ts +0 -1
- package/dist/src/components/atoms/index.js +0 -1
- package/dist/src/components/atoms/index.ts +0 -1
- package/dist/src/components/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- 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/ErrorRatafiaPage/ErrorRatafiaPage.js +2 -2
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +30 -0
- package/dist/src/components/pages/ErrorRatafiaPage/{ErrorRatafiaPage.scss → ErrorRatafiaPage.styled.ts} +3 -4
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +4 -3
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +2 -2
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.d.ts +1 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +59 -0
- package/dist/src/components/pages/FaqsPage/{FaqsPage.scss → FaqsPage.styled.ts} +3 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +4 -3
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +2 -2
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/{KeyFactsResultRatafiaPage.scss → KeyFactsResultRatafiaPage.styled.js} +4 -5
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +23 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +4 -3
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +2 -2
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.d.ts +1 -0
- package/dist/src/components/pages/LoginRatafiaPage/{LoginPageRatafia.scss → LoginRatafiaPage.styled.js} +5 -5
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.styled.ts +24 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +3 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +2 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +63 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +18 -2
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.d.ts +6 -3
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -3
- package/dist/src/globalStyles/styles.scss +0 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/atoms/ContactCard/ContactCard.d.ts +0 -4
- package/dist/src/components/atoms/ContactCard/ContactCard.js +0 -6
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.js +0 -38
- package/dist/src/components/atoms/ContactCard/ContactCard.styled.ts +0 -39
- package/dist/src/components/atoms/ContactCard/ContactCard.tsx +0 -38
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.d.ts +0 -9
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.js +0 -1
- package/dist/src/components/atoms/ContactCard/ContactCardProps.types.ts +0 -9
- package/dist/src/components/atoms/ContactCard/index.d.ts +0 -2
- package/dist/src/components/atoms/ContactCard/index.js +0 -1
- package/dist/src/components/atoms/ContactCard/index.ts +0 -2
- package/dist/src/components/molecules/ContactCardList/ContactCardList.d.ts +0 -4
- package/dist/src/components/molecules/ContactCardList/ContactCardList.js +0 -7
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.js +0 -13
- package/dist/src/components/molecules/ContactCardList/ContactCardList.styled.ts +0 -14
- package/dist/src/components/molecules/ContactCardList/ContactCardList.tsx +0 -17
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.d.ts +0 -4
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.js +0 -1
- package/dist/src/components/molecules/ContactCardList/ContactCardListProps.types.ts +0 -5
- package/dist/src/components/molecules/ContactCardList/index.d.ts +0 -2
- package/dist/src/components/molecules/ContactCardList/index.js +0 -1
- package/dist/src/components/molecules/ContactCardList/index.ts +0 -2
- package/dist/src/components/organisms/ContactContent/ContactContent.d.ts +0 -4
- package/dist/src/components/organisms/ContactContent/ContactContent.js +0 -9
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.js +0 -28
- package/dist/src/components/organisms/ContactContent/ContactContent.styled.ts +0 -29
- package/dist/src/components/organisms/ContactContent/ContactContent.tsx +0 -20
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.d.ts +0 -6
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.js +0 -1
- package/dist/src/components/organisms/ContactContent/ContactContentProps.types.ts +0 -7
- package/dist/src/components/organisms/ContactContent/index.d.ts +0 -2
- package/dist/src/components/organisms/ContactContent/index.js +0 -1
- package/dist/src/components/organisms/ContactContent/index.ts +0 -2
package/dist/css/styles.css
CHANGED
|
@@ -5303,7 +5303,7 @@ h2.react-datepicker__current-month {
|
|
|
5303
5303
|
.as-seen-in-section-box .as-seen-in-section {
|
|
5304
5304
|
display: flex;
|
|
5305
5305
|
flex-direction: column;
|
|
5306
|
-
box-shadow:
|
|
5306
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
5307
5307
|
background: var(--others-white);
|
|
5308
5308
|
transform: translateY(-5rem);
|
|
5309
5309
|
padding: 1.5rem 0;
|
|
@@ -5324,6 +5324,61 @@ h2.react-datepicker__current-month {
|
|
|
5324
5324
|
letter-spacing: -0.3px;
|
|
5325
5325
|
margin: 1rem 0;
|
|
5326
5326
|
}
|
|
5327
|
+
.contact-us-section {
|
|
5328
|
+
display: flex;
|
|
5329
|
+
flex-direction: column;
|
|
5330
|
+
transform: translateY(-5rem);
|
|
5331
|
+
color: var(--neutral-neutral-1);
|
|
5332
|
+
margin-top: 1rem;
|
|
5333
|
+
}
|
|
5334
|
+
.contact-us-section__title {
|
|
5335
|
+
text-align: center;
|
|
5336
|
+
font-size: 32px;
|
|
5337
|
+
font-family: "Lora", serif;
|
|
5338
|
+
font-style: normal;
|
|
5339
|
+
font-weight: 400;
|
|
5340
|
+
line-height: 42px;
|
|
5341
|
+
letter-spacing: -0.3px;
|
|
5342
|
+
margin: 1rem 0;
|
|
5343
|
+
}
|
|
5344
|
+
.contact-us-section__text {
|
|
5345
|
+
text-align: center;
|
|
5346
|
+
font-style: normal;
|
|
5347
|
+
font-weight: 400;
|
|
5348
|
+
margin: 0 0 2rem 0;
|
|
5349
|
+
}
|
|
5350
|
+
.contact-us-section-blocks {
|
|
5351
|
+
display: flex;
|
|
5352
|
+
justify-content: center;
|
|
5353
|
+
flex-direction: column;
|
|
5354
|
+
gap: 1rem;
|
|
5355
|
+
}
|
|
5356
|
+
@media (min-width: 960px) {
|
|
5357
|
+
.contact-us-section-blocks {
|
|
5358
|
+
flex-direction: row;
|
|
5359
|
+
gap: 2.5rem;
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5362
|
+
.contact-us-section-blocks__item {
|
|
5363
|
+
display: flex;
|
|
5364
|
+
flex-direction: column;
|
|
5365
|
+
align-items: center;
|
|
5366
|
+
background-color: white;
|
|
5367
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
5368
|
+
border-radius: 0.25rem;
|
|
5369
|
+
min-width: 200px;
|
|
5370
|
+
padding: 1rem;
|
|
5371
|
+
}
|
|
5372
|
+
.contact-us-section-blocks__item__image {
|
|
5373
|
+
width: 2rem;
|
|
5374
|
+
}
|
|
5375
|
+
.contact-us-section-blocks__item__title {
|
|
5376
|
+
margin-top: 1rem;
|
|
5377
|
+
line-height: 1rem;
|
|
5378
|
+
}
|
|
5379
|
+
.contact-us-section-blocks__item__text {
|
|
5380
|
+
font-size: 14px;
|
|
5381
|
+
}
|
|
5327
5382
|
.benefit-ratafia-section {
|
|
5328
5383
|
display: flex;
|
|
5329
5384
|
justify-content: center;
|
|
@@ -6243,127 +6298,3 @@ h2.react-datepicker__current-month {
|
|
|
6243
6298
|
width: auto;
|
|
6244
6299
|
}
|
|
6245
6300
|
}
|
|
6246
|
-
.error-ratafia-page {
|
|
6247
|
-
display: flex;
|
|
6248
|
-
flex-direction: column;
|
|
6249
|
-
align-items: flex-start;
|
|
6250
|
-
flex: 1 0 0;
|
|
6251
|
-
align-self: stretch;
|
|
6252
|
-
gap: 1.5rem;
|
|
6253
|
-
background-color: var(--neutral-neutral-6);
|
|
6254
|
-
}
|
|
6255
|
-
.error-ratafia-page__ctas {
|
|
6256
|
-
text-align: center;
|
|
6257
|
-
}
|
|
6258
|
-
.error-ratafia-page__ctas__button {
|
|
6259
|
-
display: block;
|
|
6260
|
-
width: 100%;
|
|
6261
|
-
}
|
|
6262
|
-
.error-ratafia-page__ctas__button:first-child {
|
|
6263
|
-
margin-bottom: 1rem;
|
|
6264
|
-
}
|
|
6265
|
-
@media (min-width: 575px) {
|
|
6266
|
-
.error-ratafia-page__ctas__button {
|
|
6267
|
-
display: inline-grid;
|
|
6268
|
-
width: inherit;
|
|
6269
|
-
}
|
|
6270
|
-
.error-ratafia-page__ctas__button:first-child {
|
|
6271
|
-
margin-right: 1rem;
|
|
6272
|
-
}
|
|
6273
|
-
}
|
|
6274
|
-
.faq-page .titles {
|
|
6275
|
-
display: flex;
|
|
6276
|
-
padding: 40px 24px;
|
|
6277
|
-
flex-direction: column;
|
|
6278
|
-
align-items: center;
|
|
6279
|
-
gap: 8px;
|
|
6280
|
-
background: var(--primary-main-light-6);
|
|
6281
|
-
}
|
|
6282
|
-
@media (min-width: 720px) {
|
|
6283
|
-
.faq-page .titles {
|
|
6284
|
-
padding: 40px 32px 80px 32px;
|
|
6285
|
-
}
|
|
6286
|
-
}
|
|
6287
|
-
.faq-page .titles .title {
|
|
6288
|
-
color: var(--neutral-neutral-2);
|
|
6289
|
-
font-family: var(--font-sans);
|
|
6290
|
-
font-size: 14px;
|
|
6291
|
-
line-height: 18px;
|
|
6292
|
-
letter-spacing: -0.3px;
|
|
6293
|
-
border-bottom: var(--neutral-neutral-2) 1px solid;
|
|
6294
|
-
padding-bottom: 8px;
|
|
6295
|
-
margin-bottom: 8px;
|
|
6296
|
-
}
|
|
6297
|
-
.faq-page .titles .subtitle {
|
|
6298
|
-
color: var(--neutral-main);
|
|
6299
|
-
font-family: var(--font-serif);
|
|
6300
|
-
font-size: 36px;
|
|
6301
|
-
line-height: 48px;
|
|
6302
|
-
font-weight: 400;
|
|
6303
|
-
letter-spacing: -0.3px;
|
|
6304
|
-
}
|
|
6305
|
-
@media (min-width: 720px) {
|
|
6306
|
-
.faq-page .titles .subtitle {
|
|
6307
|
-
font-size: 48px;
|
|
6308
|
-
line-height: 58px;
|
|
6309
|
-
}
|
|
6310
|
-
}
|
|
6311
|
-
.faq-page .main-content {
|
|
6312
|
-
display: flex;
|
|
6313
|
-
flex-direction: row;
|
|
6314
|
-
padding: 32px 24px;
|
|
6315
|
-
gap: var(--global-gap);
|
|
6316
|
-
background: var(--primary-main-light-6);
|
|
6317
|
-
justify-content: center;
|
|
6318
|
-
}
|
|
6319
|
-
@media (max-width: 575px) {
|
|
6320
|
-
.faq-page .main-content {
|
|
6321
|
-
flex-direction: column;
|
|
6322
|
-
gap: 3rem;
|
|
6323
|
-
}
|
|
6324
|
-
}
|
|
6325
|
-
@media (min-width: 720px) {
|
|
6326
|
-
.faq-page .main-content {
|
|
6327
|
-
padding: 32px;
|
|
6328
|
-
gap: 106px;
|
|
6329
|
-
}
|
|
6330
|
-
}
|
|
6331
|
-
.key-facts-result-page {
|
|
6332
|
-
background-color: var(--neutral-neutral-6);
|
|
6333
|
-
}
|
|
6334
|
-
.key-facts-result-page__content {
|
|
6335
|
-
display: flex;
|
|
6336
|
-
flex-direction: column;
|
|
6337
|
-
align-items: flex-start;
|
|
6338
|
-
flex: 1 0 0;
|
|
6339
|
-
align-self: stretch;
|
|
6340
|
-
gap: 1.5rem;
|
|
6341
|
-
}
|
|
6342
|
-
.key-facts-result-page__content__cta {
|
|
6343
|
-
align-self: start;
|
|
6344
|
-
display: block;
|
|
6345
|
-
width: 100%;
|
|
6346
|
-
}
|
|
6347
|
-
@media (min-width: 575px) {
|
|
6348
|
-
.key-facts-result-page__content__cta {
|
|
6349
|
-
display: inline-block;
|
|
6350
|
-
}
|
|
6351
|
-
}
|
|
6352
|
-
.login-ratafia-page {
|
|
6353
|
-
background-color: var(--neutral-neutral-6);
|
|
6354
|
-
}
|
|
6355
|
-
.login-ratafia-page__ctas {
|
|
6356
|
-
text-align: center;
|
|
6357
|
-
}
|
|
6358
|
-
.login-ratafia-page__ctas__button {
|
|
6359
|
-
display: block;
|
|
6360
|
-
width: 100%;
|
|
6361
|
-
margin-bottom: 1rem;
|
|
6362
|
-
}
|
|
6363
|
-
.login-ratafia-page__ctas__signIn__button {
|
|
6364
|
-
background: none;
|
|
6365
|
-
border: none;
|
|
6366
|
-
color: var(--primary-main);
|
|
6367
|
-
text-decoration: underline;
|
|
6368
|
-
cursor: pointer;
|
|
6369
|
-
}
|
|
@@ -9,7 +9,6 @@ export * from './BottomOverlay';
|
|
|
9
9
|
export * from './BoxForm';
|
|
10
10
|
export * from './Breadcrumb';
|
|
11
11
|
export * from './ContactBox';
|
|
12
|
-
export * from './ContactCardList';
|
|
13
12
|
export * from './ContinueEditingBanner';
|
|
14
13
|
export * from './CountDownMessage';
|
|
15
14
|
export * from './EmailContactBox';
|
|
@@ -9,7 +9,6 @@ export * from './BottomOverlay';
|
|
|
9
9
|
export * from './BoxForm';
|
|
10
10
|
export * from './Breadcrumb';
|
|
11
11
|
export * from './ContactBox';
|
|
12
|
-
export * from './ContactCardList';
|
|
13
12
|
export * from './ContinueEditingBanner';
|
|
14
13
|
export * from './CountDownMessage';
|
|
15
14
|
export * from './EmailContactBox';
|
|
@@ -9,7 +9,6 @@ export * from './BottomOverlay'
|
|
|
9
9
|
export * from './BoxForm'
|
|
10
10
|
export * from './Breadcrumb'
|
|
11
11
|
export * from './ContactBox'
|
|
12
|
-
export * from './ContactCardList'
|
|
13
12
|
export * from './ContinueEditingBanner'
|
|
14
13
|
export * from './CountDownMessage'
|
|
15
14
|
export * from './EmailContactBox'
|
|
@@ -3,7 +3,6 @@ export * from './Accordion';
|
|
|
3
3
|
export * from './ArticlesList';
|
|
4
4
|
export * from './AsSeeInContent';
|
|
5
5
|
export * from './CardFunctionality';
|
|
6
|
-
export * from './ContactContent';
|
|
7
6
|
export * from './ContactJumbotron';
|
|
8
7
|
export * from './CookiePolicyBar';
|
|
9
8
|
export * from './ErrorContentRatafia';
|
|
@@ -3,7 +3,6 @@ export * from './Accordion';
|
|
|
3
3
|
export * from './ArticlesList';
|
|
4
4
|
export * from './AsSeeInContent';
|
|
5
5
|
export * from './CardFunctionality';
|
|
6
|
-
export * from './ContactContent';
|
|
7
6
|
export * from './ContactJumbotron';
|
|
8
7
|
export * from './CookiePolicyBar';
|
|
9
8
|
export * from './ErrorContentRatafia';
|
|
@@ -3,7 +3,6 @@ export * from './Accordion'
|
|
|
3
3
|
export * from './ArticlesList'
|
|
4
4
|
export * from './AsSeeInContent'
|
|
5
5
|
export * from './CardFunctionality'
|
|
6
|
-
export * from './ContactContent'
|
|
7
6
|
export * from './ContactJumbotron'
|
|
8
7
|
export * from './CookiePolicyBar'
|
|
9
8
|
export * from './ErrorContentRatafia'
|
|
@@ -3,11 +3,11 @@ import { Button } from '../../atoms';
|
|
|
3
3
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
4
4
|
import { ErrorContentRatafia } from '../../organisms';
|
|
5
5
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia';
|
|
6
|
-
|
|
6
|
+
import { ErrorRatafiaPageStyled } from './ErrorRatafiaPage.styled';
|
|
7
7
|
export const ErrorRatafiaPage = ({ header, errorContent, disclaimer, goToDashboardCta, tryAgainCta }) => {
|
|
8
8
|
const ctas = (_jsxs("div", { className: 'error-ratafia-page__ctas', children: [_jsx(Button, { givenClass: 'error-ratafia-page__ctas__button', dataQa: tryAgainCta.dataQa, color: 'primary', label: tryAgainCta.label, onClick: tryAgainCta.handleOnClick, link: tryAgainCta.link }), _jsx(Button, { givenClass: 'error-ratafia-page__ctas__button', dataQa: goToDashboardCta.dataQa, color: 'secondary', label: goToDashboardCta.label, onClick: goToDashboardCta.handleOnClick, link: goToDashboardCta.link })] }));
|
|
9
9
|
const content = _jsx(ErrorContentRatafia, { title: errorContent.title, errorMessage: errorContent.errorMessage });
|
|
10
10
|
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
11
11
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctas] }));
|
|
12
|
-
return (_jsx(
|
|
12
|
+
return (_jsx(ErrorRatafiaPageStyled, { className: 'error-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
13
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ErrorRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const ErrorRatafiaPageStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
flex: 1 0 0;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
gap: 1.5rem;
|
|
9
|
+
background-color: var(--neutral-neutral-6);
|
|
10
|
+
|
|
11
|
+
&__ctas {
|
|
12
|
+
text-align: center;
|
|
13
|
+
&__button {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 100%;
|
|
16
|
+
&:first-child {
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include portrait-tablets {
|
|
21
|
+
display: inline-grid;
|
|
22
|
+
width: inherit;
|
|
23
|
+
|
|
24
|
+
&:first-child {
|
|
25
|
+
margin-right: 1rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
1
|
+
import styled from 'styled-components'
|
|
3
2
|
|
|
4
|
-
.
|
|
3
|
+
export const ErrorRatafiaPageStyled = styled.div`
|
|
5
4
|
display: flex;
|
|
6
5
|
flex-direction: column;
|
|
7
6
|
align-items: flex-start;
|
|
@@ -29,4 +28,4 @@
|
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
|
-
|
|
31
|
+
`
|
|
@@ -5,7 +5,8 @@ import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
|
5
5
|
import { ErrorContentRatafia } from '../../organisms'
|
|
6
6
|
import { type ErrorRatafiaPageProps } from './ErrorRatafiaPageProps.types'
|
|
7
7
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
import { ErrorRatafiaPageStyled } from './ErrorRatafiaPage.styled'
|
|
9
10
|
|
|
10
11
|
export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
11
12
|
header,
|
|
@@ -55,7 +56,7 @@ export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
|
55
56
|
)
|
|
56
57
|
|
|
57
58
|
return (
|
|
58
|
-
<
|
|
59
|
+
<ErrorRatafiaPageStyled className='error-ratafia-page'>
|
|
59
60
|
<LayoutRatafia
|
|
60
61
|
header={header}
|
|
61
62
|
content={content}
|
|
@@ -63,6 +64,6 @@ export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
|
63
64
|
footerDesktop={footerDesktop}
|
|
64
65
|
footerMobile={footerMobile}
|
|
65
66
|
/>
|
|
66
|
-
</
|
|
67
|
+
</ErrorRatafiaPageStyled>
|
|
67
68
|
)
|
|
68
69
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsideMenuSection, FaqSection } from '../../sections';
|
|
3
|
-
|
|
3
|
+
import { FaqsPageStyled } from './FaqsPage.styled';
|
|
4
4
|
export const FaqsPage = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(FaqsPageStyled, { className: 'faq-page', children: [_jsxs("div", { className: 'titles', children: [_jsx("h1", { className: 'title', children: title }), _jsx("h2", { className: 'subtitle', children: subtitle })] }), _jsxs("div", { className: 'main-content', children: [_jsx(AsideMenuSection, { ...asideMenuSectionProps }), _jsx(FaqSection, { ...faqSectionProps })] })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FaqsPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const FaqsPageStyled = styled.div `
|
|
3
|
+
.titles {
|
|
4
|
+
display: flex;
|
|
5
|
+
padding: 40px 24px;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 8px;
|
|
9
|
+
background: var(--primary-main-light-6);
|
|
10
|
+
|
|
11
|
+
@include landscape-tablets {
|
|
12
|
+
padding: 40px 32px 80px 32px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.title {
|
|
16
|
+
color: var(--neutral-neutral-2);
|
|
17
|
+
font-family: var(--font-sans);
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
line-height: 18px;
|
|
20
|
+
letter-spacing: -0.3px;
|
|
21
|
+
border-bottom: get-color(neutral, neutral-2) 1px solid;
|
|
22
|
+
padding-bottom: 8px;
|
|
23
|
+
margin-bottom: 8px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.subtitle {
|
|
27
|
+
color: var(--neutral-main);
|
|
28
|
+
font-family: var(--font-serif);
|
|
29
|
+
font-size: 36px;
|
|
30
|
+
line-height: 48px;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
letter-spacing: -0.3px;
|
|
33
|
+
|
|
34
|
+
@include landscape-tablets {
|
|
35
|
+
font-size: 48px;
|
|
36
|
+
line-height: 58px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.main-content {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
padding: 32px 24px;
|
|
45
|
+
gap: var(--global-gap);
|
|
46
|
+
background: var(--primary-main-light-6);
|
|
47
|
+
justify-content: center;
|
|
48
|
+
|
|
49
|
+
@include mobile {
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
gap: calc(1rem * 3);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include landscape-tablets {
|
|
55
|
+
padding: 32px;
|
|
56
|
+
gap: 106px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
1
|
+
import styled from 'styled-components'
|
|
3
2
|
|
|
4
|
-
.
|
|
3
|
+
export const FaqsPageStyled = styled.div`
|
|
5
4
|
.titles {
|
|
6
5
|
display: flex;
|
|
7
6
|
padding: 40px 24px;
|
|
@@ -58,4 +57,4 @@
|
|
|
58
57
|
gap: 106px;
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
|
-
|
|
60
|
+
`
|
|
@@ -2,11 +2,12 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { AsideMenuSection, FaqSection } from '../../sections'
|
|
4
4
|
import { type FaqsPageProps } from './FaqsPageProps'
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
import { FaqsPageStyled } from './FaqsPage.styled'
|
|
6
7
|
|
|
7
8
|
export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
8
9
|
return (
|
|
9
|
-
<
|
|
10
|
+
<FaqsPageStyled className='faq-page'>
|
|
10
11
|
<div className='titles'>
|
|
11
12
|
<h1 className='title'>{title}</h1>
|
|
12
13
|
<h2 className='subtitle'>{subtitle}</h2>
|
|
@@ -15,6 +16,6 @@ export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSe
|
|
|
15
16
|
<AsideMenuSection {...asideMenuSectionProps} />
|
|
16
17
|
<FaqSection {...faqSectionProps} />
|
|
17
18
|
</div>
|
|
18
|
-
</
|
|
19
|
+
</FaqsPageStyled>
|
|
19
20
|
)
|
|
20
21
|
}
|
|
@@ -3,13 +3,13 @@ import { KeyFactsLoadingContentRatafia, KeyFactsResultContentRatafia } from '../
|
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
4
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
5
5
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia';
|
|
6
|
-
|
|
6
|
+
import { KeyFactsResultRatafiaPageStyled } from './KeyFactsResultRatafiaPage.styled';
|
|
7
7
|
export const KeyFactsResultRatafiaPage = ({ header, resultContent, reviewContent, disclaimer, cta, loadingIcon, loadingText, isLoading }) => {
|
|
8
8
|
const loadingContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsLoadingContentRatafia, { documentName: resultContent.documentName, icon: loadingIcon, text: loadingText }) }));
|
|
9
9
|
const loadedContent = (_jsx("div", { className: 'key-facts-result-page__content', children: _jsx(KeyFactsResultContentRatafia, { result: resultContent, review: reviewContent }) }));
|
|
10
10
|
const ctaButton = isLoading ? null : (_jsx(Button, { givenClass: 'key-facts-result-page__content__cta', dataQa: cta.dataQa, color: 'primary', label: cta.label, onClick: cta.handleOnClick, noLink: true }));
|
|
11
11
|
const footerDesktop = (_jsx("div", { className: 'key-facts-result-page__footer-desktop', children: _jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }) }));
|
|
12
12
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctaButton] }));
|
|
13
|
-
return (_jsx(
|
|
13
|
+
return (_jsx(KeyFactsResultRatafiaPageStyled, { className: 'key-facts-result-page', children: _jsx(LayoutRatafia, { header: header, content: isLoading ? loadingContent : loadedContent, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
14
14
|
};
|
|
15
15
|
export default KeyFactsResultRatafiaPage;
|
package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KeyFactsResultRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.key-facts-result-page {
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const KeyFactsResultRatafiaPageStyled = styled.div `
|
|
5
3
|
background-color: var(--neutral-neutral-6);
|
|
4
|
+
|
|
6
5
|
&__content {
|
|
7
6
|
display: flex;
|
|
8
7
|
flex-direction: column;
|
|
@@ -20,4 +19,4 @@
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
|
-
|
|
22
|
+
`;
|
package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const KeyFactsResultRatafiaPageStyled = styled.div`
|
|
4
|
+
background-color: var(--neutral-neutral-6);
|
|
5
|
+
|
|
6
|
+
&__content {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
flex: 1 0 0;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
gap: 1.5rem;
|
|
13
|
+
|
|
14
|
+
&__cta {
|
|
15
|
+
align-self: start;
|
|
16
|
+
display: block;
|
|
17
|
+
width: 100%;
|
|
18
|
+
@include portrait-tablets {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`
|
|
@@ -5,7 +5,8 @@ import { Button } from '../../atoms'
|
|
|
5
5
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
6
6
|
import { type KeyFactsResultRatafiaPageProps } from './KeyFactsResultRatafiaPageProps.types'
|
|
7
7
|
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
import { KeyFactsResultRatafiaPageStyled } from './KeyFactsResultRatafiaPage.styled'
|
|
9
10
|
|
|
10
11
|
export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps> = ({
|
|
11
12
|
header,
|
|
@@ -59,7 +60,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
|
|
|
59
60
|
)
|
|
60
61
|
|
|
61
62
|
return (
|
|
62
|
-
<
|
|
63
|
+
<KeyFactsResultRatafiaPageStyled className='key-facts-result-page'>
|
|
63
64
|
<LayoutRatafia
|
|
64
65
|
header={header}
|
|
65
66
|
content={isLoading ? loadingContent : loadedContent}
|
|
@@ -67,7 +68,7 @@ export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps>
|
|
|
67
68
|
footerDesktop={footerDesktop}
|
|
68
69
|
footerMobile={footerMobile}
|
|
69
70
|
/>
|
|
70
|
-
</
|
|
71
|
+
</KeyFactsResultRatafiaPageStyled>
|
|
71
72
|
)
|
|
72
73
|
}
|
|
73
74
|
|
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { LayoutRatafia, LoginRatafiaContent } from '../../organisms';
|
|
3
3
|
import { Button } from '../../atoms';
|
|
4
4
|
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
|
|
5
|
-
|
|
5
|
+
import { LoginRatafiaPageStyled } from './LoginRatafiaPage.styled';
|
|
6
6
|
export const LoginRatafiaPage = ({ header, loginContent, ctaAnalizeDocument, ctaSignIn, disclaimer }) => {
|
|
7
7
|
const ctas = (_jsxs("div", { className: 'login-ratafia-page__ctas', children: [_jsx(Button, { givenClass: 'login-ratafia-page__ctas__button', color: 'primary', dataQa: ctaAnalizeDocument.dataQa, label: ctaAnalizeDocument.label, onClick: ctaAnalizeDocument.onClick, noLink: true, disabled: ctaAnalizeDocument.disabled }), _jsxs("span", { className: 'login-ratafia-page__ctas__signIn', children: [ctaSignIn.text, _jsx("button", { className: 'login-ratafia-page__ctas__signIn__button', "data-qa": ctaSignIn.link.dataQa, onClick: ctaSignIn.link.onClick, children: ctaSignIn.link.text })] })] }));
|
|
8
8
|
const footerDesktop = (_jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, legalAdviceText: disclaimer.legalAdviceText, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }));
|
|
9
9
|
const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctas] }));
|
|
10
10
|
const content = (_jsx(LoginRatafiaContent, { title: loginContent.title, email: loginContent.email, policy: loginContent.policy }));
|
|
11
|
-
return (_jsx(
|
|
11
|
+
return (_jsx(LoginRatafiaPageStyled, { className: 'login-ratafia-page', children: _jsx(LayoutRatafia, { header: header, content: content, cta: ctas, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
|
|
12
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LoginRatafiaPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.login-ratafia-page {
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const LoginRatafiaPageStyled = styled.div `
|
|
5
3
|
background-color: var(--neutral-neutral-6);
|
|
4
|
+
|
|
6
5
|
&__ctas {
|
|
7
6
|
text-align: center;
|
|
8
7
|
&__button {
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
width: 100%;
|
|
11
10
|
margin-bottom: 1rem;
|
|
12
11
|
}
|
|
12
|
+
|
|
13
13
|
&__signIn {
|
|
14
14
|
&__button {
|
|
15
15
|
background: none;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
`;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const LoginRatafiaPageStyled = styled.div`
|
|
4
|
+
background-color: var(--neutral-neutral-6);
|
|
5
|
+
|
|
6
|
+
&__ctas {
|
|
7
|
+
text-align: center;
|
|
8
|
+
&__button {
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
margin-bottom: 1rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__signIn {
|
|
15
|
+
&__button {
|
|
16
|
+
background: none;
|
|
17
|
+
border: none;
|
|
18
|
+
color: var(--primary-main);
|
|
19
|
+
text-decoration: underline;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`
|