@npm_leadtech/legal-lib-components 7.5.8 → 7.7.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} +13 -31
  66. package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts → SubscriptionCard/SubscriptionCard.styled.ts} +13 -31
  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 +130 -0
  102. package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +131 -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
@@ -0,0 +1,130 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const PricingPageStyled = styled.div `
4
+ width: 100%;
5
+ .hero-section {
6
+ .hero-content__image {
7
+ .gatsby-image-wrapper {
8
+ min-height: 360px;
9
+ @media ${device['portrait-tablets']} {
10
+ min-height: auto;
11
+ }
12
+ }
13
+ }
14
+ }
15
+
16
+ .pricing-plans {
17
+ padding-left: 1.5rem;
18
+ padding-right: 1.5rem;
19
+ align-items: center;
20
+ display: flex;
21
+ flex-flow: column nowrap;
22
+ gap: 2rem;
23
+ margin-bottom: 48px;
24
+ &__title {
25
+ color: var(--Neutral-800, var(--neutral-neutral-1));
26
+ font-size: 28px;
27
+ font-style: normal;
28
+ font-weight: 700;
29
+ line-height: 32px;
30
+ letter-spacing: -0.3px;
31
+ margin-top: 48px;
32
+ text-align: center;
33
+ }
34
+
35
+ .subscription-card {
36
+ min-width: 379px;
37
+ }
38
+
39
+ .subscription-card__feature {
40
+ margin-bottom: 1rem;
41
+ &.ratafia-feature {
42
+ padding: 0.5rem;
43
+ }
44
+ }
45
+
46
+ .subscription-card__button {
47
+ flex: inherit;
48
+ }
49
+
50
+ .primary {
51
+ .subscription-card__feature {
52
+ &.ratafia-feature {
53
+ background-color: var(--primary-main-light-5);
54
+ }
55
+ }
56
+ }
57
+ &__cards {
58
+ display: flex;
59
+ flex-direction: column;
60
+ gap: 32px;
61
+
62
+ @media ${device.desktop} {
63
+ flex-direction: row;
64
+ }
65
+ }
66
+ }
67
+
68
+ .support-section {
69
+ margin-top: 48px;
70
+ display: flex;
71
+ flex-direction: column;
72
+ align-items: center;
73
+ padding-left: 1.5rem;
74
+ padding-right: 1.5rem;
75
+ &__content {
76
+ display: flex;
77
+ flex-direction: column;
78
+ align-items: center;
79
+ text-align: center;
80
+
81
+ h2 {
82
+ color: var(--Neutral-800, var(--neutral-neutral-1));
83
+ font-size: 28px;
84
+ font-style: normal;
85
+ font-weight: 700;
86
+ line-height: 32px;
87
+ letter-spacing: -0.3px;
88
+ margin-bottom: 24px;
89
+ }
90
+ }
91
+ }
92
+
93
+ .benefits {
94
+ padding: 48px;
95
+ background: var(--primary-main-light-6);
96
+ border-radius: 16px;
97
+ margin-top: 48px;
98
+ padding-left: 1.5rem;
99
+ padding-right: 1.5rem;
100
+ &__title {
101
+ color: var(--Neutral-800, var(--neutral-neutral-1));
102
+ font-size: 28px;
103
+ font-style: normal;
104
+ font-weight: 700;
105
+ line-height: 32px;
106
+ letter-spacing: -0.3px;
107
+ margin-bottom: 40px;
108
+ }
109
+ &__cards {
110
+ display: flex;
111
+ gap: 16px;
112
+ flex-direction: column;
113
+ width: 100%;
114
+
115
+ @media ${device.laptop} {
116
+ flex-direction: row;
117
+ }
118
+ }
119
+ }
120
+ .faqs-section {
121
+ max-width: inherit;
122
+ align-items: center;
123
+ padding-bottom: 80px;
124
+ padding-top: 48px;
125
+ background: var(--neutral-neutral-6);
126
+ &__content {
127
+ max-width: 1200px;
128
+ }
129
+ }
130
+ `;
@@ -0,0 +1,131 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const PricingPageStyled = styled.div`
5
+ width: 100%;
6
+ .hero-section {
7
+ .hero-content__image {
8
+ .gatsby-image-wrapper {
9
+ min-height: 360px;
10
+ @media ${device['portrait-tablets']} {
11
+ min-height: auto;
12
+ }
13
+ }
14
+ }
15
+ }
16
+
17
+ .pricing-plans {
18
+ padding-left: 1.5rem;
19
+ padding-right: 1.5rem;
20
+ align-items: center;
21
+ display: flex;
22
+ flex-flow: column nowrap;
23
+ gap: 2rem;
24
+ margin-bottom: 48px;
25
+ &__title {
26
+ color: var(--Neutral-800, var(--neutral-neutral-1));
27
+ font-size: 28px;
28
+ font-style: normal;
29
+ font-weight: 700;
30
+ line-height: 32px;
31
+ letter-spacing: -0.3px;
32
+ margin-top: 48px;
33
+ text-align: center;
34
+ }
35
+
36
+ .subscription-card {
37
+ min-width: 379px;
38
+ }
39
+
40
+ .subscription-card__feature {
41
+ margin-bottom: 1rem;
42
+ &.ratafia-feature {
43
+ padding: 0.5rem;
44
+ }
45
+ }
46
+
47
+ .subscription-card__button {
48
+ flex: inherit;
49
+ }
50
+
51
+ .primary {
52
+ .subscription-card__feature {
53
+ &.ratafia-feature {
54
+ background-color: var(--primary-main-light-5);
55
+ }
56
+ }
57
+ }
58
+ &__cards {
59
+ display: flex;
60
+ flex-direction: column;
61
+ gap: 32px;
62
+
63
+ @media ${device.desktop} {
64
+ flex-direction: row;
65
+ }
66
+ }
67
+ }
68
+
69
+ .support-section {
70
+ margin-top: 48px;
71
+ display: flex;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ padding-left: 1.5rem;
75
+ padding-right: 1.5rem;
76
+ &__content {
77
+ display: flex;
78
+ flex-direction: column;
79
+ align-items: center;
80
+ text-align: center;
81
+
82
+ h2 {
83
+ color: var(--Neutral-800, var(--neutral-neutral-1));
84
+ font-size: 28px;
85
+ font-style: normal;
86
+ font-weight: 700;
87
+ line-height: 32px;
88
+ letter-spacing: -0.3px;
89
+ margin-bottom: 24px;
90
+ }
91
+ }
92
+ }
93
+
94
+ .benefits {
95
+ padding: 48px;
96
+ background: var(--primary-main-light-6);
97
+ border-radius: 16px;
98
+ margin-top: 48px;
99
+ padding-left: 1.5rem;
100
+ padding-right: 1.5rem;
101
+ &__title {
102
+ color: var(--Neutral-800, var(--neutral-neutral-1));
103
+ font-size: 28px;
104
+ font-style: normal;
105
+ font-weight: 700;
106
+ line-height: 32px;
107
+ letter-spacing: -0.3px;
108
+ margin-bottom: 40px;
109
+ }
110
+ &__cards {
111
+ display: flex;
112
+ gap: 16px;
113
+ flex-direction: column;
114
+ width: 100%;
115
+
116
+ @media ${device.laptop} {
117
+ flex-direction: row;
118
+ }
119
+ }
120
+ }
121
+ .faqs-section {
122
+ max-width: inherit;
123
+ align-items: center;
124
+ padding-bottom: 80px;
125
+ padding-top: 48px;
126
+ background: var(--neutral-neutral-6);
127
+ &__content {
128
+ max-width: 1200px;
129
+ }
130
+ }
131
+ `
@@ -0,0 +1,53 @@
1
+ import React from 'react'
2
+
3
+ import { CardBoxFeaturedSection, CardBoxMinimalSection, FaqSection, HeroSection } from '../../sections'
4
+ import { BenefitCard } from '../../atoms'
5
+ import { PlanBoxPricingSubscriptionCard } from '../../molecules'
6
+ import { PricingPageProps } from './PricingPageProps'
7
+ import { PricingPageStyled } from './PricingPage.styled'
8
+
9
+ export const PricingPage: React.FC<PricingPageProps> = ({
10
+ benefitsContent,
11
+ faqsContent,
12
+ helpResourcesCards,
13
+ pricingPlanContent,
14
+ pricingSection,
15
+ supportContent
16
+ }) => {
17
+ return (
18
+ <PricingPageStyled>
19
+ {pricingSection != null && <HeroSection {...pricingSection} />}
20
+ <div className='pricing-plans wrapper wrapper--responsive'>
21
+ {pricingPlanContent?.title && <h2 className='pricing-plans__title'>{pricingPlanContent.title}</h2>}
22
+ <div className='pricing-plans__cards'>
23
+ {pricingPlanContent?.plans?.length > 0 &&
24
+ pricingPlanContent?.plans?.map((plan) => <PlanBoxPricingSubscriptionCard key={plan?.id} {...plan} />)}
25
+ </div>
26
+ </div>
27
+ <CardBoxMinimalSection cards={helpResourcesCards} />
28
+ <div className='wrapper wrapper--responsive'>
29
+ <div className='benefits'>
30
+ {benefitsContent?.title && <h2 className='benefits__title'>{benefitsContent.title}</h2>}
31
+ <div className='benefits__cards'>
32
+ {benefitsContent?.benefitsList?.length > 0 &&
33
+ benefitsContent?.benefitsList?.map((benefit) => (
34
+ <BenefitCard hasShadow={false} key={benefit?.id} {...benefit} />
35
+ ))}
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <div className='support-section'>
40
+ {supportContent?.title && (
41
+ <div className='support-section__content'>
42
+ <h2>{supportContent.title}</h2>
43
+ {supportContent.description}
44
+ </div>
45
+ )}
46
+ <CardBoxFeaturedSection cards={supportContent?.benefitsList} />
47
+ </div>
48
+ <div className='faqs-section'>
49
+ <FaqSection groups={faqsContent?.faqItems} givenClass='faqs-section__content wrapper wrapper--responsive' />
50
+ </div>
51
+ </PricingPageStyled>
52
+ )
53
+ }
@@ -0,0 +1,28 @@
1
+ import { BenefitCardProps, CardBoxProps } from 'src/components/atoms';
2
+ import { FaqGroupProps } from 'src/components/organisms';
3
+ import { HeroSectionProps } from 'src/components/sections';
4
+ import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules';
5
+ export interface BenefitContentProps {
6
+ title: string;
7
+ benefitsList: BenefitCardProps[];
8
+ }
9
+ export interface FaqsContentProps {
10
+ faqItems: FaqGroupProps[];
11
+ }
12
+ export interface PricingPlanContentProps {
13
+ title: string;
14
+ plans: PlanBoxPricingSubscriptionCardProps[];
15
+ }
16
+ export interface SupportContentProps {
17
+ title: string;
18
+ description: string;
19
+ benefitsList: CardBoxProps[];
20
+ }
21
+ export interface PricingPageProps {
22
+ benefitsContent: BenefitContentProps;
23
+ faqsContent: FaqsContentProps;
24
+ helpResourcesCards: CardBoxProps[];
25
+ supportContent: SupportContentProps;
26
+ pricingPlanContent: PricingPlanContentProps;
27
+ pricingSection: HeroSectionProps;
28
+ }
@@ -0,0 +1,33 @@
1
+ import { BenefitCardProps, CardBoxProps } from 'src/components/atoms'
2
+ import { FaqGroupProps } from 'src/components/organisms'
3
+ import { HeroSectionProps } from 'src/components/sections'
4
+ import { PlanBoxPricingSubscriptionCardProps } from 'src/components/molecules'
5
+
6
+ export interface BenefitContentProps {
7
+ title: string
8
+ benefitsList: BenefitCardProps[]
9
+ }
10
+
11
+ export interface FaqsContentProps {
12
+ faqItems: FaqGroupProps[]
13
+ }
14
+
15
+ export interface PricingPlanContentProps {
16
+ title: string
17
+ plans: PlanBoxPricingSubscriptionCardProps[]
18
+ }
19
+
20
+ export interface SupportContentProps {
21
+ title: string
22
+ description: string
23
+ benefitsList: CardBoxProps[]
24
+ }
25
+
26
+ export interface PricingPageProps {
27
+ benefitsContent: BenefitContentProps
28
+ faqsContent: FaqsContentProps
29
+ helpResourcesCards: CardBoxProps[]
30
+ supportContent: SupportContentProps
31
+ pricingPlanContent: PricingPlanContentProps
32
+ pricingSection: HeroSectionProps
33
+ }
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage';
2
+ export * from './PricingPageProps';
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage';
2
+ export * from './PricingPageProps';
@@ -0,0 +1,2 @@
1
+ export { PricingPage } from './PricingPage'
2
+ export * from './PricingPageProps'
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
+ export * from './PricingPage';
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage';
11
11
  export * from './RatafiaResultPage';
12
12
  export * from './UnsubscribePage';
13
13
  export * from './LoginRatafiaPage';
14
+ export * from './PricingPage';
@@ -11,3 +11,4 @@ export * from './RatafiaPricingPage'
11
11
  export * from './RatafiaResultPage'
12
12
  export * from './UnsubscribePage'
13
13
  export * from './LoginRatafiaPage'
14
+ export * from './PricingPage'
@@ -1,8 +1,8 @@
1
- import { type BenefitRatafiaCardProps } from '../../atoms';
1
+ import { type BenefitCardProps } from '../../atoms';
2
2
  import React from 'react';
3
3
  export interface BenefitsRatafiaSectionProps {
4
4
  title: string;
5
5
  description: string;
6
6
  descriptionRichtext: React.ReactNode;
7
- benefits: BenefitRatafiaCardProps[];
7
+ benefits: BenefitCardProps[];
8
8
  }
@@ -1,9 +1,9 @@
1
- import { type BenefitRatafiaCardProps } from '../../atoms'
1
+ import { type BenefitCardProps } from '../../atoms'
2
2
  import React from 'react'
3
3
 
4
4
  export interface BenefitsRatafiaSectionProps {
5
5
  title: string
6
6
  description: string
7
7
  descriptionRichtext: React.ReactNode
8
- benefits: BenefitRatafiaCardProps[]
8
+ benefits: BenefitCardProps[]
9
9
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type CardBoxSectionProps } from './CardBoxSectionProps';
3
+ export declare const CardBoxMinimalSection: React.FC<CardBoxSectionProps>;
4
+ export declare const CardBoxFeaturedSection: React.FC<CardBoxSectionProps>;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled';
3
+ import { CardBox } from '../../atoms';
4
+ export const CardBoxMinimalSection = ({ cards }) => {
5
+ return (_jsx(CardBoxMinimalSectionStyled, { children: cards?.map(({ text, icon, id }) => _jsx(CardBox, { text: text, icon: icon }, id)) }));
6
+ };
7
+ export const CardBoxFeaturedSection = ({ cards }) => {
8
+ return (_jsx(CardBoxFeaturedSectionStyled, { children: cards?.map(({ text, icon, id }) => (_jsx(CardBox, { text: text, icon: icon, padding: '16px', gap: '0.5rem', borderRadius: '8px' }, id))) }));
9
+ };
@@ -0,0 +1,2 @@
1
+ export declare const CardBoxMinimalSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const CardBoxFeaturedSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,33 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const CardBoxMinimalSectionStyled = styled.div `
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ padding: 48px 24px;
8
+ gap: 16px;
9
+ align-self: stretch;
10
+ background: var(--neutral-neutral-6);
11
+
12
+ @media ${device['landscape-tablets']} {
13
+ flex-direction: row;
14
+ }
15
+ `;
16
+ export const CardBoxFeaturedSectionStyled = styled.div `
17
+ display: flex;
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ padding: 24px 24px;
21
+ gap: 16px;
22
+ background: var(--neutral-neutral-6);
23
+ border-radius: 16px;
24
+ margin-bottom: 80px;
25
+ margin-top: 32px;
26
+ @media ${device.desktop} {
27
+ min-width: 1200px;
28
+ }
29
+
30
+ @media ${device['landscape-tablets']} {
31
+ flex-direction: row;
32
+ }
33
+ `;
@@ -0,0 +1,35 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const CardBoxMinimalSectionStyled = styled.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
8
+ padding: 48px 24px;
9
+ gap: 16px;
10
+ align-self: stretch;
11
+ background: var(--neutral-neutral-6);
12
+
13
+ @media ${device['landscape-tablets']} {
14
+ flex-direction: row;
15
+ }
16
+ `
17
+
18
+ export const CardBoxFeaturedSectionStyled = styled.div`
19
+ display: flex;
20
+ flex-direction: column;
21
+ justify-content: center;
22
+ padding: 24px 24px;
23
+ gap: 16px;
24
+ background: var(--neutral-neutral-6);
25
+ border-radius: 16px;
26
+ margin-bottom: 80px;
27
+ margin-top: 32px;
28
+ @media ${device.desktop} {
29
+ min-width: 1200px;
30
+ }
31
+
32
+ @media ${device['landscape-tablets']} {
33
+ flex-direction: row;
34
+ }
35
+ `
@@ -0,0 +1,23 @@
1
+ import React from 'react'
2
+
3
+ import { CardBoxFeaturedSectionStyled, CardBoxMinimalSectionStyled } from './CardBoxSection.styled'
4
+ import { CardBox } from '../../atoms'
5
+ import { type CardBoxSectionProps } from './CardBoxSectionProps'
6
+
7
+ export const CardBoxMinimalSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
8
+ return (
9
+ <CardBoxMinimalSectionStyled>
10
+ {cards?.map(({ text, icon, id }) => <CardBox key={id} text={text} icon={icon} />)}
11
+ </CardBoxMinimalSectionStyled>
12
+ )
13
+ }
14
+
15
+ export const CardBoxFeaturedSection: React.FC<CardBoxSectionProps> = ({ cards }) => {
16
+ return (
17
+ <CardBoxFeaturedSectionStyled>
18
+ {cards?.map(({ text, icon, id }) => (
19
+ <CardBox key={id} text={text} icon={icon} padding='16px' gap='0.5rem' borderRadius='8px' />
20
+ ))}
21
+ </CardBoxFeaturedSectionStyled>
22
+ )
23
+ }
@@ -0,0 +1,4 @@
1
+ import { CardBoxProps } from 'src/components/atoms';
2
+ export interface CardBoxSectionProps {
3
+ cards: CardBoxProps[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { CardBoxProps } from 'src/components/atoms'
2
+
3
+ export interface CardBoxSectionProps {
4
+ cards: CardBoxProps[]
5
+ }
@@ -0,0 +1,2 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
2
+ export { type CardBoxSectionProps } from './CardBoxSectionProps';
@@ -0,0 +1 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection';
@@ -0,0 +1,2 @@
1
+ export { CardBoxFeaturedSection, CardBoxMinimalSection } from './CardBoxSection'
2
+ export { type CardBoxSectionProps } from './CardBoxSectionProps'
@@ -4,5 +4,5 @@ import { FaqGroup } from '../../organisms';
4
4
  import { FaqSectionStyled } from './FaqSection.styled';
5
5
  export const FaqSection = ({ groups, givenClass }) => {
6
6
  const classnames = classNames(`faqSection ${givenClass ?? ''}`);
7
- return (_jsx(FaqSectionStyled, { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups.map((group) => (_jsx(FaqGroup, { ...group }, group.id))) }));
7
+ return (_jsx(FaqSectionStyled, { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups?.map((group) => _jsx(FaqGroup, { ...group }, group.id)) }));
8
8
  };
@@ -10,9 +10,7 @@ export const FaqSection: React.FC<FaqSectionProps> = ({ groups, givenClass }) =>
10
10
 
11
11
  return (
12
12
  <FaqSectionStyled className={classnames} itemScope itemType='https://www.schema.org/FAQPage'>
13
- {groups.map((group) => (
14
- <FaqGroup key={group.id} {...group} />
15
- ))}
13
+ {groups?.map((group) => <FaqGroup key={group.id} {...group} />)}
16
14
  </FaqSectionStyled>
17
15
  )
18
16
  }
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { GuidelinesContent } from '../../organisms/GuidelinesContent';
3
3
  import { GuidelinesSectionStyled } from './GuidelinesSection.styled';
4
4
  const GuidelinesSection = ({ contentGuidelines }) => {
5
- return (_jsx(GuidelinesSectionStyled, { className: 'guidelines-section', children: _jsx(GuidelinesContent, { title: contentGuidelines.title, image: contentGuidelines.image, detail: contentGuidelines.detail, tryNowText: contentGuidelines.tryNowText, tryNowButtonText: contentGuidelines.tryNowButtonText, tryNowButtonLink: contentGuidelines.tryNowButtonLink, tryNowButtonDataQa: contentGuidelines.tryNowButtonDataQa, tryNowImage: contentGuidelines.tryNowImage, children: contentGuidelines.children }) }));
5
+ return (_jsx(GuidelinesSectionStyled, { className: 'guidelines-section', children: _jsx(GuidelinesContent, { title: contentGuidelines.title, image: contentGuidelines.image, detail: contentGuidelines.detail, children: contentGuidelines.children }) }));
6
6
  };
7
7
  export default GuidelinesSection;
@@ -11,11 +11,6 @@ const GuidelinesSection: FC<GuidelinesSectionProps> = ({ contentGuidelines }) =>
11
11
  title={contentGuidelines.title}
12
12
  image={contentGuidelines.image}
13
13
  detail={contentGuidelines.detail}
14
- tryNowText={contentGuidelines.tryNowText}
15
- tryNowButtonText={contentGuidelines.tryNowButtonText}
16
- tryNowButtonLink={contentGuidelines.tryNowButtonLink}
17
- tryNowButtonDataQa={contentGuidelines.tryNowButtonDataQa}
18
- tryNowImage={contentGuidelines.tryNowImage}
19
14
  >
20
15
  {contentGuidelines.children}
21
16
  </GuidelinesContent>
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type HeroSectionProps } from './HeroSectionProps.types';
3
+ declare const HeroSection: FC<HeroSectionProps>;
4
+ export default HeroSection;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { HeroContent } from '../../organisms/HeroContent';
3
+ import { HeroSectionStyled } from './HeroSectionStyled.styled';
4
+ const HeroSection = ({ title, subTitle, content }) => {
5
+ return (_jsx(HeroSectionStyled, { className: 'hero-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'hero-section__title', children: _jsx("span", { className: 'hero-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'hero-section__sub-title', children: subTitle }), _jsx(HeroContent, { image: content.image, button: content?.button, children: content.children })] }) }));
6
+ };
7
+ export default HeroSection;
@@ -0,0 +1,24 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { HeroContent } from '../../organisms/HeroContent'
4
+ import { type HeroSectionProps } from './HeroSectionProps.types'
5
+ import { HeroSectionStyled } from './HeroSectionStyled.styled'
6
+
7
+ const HeroSection: FC<HeroSectionProps> = ({ title, subTitle, content }) => {
8
+ return (
9
+ <HeroSectionStyled className='hero-section'>
10
+ <div className='wrapper wrapper--responsive'>
11
+ <div className='hero-section__title'>
12
+ <span className='hero-section__title__text'>{title}</span>
13
+ </div>
14
+ {Boolean(subTitle) && <h1 className='hero-section__sub-title'>{subTitle}</h1>}
15
+
16
+ <HeroContent image={content.image} button={content?.button}>
17
+ {content.children}
18
+ </HeroContent>
19
+ </div>
20
+ </HeroSectionStyled>
21
+ )
22
+ }
23
+
24
+ export default HeroSection