@npm_leadtech/legal-lib-components 5.9.4 → 5.9.5
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 +847 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +2 -2
- package/dist/src/components/organisms/AboutUsContent/{AboutUsContent.styled.ts → AboutUsContent.scss} +11 -13
- 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.scss +4 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +4 -3
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +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.scss +22 -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.ts → CardFunctionality.scss} +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.ts → ContactJumbotron.scss} +7 -6
- 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.scss +54 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +13 -11
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/{ErrorContentRatafia.styled.ts → ErrorContentRatafia.scss} +6 -7
- 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.ts → FaqGroup.scss} +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.ts → FeaturesRatafiaContent.scss} +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.ts → GuidelinesContent.scss} +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.ts → JumbotronRatafiaContent.scss} +7 -6
- 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.ts → KeyFactsLoadingContentRatafia.scss} +25 -24
- 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.scss +23 -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.js → LanguageSelectorMobile.scss} +6 -6
- 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.ts → LayoutRatafia.scss} +13 -12
- 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.ts → ListStepsGetForm.scss} +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.scss +16 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +3 -3
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +8 -4
- package/dist/src/components/organisms/MobileBottomBar/{MobileBottomBar.styled.ts → MobileBottomBar.scss} +6 -6
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +10 -5
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.d.ts +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +2 -2
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +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.tsx +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +6 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +8 -2
- package/dist/src/globalStyles/styles.scss +22 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +0 -59
- package/dist/src/components/organisms/Accordion/Accordion.styled.d.ts +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.styled.js +0 -5
- package/dist/src/components/organisms/Accordion/Accordion.styled.ts +0 -6
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.js +0 -11
- package/dist/src/components/organisms/ArticlesList/ArticlesList.styled.ts +0 -12
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.js +0 -22
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.styled.ts +0 -23
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.d.ts +0 -1
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +0 -60
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.d.ts +0 -1
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +0 -43
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.d.ts +0 -1
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +0 -54
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +0 -55
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.styled.js +0 -18
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.d.ts +0 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.styled.js +0 -21
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +0 -27
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +0 -138
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.styled.js +0 -26
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.styled.js +0 -144
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.js +0 -21
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.styled.ts +0 -22
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.d.ts +0 -5
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.styled.ts +0 -70
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.d.ts +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +0 -91
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.d.ts +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.styled.js +0 -34
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.js +0 -14
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.styled.ts +0 -15
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.styled.js +0 -45
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.js +0 -11
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.styled.ts +0 -12
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -49
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -50
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.homeSteps__container {
|
|
5
5
|
transform: translateY(0%);
|
|
6
|
-
@
|
|
6
|
+
@include portrait-tablets {
|
|
7
7
|
transform: translateY(0%);
|
|
8
8
|
}
|
|
9
|
-
@
|
|
9
|
+
@include landscape-tablets {
|
|
10
10
|
transform: translateY(0%);
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -26,10 +26,10 @@ export const ListStepsGetFormStyled = styled.div`
|
|
|
26
26
|
flex-flow: row wrap;
|
|
27
27
|
padding: 0 1rem;
|
|
28
28
|
|
|
29
|
-
@
|
|
29
|
+
@include laptop {
|
|
30
30
|
flex-flow: row nowrap;
|
|
31
31
|
padding: 0;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type ListStepsGetFormProps } from './ListStepsGetFormProps.types'
|
|
4
|
-
import { ListStepsGetFormStyled } from './ListStepsGetForm.styled'
|
|
5
4
|
import { StepGetForm } from '../../molecules'
|
|
5
|
+
// import './ListStepsGetForm.scss'
|
|
6
6
|
|
|
7
7
|
const ListStepsGetForm: FC<ListStepsGetFormProps> = ({ steps = [] }) => {
|
|
8
8
|
if (steps.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<div className='homeSteps__container'>
|
|
12
12
|
<div className='homeSteps wrapper'>
|
|
13
13
|
<div className='homeStepsItemsContainer'>
|
|
14
14
|
{steps.map((step) => (
|
|
@@ -16,7 +16,7 @@ const ListStepsGetForm: FC<ListStepsGetFormProps> = ({ steps = [] }) => {
|
|
|
16
16
|
))}
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
|
-
</
|
|
19
|
+
</div>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { LoginRatafiaContentStyled } from './LoginRatafiaContent.styled';
|
|
3
2
|
import { TextInput } from '../../molecules';
|
|
3
|
+
// import './LoginRatafiaContent.scss'
|
|
4
4
|
const LoginRatafiaContent = ({ title, email }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'login-ratafia-content', children: [_jsx("h2", { className: 'login-ratafia-content__title', children: title }), _jsx("div", { className: 'login-ratafia-content__email', children: _jsx(TextInput, { ...email }) })] }));
|
|
6
6
|
};
|
|
7
7
|
export default LoginRatafiaContent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries';
|
|
3
|
+
|
|
4
|
+
.login-ratafia-content {
|
|
5
|
+
width: 100%;
|
|
6
|
+
&__title {
|
|
7
|
+
font-size: 1rem;
|
|
8
|
+
color: var(--neutral-neutral-2);
|
|
9
|
+
padding-bottom: 1rem;
|
|
10
|
+
}
|
|
11
|
+
&__email {
|
|
12
|
+
.e-text {
|
|
13
|
+
margin-bottom: 0.5rem;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type LoginRatafiaContentProps } from './LoginRatafiaContentProps.types'
|
|
4
|
-
import { LoginRatafiaContentStyled } from './LoginRatafiaContent.styled'
|
|
5
4
|
import { TextInput } from '../../molecules'
|
|
5
|
+
// import './LoginRatafiaContent.scss'
|
|
6
6
|
|
|
7
7
|
const LoginRatafiaContent: FC<LoginRatafiaContentProps> = ({ title, email }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div className='login-ratafia-content'>
|
|
10
10
|
<h2 className='login-ratafia-content__title'>{title}</h2>
|
|
11
11
|
<div className='login-ratafia-content__email'>
|
|
12
12
|
<TextInput {...email} />
|
|
13
13
|
</div>
|
|
14
|
-
</
|
|
14
|
+
</div>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
2
3
|
import { Button, SidemenuTab } from '../../atoms';
|
|
3
|
-
import
|
|
4
|
-
const MobileBottomBar = ({ children, list }) => {
|
|
4
|
+
// import './MobileBottomBar.scss'
|
|
5
|
+
const MobileBottomBar = ({ children, list, active }) => {
|
|
5
6
|
if (children === undefined && list?.length === 0)
|
|
6
7
|
return null;
|
|
8
|
+
const classnames = classNames('mobile-bottom-bar', {
|
|
9
|
+
'mobile-bottom-bar--active': active
|
|
10
|
+
});
|
|
7
11
|
if (children !== undefined)
|
|
8
|
-
return _jsx(
|
|
12
|
+
return _jsx("div", { className: classnames, children: children });
|
|
9
13
|
if (list === undefined)
|
|
10
14
|
return null;
|
|
11
|
-
return (_jsx(
|
|
15
|
+
return (_jsx("div", { className: classnames, children: list.map((tab, index) => {
|
|
12
16
|
if (tab.type === 'button') {
|
|
13
17
|
return (_jsx(Button, { noLink: true, color: 'primary', ...tab, children: tab.image }, index));
|
|
14
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.mobile-bottom-bar {
|
|
5
5
|
background: var(--others-white);
|
|
6
6
|
position: fixed;
|
|
7
7
|
display: flex;
|
|
@@ -13,11 +13,11 @@ export const MobileBottomBarStyled = styled.div`
|
|
|
13
13
|
box-shadow: var(--box-shadow-container);
|
|
14
14
|
z-index: 1;
|
|
15
15
|
|
|
16
|
-
@
|
|
16
|
+
@include portrait-tablets {
|
|
17
17
|
display: none;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
&--active {
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -43,4 +43,4 @@ export const MobileBottomBarStyled = styled.div`
|
|
|
43
43
|
margin: 0;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
}
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
|
+
import classNames from 'classnames'
|
|
3
4
|
|
|
4
5
|
import { Button, SidemenuTab } from '../../atoms'
|
|
5
6
|
import { type MobileBottomBarProps } from './MobileBottomBarProps.types'
|
|
6
|
-
import
|
|
7
|
+
// import './MobileBottomBar.scss'
|
|
7
8
|
|
|
8
|
-
const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list }) => {
|
|
9
|
+
const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list, active }) => {
|
|
9
10
|
if (children === undefined && list?.length === 0) return null
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
const classnames = classNames('mobile-bottom-bar', {
|
|
13
|
+
'mobile-bottom-bar--active': active
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
if (children !== undefined) return <div className={classnames}>{children}</div>
|
|
12
17
|
if (list === undefined) return null
|
|
13
18
|
|
|
14
19
|
return (
|
|
15
|
-
<
|
|
20
|
+
<div className={classnames}>
|
|
16
21
|
{list.map((tab, index) => {
|
|
17
22
|
if (tab.type === 'button') {
|
|
18
23
|
return (
|
|
@@ -23,7 +28,7 @@ const MobileBottomBar: FC<MobileBottomBarProps> = ({ children, list }) => {
|
|
|
23
28
|
}
|
|
24
29
|
return <SidemenuTab key={index} mobile={true} {...tab} />
|
|
25
30
|
})}
|
|
26
|
-
</
|
|
31
|
+
</div>
|
|
27
32
|
)
|
|
28
33
|
}
|
|
29
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCardList } from '../../molecules';
|
|
3
|
-
import
|
|
3
|
+
// import './StepsRatafiaContent.scss'
|
|
4
4
|
const StepsRatafiaContent = ({ title, steps }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'steps-ratafia-content', 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;
|
|
@@ -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
|
-
import
|
|
5
|
+
// import './StepsRatafiaContent.scss'
|
|
6
6
|
|
|
7
7
|
const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div className='steps-ratafia-content'>
|
|
10
10
|
<h2 className='sans-serif --super-large --bold-weight steps-ratafia-content__title'>{title}</h2>
|
|
11
11
|
<StepRatafiaCardList steps={steps} />
|
|
12
|
-
</
|
|
12
|
+
</div>
|
|
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 } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextInner } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './TryOurFreeLegalBlogsContent.scss'
|
|
4
4
|
const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(_Fragment, { 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;
|
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
|
-
import
|
|
5
|
+
// import './TryOurFreeLegalBlogsContent.scss'
|
|
6
6
|
|
|
7
7
|
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
|
|
8
8
|
return (
|
|
9
|
-
|
|
9
|
+
<>
|
|
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
|
+
</>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useState } from 'react';
|
|
2
3
|
import { Button } from '../../atoms/Button';
|
|
3
4
|
import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems';
|
|
4
5
|
import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled';
|
|
5
6
|
export const WhyLawDistrictSection = ({ title, items, userActive, link }) => {
|
|
6
7
|
if (items.length === 0)
|
|
7
8
|
return null;
|
|
8
|
-
|
|
9
|
+
const [isUserActive, setIsUserActive] = useState(false);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
setIsUserActive(userActive);
|
|
12
|
+
}, [userActive]);
|
|
13
|
+
return (_jsxs(WhyLawDistrictSectionStyled, { className: 'whyLawDistrictSection', children: [_jsx("h2", { className: 'why-lawDistrict__title serif --hero', children: title }), _jsx(WhyLawDistrictItems, { items: items }), !isUserActive && (_jsx(Button, { givenClass: 'whyLawDistrictSection__button', label: link.cta, link: link.url, onClick: link.onClick, dataQa: link.dataQa, isExternal: true, hasNoFollow: true }))] }));
|
|
9
14
|
};
|
|
10
15
|
export default WhyLawDistrictSection;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react'
|
|
1
|
+
import React, { useEffect, useState } from 'react'
|
|
2
2
|
|
|
3
3
|
import { Button } from '../../atoms/Button'
|
|
4
4
|
import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems'
|
|
@@ -8,12 +8,18 @@ import { WhyLawDistrictSectionStyled } from './WhyLawDistrictSection.styled'
|
|
|
8
8
|
export const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps> = ({ title, items, userActive, link }) => {
|
|
9
9
|
if (items.length === 0) return null
|
|
10
10
|
|
|
11
|
+
const [isUserActive, setIsUserActive] = useState(false)
|
|
12
|
+
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
setIsUserActive(userActive)
|
|
15
|
+
}, [userActive])
|
|
16
|
+
|
|
11
17
|
return (
|
|
12
18
|
<WhyLawDistrictSectionStyled className={'whyLawDistrictSection'}>
|
|
13
19
|
<h2 className={'why-lawDistrict__title serif --hero'}>{title}</h2>
|
|
14
20
|
<WhyLawDistrictItems items={items} />
|
|
15
21
|
|
|
16
|
-
{!
|
|
22
|
+
{!isUserActive && (
|
|
17
23
|
<Button
|
|
18
24
|
givenClass='whyLawDistrictSection__button'
|
|
19
25
|
label={link.cta}
|
|
@@ -18,5 +18,27 @@
|
|
|
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
|
+
|
|
21
43
|
@import '../components/molecules/TextInput/TextInput.scss';
|
|
22
44
|
@import '../components/molecules/TooltipMenu/TooltipMenu.scss';
|