@levo-so/blocks 0.1.2 → 0.1.52
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.
- package/package.json +2 -2
- package/src/blocks/about-us/about-us-1.schema.ts +26 -12
- package/src/blocks/about-us/about-us-2.schema.ts +269 -0
- package/src/blocks/about-us/about-us-2.tsx +47 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
- package/src/blocks/blogs/blog-listing-1.tsx +79 -56
- package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
- package/src/blocks/blogs/blog-listing-2.tsx +16 -11
- package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
- package/src/blocks/blogs/blog-listing-3.tsx +84 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
- package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
- package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
- package/src/blocks/blogs/blog-post-3.tsx +58 -0
- package/src/blocks/cards/cards-10.schema.ts +579 -0
- package/src/blocks/cards/cards-10.tsx +2 -0
- package/src/blocks/cards/cards-11.schema.ts +514 -36
- package/src/blocks/cards/cards-13.schema.ts +615 -0
- package/src/blocks/cards/cards-13.tsx +67 -0
- package/src/blocks/cards/cards-2.schema.ts +14 -17
- package/src/blocks/cards/cards-3.schema.ts +15 -25
- package/src/blocks/cards/cards-4.schema.ts +22 -44
- package/src/blocks/cards/cards-4.tsx +39 -39
- package/src/blocks/cards/cards-5.schema.ts +15 -34
- package/src/blocks/cards/cards-6.schema.ts +1500 -0
- package/src/blocks/cards/cards-6.tsx +11 -7
- package/src/blocks/cards/cards-7.schema.ts +1772 -27
- package/src/blocks/cards/cards-7.tsx +32 -0
- package/src/blocks/cards/cards-8.schema.ts +9 -9
- package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
- package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
- package/src/blocks/content/content-1.schema.ts +45 -67
- package/src/blocks/content/content-2.schema.ts +14 -11
- package/src/blocks/content/content-3.schema.ts +17 -115
- package/src/blocks/content/content-3.tsx +1 -0
- package/src/blocks/content/content-5.tsx +1 -0
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-7.schema.ts +723 -0
- package/src/blocks/content/content-7.tsx +53 -0
- package/src/blocks/cta/cta-1.schema.ts +18 -26
- package/src/blocks/cta/cta-3.schema.ts +60 -0
- package/src/blocks/event/event-details.schema.ts +30 -35
- package/src/blocks/event/event-details.tsx +74 -79
- package/src/blocks/event/event-listing-2.schema.ts +85 -26
- package/src/blocks/event/event-listing-2.tsx +76 -52
- package/src/blocks/event/event-listing-3.schema.ts +58 -42
- package/src/blocks/event/event-listing-3.tsx +4 -9
- package/src/blocks/event/event-listing-4.schema.ts +3528 -0
- package/src/blocks/event/event-listing-4.tsx +97 -0
- package/src/blocks/event/event-listing.schema.ts +81 -86
- package/src/blocks/event/event-listing.tsx +1 -3
- package/src/blocks/faq/faq-1.schema.ts +13 -10
- package/src/blocks/faq/faq-2.schema.ts +12 -10
- package/src/blocks/features/features-1/variants/default.ts +12 -3
- package/src/blocks/features/features-2.schema.ts +192 -59
- package/src/blocks/features/features-3.schema.ts +11 -25
- package/src/blocks/features/features-4.schema.ts +20 -35
- package/src/blocks/features/features-5.schema.ts +18 -37
- package/src/blocks/footer/footer-1.schema.ts +28 -5
- package/src/blocks/footer/footer-2.schema.ts +18 -3
- package/src/blocks/footer/footer-3.schema.ts +85 -160
- package/src/blocks/footer/footer-3.tsx +1 -2
- package/src/blocks/footer/footer-4.schema.ts +10 -5
- package/src/blocks/footer/footer-4.tsx +1 -1
- package/src/blocks/footer/footer-5.schema.ts +10 -0
- package/src/blocks/footer/footer-5.tsx +11 -3
- package/src/blocks/footer/footer-6.schema.ts +730 -0
- package/src/blocks/footer/footer-6.tsx +100 -0
- package/src/blocks/hero/hero-1.schema.ts +165 -185
- package/src/blocks/hero/hero-10.schema.ts +175 -0
- package/src/blocks/hero/hero-10.tsx +35 -0
- package/src/blocks/hero/hero-2.schema.ts +60 -104
- package/src/blocks/hero/hero-2.tsx +11 -3
- package/src/blocks/hero/hero-3.schema.ts +68 -64
- package/src/blocks/hero/hero-4.schema.ts +148 -48
- package/src/blocks/hero/hero-5.schema.ts +29 -23
- package/src/blocks/hero/hero-6.schema.ts +28 -66
- package/src/blocks/hero/hero-7.schema.ts +34 -37
- package/src/blocks/hero/hero-8.schema.ts +5 -1
- package/src/blocks/index.ts +11 -0
- package/src/blocks/logos/logos-1.schema.ts +10 -4
- package/src/blocks/navbar/navbar-1.schema.ts +3 -5
- package/src/blocks/navbar/navbar-1.tsx +5 -19
- package/src/blocks/navbar/navbar-2.schema.ts +2 -4
- package/src/blocks/navbar/navbar-2.tsx +4 -18
- package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
- package/src/blocks/navbar/navbar-3.tsx +551 -0
- package/src/blocks/pricing/pricing-1.schema.ts +23 -37
- package/src/blocks/products/products-listing-1.schema.ts +73 -76
- package/src/blocks/profile/profile-1.schema.ts +399 -0
- package/src/blocks/profile/profile-1.tsx +64 -0
- package/src/blocks/stats/stats-1.schema.ts +34 -3
- package/src/blocks/stats/variants/default.ts +0 -1
- package/src/blocks/stats/variants/hero.ts +2 -13
- package/src/blocks/team/team-1.schema.ts +50 -22
- package/src/blocks/team/team-1.tsx +9 -3
- package/src/blocks/team/team-2.schema.ts +96 -167
- package/src/blocks/team/team-3.schema.ts +32 -49
- package/src/blocks/team/team-4.schema.ts +551 -0
- package/src/blocks/team/team-4.tsx +59 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
- package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
- package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
- package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
- package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
- package/src/blocks/testimonial/testimonial-5.tsx +32 -8
- package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
- package/src/blocks/testimonial/testimonial-6.tsx +107 -57
- package/src/schemas/blocks.ts +22 -0
- package/src/schemas/categories.ts +6 -0
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DEFAULT_CONTENT = {
|
|
4
|
+
layout: null,
|
|
5
|
+
container: null,
|
|
6
|
+
header_section: null,
|
|
7
|
+
main_title: "Enterprise Solutions Hub",
|
|
8
|
+
main_description:
|
|
9
|
+
"Comprehensive technology platform designed to accelerate business growth and operational excellence.",
|
|
10
|
+
main_wrapper: null,
|
|
11
|
+
left_container: null,
|
|
12
|
+
center_container: null,
|
|
13
|
+
right_container: null,
|
|
14
|
+
main_image: {
|
|
15
|
+
id: "4JOGKlkPlUtWm",
|
|
16
|
+
filename: "image.png",
|
|
17
|
+
kind: "image",
|
|
18
|
+
location: "https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU.png",
|
|
19
|
+
srcset: {
|
|
20
|
+
"1080w":
|
|
21
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1080w.webp",
|
|
22
|
+
"1200w":
|
|
23
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1200w.webp",
|
|
24
|
+
"1920w":
|
|
25
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1920w.webp",
|
|
26
|
+
"320w":
|
|
27
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-320w.webp",
|
|
28
|
+
"640w":
|
|
29
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-640w.webp",
|
|
30
|
+
"750w":
|
|
31
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-750w.webp",
|
|
32
|
+
"828w":
|
|
33
|
+
"https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-828w.webp",
|
|
34
|
+
path: "https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-ImvFuBrtkBYIU-1920w.webp 1920w",
|
|
35
|
+
},
|
|
36
|
+
mimetype: "image/png",
|
|
37
|
+
},
|
|
38
|
+
left_cards: [
|
|
39
|
+
{
|
|
40
|
+
card: null,
|
|
41
|
+
content_wrapper: null,
|
|
42
|
+
title: "Strategic Planning",
|
|
43
|
+
description:
|
|
44
|
+
"Data-driven strategic planning solutions to optimize business operations and market positioning.",
|
|
45
|
+
icon: {
|
|
46
|
+
kind: "custom",
|
|
47
|
+
data: {
|
|
48
|
+
id: "vxmyzMLxwL34",
|
|
49
|
+
filename: "image.png",
|
|
50
|
+
kind: "image",
|
|
51
|
+
location:
|
|
52
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43.png",
|
|
53
|
+
srcset: {
|
|
54
|
+
"1080w":
|
|
55
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp",
|
|
56
|
+
"1200w":
|
|
57
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp",
|
|
58
|
+
"1920w":
|
|
59
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp",
|
|
60
|
+
"320w":
|
|
61
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp",
|
|
62
|
+
"640w":
|
|
63
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp",
|
|
64
|
+
"750w":
|
|
65
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp",
|
|
66
|
+
"828w":
|
|
67
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp",
|
|
68
|
+
path: "https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp 1200w",
|
|
69
|
+
},
|
|
70
|
+
mimetype: "image/png",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
card: null,
|
|
76
|
+
content_wrapper: null,
|
|
77
|
+
title: "Strategic Planning",
|
|
78
|
+
description:
|
|
79
|
+
"Data-driven strategic planning solutions to optimize business operations and market positioning.",
|
|
80
|
+
icon: {
|
|
81
|
+
kind: "custom",
|
|
82
|
+
data: {
|
|
83
|
+
id: "vxmyzMLxwL34",
|
|
84
|
+
filename: "image.png",
|
|
85
|
+
kind: "image",
|
|
86
|
+
location:
|
|
87
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43.png",
|
|
88
|
+
srcset: {
|
|
89
|
+
"1080w":
|
|
90
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp",
|
|
91
|
+
"1200w":
|
|
92
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp",
|
|
93
|
+
"1920w":
|
|
94
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp",
|
|
95
|
+
"320w":
|
|
96
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp",
|
|
97
|
+
"640w":
|
|
98
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp",
|
|
99
|
+
"750w":
|
|
100
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp",
|
|
101
|
+
"828w":
|
|
102
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp",
|
|
103
|
+
path: "https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp 1200w",
|
|
104
|
+
},
|
|
105
|
+
mimetype: "image/png",
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
right_cards: [
|
|
111
|
+
{
|
|
112
|
+
card: null,
|
|
113
|
+
content_wrapper: null,
|
|
114
|
+
title: "Analytics Dashboard",
|
|
115
|
+
description:
|
|
116
|
+
"<p>Data-driven strategic planning solutions to optimize business operations and market positioning.</p>",
|
|
117
|
+
icon: {
|
|
118
|
+
kind: "custom",
|
|
119
|
+
data: {
|
|
120
|
+
id: "vxmyzMLxwL34",
|
|
121
|
+
filename: "image.png",
|
|
122
|
+
kind: "image",
|
|
123
|
+
location:
|
|
124
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43.png",
|
|
125
|
+
srcset: {
|
|
126
|
+
"1080w":
|
|
127
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp",
|
|
128
|
+
"1200w":
|
|
129
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp",
|
|
130
|
+
"1920w":
|
|
131
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp",
|
|
132
|
+
"320w":
|
|
133
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp",
|
|
134
|
+
"640w":
|
|
135
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp",
|
|
136
|
+
"750w":
|
|
137
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp",
|
|
138
|
+
"828w":
|
|
139
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp",
|
|
140
|
+
path: "https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp 1200w",
|
|
141
|
+
},
|
|
142
|
+
mimetype: "image/png",
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
card: null,
|
|
148
|
+
content_wrapper: null,
|
|
149
|
+
title: "Security Solutions",
|
|
150
|
+
description:
|
|
151
|
+
"<p>Data-driven strategic planning solutions to optimize business operations and market positioning.</p>",
|
|
152
|
+
icon: {
|
|
153
|
+
kind: "custom",
|
|
154
|
+
data: {
|
|
155
|
+
id: "vxmyzMLxwL34",
|
|
156
|
+
filename: "image.png",
|
|
157
|
+
kind: "image",
|
|
158
|
+
location:
|
|
159
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43.png",
|
|
160
|
+
srcset: {
|
|
161
|
+
"1080w":
|
|
162
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp",
|
|
163
|
+
"1200w":
|
|
164
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp",
|
|
165
|
+
"1920w":
|
|
166
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp",
|
|
167
|
+
"320w":
|
|
168
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp",
|
|
169
|
+
"640w":
|
|
170
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp",
|
|
171
|
+
"750w":
|
|
172
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp",
|
|
173
|
+
"828w":
|
|
174
|
+
"https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp",
|
|
175
|
+
path: "https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1920w.webp 1920w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-eg6Nl4PISv43-1200w.webp 1200w",
|
|
176
|
+
},
|
|
177
|
+
mimetype: "image/png",
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export type ICards13Content = typeof DEFAULT_CONTENT;
|
|
185
|
+
|
|
186
|
+
export const Cards13: IBlock = {
|
|
187
|
+
category_id: "cards",
|
|
188
|
+
title: "Cards 13",
|
|
189
|
+
key: "cards-13",
|
|
190
|
+
version: "v1",
|
|
191
|
+
prompt_description:
|
|
192
|
+
"A cards block with header section, repeatable cards on the left, a centered main image, and repeatable cards on the right",
|
|
193
|
+
content_schema: [
|
|
194
|
+
{
|
|
195
|
+
key: "layout",
|
|
196
|
+
label: "Layout",
|
|
197
|
+
field_interface: "LayoutWidget",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
key: "container",
|
|
201
|
+
label: "Container",
|
|
202
|
+
field_interface: "ContainerWidget",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
key: "header_section",
|
|
206
|
+
label: "Header Section",
|
|
207
|
+
field_interface: "LayoutWidget",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
key: "main_title",
|
|
211
|
+
label: "Main Title",
|
|
212
|
+
field_interface: "HeadingWidget",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
key: "main_description",
|
|
216
|
+
label: "Main Description",
|
|
217
|
+
field_interface: "TypographyWidget",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
key: "main_wrapper",
|
|
221
|
+
label: "Main Wrapper",
|
|
222
|
+
field_interface: "LayoutWidget",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
key: "left_container",
|
|
226
|
+
label: "Left Container",
|
|
227
|
+
field_interface: "LayoutWidget",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
key: "center_container",
|
|
231
|
+
label: "Center Container",
|
|
232
|
+
field_interface: "LayoutWidget",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
key: "right_container",
|
|
236
|
+
label: "Right Container",
|
|
237
|
+
field_interface: "LayoutWidget",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
key: "main_image",
|
|
241
|
+
label: "Main Image",
|
|
242
|
+
field_interface: "ImageWidget",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
key: "left_cards",
|
|
246
|
+
label: "Left Cards",
|
|
247
|
+
kind: "group",
|
|
248
|
+
field_interface: "BoxWidget",
|
|
249
|
+
fields: [
|
|
250
|
+
{
|
|
251
|
+
key: "card",
|
|
252
|
+
label: "Card Container",
|
|
253
|
+
field_interface: "LayoutWidget",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
key: "icon",
|
|
257
|
+
label: "Icon",
|
|
258
|
+
field_interface: "IconWidget",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
key: "content_wrapper",
|
|
262
|
+
label: "Content Wrapper",
|
|
263
|
+
field_interface: "LayoutWidget",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
key: "title",
|
|
267
|
+
label: "Title",
|
|
268
|
+
field_interface: "TypographyWidget",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
key: "description",
|
|
272
|
+
label: "Description",
|
|
273
|
+
field_interface: "TypographyWidget",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
key: "right_cards",
|
|
279
|
+
label: "Right Cards",
|
|
280
|
+
kind: "group",
|
|
281
|
+
field_interface: "BoxWidget",
|
|
282
|
+
fields: [
|
|
283
|
+
{
|
|
284
|
+
key: "card",
|
|
285
|
+
label: "Card Container",
|
|
286
|
+
field_interface: "LayoutWidget",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
key: "icon",
|
|
290
|
+
label: "Icon",
|
|
291
|
+
field_interface: "IconWidget",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
key: "content_wrapper",
|
|
295
|
+
label: "Content Wrapper",
|
|
296
|
+
field_interface: "LayoutWidget",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
key: "title",
|
|
300
|
+
label: "Title",
|
|
301
|
+
field_interface: "TypographyWidget",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
key: "description",
|
|
305
|
+
label: "Description",
|
|
306
|
+
field_interface: "TypographyWidget",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
layouts: [
|
|
312
|
+
{
|
|
313
|
+
key: "default",
|
|
314
|
+
title: "Default",
|
|
315
|
+
styles: {
|
|
316
|
+
layout: {
|
|
317
|
+
"padding-top": "3xl",
|
|
318
|
+
"padding-bottom": "3xl",
|
|
319
|
+
},
|
|
320
|
+
container: {
|
|
321
|
+
"padding-left": "none",
|
|
322
|
+
"padding-right": "none",
|
|
323
|
+
tablet: {
|
|
324
|
+
"padding-left": "5xl",
|
|
325
|
+
"padding-right": "5xl",
|
|
326
|
+
},
|
|
327
|
+
mobile: {
|
|
328
|
+
"padding-left": "2xl",
|
|
329
|
+
"padding-right": "2xl",
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
header_section: {
|
|
333
|
+
"text-align": "center",
|
|
334
|
+
"margin-bottom": "3xl",
|
|
335
|
+
display: "flex",
|
|
336
|
+
"flex-direction": "column",
|
|
337
|
+
"align-items": "center",
|
|
338
|
+
"row-gap": "base",
|
|
339
|
+
},
|
|
340
|
+
main_title: {
|
|
341
|
+
"font-size": "3xl",
|
|
342
|
+
"font-weight": "700",
|
|
343
|
+
color: "text-1",
|
|
344
|
+
mobile: {
|
|
345
|
+
"font-size": "2xl",
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
main_description: {
|
|
349
|
+
"font-size": "lg",
|
|
350
|
+
color: "text-2",
|
|
351
|
+
"line-height": "1.6",
|
|
352
|
+
"max-width": "600px",
|
|
353
|
+
mobile: {
|
|
354
|
+
"font-size": "base",
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
main_wrapper: {
|
|
358
|
+
display: "flex",
|
|
359
|
+
"align-items": "center",
|
|
360
|
+
"column-gap": "2xl",
|
|
361
|
+
mobile: {
|
|
362
|
+
"flex-direction": "column",
|
|
363
|
+
"row-gap": "2xl",
|
|
364
|
+
"column-gap": "none",
|
|
365
|
+
},
|
|
366
|
+
tablet: {
|
|
367
|
+
"flex-direction": "column",
|
|
368
|
+
"row-gap": "2xl",
|
|
369
|
+
"column-gap": "none",
|
|
370
|
+
},
|
|
371
|
+
"flex-direction": "row",
|
|
372
|
+
height: "100%",
|
|
373
|
+
},
|
|
374
|
+
left_container: {
|
|
375
|
+
flex: "1",
|
|
376
|
+
display: "flex",
|
|
377
|
+
"justify-content": "flex-end",
|
|
378
|
+
mobile: {
|
|
379
|
+
"justify-content": "center",
|
|
380
|
+
},
|
|
381
|
+
tablet: {
|
|
382
|
+
"justify-content": "center",
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
center_container: {
|
|
386
|
+
flex: "0 0 auto",
|
|
387
|
+
display: "flex",
|
|
388
|
+
"justify-content": "center",
|
|
389
|
+
},
|
|
390
|
+
right_container: {
|
|
391
|
+
flex: "1",
|
|
392
|
+
display: "flex",
|
|
393
|
+
"justify-content": "flex-start",
|
|
394
|
+
mobile: {
|
|
395
|
+
"justify-content": "center",
|
|
396
|
+
},
|
|
397
|
+
tablet: {
|
|
398
|
+
"justify-content": "center",
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
main_image: {
|
|
402
|
+
width: "450px",
|
|
403
|
+
height: "550px",
|
|
404
|
+
"object-fit": "cover",
|
|
405
|
+
mobile: {
|
|
406
|
+
width: "100%",
|
|
407
|
+
height: "100%",
|
|
408
|
+
},
|
|
409
|
+
"border-radius": "base",
|
|
410
|
+
tablet: {
|
|
411
|
+
width: "100%",
|
|
412
|
+
height: "100%",
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
left_cards_levoGroup: {
|
|
416
|
+
display: "flex",
|
|
417
|
+
"flex-direction": "column",
|
|
418
|
+
"row-gap": "lg",
|
|
419
|
+
mobile: {
|
|
420
|
+
"max-width": "none",
|
|
421
|
+
width: "100%",
|
|
422
|
+
},
|
|
423
|
+
"justify-content": "space-between",
|
|
424
|
+
},
|
|
425
|
+
right_cards_levoGroup: {
|
|
426
|
+
display: "flex",
|
|
427
|
+
"flex-direction": "column",
|
|
428
|
+
"row-gap": "lg",
|
|
429
|
+
mobile: {
|
|
430
|
+
"max-width": "none",
|
|
431
|
+
width: "100%",
|
|
432
|
+
},
|
|
433
|
+
"justify-content": "space-between",
|
|
434
|
+
},
|
|
435
|
+
"left_cards.*.card": {
|
|
436
|
+
display: "flex",
|
|
437
|
+
"align-items": "flex-start",
|
|
438
|
+
"column-gap": "base",
|
|
439
|
+
"padding-top": "lg",
|
|
440
|
+
"padding-bottom": "lg",
|
|
441
|
+
"padding-left": "lg",
|
|
442
|
+
"padding-right": "lg",
|
|
443
|
+
"background-color": "background-2",
|
|
444
|
+
"border-radius": "lg",
|
|
445
|
+
"border-width": "1px",
|
|
446
|
+
"border-color": "border",
|
|
447
|
+
},
|
|
448
|
+
"left_cards.*.icon": {
|
|
449
|
+
width: "40px",
|
|
450
|
+
height: "40px",
|
|
451
|
+
"border-radius": "sm",
|
|
452
|
+
"object-fit": "cover",
|
|
453
|
+
"flex-shrink": "0",
|
|
454
|
+
},
|
|
455
|
+
"left_cards.*.content_wrapper": {
|
|
456
|
+
flex: "1",
|
|
457
|
+
},
|
|
458
|
+
"left_cards.*.title": {
|
|
459
|
+
"font-size": "lg",
|
|
460
|
+
"font-weight": "600",
|
|
461
|
+
"margin-bottom": "xs",
|
|
462
|
+
color: "text-1",
|
|
463
|
+
},
|
|
464
|
+
"left_cards.*.description": {
|
|
465
|
+
"font-size": "sm",
|
|
466
|
+
color: "text-2",
|
|
467
|
+
"line-height": "1.5",
|
|
468
|
+
},
|
|
469
|
+
"right_cards.*.card": {
|
|
470
|
+
display: "flex",
|
|
471
|
+
"align-items": "flex-start",
|
|
472
|
+
"column-gap": "base",
|
|
473
|
+
"padding-top": "lg",
|
|
474
|
+
"padding-bottom": "lg",
|
|
475
|
+
"padding-left": "lg",
|
|
476
|
+
"padding-right": "lg",
|
|
477
|
+
"background-color": "background-2",
|
|
478
|
+
"border-radius": "lg",
|
|
479
|
+
"border-width": "1px",
|
|
480
|
+
"border-color": "border",
|
|
481
|
+
},
|
|
482
|
+
"right_cards.*.icon": {
|
|
483
|
+
width: "40px",
|
|
484
|
+
height: "40px",
|
|
485
|
+
"border-radius": "sm",
|
|
486
|
+
"object-fit": "cover",
|
|
487
|
+
"flex-shrink": "0",
|
|
488
|
+
},
|
|
489
|
+
"right_cards.*.content_wrapper": {
|
|
490
|
+
flex: "1",
|
|
491
|
+
},
|
|
492
|
+
"right_cards.*.title": {
|
|
493
|
+
"font-size": "lg",
|
|
494
|
+
"font-weight": "600",
|
|
495
|
+
"margin-bottom": "xs",
|
|
496
|
+
color: "text-1",
|
|
497
|
+
},
|
|
498
|
+
"right_cards.*.description": {
|
|
499
|
+
"font-size": "sm",
|
|
500
|
+
color: "text-2",
|
|
501
|
+
"line-height": "1.5",
|
|
502
|
+
},
|
|
503
|
+
left_cards: [
|
|
504
|
+
{
|
|
505
|
+
card: {
|
|
506
|
+
"border-radius": "base",
|
|
507
|
+
"border-style": "solid",
|
|
508
|
+
"border-width": "1px",
|
|
509
|
+
"padding-top": "base",
|
|
510
|
+
"padding-bottom": "base",
|
|
511
|
+
"padding-right": "2xl",
|
|
512
|
+
"padding-left": "2xl",
|
|
513
|
+
display: "flex",
|
|
514
|
+
"flex-direction": "column",
|
|
515
|
+
"row-gap": "base",
|
|
516
|
+
"box-shadow": "none",
|
|
517
|
+
},
|
|
518
|
+
icon: {
|
|
519
|
+
height: "32px",
|
|
520
|
+
width: "32px",
|
|
521
|
+
"font-size": "32px",
|
|
522
|
+
},
|
|
523
|
+
content_wrapper: {
|
|
524
|
+
display: "flex",
|
|
525
|
+
"flex-direction": "column",
|
|
526
|
+
"row-gap": "xs",
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
card: {
|
|
531
|
+
"border-radius": "base",
|
|
532
|
+
"border-style": "solid",
|
|
533
|
+
"border-width": "1px",
|
|
534
|
+
"padding-top": "base",
|
|
535
|
+
"padding-bottom": "base",
|
|
536
|
+
"padding-right": "2xl",
|
|
537
|
+
"padding-left": "2xl",
|
|
538
|
+
display: "flex",
|
|
539
|
+
"flex-direction": "column",
|
|
540
|
+
"row-gap": "base",
|
|
541
|
+
},
|
|
542
|
+
icon: {
|
|
543
|
+
height: "32px",
|
|
544
|
+
width: "32px",
|
|
545
|
+
"font-size": "32px",
|
|
546
|
+
},
|
|
547
|
+
content_wrapper: {
|
|
548
|
+
display: "flex",
|
|
549
|
+
"flex-direction": "column",
|
|
550
|
+
"row-gap": "xs",
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
right_cards: [
|
|
555
|
+
{
|
|
556
|
+
card: {
|
|
557
|
+
"border-radius": "base",
|
|
558
|
+
"border-style": "solid",
|
|
559
|
+
"border-width": "1px",
|
|
560
|
+
"padding-top": "base",
|
|
561
|
+
"padding-bottom": "base",
|
|
562
|
+
"padding-right": "2xl",
|
|
563
|
+
"padding-left": "2xl",
|
|
564
|
+
display: "flex",
|
|
565
|
+
"flex-direction": "column",
|
|
566
|
+
"row-gap": "base",
|
|
567
|
+
},
|
|
568
|
+
icon: {
|
|
569
|
+
height: "32px",
|
|
570
|
+
width: "32px",
|
|
571
|
+
"font-size": "32px",
|
|
572
|
+
},
|
|
573
|
+
content_wrapper: {
|
|
574
|
+
display: "flex",
|
|
575
|
+
"flex-direction": "column",
|
|
576
|
+
"row-gap": "xs",
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
card: {
|
|
581
|
+
"border-radius": "base",
|
|
582
|
+
"border-style": "solid",
|
|
583
|
+
"border-width": "1px",
|
|
584
|
+
"padding-top": "base",
|
|
585
|
+
"padding-bottom": "base",
|
|
586
|
+
"padding-right": "2xl",
|
|
587
|
+
"padding-left": "2xl",
|
|
588
|
+
display: "flex",
|
|
589
|
+
"flex-direction": "column",
|
|
590
|
+
"row-gap": "base",
|
|
591
|
+
},
|
|
592
|
+
icon: {
|
|
593
|
+
height: "32px",
|
|
594
|
+
width: "32px",
|
|
595
|
+
"font-size": "32px",
|
|
596
|
+
},
|
|
597
|
+
content_wrapper: {
|
|
598
|
+
display: "flex",
|
|
599
|
+
"flex-direction": "column",
|
|
600
|
+
"row-gap": "xs",
|
|
601
|
+
},
|
|
602
|
+
},
|
|
603
|
+
],
|
|
604
|
+
},
|
|
605
|
+
content: DEFAULT_CONTENT,
|
|
606
|
+
config: {
|
|
607
|
+
main_title: {
|
|
608
|
+
selectedVariants: {
|
|
609
|
+
Heading_Level: "H2",
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
],
|
|
615
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Box,
|
|
3
|
+
Container,
|
|
4
|
+
Heading,
|
|
5
|
+
Image,
|
|
6
|
+
type ILevoBlockBaseProps,
|
|
7
|
+
Section,
|
|
8
|
+
Typography,
|
|
9
|
+
Icon,
|
|
10
|
+
} from "@levo-so/studio";
|
|
11
|
+
import React from "react";
|
|
12
|
+
|
|
13
|
+
import type { ICards13Content } from "./cards-13.schema";
|
|
14
|
+
|
|
15
|
+
const Cards13: React.FC<ILevoBlockBaseProps<ICards13Content>> = ({
|
|
16
|
+
content,
|
|
17
|
+
}) => (
|
|
18
|
+
<Section elementKey="layout">
|
|
19
|
+
<Container elementKey="container">
|
|
20
|
+
<Box elementKey="header_section">
|
|
21
|
+
<Heading elementKey="main_title" />
|
|
22
|
+
<Typography elementKey="main_description" />
|
|
23
|
+
</Box>
|
|
24
|
+
<Box elementKey="main_wrapper">
|
|
25
|
+
<Box elementKey="left_container">
|
|
26
|
+
<Box elementKey="left_cards_levoGroup" data-levo_group>
|
|
27
|
+
{(content?.left_cards ?? []).map((_, index: number) => (
|
|
28
|
+
<Box
|
|
29
|
+
key={`left-card-${index}`}
|
|
30
|
+
data-levo_group_item
|
|
31
|
+
elementKey={`left_cards.${index}.card`}
|
|
32
|
+
>
|
|
33
|
+
<Icon elementKey={`left_cards.${index}.icon`} />
|
|
34
|
+
<Box elementKey={`left_cards.${index}.content_wrapper`}>
|
|
35
|
+
<Heading elementKey={`left_cards.${index}.title`} />
|
|
36
|
+
<Typography elementKey={`left_cards.${index}.description`} />
|
|
37
|
+
</Box>
|
|
38
|
+
</Box>
|
|
39
|
+
))}
|
|
40
|
+
</Box>
|
|
41
|
+
</Box>
|
|
42
|
+
<Box elementKey="center_container">
|
|
43
|
+
<Image elementKey="main_image" alt="Feature showcase" />
|
|
44
|
+
</Box>
|
|
45
|
+
<Box elementKey="right_container">
|
|
46
|
+
<Box elementKey="right_cards_levoGroup" data-levo_group>
|
|
47
|
+
{(content?.right_cards ?? []).map((_, index: number) => (
|
|
48
|
+
<Box
|
|
49
|
+
key={`right-card-${index}`}
|
|
50
|
+
data-levo_group_item
|
|
51
|
+
elementKey={`right_cards.${index}.card`}
|
|
52
|
+
>
|
|
53
|
+
<Icon elementKey={`right_cards.${index}.icon`} />
|
|
54
|
+
<Box elementKey={`right_cards.${index}.content_wrapper`}>
|
|
55
|
+
<Heading elementKey={`right_cards.${index}.title`} />
|
|
56
|
+
<Typography elementKey={`right_cards.${index}.description`} />
|
|
57
|
+
</Box>
|
|
58
|
+
</Box>
|
|
59
|
+
))}
|
|
60
|
+
</Box>
|
|
61
|
+
</Box>
|
|
62
|
+
</Box>
|
|
63
|
+
</Container>
|
|
64
|
+
</Section>
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
export default Cards13;
|