@npm_leadtech/legal-lib-components 7.7.3 → 7.8.2
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 +0 -2
- package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +4 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.js +4 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +4 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +0 -9
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.ts +0 -9
- package/dist/src/components/molecules/ContactInfo/ContactInfo.d.ts +3 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.js +4 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.d.ts +2 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +49 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +51 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.tsx +16 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.d.ts +5 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.js +1 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.ts +5 -0
- package/dist/src/components/molecules/ContactInfo/index.d.ts +2 -0
- package/dist/src/components/molecules/ContactInfo/index.js +1 -0
- package/dist/src/components/molecules/ContactInfo/index.ts +2 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.d.ts +3 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.js +3 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.d.ts +4 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.js +19 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.ts +23 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.tsx +18 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.d.ts +10 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.js +1 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.ts +11 -0
- package/dist/src/components/molecules/FooterMenu/index.d.ts +2 -0
- package/dist/src/components/molecules/FooterMenu/index.js +1 -0
- package/dist/src/components/molecules/FooterMenu/index.ts +2 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.d.ts +3 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.js +5 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.d.ts +1 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.js +5 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.ts +6 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinks.tsx +17 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.d.ts +8 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.js +1 -0
- package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.ts +9 -0
- package/dist/src/components/molecules/SocialLinks/index.d.ts +2 -0
- package/dist/src/components/molecules/SocialLinks/index.js +1 -0
- package/dist/src/components/molecules/SocialLinks/index.ts +2 -0
- package/dist/src/components/molecules/index.d.ts +3 -0
- package/dist/src/components/molecules/index.js +3 -0
- package/dist/src/components/molecules/index.ts +3 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.d.ts +3 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.js +7 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.d.ts +6 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.js +35 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.ts +41 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooter.tsx +44 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.d.ts +9 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.js +1 -0
- package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.ts +10 -0
- package/dist/src/components/organisms/BottomFooter/index.d.ts +2 -0
- package/dist/src/components/organisms/BottomFooter/index.js +1 -0
- package/dist/src/components/organisms/BottomFooter/index.ts +2 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +83 -35
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.ts +83 -35
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +28 -5
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +7 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +8 -1
- package/dist/src/components/organisms/TopFooter/TopFooter.d.ts +3 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.js +7 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.styled.d.ts +2 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.styled.js +30 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.styled.ts +32 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.tsx +20 -0
- package/dist/src/components/organisms/TopFooter/TopFooterProps.types.d.ts +7 -0
- package/dist/src/components/organisms/TopFooter/TopFooterProps.types.js +1 -0
- package/dist/src/components/organisms/TopFooter/TopFooterProps.types.ts +8 -0
- package/dist/src/components/organisms/TopFooter/index.d.ts +2 -0
- package/dist/src/components/organisms/TopFooter/index.js +1 -0
- package/dist/src/components/organisms/TopFooter/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +2 -0
- package/dist/src/components/organisms/index.js +2 -0
- package/dist/src/components/organisms/index.ts +2 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +2 -1
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +2 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +2 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +2 -1
- package/dist/src/components/sections/Footer/Footer.d.ts +3 -0
- package/dist/src/components/sections/Footer/Footer.js +7 -0
- package/dist/src/components/sections/Footer/Footer.mocks.d.ts +10 -0
- package/dist/src/components/sections/Footer/Footer.mocks.js +65 -0
- package/dist/src/components/sections/Footer/Footer.mocks.ts +77 -0
- package/dist/src/components/sections/Footer/Footer.styled.d.ts +1 -0
- package/dist/src/components/sections/Footer/Footer.styled.js +9 -0
- package/dist/src/components/sections/Footer/Footer.styled.ts +10 -0
- package/dist/src/components/sections/Footer/Footer.tsx +14 -0
- package/dist/src/components/sections/Footer/FooterProps.types.d.ts +6 -0
- package/dist/src/components/sections/Footer/FooterProps.types.js +1 -0
- package/dist/src/components/sections/Footer/FooterProps.types.ts +7 -0
- package/dist/src/components/sections/Footer/index.d.ts +2 -0
- package/dist/src/components/sections/Footer/index.js +1 -0
- package/dist/src/components/sections/Footer/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +1 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +5 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts +0 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +1 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.ts +1 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -1
- package/dist/src/components/sections/index.d.ts +2 -0
- package/dist/src/components/sections/index.js +2 -0
- package/dist/src/components/sections/index.ts +2 -0
- package/dist/src/globalStyles/themes.scss +0 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -1
package/dist/css/styles.css
CHANGED
|
@@ -228,8 +228,6 @@ html {
|
|
|
228
228
|
--snackbar-success-border: #34b2a7;
|
|
229
229
|
--snackbar-reminder-bg: #f2bd6a;
|
|
230
230
|
--snackbar-reminder-border: #cd9a4c;
|
|
231
|
-
}
|
|
232
|
-
html {
|
|
233
231
|
--primary-main-light-6: #eff7f5;
|
|
234
232
|
--primary-main-light-5: #e4f8f3;
|
|
235
233
|
--primary-main-light-4: #c0f7e8;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { FixedFooterProps } from './FixedFooterProps';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
|
|
5
|
+
* @deprecatedSince 7.8.0
|
|
6
|
+
*/
|
|
3
7
|
export declare const FixedFooter: React.FC<FixedFooterProps>;
|
|
@@ -12,6 +12,10 @@ import linkedin from '../../../../images/svg/linkedin.svg';
|
|
|
12
12
|
import pinterest from '../../../../images/svg/pinterest.svg';
|
|
13
13
|
import securityIconBlack from '../../../../images/svg/icon-24-px-security_black.svg';
|
|
14
14
|
import x from '../../../../images/svg/x.svg';
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
|
|
17
|
+
* @deprecatedSince 7.8.0
|
|
18
|
+
*/
|
|
15
19
|
export const FixedFooter = ({ footerData = {
|
|
16
20
|
findUs: 'Find Us'
|
|
17
21
|
}, config = {
|
|
@@ -14,6 +14,10 @@ import pinterest from '../../../../images/svg/pinterest.svg'
|
|
|
14
14
|
import securityIconBlack from '../../../../images/svg/icon-24-px-security_black.svg'
|
|
15
15
|
import x from '../../../../images/svg/x.svg'
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
|
|
19
|
+
* @deprecatedSince 7.8.0
|
|
20
|
+
*/
|
|
17
21
|
export const FixedFooter: React.FC<FixedFooterProps> = ({
|
|
18
22
|
footerData = {
|
|
19
23
|
findUs: 'Find Us'
|
|
@@ -25,10 +25,6 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
25
25
|
margin-left: 0.5rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
@media ${device.mobile} {
|
|
29
|
-
gap: 1rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
.category-icon svg {
|
|
33
29
|
fill: var(--primary-main-dark-1);
|
|
34
30
|
}
|
|
@@ -49,11 +45,6 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
49
45
|
line-height: 1.33;
|
|
50
46
|
margin-top: 0.3rem;
|
|
51
47
|
}
|
|
52
|
-
media ${device.mobile} {
|
|
53
|
-
strong {
|
|
54
|
-
font-size: 0.9rem;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
48
|
}
|
|
58
49
|
|
|
59
50
|
.icon-left svg {
|
|
@@ -26,10 +26,6 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
26
26
|
margin-left: 0.5rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@media ${device.mobile} {
|
|
30
|
-
gap: 1rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
29
|
.category-icon svg {
|
|
34
30
|
fill: var(--primary-main-dark-1);
|
|
35
31
|
}
|
|
@@ -50,11 +46,6 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
50
46
|
line-height: 1.33;
|
|
51
47
|
margin-top: 0.3rem;
|
|
52
48
|
}
|
|
53
|
-
media ${device.mobile} {
|
|
54
|
-
strong {
|
|
55
|
-
font-size: 0.9rem;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
49
|
}
|
|
59
50
|
|
|
60
51
|
.icon-left svg {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ContactInformation, PhoneButton } from './ContactInfo.styled';
|
|
3
|
+
import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon';
|
|
4
|
+
export const ContactInfo = ({ phoneNumber, schedule, languageSelector }) => (_jsxs(ContactInformation, { children: [Boolean(languageSelector) && _jsx("div", { className: 'language-selector-mobile-container', children: languageSelector }), _jsx("b", { className: 'sans-serif --extra-small --bold-weight site-phone', children: phoneNumber }), _jsxs(PhoneButton, { children: [_jsx(PhoneIcon, { fill: 'white', width: 20, height: 20 }), _jsx("span", { children: phoneNumber })] }), _jsx("span", { className: 'sans-serif --extra-small site-schedule', children: schedule })] }));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const ContactInformation: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const PhoneButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const ContactInformation = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
color: var(--neutral-neutral-6);
|
|
6
|
+
@media (max-width: 575px) {
|
|
7
|
+
width: 100%;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
.language-selector-mobile-container {
|
|
12
|
+
background-color: var(--primary-main-dark-1);
|
|
13
|
+
margin-bottom: 2rem;
|
|
14
|
+
width: 100%;
|
|
15
|
+
|
|
16
|
+
@media (min-width: 768px) {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.site-phone {
|
|
21
|
+
@media (max-width: 575px) {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.site-schedule {
|
|
26
|
+
@media (max-width: 575px) {
|
|
27
|
+
font-size: 1rem;
|
|
28
|
+
margin-top: 1rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
export const PhoneButton = styled.a `
|
|
33
|
+
@media (min-width: 575px) {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
width: 100%;
|
|
37
|
+
background-color: var(--primary-main);
|
|
38
|
+
padding: 0.7rem 1rem 0.7rem 1rem;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 0.5rem;
|
|
44
|
+
|
|
45
|
+
span {
|
|
46
|
+
color: var(--neutral-neutral-6);
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const ContactInformation = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
color: var(--neutral-neutral-6);
|
|
7
|
+
@media (max-width: 575px) {
|
|
8
|
+
width: 100%;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.language-selector-mobile-container {
|
|
13
|
+
background-color: var(--primary-main-dark-1);
|
|
14
|
+
margin-bottom: 2rem;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
@media (min-width: 768px) {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.site-phone {
|
|
22
|
+
@media (max-width: 575px) {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.site-schedule {
|
|
27
|
+
@media (max-width: 575px) {
|
|
28
|
+
font-size: 1rem;
|
|
29
|
+
margin-top: 1rem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`
|
|
33
|
+
|
|
34
|
+
export const PhoneButton = styled.a`
|
|
35
|
+
@media (min-width: 575px) {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
width: 100%;
|
|
39
|
+
background-color: var(--primary-main);
|
|
40
|
+
padding: 0.7rem 1rem 0.7rem 1rem;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 0.5rem;
|
|
46
|
+
|
|
47
|
+
span {
|
|
48
|
+
color: var(--neutral-neutral-6);
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
}
|
|
51
|
+
`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ContactInformation, PhoneButton } from './ContactInfo.styled'
|
|
2
|
+
import { ContactInfoProps } from './ContactInfoProps.types'
|
|
3
|
+
import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon'
|
|
4
|
+
import React from 'react'
|
|
5
|
+
|
|
6
|
+
export const ContactInfo: React.FC<ContactInfoProps> = ({ phoneNumber, schedule, languageSelector }) => (
|
|
7
|
+
<ContactInformation>
|
|
8
|
+
{Boolean(languageSelector) && <div className='language-selector-mobile-container'>{languageSelector}</div>}
|
|
9
|
+
<b className='sans-serif --extra-small --bold-weight site-phone'>{phoneNumber}</b>
|
|
10
|
+
<PhoneButton>
|
|
11
|
+
<PhoneIcon fill='white' width={20} height={20} />
|
|
12
|
+
<span>{phoneNumber}</span>
|
|
13
|
+
</PhoneButton>
|
|
14
|
+
<span className='sans-serif --extra-small site-schedule'>{schedule}</span>
|
|
15
|
+
</ContactInformation>
|
|
16
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContactInfo } from './ContactInfo';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FooterMenuList, FooterMenuStyled, FooterMenuTitle, FooterStyledLink } from './FooterMenu.styled';
|
|
3
|
+
export const FooterMenu = ({ title, links }) => (_jsxs(FooterMenuStyled, { children: [_jsx(FooterMenuTitle, { className: 'sans-serif --small --bold-weight', children: title }), _jsx(FooterMenuList, { children: links.map((link) => (_jsx("li", { children: _jsx(FooterStyledLink, { href: link.url, className: 'sans-serif --extra-small', "data-qa": link.dataQa, children: link.name }) }, link.url))) })] }));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const FooterMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const FooterMenuTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
3
|
+
export declare const FooterMenuList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
4
|
+
export declare const FooterStyledLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const FooterMenuStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 0.8rem;
|
|
6
|
+
color: var(--neutral-neutral-6);
|
|
7
|
+
`;
|
|
8
|
+
export const FooterMenuTitle = styled.p `
|
|
9
|
+
color: var(--primary-main-light-4);
|
|
10
|
+
`;
|
|
11
|
+
export const FooterMenuList = styled.ul `
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 0.6rem;
|
|
15
|
+
`;
|
|
16
|
+
export const FooterStyledLink = styled.a `
|
|
17
|
+
color: var(--neutral-neutral-6);
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
`;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const FooterMenuStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 0.8rem;
|
|
7
|
+
color: var(--neutral-neutral-6);
|
|
8
|
+
`
|
|
9
|
+
|
|
10
|
+
export const FooterMenuTitle = styled.p`
|
|
11
|
+
color: var(--primary-main-light-4);
|
|
12
|
+
`
|
|
13
|
+
|
|
14
|
+
export const FooterMenuList = styled.ul`
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
gap: 0.6rem;
|
|
18
|
+
`
|
|
19
|
+
|
|
20
|
+
export const FooterStyledLink = styled.a`
|
|
21
|
+
color: var(--neutral-neutral-6);
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
`
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FooterMenuList, FooterMenuStyled, FooterMenuTitle, FooterStyledLink } from './FooterMenu.styled'
|
|
2
|
+
import { FooterMenuProps } from './FooterMenuProps.types'
|
|
3
|
+
import React from 'react'
|
|
4
|
+
|
|
5
|
+
export const FooterMenu: React.FC<FooterMenuProps> = ({ title, links }) => (
|
|
6
|
+
<FooterMenuStyled>
|
|
7
|
+
<FooterMenuTitle className='sans-serif --small --bold-weight'>{title}</FooterMenuTitle>
|
|
8
|
+
<FooterMenuList>
|
|
9
|
+
{links.map((link) => (
|
|
10
|
+
<li key={link.url}>
|
|
11
|
+
<FooterStyledLink href={link.url} className='sans-serif --extra-small' data-qa={link.dataQa}>
|
|
12
|
+
{link.name}
|
|
13
|
+
</FooterStyledLink>
|
|
14
|
+
</li>
|
|
15
|
+
))}
|
|
16
|
+
</FooterMenuList>
|
|
17
|
+
</FooterMenuStyled>
|
|
18
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FooterMenu } from './FooterMenu';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { SocialList } from './SocialLinks.styled';
|
|
3
|
+
export const SocialLinks = ({ links }) => {
|
|
4
|
+
return (_jsx(SocialList, { children: links.map((social) => (_jsx("li", { children: _jsx("a", { href: social.url, rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: social.iconSrc, alt: social.alt, width: '20', height: '20' }) }) }, social.url))) }));
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SocialList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { SocialLinksProps } from './SocialLinksProps.types'
|
|
3
|
+
import { SocialList } from './SocialLinks.styled'
|
|
4
|
+
|
|
5
|
+
export const SocialLinks: React.FC<SocialLinksProps> = ({ links }) => {
|
|
6
|
+
return (
|
|
7
|
+
<SocialList>
|
|
8
|
+
{links.map((social) => (
|
|
9
|
+
<li key={social.url}>
|
|
10
|
+
<a href={social.url} rel='noopener noreferrer' target='_blank'>
|
|
11
|
+
<img src={social.iconSrc} alt={social.alt} width='20' height='20' />
|
|
12
|
+
</a>
|
|
13
|
+
</li>
|
|
14
|
+
))}
|
|
15
|
+
</SocialList>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SocialLinks } from './SocialLinks';
|
|
@@ -10,6 +10,7 @@ export * from './BoxForm';
|
|
|
10
10
|
export * from './Breadcrumb';
|
|
11
11
|
export * from './ContactBox';
|
|
12
12
|
export * from './ContactCardList';
|
|
13
|
+
export * from './ContactInfo';
|
|
13
14
|
export * from './ContinueEditingBanner';
|
|
14
15
|
export * from './CountDownMessage';
|
|
15
16
|
export * from './EmailContactBox';
|
|
@@ -17,6 +18,7 @@ export * from './ExpertCardList';
|
|
|
17
18
|
export * from './FaqItem';
|
|
18
19
|
export * from './FeatureRatafiaCardList';
|
|
19
20
|
export * from './Feedback';
|
|
21
|
+
export * from './FooterMenu';
|
|
20
22
|
export * from './FreeDocModalContent';
|
|
21
23
|
export * from './HeaderRatafia';
|
|
22
24
|
export * from './KeyFactCardListRatafia';
|
|
@@ -33,6 +35,7 @@ export * from './PopularDocs';
|
|
|
33
35
|
export * from './PricingCard';
|
|
34
36
|
export * from './RatafiaResultCardList';
|
|
35
37
|
export * from './RatafiaResultTabList';
|
|
38
|
+
export * from './SocialLinks';
|
|
36
39
|
export * from './SubscriptionCard';
|
|
37
40
|
export * from './Snackbar';
|
|
38
41
|
export * from './StepGetForm';
|
|
@@ -10,6 +10,7 @@ export * from './BoxForm';
|
|
|
10
10
|
export * from './Breadcrumb';
|
|
11
11
|
export * from './ContactBox';
|
|
12
12
|
export * from './ContactCardList';
|
|
13
|
+
export * from './ContactInfo';
|
|
13
14
|
export * from './ContinueEditingBanner';
|
|
14
15
|
export * from './CountDownMessage';
|
|
15
16
|
export * from './EmailContactBox';
|
|
@@ -17,6 +18,7 @@ export * from './ExpertCardList';
|
|
|
17
18
|
export * from './FaqItem';
|
|
18
19
|
export * from './FeatureRatafiaCardList';
|
|
19
20
|
export * from './Feedback';
|
|
21
|
+
export * from './FooterMenu';
|
|
20
22
|
export * from './FreeDocModalContent';
|
|
21
23
|
export * from './HeaderRatafia';
|
|
22
24
|
export * from './KeyFactCardListRatafia';
|
|
@@ -33,6 +35,7 @@ export * from './PopularDocs';
|
|
|
33
35
|
export * from './PricingCard';
|
|
34
36
|
export * from './RatafiaResultCardList';
|
|
35
37
|
export * from './RatafiaResultTabList';
|
|
38
|
+
export * from './SocialLinks';
|
|
36
39
|
export * from './SubscriptionCard';
|
|
37
40
|
export * from './Snackbar';
|
|
38
41
|
export * from './StepGetForm';
|
|
@@ -10,6 +10,7 @@ export * from './BoxForm'
|
|
|
10
10
|
export * from './Breadcrumb'
|
|
11
11
|
export * from './ContactBox'
|
|
12
12
|
export * from './ContactCardList'
|
|
13
|
+
export * from './ContactInfo'
|
|
13
14
|
export * from './ContinueEditingBanner'
|
|
14
15
|
export * from './CountDownMessage'
|
|
15
16
|
export * from './EmailContactBox'
|
|
@@ -17,6 +18,7 @@ export * from './ExpertCardList'
|
|
|
17
18
|
export * from './FaqItem'
|
|
18
19
|
export * from './FeatureRatafiaCardList'
|
|
19
20
|
export * from './Feedback'
|
|
21
|
+
export * from './FooterMenu'
|
|
20
22
|
export * from './FreeDocModalContent'
|
|
21
23
|
export * from './HeaderRatafia'
|
|
22
24
|
export * from './KeyFactCardListRatafia'
|
|
@@ -33,6 +35,7 @@ export * from './PopularDocs'
|
|
|
33
35
|
export * from './PricingCard'
|
|
34
36
|
export * from './RatafiaResultCardList'
|
|
35
37
|
export * from './RatafiaResultTabList'
|
|
38
|
+
export * from './SocialLinks'
|
|
36
39
|
export * from './SubscriptionCard'
|
|
37
40
|
export * from './Snackbar'
|
|
38
41
|
export * from './StepGetForm'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { BottomFooterStyled, BottomFooterText, BottomFooterWrapper, CompanyLink, CompanyList, LogoSocialsWrapper } from './BottomFooter.styled';
|
|
3
|
+
import { Logo } from '../../atoms/Logo/Logo';
|
|
4
|
+
import { SocialLinks } from '../../molecules/SocialLinks';
|
|
5
|
+
export const BottomFooter = ({ siteName, companyLinks, socialLinks, disclaimerText, copyrightText }) => {
|
|
6
|
+
return (_jsx(BottomFooterWrapper, { children: _jsxs(BottomFooterStyled, { children: [_jsxs(LogoSocialsWrapper, { className: 'footer__logo', children: [_jsx(Logo, { className: 'footer__lawdistrict', siteName: siteName, width: '138', height: '24', type: 'white' }), socialLinks && _jsx(SocialLinks, { links: socialLinks })] }), _jsx("div", { children: _jsx(CompanyList, { children: companyLinks?.map((link) => (_jsx("li", { children: _jsx(CompanyLink, { href: link.url, className: 'sans-serif --extra-small', "data-qa": link.dataQa, rel: link.rel, children: link.name }) }, link.url))) }) }), _jsx(BottomFooterText, { className: 'sans-serif --extra-small', children: disclaimerText }), _jsx(BottomFooterText, { className: 'sans-serif --extra-small', children: copyrightText })] }) }));
|
|
7
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const BottomFooterStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const BottomFooterWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const BottomFooterText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
4
|
+
export declare const LogoSocialsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const CompanyList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
6
|
+
export declare const CompanyLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const BottomFooterStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
padding: 1.5rem 1.5rem;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
width: 100%;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
max-width: 1200px;
|
|
9
|
+
`;
|
|
10
|
+
export const BottomFooterWrapper = styled.div `
|
|
11
|
+
width: 100%;
|
|
12
|
+
background-color: var(--neutral-main);
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
`;
|
|
17
|
+
export const BottomFooterText = styled.p `
|
|
18
|
+
color: var(--neutral-neutral-3);
|
|
19
|
+
`;
|
|
20
|
+
export const LogoSocialsWrapper = styled.div `
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
border-bottom: 1px solid var(--neutral-neutral-2);
|
|
24
|
+
padding-bottom: 1rem;
|
|
25
|
+
`;
|
|
26
|
+
export const CompanyList = styled.ul `
|
|
27
|
+
display: flex;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
gap: 1rem;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
`;
|
|
32
|
+
export const CompanyLink = styled.a `
|
|
33
|
+
color: var(--neutral-neutral-3);
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
`;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const BottomFooterStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
padding: 1.5rem 1.5rem;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
gap: 1rem;
|
|
9
|
+
max-width: 1200px;
|
|
10
|
+
`
|
|
11
|
+
|
|
12
|
+
export const BottomFooterWrapper = styled.div`
|
|
13
|
+
width: 100%;
|
|
14
|
+
background-color: var(--neutral-main);
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
`
|
|
19
|
+
|
|
20
|
+
export const BottomFooterText = styled.p`
|
|
21
|
+
color: var(--neutral-neutral-3);
|
|
22
|
+
`
|
|
23
|
+
|
|
24
|
+
export const LogoSocialsWrapper = styled.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
border-bottom: 1px solid var(--neutral-neutral-2);
|
|
28
|
+
padding-bottom: 1rem;
|
|
29
|
+
`
|
|
30
|
+
|
|
31
|
+
export const CompanyList = styled.ul`
|
|
32
|
+
display: flex;
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
gap: 1rem;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
`
|
|
37
|
+
|
|
38
|
+
export const CompanyLink = styled.a`
|
|
39
|
+
color: var(--neutral-neutral-3);
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
`
|