@npm_leadtech/legal-lib-components 5.65.2 → 5.66.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 (75) 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/pages/AboutUsPage/AboutUsPage.js +3 -3
  45. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
  46. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
  47. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
  48. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
  49. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
  50. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
  51. package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
  52. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +1 -0
  53. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
  54. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
  55. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
  56. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
  57. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +1 -0
  58. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
  59. package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
  60. package/dist/src/components/sections/CardStorySection/index.js +1 -0
  61. package/dist/src/components/sections/CardStorySection/index.ts +2 -0
  62. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
  63. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
  64. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  65. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +2 -9
  66. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts +0 -1
  67. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +0 -1
  68. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  69. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
  70. package/dist/src/components/sections/index.d.ts +1 -0
  71. package/dist/src/components/sections/index.js +1 -0
  72. package/dist/src/components/sections/index.ts +1 -0
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/package.json +2 -2
  75. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
@@ -7,6 +7,56 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
7
7
  @media ${device['landscape-tablets']} {
8
8
  flex-direction: row;
9
9
  }
10
+
11
+ &.try-our-free-legal-blogs-section-content--our-mission {
12
+ margin-top: 1.5rem;
13
+ margin-bottom: 1.5rem;
14
+ align-items: center;
15
+ @media ${device['landscape-tablets']} {
16
+ margin-top: 3rem;
17
+ }
18
+
19
+ .try-our-free-legal-blogs-section__texts {
20
+ margin-bottom: 2rem;
21
+ @media ${device['landscape-tablets']} {
22
+ margin-bottom: 1rem;
23
+ }
24
+
25
+ &__title {
26
+ font-family: var(--font-sans);
27
+ font-size: 28px;
28
+ font-weight: 700;
29
+ text-align: left;
30
+ }
31
+ }
32
+ }
33
+
34
+ &.try-our-free-legal-blogs-section-content--our-mission-first-image {
35
+ margin-top: 1.5rem;
36
+ margin-bottom: 1.5rem;
37
+ align-items: center;
38
+ @media ${device['landscape-tablets']} {
39
+ margin-bottom: 3rem;
40
+ flex-direction: row-reverse;
41
+ }
42
+
43
+ .try-our-free-legal-blogs-section__texts {
44
+ margin-bottom: 2rem;
45
+ @media ${device['landscape-tablets']} {
46
+ margin-bottom: 1rem;
47
+ margin-right: 0rem;
48
+ margin-left: 3rem;
49
+ }
50
+
51
+ &__title {
52
+ font-family: var(--font-sans);
53
+ font-size: 28px;
54
+ font-weight: 700;
55
+ text-align: left;
56
+ }
57
+ }
58
+ }
59
+
10
60
  .try-our-free-legal-blogs-section__texts {
11
61
  flex-basis: 50%;
12
62
  display: flex;
@@ -1,12 +1,27 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
+ import {
4
+ type TryOurFreeLegalBlogsContentProps,
5
+ TryOurFreeLegalBlogsContentType
6
+ } from './TryOurFreeLegalBlogsContentProps.types'
3
7
  import { RichTextInner } from '../../atoms'
4
- import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
5
8
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
9
+ import classNames from 'classnames'
6
10
 
7
- const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
11
+ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
12
+ title,
13
+ image,
14
+ children,
15
+ type = TryOurFreeLegalBlogsContentType.default
16
+ }) => {
17
+ const classTry = classNames({
18
+ 'try-our-free-legal-blogs-section-content': true,
19
+ 'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
+ 'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
+ TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
22
+ })
8
23
  return (
9
- <TryOurFreeLegalBlogsContentStyled>
24
+ <TryOurFreeLegalBlogsContentStyled className={classTry}>
10
25
  <div className='try-our-free-legal-blogs-section__texts'>
11
26
  <h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
12
27
  <RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
@@ -1,5 +1,11 @@
1
+ export declare enum TryOurFreeLegalBlogsContentType {
2
+ default = "Default",
3
+ ourMission = "Our Mission",
4
+ ourMissionFirstImage = "Our Mission First Image"
5
+ }
1
6
  export interface TryOurFreeLegalBlogsContentProps {
2
7
  title: string;
3
8
  image: React.ReactNode;
4
9
  children: React.ReactNode;
10
+ type?: TryOurFreeLegalBlogsContentType;
5
11
  }
@@ -1 +1,6 @@
1
- export {};
1
+ export var TryOurFreeLegalBlogsContentType;
2
+ (function (TryOurFreeLegalBlogsContentType) {
3
+ TryOurFreeLegalBlogsContentType["default"] = "Default";
4
+ TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
5
+ TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
6
+ })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
@@ -1,5 +1,12 @@
1
+ export enum TryOurFreeLegalBlogsContentType {
2
+ default = 'Default',
3
+ ourMission = 'Our Mission',
4
+ ourMissionFirstImage = 'Our Mission First Image'
5
+ }
6
+
1
7
  export interface TryOurFreeLegalBlogsContentProps {
2
8
  title: string
3
9
  image: React.ReactNode
4
10
  children: React.ReactNode
11
+ type?: TryOurFreeLegalBlogsContentType
5
12
  }
@@ -1,2 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
2
+ export { TryOurFreeLegalBlogsContentType, type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
+ export { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,2 +1,5 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
2
- export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
2
+ export {
3
+ TryOurFreeLegalBlogsContentType,
4
+ type TryOurFreeLegalBlogsContentProps
5
+ } from './TryOurFreeLegalBlogsContentProps.types'
@@ -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'