@npm_leadtech/legal-lib-components 5.65.2 → 5.67.0

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.
Files changed (114) hide show
  1. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  2. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
  3. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +4 -0
  4. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +6 -0
  5. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +1 -0
  6. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +91 -0
  7. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +92 -0
  8. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +23 -0
  9. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +5 -0
  10. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.js +1 -0
  11. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +5 -0
  12. package/dist/src/components/atoms/CardStoryItem/index.d.ts +2 -0
  13. package/dist/src/components/atoms/CardStoryItem/index.js +1 -0
  14. package/dist/src/components/atoms/CardStoryItem/index.ts +2 -0
  15. package/dist/src/components/atoms/Video/Video.d.ts +1 -1
  16. package/dist/src/components/atoms/Video/Video.js +2 -2
  17. package/dist/src/components/atoms/Video/Video.tsx +2 -13
  18. package/dist/src/components/atoms/Video/VideoProps.types.d.ts +0 -2
  19. package/dist/src/components/atoms/Video/VideoProps.types.ts +0 -2
  20. package/dist/src/components/molecules/CardStory/CardStory.d.ts +4 -0
  21. package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
  22. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
  23. package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
  24. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
  25. package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
  26. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
  27. package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +1 -0
  28. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
  29. package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
  30. package/dist/src/components/molecules/CardStory/index.js +1 -0
  31. package/dist/src/components/molecules/CardStory/index.ts +2 -0
  32. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
  33. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
  34. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
  35. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
  36. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
  37. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
  38. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
  39. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
  40. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
  41. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  42. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
  43. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
  44. package/dist/src/components/organisms/Wizard/Wizard.d.ts +3 -0
  45. package/dist/src/components/organisms/Wizard/Wizard.js +41 -0
  46. package/dist/src/components/organisms/Wizard/Wizard.tsx +64 -0
  47. package/dist/src/components/organisms/Wizard/WizardProps.types.d.ts +5 -0
  48. package/dist/src/components/organisms/Wizard/WizardProps.types.js +1 -0
  49. package/dist/src/components/organisms/Wizard/WizardProps.types.ts +5 -0
  50. package/dist/src/components/organisms/Wizard/components/Footer.d.ts +6 -0
  51. package/dist/src/components/organisms/Wizard/components/Footer.js +4 -0
  52. package/dist/src/components/organisms/Wizard/components/Footer.tsx +10 -0
  53. package/dist/src/components/organisms/Wizard/components/Header.d.ts +6 -0
  54. package/dist/src/components/organisms/Wizard/components/Header.js +4 -0
  55. package/dist/src/components/organisms/Wizard/components/Header.tsx +10 -0
  56. package/dist/src/components/organisms/Wizard/components/index.d.ts +2 -0
  57. package/dist/src/components/organisms/Wizard/components/index.js +2 -0
  58. package/dist/src/components/organisms/Wizard/components/index.ts +2 -0
  59. package/dist/src/components/organisms/Wizard/constants/index.d.ts +2 -0
  60. package/dist/src/components/organisms/Wizard/constants/index.js +2 -0
  61. package/dist/src/components/organisms/Wizard/constants/index.ts +2 -0
  62. package/dist/src/components/organisms/Wizard/context/WizardContext.d.ts +9 -0
  63. package/dist/src/components/organisms/Wizard/context/WizardContext.js +8 -0
  64. package/dist/src/components/organisms/Wizard/context/WizardContext.tsx +17 -0
  65. package/dist/src/components/organisms/Wizard/context/index.d.ts +1 -0
  66. package/dist/src/components/organisms/Wizard/context/index.js +1 -0
  67. package/dist/src/components/organisms/Wizard/context/index.ts +1 -0
  68. package/dist/src/components/organisms/Wizard/controls/navigation.d.ts +14 -0
  69. package/dist/src/components/organisms/Wizard/controls/navigation.js +27 -0
  70. package/dist/src/components/organisms/Wizard/controls/navigation.ts +50 -0
  71. package/dist/src/components/organisms/Wizard/hooks/index.d.ts +1 -0
  72. package/dist/src/components/organisms/Wizard/hooks/index.js +1 -0
  73. package/dist/src/components/organisms/Wizard/hooks/index.ts +1 -0
  74. package/dist/src/components/organisms/Wizard/hooks/useHash.d.ts +12 -0
  75. package/dist/src/components/organisms/Wizard/hooks/useHash.js +59 -0
  76. package/dist/src/components/organisms/Wizard/hooks/useHash.tsx +87 -0
  77. package/dist/src/components/organisms/Wizard/index.d.ts +4 -0
  78. package/dist/src/components/organisms/Wizard/index.js +3 -0
  79. package/dist/src/components/organisms/Wizard/index.ts +4 -0
  80. package/dist/src/components/organisms/index.d.ts +1 -0
  81. package/dist/src/components/organisms/index.js +1 -0
  82. package/dist/src/components/organisms/index.ts +1 -0
  83. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  84. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
  85. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
  86. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
  87. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
  88. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
  89. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
  90. package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
  91. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +1 -0
  92. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
  93. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
  94. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
  95. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
  96. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +1 -0
  97. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
  98. package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
  99. package/dist/src/components/sections/CardStorySection/index.js +1 -0
  100. package/dist/src/components/sections/CardStorySection/index.ts +2 -0
  101. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
  102. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
  103. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  104. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +2 -9
  105. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts +0 -1
  106. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +0 -1
  107. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  108. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
  109. package/dist/src/components/sections/index.d.ts +1 -0
  110. package/dist/src/components/sections/index.js +1 -0
  111. package/dist/src/components/sections/index.ts +1 -0
  112. package/dist/tsconfig.build.tsbuildinfo +1 -1
  113. package/package.json +2 -1
  114. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
@@ -0,0 +1,4 @@
1
+ export { Wizard } from './Wizard';
2
+ export { Header, Footer } from './components';
3
+ export { WizardContext } from './context';
4
+ export { type WizardProps } from './WizardProps.types';
@@ -0,0 +1,3 @@
1
+ export { Wizard } from './Wizard';
2
+ export { Header, Footer } from './components';
3
+ export { WizardContext } from './context';
@@ -0,0 +1,4 @@
1
+ export { Wizard } from './Wizard'
2
+ export { Header, Footer } from './components'
3
+ export { WizardContext } from './context'
4
+ export { type WizardProps } from './WizardProps.types'
@@ -22,3 +22,4 @@ export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
23
  export * from './StepsRatafiaContent';
24
24
  export * from './TryOurFreeLegalBlogsContent';
25
+ export * from './Wizard';
@@ -22,3 +22,4 @@ export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
23
  export * from './StepsRatafiaContent';
24
24
  export * from './TryOurFreeLegalBlogsContent';
25
+ export * from './Wizard';
@@ -22,3 +22,4 @@ export * from './LoginRatafiaContent'
22
22
  export * from './MobileBottomBar'
23
23
  export * from './StepsRatafiaContent'
24
24
  export * from './TryOurFreeLegalBlogsContent'
25
+ export * from './Wizard'
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsSection, AsSeeInSection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
- export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
- return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
2
+ import { AboutUsSection, AsSeeInSection, CardStorySection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
+ export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, cardStorySection, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), cardStorySection != null && _jsx(CardStorySection, { ...cardStorySection }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
5
5
  };
@@ -3,6 +3,7 @@ import React from 'react'
3
3
  import {
4
4
  AboutUsSection,
5
5
  AsSeeInSection,
6
+ CardStorySection,
6
7
  ExpertsSection,
7
8
  GuidelinesSection,
8
9
  PeopleSayAboutUsSection,
@@ -12,7 +13,9 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
12
13
 
13
14
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
14
15
  aboutUsSectionProps,
15
- tryOurFreeLegalBlogsSectionProps,
16
+ ourMissionBlogsSectionProps,
17
+ ourCoreValuesBlogsSectionProps,
18
+ cardStorySection,
16
19
  peopleSayAboutUsSectionProps,
17
20
  guidelinesSectionProps,
18
21
  expertsSectionProps,
@@ -22,9 +25,9 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
22
25
  return (
23
26
  <>
24
27
  {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
25
- {tryOurFreeLegalBlogsSectionProps != null && (
26
- <TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
27
- )}
28
+ {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
29
+ {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
30
+ {cardStorySection != null && <CardStorySection {...cardStorySection} />}
28
31
  {guidelinesSectionProps != null && (
29
32
  <GuidelinesSection {...guidelinesSectionProps}>
30
33
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -1,7 +1,9 @@
1
- import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
1
+ import type { AboutUsSectionProps, AsSeeInSectionProps, CardStorySectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  export interface AboutUsPageProps {
3
3
  aboutUsSectionProps?: AboutUsSectionProps;
4
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
4
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
+ cardStorySection?: CardStorySectionProps;
5
7
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
6
8
  guidelinesSectionProps?: GuidelinesSectionProps;
7
9
  tryUsSectionProps?: TryUsSectionProps;
@@ -1,6 +1,7 @@
1
1
  import type {
2
2
  AboutUsSectionProps,
3
3
  AsSeeInSectionProps,
4
+ CardStorySectionProps,
4
5
  ExpertsSectionProps,
5
6
  GuidelinesSectionProps,
6
7
  PeopleSayAboutUsSectionProps,
@@ -10,7 +11,9 @@ import type {
10
11
 
11
12
  export interface AboutUsPageProps {
12
13
  aboutUsSectionProps?: AboutUsSectionProps
13
- tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
14
+ ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
15
+ ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
16
+ cardStorySection?: CardStorySectionProps
14
17
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
15
18
  guidelinesSectionProps?: GuidelinesSectionProps
16
19
  tryUsSectionProps?: TryUsSectionProps
@@ -3,10 +3,10 @@ import styled from 'styled-components';
3
3
  export const AboutUsSectionStyled = styled.div `
4
4
  padding-top: 1.125rem;
5
5
  background: var(--primary-main-light-6);
6
- margin-bottom: 3rem;
6
+ padding-bottom: 2rem;
7
7
 
8
- @media ${device.laptop} {
9
- margin-bottom: 5rem;
8
+ @media ${device['landscape-tablets']} {
9
+ padding-bottom: 4rem;
10
10
  }
11
11
 
12
12
  .about-us-section {
@@ -26,9 +26,10 @@ export const AboutUsSectionStyled = styled.div `
26
26
  }
27
27
 
28
28
  &__sub-title {
29
- margin-bottom: 1.5rem;
29
+ margin-bottom: 2rem;
30
+ margin-top: 2rem;
30
31
  text-align: center;
31
- font-size: 2rem;
32
+ font-size: 1.75rem;
32
33
  line-height: 1.2;
33
34
  letter-spacing: -0.4px;
34
35
  font-weight: 400;
@@ -36,17 +37,12 @@ export const AboutUsSectionStyled = styled.div `
36
37
  color: var(--neutral-neutral-1);
37
38
 
38
39
  @media ${device['landscape-tablets']} {
39
- font-size: 2.3rem;
40
- max-width: $sm;
41
- margin: 0 auto 2rem auto;
42
- }
43
-
44
- @media ${device.desktop} {
45
- max-width: 792px;
40
+ font-size: 2rem;
41
+ margin: 3rem auto 3rem auto;
46
42
  }
47
43
 
48
44
  @media ${device.laptop} {
49
- font-size: 3rem;
45
+ font-size: 2.25rem;
50
46
  }
51
47
  }
52
48
  }
@@ -4,10 +4,10 @@ import styled from 'styled-components'
4
4
  export const AboutUsSectionStyled = styled.div`
5
5
  padding-top: 1.125rem;
6
6
  background: var(--primary-main-light-6);
7
- margin-bottom: 3rem;
7
+ padding-bottom: 2rem;
8
8
 
9
- @media ${device.laptop} {
10
- margin-bottom: 5rem;
9
+ @media ${device['landscape-tablets']} {
10
+ padding-bottom: 4rem;
11
11
  }
12
12
 
13
13
  .about-us-section {
@@ -27,9 +27,10 @@ export const AboutUsSectionStyled = styled.div`
27
27
  }
28
28
 
29
29
  &__sub-title {
30
- margin-bottom: 1.5rem;
30
+ margin-bottom: 2rem;
31
+ margin-top: 2rem;
31
32
  text-align: center;
32
- font-size: 2rem;
33
+ font-size: 1.75rem;
33
34
  line-height: 1.2;
34
35
  letter-spacing: -0.4px;
35
36
  font-weight: 400;
@@ -37,17 +38,12 @@ export const AboutUsSectionStyled = styled.div`
37
38
  color: var(--neutral-neutral-1);
38
39
 
39
40
  @media ${device['landscape-tablets']} {
40
- font-size: 2.3rem;
41
- max-width: $sm;
42
- margin: 0 auto 2rem auto;
43
- }
44
-
45
- @media ${device.desktop} {
46
- max-width: 792px;
41
+ font-size: 2rem;
42
+ margin: 3rem auto 3rem auto;
47
43
  }
48
44
 
49
45
  @media ${device.laptop} {
50
- font-size: 3rem;
46
+ font-size: 2.25rem;
51
47
  }
52
48
  }
53
49
  }
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { CardStorySectionProps } from './CardStorySectionProps.types';
3
+ declare const CardStorySection: FC<CardStorySectionProps>;
4
+ export default CardStorySection;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CardStory } from '../../molecules/CardStory';
3
+ import { CardStorySectionStyled } from './CardStorySection.styled';
4
+ const CardStorySection = ({ title, text, cardStory }) => {
5
+ return (_jsx(CardStorySectionStyled, { className: 'card-story-section', children: _jsxs("div", { className: 'wrapper card-story-section__content', children: [_jsx("h2", { className: 'card-story-section__title', children: title }), _jsx("div", { className: 'card-story-section__text', children: text }), _jsx(CardStory, { cardStoryItems: cardStory.cardStoryItems })] }) }));
6
+ };
7
+ export default CardStorySection;
@@ -0,0 +1 @@
1
+ export declare const CardStorySectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,42 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const CardStorySectionStyled = styled.div `
4
+ padding: 1.5rem;
5
+ background: var(--secondary-main-light-4);
6
+
7
+ .card-story-section {
8
+ &__title {
9
+ font-weight: 700;
10
+ font-size: 1.8rem;
11
+ color: var(--neutral-neutral-1);
12
+ font-family: var(--font-sans);
13
+ padding-bottom: 1.5rem;
14
+ }
15
+ &__text {
16
+ font-size: 1rem;
17
+ color: var(--neutral-neutral-1);
18
+ font-family: var(--font-sans);
19
+ padding-bottom: 0.5rem;
20
+ }
21
+ &__content {
22
+ border-radius: var(--l-border-radius);
23
+ background: var(--others-white);
24
+ padding: 1.5rem;
25
+ }
26
+ }
27
+
28
+ @media ${device['landscape-tablets']} {
29
+ padding: 3rem 1.5rem 3rem 1.5rem;
30
+
31
+ .card-story-section {
32
+ &__title {
33
+ }
34
+ &__text {
35
+ padding-bottom: 1.5rem;
36
+ }
37
+ &__content {
38
+ padding: 3rem;
39
+ }
40
+ }
41
+ }
42
+ `;
@@ -0,0 +1,43 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CardStorySectionStyled = styled.div`
5
+ padding: 1.5rem;
6
+ background: var(--secondary-main-light-4);
7
+
8
+ .card-story-section {
9
+ &__title {
10
+ font-weight: 700;
11
+ font-size: 1.8rem;
12
+ color: var(--neutral-neutral-1);
13
+ font-family: var(--font-sans);
14
+ padding-bottom: 1.5rem;
15
+ }
16
+ &__text {
17
+ font-size: 1rem;
18
+ color: var(--neutral-neutral-1);
19
+ font-family: var(--font-sans);
20
+ padding-bottom: 0.5rem;
21
+ }
22
+ &__content {
23
+ border-radius: var(--l-border-radius);
24
+ background: var(--others-white);
25
+ padding: 1.5rem;
26
+ }
27
+ }
28
+
29
+ @media ${device['landscape-tablets']} {
30
+ padding: 3rem 1.5rem 3rem 1.5rem;
31
+
32
+ .card-story-section {
33
+ &__title {
34
+ }
35
+ &__text {
36
+ padding-bottom: 1.5rem;
37
+ }
38
+ &__content {
39
+ padding: 3rem;
40
+ }
41
+ }
42
+ }
43
+ `
@@ -0,0 +1,19 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { CardStory } from '../../molecules/CardStory'
4
+ import { CardStorySectionProps } from './CardStorySectionProps.types'
5
+ import { CardStorySectionStyled } from './CardStorySection.styled'
6
+
7
+ const CardStorySection: FC<CardStorySectionProps> = ({ title, text, cardStory }) => {
8
+ return (
9
+ <CardStorySectionStyled className='card-story-section'>
10
+ <div className='wrapper card-story-section__content'>
11
+ <h2 className='card-story-section__title'>{title}</h2>
12
+ <div className='card-story-section__text'>{text}</div>
13
+ <CardStory cardStoryItems={cardStory.cardStoryItems} />
14
+ </div>
15
+ </CardStorySectionStyled>
16
+ )
17
+ }
18
+
19
+ export default CardStorySection
@@ -0,0 +1,7 @@
1
+ import { CardStoryProps } from 'src/components/molecules/CardStory';
2
+ import React from 'react';
3
+ export interface CardStorySectionProps {
4
+ title: string;
5
+ text: React.JSX.Element;
6
+ cardStory: CardStoryProps;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { CardStoryProps } from 'src/components/molecules/CardStory'
2
+ import React from 'react'
3
+
4
+ export interface CardStorySectionProps {
5
+ title: string
6
+ text: React.JSX.Element
7
+ cardStory: CardStoryProps
8
+ }
@@ -0,0 +1,2 @@
1
+ export { default as CardStorySection } from './CardStorySection';
2
+ export { type CardStorySectionProps } from './CardStorySectionProps.types';
@@ -0,0 +1 @@
1
+ export { default as CardStorySection } from './CardStorySection';
@@ -0,0 +1,2 @@
1
+ export { default as CardStorySection } from './CardStorySection'
2
+ export { type CardStorySectionProps } from './CardStorySectionProps.types'
@@ -6,5 +6,4 @@ export const GuidelinesSectionStyled = styled.section `
6
6
  background: var(--neutral-neutral-6);
7
7
  padding-top: 2rem;
8
8
  padding-bottom: 2rem;
9
- margin-top: 3rem;
10
9
  `;
@@ -7,5 +7,4 @@ export const GuidelinesSectionStyled = styled.section`
7
7
  background: var(--neutral-neutral-6);
8
8
  padding-top: 2rem;
9
9
  padding-bottom: 2rem;
10
- margin-top: 3rem;
11
10
  `
@@ -3,11 +3,11 @@ import { StepsRatafiaContent } from '../../organisms';
3
3
  import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled';
4
4
  import { Video } from '../../atoms';
5
5
  import classNames from 'classnames';
6
- const StepsRatafiaSection = ({ title, steps, videoUrl, mainImage, description, videoPosterUrl }) => {
6
+ const StepsRatafiaSection = ({ title, steps, videoUrl, mainImage, description }) => {
7
7
  const isEsignatureLanding = !videoUrl;
8
8
  const classnames = classNames({
9
9
  '--is-esignature': isEsignatureLanding
10
10
  });
11
- return (_jsx(StepsRatafiaSectionStyled, { className: 'steps-ratafia-section', children: _jsxs("div", { className: `steps-ratafia-section__wrapper ${classnames}`, children: [!isEsignatureLanding ? (_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, preload: 'none', poster: videoPosterUrl }) })) : (_jsx("div", { className: 'steps-ratafia-section__wrapper__image', children: mainImage })), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps, description: description }) })] }) }));
11
+ return (_jsx(StepsRatafiaSectionStyled, { className: 'steps-ratafia-section', children: _jsxs("div", { className: `steps-ratafia-section__wrapper ${classnames}`, children: [!isEsignatureLanding ? (_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, autoPlay: true, loop: true }) })) : (_jsx("div", { className: 'steps-ratafia-section__wrapper__image', children: mainImage })), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps, description: description }) })] }) }));
12
12
  };
13
13
  export default StepsRatafiaSection;
@@ -6,14 +6,7 @@ import { StepsRatafiaSectionStyled } from './StepsRatafiaSection.styled'
6
6
  import { Video } from '../../atoms'
7
7
  import classNames from 'classnames'
8
8
 
9
- const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({
10
- title,
11
- steps,
12
- videoUrl,
13
- mainImage,
14
- description,
15
- videoPosterUrl
16
- }) => {
9
+ const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({ title, steps, videoUrl, mainImage, description }) => {
17
10
  const isEsignatureLanding = !videoUrl
18
11
  const classnames = classNames({
19
12
  '--is-esignature': isEsignatureLanding
@@ -24,7 +17,7 @@ const StepsRatafiaSection: FC<StepsRatafiaSectionProps> = ({
24
17
  <div className={`steps-ratafia-section__wrapper ${classnames}`}>
25
18
  {!isEsignatureLanding ? (
26
19
  <div className='steps-ratafia-section__wrapper__video'>
27
- <Video videoSrcURL={videoUrl} preload='none' poster={videoPosterUrl} />
20
+ <Video videoSrcURL={videoUrl} autoPlay loop />
28
21
  </div>
29
22
  ) : (
30
23
  <div className='steps-ratafia-section__wrapper__image'>{mainImage}</div>
@@ -6,5 +6,4 @@ export interface StepsRatafiaSectionProps {
6
6
  videoUrl: string;
7
7
  mainImage?: React.ReactNode;
8
8
  description?: React.ReactNode;
9
- videoPosterUrl?: string;
10
9
  }
@@ -7,5 +7,4 @@ export interface StepsRatafiaSectionProps {
7
7
  videoUrl: string
8
8
  mainImage?: React.ReactNode
9
9
  description?: React.ReactNode
10
- videoPosterUrl?: string
11
10
  }
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
3
3
  import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
4
4
  const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
5
- return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
5
+ return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, type: contentTryOurFreeLegalBlogs.type, children: contentTryOurFreeLegalBlogs.children }) }));
6
6
  };
7
7
  export default TryOurFreeLegalBlogsSection;
@@ -7,7 +7,11 @@ import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection
7
7
  const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
8
8
  return (
9
9
  <TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
10
- <TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
10
+ <TryOurFreeLegalBlogsContent
11
+ title={contentTryOurFreeLegalBlogs.title}
12
+ image={contentTryOurFreeLegalBlogs.image}
13
+ type={contentTryOurFreeLegalBlogs.type}
14
+ >
11
15
  {contentTryOurFreeLegalBlogs.children}
12
16
  </TryOurFreeLegalBlogsContent>
13
17
  </TryOurFreeLegalBlogsSectionStyled>
@@ -23,3 +23,4 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
+ export * from './CardStorySection';
@@ -23,3 +23,4 @@ export * from './TryUsSection';
23
23
  export * from './UnsubscribeSection';
24
24
  export * from './WhyLawDistrictSection';
25
25
  export * from './LearnMoreSection';
26
+ export * from './CardStorySection';
@@ -23,3 +23,4 @@ export * from './TryUsSection'
23
23
  export * from './UnsubscribeSection'
24
24
  export * from './WhyLawDistrictSection'
25
25
  export * from './LearnMoreSection'
26
+ export * from './CardStorySection'