@npm_leadtech/legal-lib-components 5.64.14 → 5.64.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/images/componentsSvg/flags/CAFlag.d.ts +2 -0
- package/dist/images/componentsSvg/flags/CAFlag.js +4 -0
- package/dist/images/componentsSvg/flags/CAFlag.tsx +34 -0
- package/dist/images/componentsSvg/flags/DEFlag.d.ts +2 -0
- package/dist/images/componentsSvg/flags/DEFlag.js +4 -0
- package/dist/images/componentsSvg/flags/DEFlag.tsx +20 -0
- package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
- package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +4 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +6 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +91 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +92 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +23 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +5 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.js +1 -0
- package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +5 -0
- package/dist/src/components/atoms/CardStoryItem/index.d.ts +2 -0
- package/dist/src/components/atoms/CardStoryItem/index.js +1 -0
- package/dist/src/components/atoms/CardStoryItem/index.ts +2 -0
- package/dist/src/components/molecules/CardStory/CardStory.d.ts +4 -0
- package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
- package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
- package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +1 -0
- package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
- package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
- package/dist/src/components/molecules/CardStory/index.js +1 -0
- package/dist/src/components/molecules/CardStory/index.ts +2 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +2 -4
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts +2 -4
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.js +5 -1
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +5 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.js +1 -2
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.styled.ts +1 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
- package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +1 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
- package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +1 -0
- package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
- package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
- package/dist/src/components/sections/CardStorySection/index.js +1 -0
- package/dist/src/components/sections/CardStorySection/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
- package/dist/src/components/sections/index.d.ts +1 -0
- package/dist/src/components/sections/index.js +1 -0
- package/dist/src/components/sections/index.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const CAFlag = () => {
|
|
3
|
+
return (_jsxs("svg", { width: '21', height: '16', viewBox: '0 0 21 16', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: [_jsxs("g", { id: 'Flag', children: [_jsxs("g", { clipPath: 'url(#clip0_1667_1471)', children: [_jsx("mask", { id: 'path-1-inside-1_1667_1471', fill: 'white', children: _jsx("path", { d: 'M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z' }) }), _jsx("path", { id: 'Vector', d: 'M4.92516 0.5H16.0716V15.5H4.92188L4.92516 0.5Z', fill: 'white' }), _jsx("path", { id: 'Vector_2', d: 'M-0.646484 0.5H4.92508V15.5H-0.646484V0.5ZM16.0715 0.5H21.643V15.5H16.0748L16.0715 0.5ZM6.59523 7.75L6.15883 7.8875L8.17352 9.575C8.32774 10.0031 8.12102 10.1312 7.98977 10.3562L10.1751 10.0938L10.1226 12.1875L10.5787 12.1781L10.477 10.0969L12.6655 10.3469C12.531 10.075 12.4096 9.93125 12.5343 9.49687L14.5457 7.90312L14.1946 7.77812C13.9059 7.56562 14.3193 6.75938 14.3784 6.25C14.3784 6.25 13.207 6.63438 13.1315 6.43125L12.8296 5.88438L11.7599 7.00313C11.6451 7.03125 11.5959 6.9875 11.5663 6.89375L12.0585 4.55625L11.2776 4.975C11.2076 5.00208 11.1507 4.97917 11.107 4.90625L10.3523 3.46875L9.57789 4.9625C9.51664 5.01458 9.46195 5.02187 9.41383 4.98438L8.66242 4.5875L9.11195 6.90312C9.07586 6.99687 8.99055 7.02188 8.89211 6.97188L7.86836 5.86875C7.73711 6.07188 7.64524 6.40313 7.46805 6.47813C7.29086 6.55312 6.69695 6.3375 6.29992 6.25938C6.43773 6.72188 6.85773 7.49687 6.59523 7.75Z', fill: '#D52B1E' })] }), _jsx("path", { d: 'M0 2.5C0 1.28497 0.984974 0.3 2.2 0.3H18.8C20.015 0.3 21 1.28497 21 2.5C21 1.50589 20.1046 0.7 19 0.7H2C0.895431 0.7 0 1.50589 0 2.5ZM21 13.5C21 14.715 20.015 15.7 18.8 15.7H2.2C0.984974 15.7 0 14.715 0 13.5C0 14.4941 0.895431 15.3 2 15.3H19C20.1046 15.3 21 14.4941 21 13.5ZM0 15.5V0.5V15.5ZM21 0.5V15.5V0.5Z', fill: '#DBE1E5', mask: 'url(#path-1-inside-1_1667_1471)' })] }), _jsx("defs", { children: _jsx("clipPath", { id: 'clip0_1667_1471', children: _jsx("path", { d: 'M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z', fill: 'white' }) }) })] }));
|
|
4
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
export const CAFlag: React.FC = () => {
|
|
4
|
+
return (
|
|
5
|
+
<svg width='21' height='16' viewBox='0 0 21 16' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<g id='Flag'>
|
|
7
|
+
<g clipPath='url(#clip0_1667_1471)'>
|
|
8
|
+
<mask id='path-1-inside-1_1667_1471' fill='white'>
|
|
9
|
+
<path d='M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z' />
|
|
10
|
+
</mask>
|
|
11
|
+
<path id='Vector' d='M4.92516 0.5H16.0716V15.5H4.92188L4.92516 0.5Z' fill='white' />
|
|
12
|
+
<path
|
|
13
|
+
id='Vector_2'
|
|
14
|
+
d='M-0.646484 0.5H4.92508V15.5H-0.646484V0.5ZM16.0715 0.5H21.643V15.5H16.0748L16.0715 0.5ZM6.59523 7.75L6.15883 7.8875L8.17352 9.575C8.32774 10.0031 8.12102 10.1312 7.98977 10.3562L10.1751 10.0938L10.1226 12.1875L10.5787 12.1781L10.477 10.0969L12.6655 10.3469C12.531 10.075 12.4096 9.93125 12.5343 9.49687L14.5457 7.90312L14.1946 7.77812C13.9059 7.56562 14.3193 6.75938 14.3784 6.25C14.3784 6.25 13.207 6.63438 13.1315 6.43125L12.8296 5.88438L11.7599 7.00313C11.6451 7.03125 11.5959 6.9875 11.5663 6.89375L12.0585 4.55625L11.2776 4.975C11.2076 5.00208 11.1507 4.97917 11.107 4.90625L10.3523 3.46875L9.57789 4.9625C9.51664 5.01458 9.46195 5.02187 9.41383 4.98438L8.66242 4.5875L9.11195 6.90312C9.07586 6.99687 8.99055 7.02188 8.89211 6.97188L7.86836 5.86875C7.73711 6.07188 7.64524 6.40313 7.46805 6.47813C7.29086 6.55312 6.69695 6.3375 6.29992 6.25938C6.43773 6.72188 6.85773 7.49687 6.59523 7.75Z'
|
|
15
|
+
fill='#D52B1E'
|
|
16
|
+
/>
|
|
17
|
+
</g>
|
|
18
|
+
<path
|
|
19
|
+
d='M0 2.5C0 1.28497 0.984974 0.3 2.2 0.3H18.8C20.015 0.3 21 1.28497 21 2.5C21 1.50589 20.1046 0.7 19 0.7H2C0.895431 0.7 0 1.50589 0 2.5ZM21 13.5C21 14.715 20.015 15.7 18.8 15.7H2.2C0.984974 15.7 0 14.715 0 13.5C0 14.4941 0.895431 15.3 2 15.3H19C20.1046 15.3 21 14.4941 21 13.5ZM0 15.5V0.5V15.5ZM21 0.5V15.5V0.5Z'
|
|
20
|
+
fill='#DBE1E5'
|
|
21
|
+
mask='url(#path-1-inside-1_1667_1471)'
|
|
22
|
+
/>
|
|
23
|
+
</g>
|
|
24
|
+
<defs>
|
|
25
|
+
<clipPath id='clip0_1667_1471'>
|
|
26
|
+
<path
|
|
27
|
+
d='M0 2.5C0 1.39543 0.895431 0.5 2 0.5H19C20.1046 0.5 21 1.39543 21 2.5V13.5C21 14.6046 20.1046 15.5 19 15.5H2C0.89543 15.5 0 14.6046 0 13.5V2.5Z'
|
|
28
|
+
fill='white'
|
|
29
|
+
/>
|
|
30
|
+
</clipPath>
|
|
31
|
+
</defs>
|
|
32
|
+
</svg>
|
|
33
|
+
)
|
|
34
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const DEFlag = () => {
|
|
3
|
+
return (_jsxs("svg", { width: '21', height: '16', viewBox: '0 0 21 16', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: [_jsx("g", { id: 'Flag', children: _jsxs("g", { clipPath: 'url(#clip0_1607_4659)', children: [_jsx("path", { id: 'Vector', d: 'M0 10.5H21V15.5H0V10.5Z', fill: '#FFCC00' }), _jsx("path", { id: 'Vector_2', d: 'M0 0.5H21V5.5H0V0.5Z', fill: '#000001' }), _jsx("path", { id: 'Vector_3', d: 'M0 5.5H21V10.5H0V5.5Z', fill: '#FF0000' })] }) }), _jsx("defs", { children: _jsx("clipPath", { id: 'clip0_1607_4659', children: _jsx("rect", { y: '0.5', width: '21', height: '15', rx: '2', fill: 'white' }) }) })] }));
|
|
4
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
export const DEFlag: React.FC = () => {
|
|
4
|
+
return (
|
|
5
|
+
<svg width='21' height='16' viewBox='0 0 21 16' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
6
|
+
<g id='Flag'>
|
|
7
|
+
<g clipPath='url(#clip0_1607_4659)'>
|
|
8
|
+
<path id='Vector' d='M0 10.5H21V15.5H0V10.5Z' fill='#FFCC00' />
|
|
9
|
+
<path id='Vector_2' d='M0 0.5H21V5.5H0V0.5Z' fill='#000001' />
|
|
10
|
+
<path id='Vector_3' d='M0 5.5H21V10.5H0V5.5Z' fill='#FF0000' />
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id='clip0_1607_4659'>
|
|
15
|
+
<rect y='0.5' width='21' height='15' rx='2' fill='white' />
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CardStoryItemStyled } from './CardStoryItem.styled';
|
|
3
|
+
const CardStoryItem = ({ image, title, text }) => {
|
|
4
|
+
return (_jsxs(CardStoryItemStyled, { className: 'card-story-item', children: [_jsx("span", { className: 'card-story-item__bullet' }), _jsx("div", { className: 'card-story-item__image', children: _jsx("div", { className: 'card-story-item__image__content', children: _jsx("img", { className: 'card-story-item__image__item', src: image, alt: '', role: 'img', width: '24', height: '24' }) }) }), _jsxs("div", { className: 'card-story-item__content', children: [_jsx("p", { className: 'card-story-item__content__title', children: title }), _jsx("div", { className: 'card-story-item__content__text', children: text })] })] }));
|
|
5
|
+
};
|
|
6
|
+
export default CardStoryItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CardStoryItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const CardStoryItemStyled = styled.li `
|
|
4
|
+
position: relative;
|
|
5
|
+
background: var(--neutral-neutral-6);
|
|
6
|
+
padding: 1.5rem;
|
|
7
|
+
border-radius: var(--l-border-radius);
|
|
8
|
+
margin-top: 16px;
|
|
9
|
+
list-style-type: none;
|
|
10
|
+
|
|
11
|
+
&:first-child {
|
|
12
|
+
margin-top: 0;
|
|
13
|
+
|
|
14
|
+
&:after {
|
|
15
|
+
content: '';
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
bottom: calc(50% + 5px);
|
|
19
|
+
left: -26px;
|
|
20
|
+
width: 10px;
|
|
21
|
+
background: var(--others-white);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:last-child:before {
|
|
26
|
+
content: '';
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: calc(50% + 5px);
|
|
29
|
+
bottom: 0;
|
|
30
|
+
left: -26px;
|
|
31
|
+
width: 10px;
|
|
32
|
+
background: var(--others-white);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.card-story-item {
|
|
36
|
+
&__bullet {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: calc(50% - 5px);
|
|
39
|
+
left: -26px;
|
|
40
|
+
width: 10px;
|
|
41
|
+
height: 10px;
|
|
42
|
+
background-color: #333;
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
}
|
|
45
|
+
&__image {
|
|
46
|
+
&__content {
|
|
47
|
+
border-radius: var(--m-border-radius);
|
|
48
|
+
background: var(--neutral-neutral-4);
|
|
49
|
+
padding: 8px;
|
|
50
|
+
width: 40px;
|
|
51
|
+
}
|
|
52
|
+
&__item {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&__content {
|
|
57
|
+
&__title {
|
|
58
|
+
margin-top: 1rem;
|
|
59
|
+
font-family: var(--font-sans);
|
|
60
|
+
font-size: 1.15rem;
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
color: var(--neutral-neutral-1);
|
|
63
|
+
}
|
|
64
|
+
&__text {
|
|
65
|
+
font-family: var(--font-sans);
|
|
66
|
+
margin-top: 0.5rem;
|
|
67
|
+
font-weight: 400;
|
|
68
|
+
font-size: 1rem;
|
|
69
|
+
color: var(--neutral-neutral-1);
|
|
70
|
+
|
|
71
|
+
.m-richText p:last-child {
|
|
72
|
+
margin-bottom: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media ${device['landscape-tablets']} {
|
|
79
|
+
display: flex;
|
|
80
|
+
.card-story-item {
|
|
81
|
+
&__content {
|
|
82
|
+
flex: 1;
|
|
83
|
+
padding-left: 1rem;
|
|
84
|
+
|
|
85
|
+
&__title {
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
`;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const CardStoryItemStyled = styled.li`
|
|
5
|
+
position: relative;
|
|
6
|
+
background: var(--neutral-neutral-6);
|
|
7
|
+
padding: 1.5rem;
|
|
8
|
+
border-radius: var(--l-border-radius);
|
|
9
|
+
margin-top: 16px;
|
|
10
|
+
list-style-type: none;
|
|
11
|
+
|
|
12
|
+
&:first-child {
|
|
13
|
+
margin-top: 0;
|
|
14
|
+
|
|
15
|
+
&:after {
|
|
16
|
+
content: '';
|
|
17
|
+
position: absolute;
|
|
18
|
+
top: 0;
|
|
19
|
+
bottom: calc(50% + 5px);
|
|
20
|
+
left: -26px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
background: var(--others-white);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:last-child:before {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: calc(50% + 5px);
|
|
30
|
+
bottom: 0;
|
|
31
|
+
left: -26px;
|
|
32
|
+
width: 10px;
|
|
33
|
+
background: var(--others-white);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.card-story-item {
|
|
37
|
+
&__bullet {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: calc(50% - 5px);
|
|
40
|
+
left: -26px;
|
|
41
|
+
width: 10px;
|
|
42
|
+
height: 10px;
|
|
43
|
+
background-color: #333;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
}
|
|
46
|
+
&__image {
|
|
47
|
+
&__content {
|
|
48
|
+
border-radius: var(--m-border-radius);
|
|
49
|
+
background: var(--neutral-neutral-4);
|
|
50
|
+
padding: 8px;
|
|
51
|
+
width: 40px;
|
|
52
|
+
}
|
|
53
|
+
&__item {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&__content {
|
|
58
|
+
&__title {
|
|
59
|
+
margin-top: 1rem;
|
|
60
|
+
font-family: var(--font-sans);
|
|
61
|
+
font-size: 1.15rem;
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
color: var(--neutral-neutral-1);
|
|
64
|
+
}
|
|
65
|
+
&__text {
|
|
66
|
+
font-family: var(--font-sans);
|
|
67
|
+
margin-top: 0.5rem;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-size: 1rem;
|
|
70
|
+
color: var(--neutral-neutral-1);
|
|
71
|
+
|
|
72
|
+
.m-richText p:last-child {
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media ${device['landscape-tablets']} {
|
|
80
|
+
display: flex;
|
|
81
|
+
.card-story-item {
|
|
82
|
+
&__content {
|
|
83
|
+
flex: 1;
|
|
84
|
+
padding-left: 1rem;
|
|
85
|
+
|
|
86
|
+
&__title {
|
|
87
|
+
margin-top: 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { type CardStoryItemProps } from './CardStoryItemProps.types'
|
|
4
|
+
import { CardStoryItemStyled } from './CardStoryItem.styled'
|
|
5
|
+
|
|
6
|
+
const CardStoryItem: FC<CardStoryItemProps> = ({ image, title, text }) => {
|
|
7
|
+
return (
|
|
8
|
+
<CardStoryItemStyled className='card-story-item'>
|
|
9
|
+
<span className='card-story-item__bullet'></span>
|
|
10
|
+
<div className='card-story-item__image'>
|
|
11
|
+
<div className='card-story-item__image__content'>
|
|
12
|
+
<img className='card-story-item__image__item' src={image} alt='' role='img' width='24' height='24'></img>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div className='card-story-item__content'>
|
|
16
|
+
<p className='card-story-item__content__title'>{title}</p>
|
|
17
|
+
<div className='card-story-item__content__text'>{text}</div>
|
|
18
|
+
</div>
|
|
19
|
+
</CardStoryItemStyled>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export default CardStoryItem
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CardStoryItem } from './CardStoryItem';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { CardStoryItem } from '../../atoms/CardStoryItem';
|
|
3
|
+
import { CardStoryStyled } from './CardStory.styled';
|
|
4
|
+
const CardStory = ({ cardStoryItems }) => {
|
|
5
|
+
return (_jsx(CardStoryStyled, { className: 'card-story', children: cardStoryItems.map((item) => (_jsx(CardStoryItem, { ...item }, item.title))) }));
|
|
6
|
+
};
|
|
7
|
+
export default CardStory;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CardStoryStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const CardStoryStyled = styled.ul `
|
|
3
|
+
position: relative;
|
|
4
|
+
padding-left: 26px;
|
|
5
|
+
|
|
6
|
+
&:before {
|
|
7
|
+
content: '';
|
|
8
|
+
position: absolute;
|
|
9
|
+
left: 4px;
|
|
10
|
+
top: 0px;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
background-image: repeating-linear-gradient(
|
|
13
|
+
180deg,
|
|
14
|
+
var(--neutral-neutral-3),
|
|
15
|
+
var(--neutral-neutral-3) 11px,
|
|
16
|
+
transparent 11px,
|
|
17
|
+
transparent 18px
|
|
18
|
+
);
|
|
19
|
+
background-position: left -4px;
|
|
20
|
+
background-repeat: repeat-y;
|
|
21
|
+
background-size: 2px 100%;
|
|
22
|
+
width: 2px;
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const CardStoryStyled = styled.ul`
|
|
4
|
+
position: relative;
|
|
5
|
+
padding-left: 26px;
|
|
6
|
+
|
|
7
|
+
&:before {
|
|
8
|
+
content: '';
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 4px;
|
|
11
|
+
top: 0px;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
background-image: repeating-linear-gradient(
|
|
14
|
+
180deg,
|
|
15
|
+
var(--neutral-neutral-3),
|
|
16
|
+
var(--neutral-neutral-3) 11px,
|
|
17
|
+
transparent 11px,
|
|
18
|
+
transparent 18px
|
|
19
|
+
);
|
|
20
|
+
background-position: left -4px;
|
|
21
|
+
background-repeat: repeat-y;
|
|
22
|
+
background-size: 2px 100%;
|
|
23
|
+
width: 2px;
|
|
24
|
+
}
|
|
25
|
+
`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { CardStoryItem } from '../../atoms/CardStoryItem'
|
|
4
|
+
import { CardStoryProps } from './CardStoryProps.types'
|
|
5
|
+
import { CardStoryStyled } from './CardStory.styled'
|
|
6
|
+
|
|
7
|
+
const CardStory: FC<CardStoryProps> = ({ cardStoryItems }) => {
|
|
8
|
+
return (
|
|
9
|
+
<CardStoryStyled className='card-story'>
|
|
10
|
+
{cardStoryItems.map((item) => (
|
|
11
|
+
<CardStoryItem key={item.title} {...item} />
|
|
12
|
+
))}
|
|
13
|
+
</CardStoryStyled>
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default CardStory
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CardStory } from './CardStory';
|
package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js
CHANGED
|
@@ -16,11 +16,9 @@ export const KeyFactCardListRatafiaStyled = styled.div `
|
|
|
16
16
|
border-bottom: 8px solid var(--neutral-neutral-6);
|
|
17
17
|
background: var(--neutral-neutral-6);
|
|
18
18
|
|
|
19
|
-
height:
|
|
20
|
-
|
|
19
|
+
height: calc(100vh - 24.5rem);
|
|
21
20
|
@media ${device['portrait-tablets']} {
|
|
22
|
-
height:
|
|
21
|
+
height: calc(100vh - 33.5rem);
|
|
23
22
|
}
|
|
24
|
-
|
|
25
23
|
overflow-y: auto;
|
|
26
24
|
`;
|
package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts
CHANGED
|
@@ -17,11 +17,9 @@ export const KeyFactCardListRatafiaStyled = styled.div`
|
|
|
17
17
|
border-bottom: 8px solid var(--neutral-neutral-6);
|
|
18
18
|
background: var(--neutral-neutral-6);
|
|
19
19
|
|
|
20
|
-
height:
|
|
21
|
-
|
|
20
|
+
height: calc(100vh - 24.5rem);
|
|
22
21
|
@media ${device['portrait-tablets']} {
|
|
23
|
-
height:
|
|
22
|
+
height: calc(100vh - 33.5rem);
|
|
24
23
|
}
|
|
25
|
-
|
|
26
24
|
overflow-y: auto;
|
|
27
25
|
`
|
|
@@ -11,13 +11,19 @@ export const AboutUsContentStyled = styled.div `
|
|
|
11
11
|
|
|
12
12
|
.about-us-content__body {
|
|
13
13
|
margin-top: 1rem;
|
|
14
|
-
margin-bottom: 2rem;
|
|
15
14
|
font-family: var(--font-sans);
|
|
16
15
|
|
|
17
16
|
@media ${device['landscape-tablets']} {
|
|
18
|
-
flex-basis:
|
|
17
|
+
flex-basis: 56%;
|
|
19
18
|
margin-top: 0;
|
|
20
|
-
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media ${device.laptop} {
|
|
22
|
+
flex-basis: 59%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media ${device.desktop} {
|
|
26
|
+
flex-basis: 60%;
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
.m-richText {
|
|
@@ -44,16 +50,28 @@ export const AboutUsContentStyled = styled.div `
|
|
|
44
50
|
|
|
45
51
|
@media ${device['landscape-tablets']} {
|
|
46
52
|
margin-bottom: 0;
|
|
47
|
-
margin-right:
|
|
48
|
-
flex-basis:
|
|
53
|
+
margin-right: 1.5rem;
|
|
54
|
+
flex-basis: 42%;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
@media ${device.laptop} {
|
|
52
|
-
|
|
58
|
+
flex-basis: 39%;
|
|
59
|
+
margin-right: 2.5rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media ${device.desktop} {
|
|
63
|
+
flex-basis: 36.3%;
|
|
53
64
|
}
|
|
54
65
|
|
|
55
66
|
img {
|
|
56
67
|
width: 100%;
|
|
68
|
+
border-radius: 16px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.gatsby-image-wrapper-constrained {
|
|
72
|
+
@media ${device['landscape-tablets']} {
|
|
73
|
+
height: 100%;
|
|
74
|
+
}
|
|
57
75
|
}
|
|
58
76
|
}
|
|
59
77
|
`;
|
|
@@ -12,13 +12,19 @@ export const AboutUsContentStyled = styled.div`
|
|
|
12
12
|
|
|
13
13
|
.about-us-content__body {
|
|
14
14
|
margin-top: 1rem;
|
|
15
|
-
margin-bottom: 2rem;
|
|
16
15
|
font-family: var(--font-sans);
|
|
17
16
|
|
|
18
17
|
@media ${device['landscape-tablets']} {
|
|
19
|
-
flex-basis:
|
|
18
|
+
flex-basis: 56%;
|
|
20
19
|
margin-top: 0;
|
|
21
|
-
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media ${device.laptop} {
|
|
23
|
+
flex-basis: 59%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media ${device.desktop} {
|
|
27
|
+
flex-basis: 60%;
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
.m-richText {
|
|
@@ -45,16 +51,28 @@ export const AboutUsContentStyled = styled.div`
|
|
|
45
51
|
|
|
46
52
|
@media ${device['landscape-tablets']} {
|
|
47
53
|
margin-bottom: 0;
|
|
48
|
-
margin-right:
|
|
49
|
-
flex-basis:
|
|
54
|
+
margin-right: 1.5rem;
|
|
55
|
+
flex-basis: 42%;
|
|
50
56
|
}
|
|
51
57
|
|
|
52
58
|
@media ${device.laptop} {
|
|
53
|
-
|
|
59
|
+
flex-basis: 39%;
|
|
60
|
+
margin-right: 2.5rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media ${device.desktop} {
|
|
64
|
+
flex-basis: 36.3%;
|
|
54
65
|
}
|
|
55
66
|
|
|
56
67
|
img {
|
|
57
68
|
width: 100%;
|
|
69
|
+
border-radius: 16px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.gatsby-image-wrapper-constrained {
|
|
73
|
+
@media ${device['landscape-tablets']} {
|
|
74
|
+
height: 100%;
|
|
75
|
+
}
|
|
58
76
|
}
|
|
59
77
|
}
|
|
60
78
|
`
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { CAFlag } from '../../../../images/componentsSvg/flags/CAFlag';
|
|
4
|
+
import { DEFlag } from '../../../../images/componentsSvg/flags/DEFlag';
|
|
3
5
|
import { GBFlag } from '../../../../images/componentsSvg/flags/GBFlag';
|
|
4
6
|
import { USFlag } from '../../../../images/componentsSvg/flags/USFlag';
|
|
5
7
|
export const useLanguagesSelector = (languages) => {
|
|
6
8
|
const flags = new Map([
|
|
7
9
|
['en-US', _jsx(USFlag, {}, 'us-flag')],
|
|
8
|
-
['en-GB', _jsx(GBFlag, {}, 'gb-flag')]
|
|
10
|
+
['en-GB', _jsx(GBFlag, {}, 'gb-flag')],
|
|
11
|
+
['en-CA', _jsx(CAFlag, {}, 'ca-flag')],
|
|
12
|
+
['de-DE', _jsx(DEFlag, {}, 'de-flag')]
|
|
9
13
|
]);
|
|
10
14
|
const initSelector = () => {
|
|
11
15
|
if (languages.length === 0)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
|
+
import { CAFlag } from '../../../../images/componentsSvg/flags/CAFlag'
|
|
4
|
+
import { DEFlag } from '../../../../images/componentsSvg/flags/DEFlag'
|
|
3
5
|
import { GBFlag } from '../../../../images/componentsSvg/flags/GBFlag'
|
|
4
6
|
import { type LenguageSelectorItem } from './LenguageSelectorItem'
|
|
5
7
|
import { USFlag } from '../../../../images/componentsSvg/flags/USFlag'
|
|
@@ -9,7 +11,9 @@ export const useLanguagesSelector = (
|
|
|
9
11
|
): { languagesSelector: LenguageSelectorItem[] } => {
|
|
10
12
|
const flags = new Map<string, React.ReactNode>([
|
|
11
13
|
['en-US', <USFlag key='us-flag' />],
|
|
12
|
-
['en-GB', <GBFlag key='gb-flag' />]
|
|
14
|
+
['en-GB', <GBFlag key='gb-flag' />],
|
|
15
|
+
['en-CA', <CAFlag key='ca-flag' />],
|
|
16
|
+
['de-DE', <DEFlag key='de-flag' />]
|
|
13
17
|
])
|
|
14
18
|
|
|
15
19
|
const initSelector = (): LenguageSelectorItem[] => {
|
|
@@ -17,8 +17,7 @@ export const LayoutRatafiaStyled = styled.div `
|
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
padding: 1.5rem 1.5rem 0 1.5rem;
|
|
19
19
|
width: 100%;
|
|
20
|
-
height:
|
|
21
|
-
min-height: calc(100vh - 8.375rem);
|
|
20
|
+
height: calc(100vh - 8.375rem);
|
|
22
21
|
border-radius: var(--l-border-radius) var(--l-border-radius) 0 0;
|
|
23
22
|
background: var(--others-white);
|
|
24
23
|
box-shadow: var(--box-shadow-small);
|
|
@@ -18,8 +18,7 @@ export const LayoutRatafiaStyled = styled.div`
|
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding: 1.5rem 1.5rem 0 1.5rem;
|
|
20
20
|
width: 100%;
|
|
21
|
-
height:
|
|
22
|
-
min-height: calc(100vh - 8.375rem);
|
|
21
|
+
height: calc(100vh - 8.375rem);
|
|
23
22
|
border-radius: var(--l-border-radius) var(--l-border-radius) 0 0;
|
|
24
23
|
background: var(--others-white);
|
|
25
24
|
box-shadow: var(--box-shadow-small);
|