@npm_leadtech/legal-lib-components 5.64.7 → 5.64.8

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 (68) 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 +88 -0
  7. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +89 -0
  8. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +21 -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/molecules/CardStory/CardStory.d.ts +4 -0
  16. package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
  17. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
  18. package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
  19. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
  20. package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
  21. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
  22. package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +1 -0
  23. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
  24. package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
  25. package/dist/src/components/molecules/CardStory/index.js +1 -0
  26. package/dist/src/components/molecules/CardStory/index.ts +2 -0
  27. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +2 -4
  28. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.ts +2 -4
  29. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
  30. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
  31. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
  32. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
  33. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
  34. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
  35. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
  36. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
  37. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
  38. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  39. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
  40. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
  41. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  42. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
  43. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
  44. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
  45. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
  46. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
  47. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
  48. package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
  49. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +1 -0
  50. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
  51. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
  52. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
  53. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
  54. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +1 -0
  55. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
  56. package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
  57. package/dist/src/components/sections/CardStorySection/index.js +1 -0
  58. package/dist/src/components/sections/CardStorySection/index.ts +2 -0
  59. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
  60. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
  61. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  62. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
  63. package/dist/src/components/sections/index.d.ts +1 -0
  64. package/dist/src/components/sections/index.js +1 -0
  65. package/dist/src/components/sections/index.ts +1 -0
  66. package/dist/tsconfig.build.tsbuildinfo +1 -1
  67. package/package.json +3 -2
  68. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
@@ -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
  `
@@ -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'