@npm_leadtech/legal-lib-components 7.5.8 → 7.6.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 (180) hide show
  1. package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +3 -0
  2. package/dist/src/components/atoms/BenefitCard/BenefitCard.js +5 -0
  3. package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +24 -0
  4. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts → BenefitCard/BenefitCardProps.types.d.ts} +3 -1
  5. package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +8 -0
  6. package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +1 -0
  7. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.js → BenefitCard/BenefitCardStyled.styled.js} +10 -4
  8. package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.ts → BenefitCard/BenefitCardStyled.styled.ts} +10 -4
  9. package/dist/src/components/atoms/BenefitCard/index.d.ts +2 -0
  10. package/dist/src/components/atoms/BenefitCard/index.js +1 -0
  11. package/dist/src/components/atoms/BenefitCard/index.ts +2 -0
  12. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +2 -1
  13. package/dist/src/components/atoms/Button/ButtonProps.types.js +1 -0
  14. package/dist/src/components/atoms/Button/ButtonProps.types.ts +18 -16
  15. package/dist/src/components/atoms/CardBox/CardBox.d.ts +3 -0
  16. package/dist/src/components/atoms/CardBox/CardBox.js +7 -0
  17. package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +1 -0
  18. package/dist/src/components/atoms/CardBox/CardBox.styled.js +22 -0
  19. package/dist/src/components/atoms/CardBox/CardBox.styled.ts +23 -0
  20. package/dist/src/components/atoms/CardBox/CardBox.tsx +23 -0
  21. package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +10 -0
  22. package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +10 -0
  23. package/dist/src/components/atoms/CardBox/index.d.ts +2 -0
  24. package/dist/src/components/atoms/CardBox/index.js +1 -0
  25. package/dist/src/components/atoms/CardBox/index.ts +2 -0
  26. package/dist/src/components/atoms/index.d.ts +2 -1
  27. package/dist/src/components/atoms/index.js +2 -1
  28. package/dist/src/components/atoms/index.ts +2 -1
  29. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
  30. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
  31. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
  32. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
  33. package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +6 -0
  34. package/dist/src/components/molecules/SubscriptionCard/CardBody.js +6 -0
  35. package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +29 -0
  36. package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +8 -0
  37. package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +3 -0
  38. package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +23 -0
  39. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +6 -0
  40. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +3 -0
  41. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +1 -0
  42. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +30 -0
  43. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +31 -0
  44. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +14 -0
  45. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +4 -0
  46. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +15 -0
  47. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +38 -0
  48. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +20 -0
  49. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +22 -0
  50. package/dist/src/components/{atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts} +1 -1
  51. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +10 -0
  52. package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +11 -0
  53. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +8 -0
  54. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +4 -0
  55. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +1 -0
  56. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +29 -0
  57. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +30 -0
  58. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +20 -0
  59. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
  60. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +14 -0
  61. package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +34 -0
  62. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
  63. package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
  64. package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +1 -0
  65. package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js → SubscriptionCard/SubscriptionCard.styled.js} +14 -32
  66. package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts → SubscriptionCard/SubscriptionCard.styled.ts} +14 -32
  67. package/dist/src/components/molecules/SubscriptionCard/index.d.ts +4 -0
  68. package/dist/src/components/molecules/SubscriptionCard/index.js +2 -0
  69. package/dist/src/components/molecules/SubscriptionCard/index.ts +4 -0
  70. package/dist/src/components/molecules/index.d.ts +1 -1
  71. package/dist/src/components/molecules/index.js +1 -1
  72. package/dist/src/components/molecules/index.ts +1 -1
  73. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  74. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +35 -83
  75. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.ts +35 -83
  76. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +5 -28
  77. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +1 -7
  78. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +1 -8
  79. package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +4 -0
  80. package/dist/src/components/organisms/HeroContent/HeroContent.js +7 -0
  81. package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +1 -0
  82. package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.js → HeroContent/HeroContent.styled.js} +3 -3
  83. package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.ts → HeroContent/HeroContent.styled.ts} +3 -3
  84. package/dist/src/components/organisms/HeroContent/HeroContent.tsx +23 -0
  85. package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.d.ts → HeroContent/HeroContentPropsProps.types.d.ts} +1 -1
  86. package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +1 -0
  87. package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.ts → HeroContent/HeroContentPropsProps.types.ts} +1 -1
  88. package/dist/src/components/organisms/HeroContent/index.d.ts +2 -0
  89. package/dist/src/components/organisms/HeroContent/index.js +1 -0
  90. package/dist/src/components/organisms/HeroContent/index.ts +2 -0
  91. package/dist/src/components/organisms/index.d.ts +1 -1
  92. package/dist/src/components/organisms/index.js +1 -1
  93. package/dist/src/components/organisms/index.ts +1 -1
  94. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
  95. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
  96. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
  97. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
  98. package/dist/src/components/pages/PricingPage/PricingPage.d.ts +3 -0
  99. package/dist/src/components/pages/PricingPage/PricingPage.js +10 -0
  100. package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +1 -0
  101. package/dist/src/components/pages/PricingPage/PricingPage.styled.js +126 -0
  102. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +127 -0
  103. package/dist/src/components/pages/PricingPage/PricingPage.tsx +53 -0
  104. package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +28 -0
  105. package/dist/src/components/pages/PricingPage/PricingPageProps.js +1 -0
  106. package/dist/src/components/pages/PricingPage/PricingPageProps.ts +33 -0
  107. package/dist/src/components/pages/PricingPage/index.d.ts +2 -0
  108. package/dist/src/components/pages/PricingPage/index.js +2 -0
  109. package/dist/src/components/pages/PricingPage/index.ts +2 -0
  110. package/dist/src/components/pages/index.d.ts +1 -0
  111. package/dist/src/components/pages/index.js +1 -0
  112. package/dist/src/components/pages/index.ts +1 -0
  113. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
  114. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
  115. package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +4 -0
  116. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +9 -0
  117. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +2 -0
  118. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +33 -0
  119. package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +35 -0
  120. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +23 -0
  121. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +4 -0
  122. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +1 -0
  123. package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +5 -0
  124. package/dist/src/components/sections/CardBoxSection/index.d.ts +2 -0
  125. package/dist/src/components/sections/CardBoxSection/index.js +1 -0
  126. package/dist/src/components/sections/CardBoxSection/index.ts +2 -0
  127. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  128. package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
  129. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +1 -1
  130. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +0 -5
  131. package/dist/src/components/sections/HeroSection/HeroSection.d.ts +4 -0
  132. package/dist/src/components/sections/HeroSection/HeroSection.js +7 -0
  133. package/dist/src/components/sections/HeroSection/HeroSection.tsx +24 -0
  134. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +6 -0
  135. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +1 -0
  136. package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +7 -0
  137. package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +1 -0
  138. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.js → HeroSection/HeroSectionStyled.styled.js} +2 -2
  139. package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.ts → HeroSection/HeroSectionStyled.styled.ts} +2 -2
  140. package/dist/src/components/sections/HeroSection/index.d.ts +2 -0
  141. package/dist/src/components/sections/HeroSection/index.js +1 -0
  142. package/dist/src/components/sections/HeroSection/index.ts +2 -0
  143. package/dist/src/components/sections/index.d.ts +2 -1
  144. package/dist/src/components/sections/index.js +2 -1
  145. package/dist/src/components/sections/index.ts +2 -1
  146. package/dist/tsconfig.build.tsbuildinfo +1 -1
  147. package/package.json +8 -5
  148. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +0 -4
  149. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
  150. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +0 -18
  151. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +0 -6
  152. package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +0 -2
  153. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
  154. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +0 -2
  155. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
  156. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
  157. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -61
  158. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
  159. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
  160. package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
  161. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +0 -4
  162. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
  163. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
  164. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +0 -23
  165. package/dist/src/components/organisms/AboutUsContent/index.d.ts +0 -2
  166. package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
  167. package/dist/src/components/organisms/AboutUsContent/index.ts +0 -2
  168. package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +0 -4
  169. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
  170. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
  171. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -24
  172. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +0 -6
  173. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +0 -7
  174. package/dist/src/components/sections/AboutUsSection/index.d.ts +0 -2
  175. package/dist/src/components/sections/AboutUsSection/index.js +0 -1
  176. package/dist/src/components/sections/AboutUsSection/index.ts +0 -2
  177. /package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.js → BenefitCard/BenefitCardProps.types.js} +0 -0
  178. /package/dist/src/components/{molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js → atoms/CardBox/CardBoxProps.types.js} +0 -0
  179. /package/dist/src/components/{organisms/AboutUsContent/AboutUsContentProps.types.js → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js} +0 -0
  180. /package/dist/src/components/{sections/AboutUsSection/AboutUsSectionProps.types.js → molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js} +0 -0
@@ -1,61 +0,0 @@
1
- import React, { FC, ReactNode } from 'react'
2
-
3
- import { BenefitProps, RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
4
- import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms'
5
- import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
6
- import { stringSlugify } from '../../../utils/stringSlugify'
7
-
8
- const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
9
- cardStyle = 'primary',
10
- iconTitle,
11
- title,
12
- priceText,
13
- mainFeatures,
14
- AIFeatures,
15
- buttonText,
16
- dataQa,
17
- handleClick
18
- }) => {
19
- if (!title) return null
20
- const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
21
- const renderFeatures = (features: BenefitProps[], className?: string): ReactNode =>
22
- features.map((feature) => (
23
- <div key={feature.title} className={`ratafia-card__feature ${className ?? ''}`}>
24
- {feature.image?.url && <IconSvgURLWithThemeColor url={feature.image.url} height='16' width='16' />}
25
- <RichTextStrapi html={feature.title} />
26
- </div>
27
- ))
28
-
29
- return (
30
- <RatafiaSubscriptionCardStyled className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
31
- <div className='ratafia-card__header'>
32
- {title && (
33
- <div className='ratafia-card__title'>
34
- {iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
35
- <RichTextStrapi html={title} />
36
- </div>
37
- )}
38
- {priceText && <div className='ratafia-card__price-text'>{priceText}</div>}
39
- </div>
40
- <hr />
41
- <div className='ratafia-card__body'>
42
- {mainFeatures && renderFeatures(mainFeatures as unknown as BenefitProps[], 'main-feature')}
43
- {AIFeatures && renderFeatures(AIFeatures as unknown as BenefitProps[], 'ratafia-feature')}
44
- </div>
45
- {buttonText && (
46
- <div className='ratafia-card__footer'>
47
- <Button
48
- dataQa={`${dataQa ?? 'ratafia-card-button'}`}
49
- givenClass='ratafia-card__button'
50
- color={buttonStyle}
51
- label={buttonText}
52
- noLink
53
- onClick={handleClick}
54
- />
55
- </div>
56
- )}
57
- </RatafiaSubscriptionCardStyled>
58
- )
59
- }
60
-
61
- export default RatafiaSubscriptionCard
@@ -1,2 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
2
- export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types';
@@ -1 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard'
2
- export { type RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type AboutUsContentProps } from './AboutUsContentProps.types';
3
- declare const AboutUsContent: FC<AboutUsContentProps>;
4
- export default AboutUsContent;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsContentStyled } from './AboutUsContent.styled';
3
- import { Button } from '../../atoms';
4
- const AboutUsContent = ({ children, image, button }) => {
5
- return (_jsxs(AboutUsContentStyled, { children: [_jsx("div", { className: 'about-us-content__image', children: image }), _jsxs("div", { className: 'about-us-content__body', children: [children, button != null && (_jsx("div", { className: 'about-us-content__body__button', children: _jsx(Button, { ...button }) }))] })] }));
6
- };
7
- export default AboutUsContent;
@@ -1 +0,0 @@
1
- export declare const AboutUsContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,23 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { type AboutUsContentProps } from './AboutUsContentProps.types'
4
- import { AboutUsContentStyled } from './AboutUsContent.styled'
5
- import { Button } from '../../atoms'
6
-
7
- const AboutUsContent: FC<AboutUsContentProps> = ({ children, image, button }) => {
8
- return (
9
- <AboutUsContentStyled>
10
- <div className={'about-us-content__image'}>{image}</div>
11
- <div className={'about-us-content__body'}>
12
- {children}
13
- {button != null && (
14
- <div className={'about-us-content__body__button'}>
15
- <Button {...button} />
16
- </div>
17
- )}
18
- </div>
19
- </AboutUsContentStyled>
20
- )
21
- }
22
-
23
- export default AboutUsContent
@@ -1,2 +0,0 @@
1
- export { default as AboutUsContent } from './AboutUsContent';
2
- export { type AboutUsContentProps } from './AboutUsContentProps.types';
@@ -1 +0,0 @@
1
- export { default as AboutUsContent } from './AboutUsContent';
@@ -1,2 +0,0 @@
1
- export { default as AboutUsContent } from './AboutUsContent'
2
- export { type AboutUsContentProps } from './AboutUsContentProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type AboutUsSectionProps } from './AboutUsSectionProps.types';
3
- declare const AboutUsSection: FC<AboutUsSectionProps>;
4
- export default AboutUsSection;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsContent } from '../../organisms/AboutUsContent';
3
- import { AboutUsSectionStyled } from './AboutUsSection.styled';
4
- const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
5
- return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
6
- };
7
- export default AboutUsSection;
@@ -1 +0,0 @@
1
- export declare const AboutUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,24 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { AboutUsContent } from '../../organisms/AboutUsContent'
4
- import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
5
- import { AboutUsSectionStyled } from './AboutUsSection.styled'
6
-
7
- const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
8
- return (
9
- <AboutUsSectionStyled className='about-us-section'>
10
- <div className='wrapper wrapper--responsive'>
11
- <div className='about-us-section__title'>
12
- <span className='about-us-section__title__text'>{title}</span>
13
- </div>
14
- {Boolean(subTitle) && <h1 className='about-us-section__sub-title'>{subTitle}</h1>}
15
-
16
- <AboutUsContent image={contentAboutUs.image} button={contentAboutUs?.button}>
17
- {contentAboutUs.children}
18
- </AboutUsContent>
19
- </div>
20
- </AboutUsSectionStyled>
21
- )
22
- }
23
-
24
- export default AboutUsSection
@@ -1,6 +0,0 @@
1
- import { type AboutUsContentProps } from '../../organisms/AboutUsContent';
2
- export interface AboutUsSectionProps {
3
- title: string;
4
- subTitle?: string;
5
- contentAboutUs: AboutUsContentProps;
6
- }
@@ -1,7 +0,0 @@
1
- import { type AboutUsContentProps } from '../../organisms/AboutUsContent'
2
-
3
- export interface AboutUsSectionProps {
4
- title: string
5
- subTitle?: string
6
- contentAboutUs: AboutUsContentProps
7
- }
@@ -1,2 +0,0 @@
1
- export { default as AboutUsSection } from './AboutUsSection';
2
- export { type AboutUsSectionProps } from './AboutUsSectionProps.types';
@@ -1 +0,0 @@
1
- export { default as AboutUsSection } from './AboutUsSection';
@@ -1,2 +0,0 @@
1
- export { default as AboutUsSection } from './AboutUsSection'
2
- export { type AboutUsSectionProps } from './AboutUsSectionProps.types'