@npm_leadtech/legal-lib-components 5.11.11 → 5.11.13
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 +1 -848
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +12 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +12 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -5
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.ts +0 -5
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +12 -5
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +12 -5
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +7 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +7 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +59 -0
- package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.scss → AboutUsContent.styled.ts} +13 -11
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +3 -3
- package/dist/src/components/organisms/Accordion/Accordion.js +2 -2
- package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.js +5 -0
- package/dist/src/components/organisms/Accordion/Accordion.styled.ts +6 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +3 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +11 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +23 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +1 -0
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +60 -0
- package/dist/src/components/organisms/CardFunctionality/{CardFunctionality.scss → CardFunctionality.styled.ts} +3 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +3 -3
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +2 -2
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +1 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +43 -0
- package/dist/src/components/organisms/ContactJumbotron/{ContactJumbotron.scss → ContactJumbotron.styled.ts} +6 -7
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +2 -2
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +48 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +49 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +11 -13
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.scss → ErrorContentRatafia.styled.ts} +7 -6
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.js +2 -2
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +1 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +21 -0
- package/dist/src/components/organisms/FaqGroup/{FaqGroup.scss → FaqGroup.styled.ts} +3 -3
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +3 -3
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +27 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/{FeaturesRatafiaContent.scss → FeaturesRatafiaContent.styled.ts} +4 -4
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +138 -0
- package/dist/src/components/organisms/GuidelinesContent/{GuidelinesContent.scss → GuidelinesContent.styled.ts} +17 -17
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +3 -3
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +2 -2
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +26 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/{JumbotronRatafiaContent.scss → JumbotronRatafiaContent.styled.ts} +6 -7
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +144 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/{KeyFactsLoadingContentRatafia.scss → KeyFactsLoadingContentRatafia.styled.ts} +24 -25
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +2 -2
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +21 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +22 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -3
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +2 -2
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +5 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/{LanguageSelectorMobile.scss → LanguageSelectorMobile.styled.js} +6 -6
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +70 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +3 -3
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +2 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +91 -0
- package/dist/src/components/organisms/LayoutRatafia/{LayoutRatafia.scss → LayoutRatafia.styled.ts} +12 -13
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +3 -3
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +2 -2
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +1 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +34 -0
- package/dist/src/components/organisms/ListStepsGetForm/{ListStepsGetForm.scss → ListStepsGetForm.styled.ts} +7 -7
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +3 -3
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +14 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +15 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +4 -8
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +45 -0
- package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.scss → MobileBottomBar.styled.ts} +6 -6
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +5 -10
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +11 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +54 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +55 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -3
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.js +2 -1
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.styled.ts +2 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.js +5 -4
- package/dist/src/components/pages/FaqsPage/FaqsPage.styled.ts +5 -4
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.js +2 -1
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts +2 -1
- package/dist/src/globalStyles/styles.scss +0 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/organisms/Accordion/Accordion.scss +0 -4
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +0 -12
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +0 -22
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +0 -54
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +0 -23
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +0 -16
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +0 -12
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MobileBottomBarStyled = styled.div `
|
|
4
|
+
background: var(--others-white);
|
|
5
|
+
position: fixed;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
height: 3.25rem;
|
|
11
|
+
width: 100%;
|
|
12
|
+
box-shadow: var(--box-shadow-container);
|
|
13
|
+
z-index: 1;
|
|
14
|
+
|
|
15
|
+
@media ${device['portrait-tablets']} {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.mobile-bottom-bar--active {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.e-button {
|
|
24
|
+
max-height: 2.8rem;
|
|
25
|
+
margin: 0 0.5rem;
|
|
26
|
+
width: 2.75rem;
|
|
27
|
+
min-width: 2.75rem;
|
|
28
|
+
padding: 0;
|
|
29
|
+
outline: none;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
background-color: var(--primary-main);
|
|
34
|
+
border-color: var(--primary-main);
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
svg {
|
|
41
|
+
width: 24px;
|
|
42
|
+
margin: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const MobileBottomBarStyled = styled.div`
|
|
5
5
|
background: var(--others-white);
|
|
6
6
|
position: fixed;
|
|
7
7
|
display: flex;
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
box-shadow: var(--box-shadow-container);
|
|
14
14
|
z-index: 1;
|
|
15
15
|
|
|
16
|
-
@
|
|
16
|
+
@media ${device['portrait-tablets']} {
|
|
17
17
|
display: none;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
.mobile-bottom-bar--active {
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
margin: 0;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
`
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
|
-
import classNames from 'classnames'
|
|
4
3
|
|
|
5
4
|
import { Button, SidemenuTab } from '../../atoms'
|
|
6
5
|
import { type MobileBottomBarProps } from './MobileBottomBarProps.types'
|
|
7
|
-
|
|
6
|
+
import { MobileBottomBarStyled } from './MobileBottomBar.styled'
|
|
8
7
|
|
|
9
|
-
const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list
|
|
8
|
+
const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list }) => {
|
|
10
9
|
if (children === undefined && list?.length === 0) return null
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
'mobile-bottom-bar--active': active
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
if (children !== undefined) return <div className={classnames}>{children}</div>
|
|
11
|
+
if (children !== undefined) return <MobileBottomBarStyled>{children}</MobileBottomBarStyled>
|
|
17
12
|
if (list === undefined) return null
|
|
18
13
|
|
|
19
14
|
return (
|
|
20
|
-
<
|
|
15
|
+
<MobileBottomBarStyled>
|
|
21
16
|
{list.map((tab, index) => {
|
|
22
17
|
if (tab.type === 'button') {
|
|
23
18
|
return (
|
|
@@ -28,7 +23,7 @@ const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list, active }) =
|
|
|
28
23
|
}
|
|
29
24
|
return <SidemenuTab key={index} mobile={true} {...tab} />
|
|
30
25
|
})}
|
|
31
|
-
</
|
|
26
|
+
</MobileBottomBarStyled>
|
|
32
27
|
)
|
|
33
28
|
}
|
|
34
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCardList } from '../../molecules';
|
|
3
|
-
|
|
3
|
+
import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled';
|
|
4
4
|
const StepsRatafiaContent = ({ title, steps }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(StepsRatafiaContentStyled, { children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(StepRatafiaCardList, { steps: steps })] }));
|
|
6
6
|
};
|
|
7
7
|
export default StepsRatafiaContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StepsRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -2,14 +2,14 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { StepRatafiaCardList } from '../../molecules'
|
|
4
4
|
import { type StepsRatafiaContentProps } from './StepsRatafiaContentProps.types'
|
|
5
|
-
|
|
5
|
+
import { StepsRatafiaContentStyled } from './StepsRatafiaContent.styled'
|
|
6
6
|
|
|
7
7
|
const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<StepsRatafiaContentStyled>
|
|
10
10
|
<h2 className='sans-serif --super-large --bold-weight steps-ratafia-content__title'>{title}</h2>
|
|
11
11
|
<StepRatafiaCardList steps={steps} />
|
|
12
|
-
</
|
|
12
|
+
</StepsRatafiaContentStyled>
|
|
13
13
|
)
|
|
14
14
|
}
|
|
15
15
|
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextInner } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
|
|
4
4
|
const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(TryOurFreeLegalBlogsContentStyled, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
|
|
6
6
|
};
|
|
7
7
|
export default TryOurFreeLegalBlogsContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TryOurFreeLegalBlogsContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TryOurFreeLegalBlogsContentStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
@media ${device['landscape-tablets']} {
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
}
|
|
9
|
+
.try-our-free-legal-blogs-section__texts {
|
|
10
|
+
flex-basis: 50%;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
margin-bottom: 1rem;
|
|
15
|
+
margin-right: 0;
|
|
16
|
+
color: var(--neutral-neutral-1);
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
letter-spacing: -0.3px;
|
|
20
|
+
|
|
21
|
+
@media ${device['landscape-tablets']} {
|
|
22
|
+
margin-right: 3rem;
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__title {
|
|
27
|
+
font-family: var(--font-serif);
|
|
28
|
+
font-size: 32px;
|
|
29
|
+
line-height: 42px;
|
|
30
|
+
margin-bottom: 2rem;
|
|
31
|
+
text-align: center;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
|
|
34
|
+
@media ${device['landscape-tablets']} {
|
|
35
|
+
text-align: left;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__body {
|
|
40
|
+
font-family: var(--font-sans);
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
line-height: 22px;
|
|
43
|
+
|
|
44
|
+
a {
|
|
45
|
+
color: var(--primary-main-light-1);
|
|
46
|
+
font-weight: 400 !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.try-our-free-legal-blogs-section__image {
|
|
52
|
+
flex-basis: 50%;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const TryOurFreeLegalBlogsContentStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
@media ${device['landscape-tablets']} {
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
}
|
|
10
|
+
.try-our-free-legal-blogs-section__texts {
|
|
11
|
+
flex-basis: 50%;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
margin-bottom: 1rem;
|
|
16
|
+
margin-right: 0;
|
|
17
|
+
color: var(--neutral-neutral-1);
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
letter-spacing: -0.3px;
|
|
21
|
+
|
|
22
|
+
@media ${device['landscape-tablets']} {
|
|
23
|
+
margin-right: 3rem;
|
|
24
|
+
margin-bottom: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__title {
|
|
28
|
+
font-family: var(--font-serif);
|
|
29
|
+
font-size: 32px;
|
|
30
|
+
line-height: 42px;
|
|
31
|
+
margin-bottom: 2rem;
|
|
32
|
+
text-align: center;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
|
|
35
|
+
@media ${device['landscape-tablets']} {
|
|
36
|
+
text-align: left;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__body {
|
|
41
|
+
font-family: var(--font-sans);
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
line-height: 22px;
|
|
44
|
+
|
|
45
|
+
a {
|
|
46
|
+
color: var(--primary-main-light-1);
|
|
47
|
+
font-weight: 400 !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.try-our-free-legal-blogs-section__image {
|
|
53
|
+
flex-basis: 50%;
|
|
54
|
+
}
|
|
55
|
+
`
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx
CHANGED
|
@@ -2,17 +2,17 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { RichTextInner } from '../../atoms'
|
|
4
4
|
import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
|
|
5
|
-
|
|
5
|
+
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
|
|
6
6
|
|
|
7
7
|
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
|
|
9
|
+
<TryOurFreeLegalBlogsContentStyled>
|
|
10
10
|
<div className='try-our-free-legal-blogs-section__texts'>
|
|
11
11
|
<h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
|
|
12
12
|
<RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
|
|
13
13
|
</div>
|
|
14
14
|
<div className='try-our-free-legal-blogs-section__image'>{image}</div>
|
|
15
|
-
|
|
15
|
+
</TryOurFreeLegalBlogsContentStyled>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const ErrorRatafiaPageStyled = styled.div `
|
|
3
4
|
display: flex;
|
|
@@ -17,7 +18,7 @@ export const ErrorRatafiaPageStyled = styled.div `
|
|
|
17
18
|
margin-bottom: 1rem;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
@
|
|
21
|
+
@media ${device['portrait-tablets']} {
|
|
21
22
|
display: inline-grid;
|
|
22
23
|
width: inherit;
|
|
23
24
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const ErrorRatafiaPageStyled = styled.div`
|
|
@@ -18,7 +19,7 @@ export const ErrorRatafiaPageStyled = styled.div`
|
|
|
18
19
|
margin-bottom: 1rem;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
@
|
|
22
|
+
@media ${device['portrait-tablets']} {
|
|
22
23
|
display: inline-grid;
|
|
23
24
|
width: inherit;
|
|
24
25
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const FaqsPageStyled = styled.div `
|
|
3
4
|
.titles {
|
|
@@ -8,7 +9,7 @@ export const FaqsPageStyled = styled.div `
|
|
|
8
9
|
gap: 8px;
|
|
9
10
|
background: var(--primary-main-light-6);
|
|
10
11
|
|
|
11
|
-
@
|
|
12
|
+
@media ${device['landscape-tablets']} {
|
|
12
13
|
padding: 40px 32px 80px 32px;
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -31,7 +32,7 @@ export const FaqsPageStyled = styled.div `
|
|
|
31
32
|
font-weight: 400;
|
|
32
33
|
letter-spacing: -0.3px;
|
|
33
34
|
|
|
34
|
-
@
|
|
35
|
+
@media ${device['landscape-tablets']} {
|
|
35
36
|
font-size: 48px;
|
|
36
37
|
line-height: 58px;
|
|
37
38
|
}
|
|
@@ -46,12 +47,12 @@ export const FaqsPageStyled = styled.div `
|
|
|
46
47
|
background: var(--primary-main-light-6);
|
|
47
48
|
justify-content: center;
|
|
48
49
|
|
|
49
|
-
@
|
|
50
|
+
@media ${device.mobile} {
|
|
50
51
|
flex-direction: column;
|
|
51
52
|
gap: calc(1rem * 3);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
@
|
|
55
|
+
@media ${device['landscape-tablets']} {
|
|
55
56
|
padding: 32px;
|
|
56
57
|
gap: 106px;
|
|
57
58
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const FaqsPageStyled = styled.div`
|
|
@@ -9,7 +10,7 @@ export const FaqsPageStyled = styled.div`
|
|
|
9
10
|
gap: 8px;
|
|
10
11
|
background: var(--primary-main-light-6);
|
|
11
12
|
|
|
12
|
-
@
|
|
13
|
+
@media ${device['landscape-tablets']} {
|
|
13
14
|
padding: 40px 32px 80px 32px;
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -32,7 +33,7 @@ export const FaqsPageStyled = styled.div`
|
|
|
32
33
|
font-weight: 400;
|
|
33
34
|
letter-spacing: -0.3px;
|
|
34
35
|
|
|
35
|
-
@
|
|
36
|
+
@media ${device['landscape-tablets']} {
|
|
36
37
|
font-size: 48px;
|
|
37
38
|
line-height: 58px;
|
|
38
39
|
}
|
|
@@ -47,12 +48,12 @@ export const FaqsPageStyled = styled.div`
|
|
|
47
48
|
background: var(--primary-main-light-6);
|
|
48
49
|
justify-content: center;
|
|
49
50
|
|
|
50
|
-
@
|
|
51
|
+
@media ${device.mobile} {
|
|
51
52
|
flex-direction: column;
|
|
52
53
|
gap: calc(1rem * 3);
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
@
|
|
56
|
+
@media ${device['landscape-tablets']} {
|
|
56
57
|
padding: 32px;
|
|
57
58
|
gap: 106px;
|
|
58
59
|
}
|
package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const KeyFactsResultRatafiaPageStyled = styled.div `
|
|
3
4
|
background-color: var(--neutral-neutral-6);
|
|
@@ -14,7 +15,7 @@ export const KeyFactsResultRatafiaPageStyled = styled.div `
|
|
|
14
15
|
align-self: start;
|
|
15
16
|
display: block;
|
|
16
17
|
width: 100%;
|
|
17
|
-
@
|
|
18
|
+
@media ${device['portrait-tablets']} {
|
|
18
19
|
display: inline-block;
|
|
19
20
|
}
|
|
20
21
|
}
|
package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.styled.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const KeyFactsResultRatafiaPageStyled = styled.div`
|
|
@@ -15,7 +16,7 @@ export const KeyFactsResultRatafiaPageStyled = styled.div`
|
|
|
15
16
|
align-self: start;
|
|
16
17
|
display: block;
|
|
17
18
|
width: 100%;
|
|
18
|
-
@
|
|
19
|
+
@media ${device['portrait-tablets']} {
|
|
19
20
|
display: inline-block;
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -18,27 +18,5 @@
|
|
|
18
18
|
@import 'tippy.js/dist/tippy.css';
|
|
19
19
|
@import '../components/atoms/Tooltip/Tooltip.scss';
|
|
20
20
|
|
|
21
|
-
@import '../components/organisms/AboutUsContent/AboutUsContent.scss';
|
|
22
|
-
@import '../components/organisms/Accordion/Accordion.scss';
|
|
23
|
-
@import '../components/organisms/ArticlesList/ArticlesList.scss';
|
|
24
|
-
@import '../components/organisms/AsSeeInContent/AsSeeInContent.scss';
|
|
25
|
-
@import '../components/organisms/CardFunctionality/CardFunctionality.scss';
|
|
26
|
-
@import '../components/organisms/ContactJumbotron/ContactJumbotron.scss';
|
|
27
|
-
@import '../components/organisms/CookiePolicyBar/CookiePolicyBar.scss';
|
|
28
|
-
@import '../components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss';
|
|
29
|
-
@import '../components/organisms/FaqGroup/FaqGroup.scss';
|
|
30
|
-
@import '../components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss';
|
|
31
|
-
@import '../components/organisms/GuidelinesContent/GuidelinesContent.scss';
|
|
32
|
-
@import '../components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss';
|
|
33
|
-
@import '../components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss';
|
|
34
|
-
@import '../components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss';
|
|
35
|
-
@import '../components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss';
|
|
36
|
-
@import '../components/organisms/LayoutRatafia/LayoutRatafia.scss';
|
|
37
|
-
@import '../components/organisms/ListStepsGetForm/ListStepsGetForm.scss';
|
|
38
|
-
@import '../components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss';
|
|
39
|
-
@import '../components/organisms/MobileBottomBar/MobileBottomBar.scss';
|
|
40
|
-
@import '../components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss';
|
|
41
|
-
@import '../components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss';
|
|
42
|
-
|
|
43
21
|
@import '../components/molecules/TextInput/TextInput.scss';
|
|
44
22
|
@import '../components/molecules/TooltipMenu/TooltipMenu.scss';
|