@levo-so/blocks 0.1.58 → 0.1.60
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 +16 -15
- package/src/blocks/about-us/about-us-1.schema.ts +75 -58
- package/src/blocks/about-us/about-us-2.schema.ts +186 -39
- package/src/blocks/blogs/blog-listing-1.tsx +17 -15
- package/src/blocks/blogs/blog-listing-2.tsx +17 -15
- package/src/blocks/blogs/blog-listing-3.tsx +17 -15
- package/src/blocks/calendar/calendar-1.schema.ts +263 -181
- package/src/blocks/calendar/calendar-1.tsx +42 -11
- package/src/blocks/cards/cards-10.schema.ts +322 -313
- package/src/blocks/cards/cards-10.tsx +9 -1
- package/src/blocks/cards/cards-11.schema.ts +139 -248
- package/src/blocks/cards/cards-12.schema.ts +117 -196
- package/src/blocks/cards/cards-13.schema.ts +107 -56
- package/src/blocks/cards/cards-14.schema.ts +58 -154
- package/src/blocks/cards/cards-15.schema.ts +54 -31
- package/src/blocks/cards/cards-15.tsx +13 -2
- package/src/blocks/cards/cards-2.schema.ts +83 -88
- package/src/blocks/cards/cards-2.tsx +10 -2
- package/src/blocks/cards/cards-3.schema.ts +75 -70
- package/src/blocks/cards/cards-4.schema.ts +149 -91
- package/src/blocks/cards/cards-4.tsx +13 -2
- package/src/blocks/cards/cards-5.schema.ts +91 -68
- package/src/blocks/cards/cards-5.tsx +9 -1
- package/src/blocks/cards/cards-6.schema.ts +794 -972
- package/src/blocks/cards/cards-6.tsx +18 -2
- package/src/blocks/cards/cards-7.schema.ts +802 -2250
- package/src/blocks/cards/cards-7.tsx +14 -1
- package/src/blocks/cards/cards-8.schema.ts +166 -347
- package/src/blocks/cards/cards-8.tsx +14 -1
- package/src/blocks/cards/cards-9.schema.ts +300 -305
- package/src/blocks/cards/cards-9.tsx +27 -3
- package/src/blocks/carousel/carousel-1.schema.ts +479 -46
- package/src/blocks/carousel/carousel-1.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +170 -118
- package/src/blocks/carousel/carousel-2.tsx +10 -2
- package/src/blocks/community/community-1.schema.ts +566 -0
- package/src/blocks/community/community-1.tsx +690 -0
- package/src/blocks/community/community-post-1.schema.ts +417 -0
- package/src/blocks/community/community-post-1.tsx +155 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +1 -1
- package/src/blocks/content/content-1.schema.ts +184 -234
- package/src/blocks/content/content-1.tsx +48 -38
- package/src/blocks/content/content-2.schema.ts +143 -32
- package/src/blocks/content/content-2.tsx +15 -3
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +13 -1
- package/src/blocks/content/content-4.schema.ts +124 -85
- package/src/blocks/content/content-4.tsx +2 -1
- package/src/blocks/content/content-5.schema.ts +296 -278
- package/src/blocks/content/content-5.tsx +23 -2
- package/src/blocks/content/content-6.schema.ts +474 -244
- package/src/blocks/content/content-6.tsx +23 -1
- package/src/blocks/content/content-7.schema.ts +173 -133
- package/src/blocks/content/content-7.tsx +27 -3
- package/src/blocks/content/content-8.schema.ts +27 -17
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +6 -3
- package/src/blocks/cta/cta-1.schema.ts +13 -108
- package/src/blocks/cta/cta-2.schema.ts +60 -69
- package/src/blocks/cta/cta-3.schema.ts +97 -66
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/event/event-details.schema.ts +7 -0
- package/src/blocks/event/event-details.tsx +1 -0
- package/src/blocks/event/event-listing-2.tsx +17 -15
- package/src/blocks/event/event-listing-3.tsx +17 -15
- package/src/blocks/event/event-listing-4.tsx +17 -15
- package/src/blocks/event/event-listing.tsx +17 -15
- package/src/blocks/faq/faq-1.schema.ts +158 -112
- package/src/blocks/faq/faq-1.tsx +12 -3
- package/src/blocks/faq/faq-2.schema.ts +137 -74
- package/src/blocks/faq/faq-2.tsx +10 -1
- package/src/blocks/faq/faq-3.schema.ts +185 -105
- package/src/blocks/faq/faq-3.tsx +19 -3
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +10 -1
- package/src/blocks/features/features-1/variants/default.ts +172 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +178 -45
- package/src/blocks/features/features-2.tsx +10 -2
- package/src/blocks/features/features-3.schema.ts +284 -65
- package/src/blocks/features/features-3.tsx +22 -3
- package/src/blocks/features/features-4.schema.ts +380 -185
- package/src/blocks/features/features-4.tsx +9 -1
- package/src/blocks/features/features-5.schema.ts +194 -198
- package/src/blocks/features/features-5.tsx +12 -1
- package/src/blocks/features/features-6.schema.ts +240 -193
- package/src/blocks/features/features-6.tsx +16 -2
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
- package/src/blocks/footer/footer-1.schema.ts +118 -48
- package/src/blocks/footer/footer-1.tsx +2 -1
- package/src/blocks/footer/footer-2.schema.ts +235 -31
- package/src/blocks/footer/footer-2.tsx +2 -1
- package/src/blocks/footer/footer-3.schema.ts +334 -57
- package/src/blocks/footer/footer-3.tsx +2 -1
- package/src/blocks/footer/footer-4.schema.ts +147 -76
- package/src/blocks/footer/footer-4.tsx +2 -1
- package/src/blocks/footer/footer-5.schema.ts +144 -52
- package/src/blocks/footer/footer-5.tsx +2 -1
- package/src/blocks/footer/footer-6.schema.ts +68 -140
- package/src/blocks/footer/footer-6.tsx +2 -1
- package/src/blocks/hero/hero-1.schema.ts +184 -87
- package/src/blocks/hero/hero-10.schema.ts +8 -29
- package/src/blocks/hero/hero-11.schema.ts +192 -89
- package/src/blocks/hero/hero-11.tsx +1 -1
- package/src/blocks/hero/hero-12.schema.ts +107 -170
- package/src/blocks/hero/hero-12.tsx +1 -1
- package/src/blocks/hero/hero-13.schema.ts +42 -28
- package/src/blocks/hero/hero-2.schema.ts +33 -58
- package/src/blocks/hero/hero-3.schema.ts +42 -34
- package/src/blocks/hero/hero-4.schema.ts +265 -70
- package/src/blocks/hero/hero-4.tsx +19 -2
- package/src/blocks/hero/hero-5.schema.ts +122 -44
- package/src/blocks/hero/hero-5.tsx +14 -2
- package/src/blocks/hero/hero-6.schema.ts +159 -255
- package/src/blocks/hero/hero-7.schema.ts +105 -34
- package/src/blocks/hero/hero-7.tsx +4 -1
- package/src/blocks/hero/hero-8.schema.ts +363 -133
- package/src/blocks/hero/hero-8.tsx +27 -3
- package/src/blocks/hero/hero-9.schema.ts +116 -83
- package/src/blocks/hero/hero-9.tsx +9 -1
- package/src/blocks/index.ts +7 -0
- package/src/blocks/logos/logos-1.schema.ts +424 -30
- package/src/blocks/polling/polling-1.schema.ts +1 -19
- package/src/blocks/pricing/pricing-1.schema.ts +296 -266
- package/src/blocks/pricing/pricing-1.tsx +16 -2
- package/src/blocks/products/products-listing-1.schema.ts +144 -33
- package/src/blocks/products/products-listing-1.tsx +9 -1
- package/src/blocks/products/products-listing-2.schema.ts +199 -213
- package/src/blocks/products/products-listing-2.tsx +25 -3
- package/src/blocks/products/products-listing-3.schema.ts +439 -154
- package/src/blocks/products/products-listing-3.tsx +43 -8
- package/src/blocks/profile/profile-1.schema.ts +67 -49
- package/src/blocks/profile/profile-1.tsx +3 -2
- package/src/blocks/profile/profile-2.schema.ts +73 -85
- package/src/blocks/profile/profile-2.tsx +2 -1
- package/src/blocks/profile/profile-3.schema.ts +162 -529
- package/src/blocks/profile/profile-3.tsx +2 -2
- package/src/blocks/services/service-1.schema.ts +204 -804
- package/src/blocks/services/service-1.tsx +15 -2
- package/src/blocks/services/service-2.schema.ts +95 -75
- package/src/blocks/services/service-2.tsx +9 -1
- package/src/blocks/services/service-3.schema.ts +73 -73
- package/src/blocks/services/service-3.tsx +40 -39
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +4 -0
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +9 -1
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/tabs/tab-1.schema.ts +105 -407
- package/src/blocks/tabs/tab-1.tsx +15 -4
- package/src/blocks/tabs/tab-2.schema.ts +208 -278
- package/src/blocks/tabs/tab-2.tsx +14 -2
- package/src/blocks/team/team-1.schema.ts +621 -76
- package/src/blocks/team/team-1.tsx +9 -1
- package/src/blocks/team/team-2.schema.ts +693 -1421
- package/src/blocks/team/team-2.tsx +4 -1
- package/src/blocks/team/team-3.schema.ts +147 -74
- package/src/blocks/team/team-3.tsx +1 -0
- package/src/blocks/team/team-4.schema.ts +216 -57
- package/src/blocks/team/team-4.tsx +10 -2
- package/src/blocks/team/team-5.schema.ts +67 -42
- package/src/blocks/team/team-5.tsx +12 -3
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
- package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
- package/src/blocks/testimonial/testimonial-1.tsx +2 -4
- package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
- package/src/blocks/testimonial/testimonial-2.tsx +4 -1
- package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
- package/src/blocks/testimonial/testimonial-3.tsx +5 -2
- package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
- package/src/blocks/testimonial/testimonial-4.tsx +4 -1
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
- package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +2 -2
- package/src/blocks/timeline/timeline-1.schema.ts +196 -149
- package/src/blocks/timeline/timeline-1.tsx +4 -1
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +13 -6
- package/src/constants/index.ts +19 -0
- package/src/schemas/blocks.ts +6 -0
- package/src/schemas/categories.ts +12 -0
|
@@ -17,8 +17,19 @@ const ProductsListing3: React.FC<
|
|
|
17
17
|
<Section elementKey="layout">
|
|
18
18
|
<Container elementKey="container">
|
|
19
19
|
<Box elementKey="header_container">
|
|
20
|
-
<
|
|
21
|
-
|
|
20
|
+
<Box elementKey="header_content">
|
|
21
|
+
<Heading elementKey="title" />
|
|
22
|
+
<Typography elementKey="description" />
|
|
23
|
+
</Box>
|
|
24
|
+
<Box elementKey="header_ctas_levoGroup" data-levo_group>
|
|
25
|
+
{(content.header_ctas ?? []).map((_, index) => (
|
|
26
|
+
<Button
|
|
27
|
+
key={`header_ctas.${index}.header_cta`}
|
|
28
|
+
elementKey={`header_ctas.${index}.header_cta`}
|
|
29
|
+
data-levo_group_item
|
|
30
|
+
/>
|
|
31
|
+
))}
|
|
32
|
+
</Box>
|
|
22
33
|
</Box>
|
|
23
34
|
<Box data-levo_group elementKey="product_groups_levoGroup">
|
|
24
35
|
{(content?.product_groups ?? []).map((_, groupIndex) => (
|
|
@@ -66,9 +77,21 @@ const ProductsListing3: React.FC<
|
|
|
66
77
|
elementKey={`product_groups.${groupIndex}.products_with_images.${index}.off_percent`}
|
|
67
78
|
/>
|
|
68
79
|
</Box>
|
|
69
|
-
<
|
|
70
|
-
elementKey={`product_groups.${groupIndex}.products_with_images.${index}.
|
|
71
|
-
|
|
80
|
+
<Box
|
|
81
|
+
elementKey={`product_groups.${groupIndex}.products_with_images.${index}.ctas_levoGroup`}
|
|
82
|
+
data-levo_group
|
|
83
|
+
>
|
|
84
|
+
{(
|
|
85
|
+
content?.product_groups?.[groupIndex]
|
|
86
|
+
?.products_with_images?.[index]?.ctas ?? []
|
|
87
|
+
).map((_, i) => (
|
|
88
|
+
<Button
|
|
89
|
+
key={`product_groups.${groupIndex}.products_with_images.${index}.ctas.${i}.cta`}
|
|
90
|
+
elementKey={`product_groups.${groupIndex}.products_with_images.${index}.ctas.${i}.cta`}
|
|
91
|
+
data-levo_group_item
|
|
92
|
+
/>
|
|
93
|
+
))}
|
|
94
|
+
</Box>
|
|
72
95
|
</Box>
|
|
73
96
|
</Box>
|
|
74
97
|
))}
|
|
@@ -108,9 +131,21 @@ const ProductsListing3: React.FC<
|
|
|
108
131
|
elementKey={`product_groups.${groupIndex}.products_without_images.${index}.off_percent`}
|
|
109
132
|
/>
|
|
110
133
|
</Box>
|
|
111
|
-
<
|
|
112
|
-
elementKey={`product_groups.${groupIndex}.products_without_images.${index}.
|
|
113
|
-
|
|
134
|
+
<Box
|
|
135
|
+
elementKey={`product_groups.${groupIndex}.products_without_images.${index}.ctas_levoGroup`}
|
|
136
|
+
data-levo_group
|
|
137
|
+
>
|
|
138
|
+
{(
|
|
139
|
+
content?.product_groups?.[groupIndex]
|
|
140
|
+
?.products_without_images?.[index]?.ctas ?? []
|
|
141
|
+
).map((_, i) => (
|
|
142
|
+
<Button
|
|
143
|
+
key={`product_groups.${groupIndex}.products_without_images.${index}.ctas.${i}.cta`}
|
|
144
|
+
elementKey={`product_groups.${groupIndex}.products_without_images.${index}.ctas.${i}.cta`}
|
|
145
|
+
data-levo_group_item
|
|
146
|
+
/>
|
|
147
|
+
))}
|
|
148
|
+
</Box>
|
|
114
149
|
</Box>
|
|
115
150
|
</Box>
|
|
116
151
|
))}
|
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
+
const MEDIA = {
|
|
4
|
+
id: "lDiRGwMyorBH",
|
|
5
|
+
filename: "profile-1.png",
|
|
6
|
+
kind: "image",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj.png",
|
|
8
|
+
srcset: {
|
|
9
|
+
"1080w":
|
|
10
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1080w.webp",
|
|
11
|
+
"1200w":
|
|
12
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1200w.webp",
|
|
13
|
+
"1920w":
|
|
14
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1920w.webp",
|
|
15
|
+
"320w":
|
|
16
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-320w.webp",
|
|
17
|
+
"640w":
|
|
18
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-640w.webp",
|
|
19
|
+
"750w":
|
|
20
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-750w.webp",
|
|
21
|
+
"828w":
|
|
22
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-828w.webp",
|
|
23
|
+
path: "https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/profile-1-EBhkxBH4PWVj-1920w.webp 1920w",
|
|
24
|
+
},
|
|
25
|
+
mimetype: "image/png",
|
|
26
|
+
};
|
|
27
|
+
|
|
3
28
|
const DEFAULT_CONTENT = {
|
|
4
29
|
layout: null,
|
|
5
30
|
container: null,
|
|
6
31
|
main_container: null,
|
|
7
32
|
left_container: null,
|
|
8
|
-
image:
|
|
9
|
-
id: "CISQRrr8Fa61r",
|
|
10
|
-
filename: "image.png",
|
|
11
|
-
kind: "image",
|
|
12
|
-
location: "https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV.png",
|
|
13
|
-
srcset: {
|
|
14
|
-
"1080w":
|
|
15
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1080w.webp",
|
|
16
|
-
"1200w":
|
|
17
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1200w.webp",
|
|
18
|
-
"1920w":
|
|
19
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1920w.webp",
|
|
20
|
-
"320w":
|
|
21
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-320w.webp",
|
|
22
|
-
"640w":
|
|
23
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-640w.webp",
|
|
24
|
-
"750w":
|
|
25
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-750w.webp",
|
|
26
|
-
"828w":
|
|
27
|
-
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-828w.webp",
|
|
28
|
-
path: "https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1920w.webp 1920w",
|
|
29
|
-
},
|
|
30
|
-
mimetype: "image/png",
|
|
31
|
-
},
|
|
33
|
+
image: MEDIA,
|
|
32
34
|
ctas: [],
|
|
33
35
|
right_container: null,
|
|
34
36
|
content_container: null,
|
|
@@ -169,7 +171,7 @@ export const Profile1: IBlock = {
|
|
|
169
171
|
{
|
|
170
172
|
key: "name",
|
|
171
173
|
label: "Name",
|
|
172
|
-
field_interface: "
|
|
174
|
+
field_interface: "HeadingWidget",
|
|
173
175
|
},
|
|
174
176
|
{
|
|
175
177
|
key: "groups",
|
|
@@ -185,7 +187,7 @@ export const Profile1: IBlock = {
|
|
|
185
187
|
{
|
|
186
188
|
key: "title",
|
|
187
189
|
label: "Label Title",
|
|
188
|
-
field_interface: "
|
|
190
|
+
field_interface: "HeadingWidget",
|
|
189
191
|
},
|
|
190
192
|
{
|
|
191
193
|
key: "description",
|
|
@@ -210,17 +212,8 @@ export const Profile1: IBlock = {
|
|
|
210
212
|
key: "default",
|
|
211
213
|
title: "Default",
|
|
212
214
|
styles: {
|
|
213
|
-
layout: {
|
|
214
|
-
|
|
215
|
-
"padding-bottom": "48px",
|
|
216
|
-
"padding-left": "48px",
|
|
217
|
-
"padding-right": "48px",
|
|
218
|
-
},
|
|
219
|
-
container: {
|
|
220
|
-
"max-width": "1280px",
|
|
221
|
-
"margin-left": "auto",
|
|
222
|
-
"margin-right": "auto",
|
|
223
|
-
},
|
|
215
|
+
layout: {},
|
|
216
|
+
container: {},
|
|
224
217
|
main_container: {
|
|
225
218
|
display: "flex",
|
|
226
219
|
"flex-direction": "row",
|
|
@@ -329,19 +322,11 @@ export const Profile1: IBlock = {
|
|
|
329
322
|
"flex-direction": "column",
|
|
330
323
|
"align-items": "flex-start",
|
|
331
324
|
},
|
|
332
|
-
content_description: {
|
|
333
|
-
|
|
334
|
-
color: "text-2",
|
|
335
|
-
"line-height": "1.6",
|
|
336
|
-
},
|
|
337
|
-
name: {
|
|
338
|
-
"font-size": "5xl",
|
|
339
|
-
"font-weight": 700,
|
|
340
|
-
},
|
|
325
|
+
content_description: {},
|
|
326
|
+
name: {},
|
|
341
327
|
groups: [
|
|
342
328
|
{
|
|
343
329
|
title: {
|
|
344
|
-
"font-size": "2xl",
|
|
345
330
|
"font-weight": 600,
|
|
346
331
|
},
|
|
347
332
|
wrapper: {
|
|
@@ -352,7 +337,6 @@ export const Profile1: IBlock = {
|
|
|
352
337
|
},
|
|
353
338
|
{
|
|
354
339
|
title: {
|
|
355
|
-
"font-size": "2xl",
|
|
356
340
|
"font-weight": 600,
|
|
357
341
|
},
|
|
358
342
|
wrapper: {
|
|
@@ -393,7 +377,41 @@ export const Profile1: IBlock = {
|
|
|
393
377
|
},
|
|
394
378
|
},
|
|
395
379
|
content: DEFAULT_CONTENT,
|
|
396
|
-
config: {
|
|
380
|
+
config: {
|
|
381
|
+
content_description: {
|
|
382
|
+
selectedVariants: {},
|
|
383
|
+
},
|
|
384
|
+
name: {
|
|
385
|
+
heading: {
|
|
386
|
+
level: "2",
|
|
387
|
+
},
|
|
388
|
+
selectedVariants: {
|
|
389
|
+
Heading_Level: "H2",
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
groups: [
|
|
393
|
+
{
|
|
394
|
+
title: {
|
|
395
|
+
heading: {
|
|
396
|
+
level: "4",
|
|
397
|
+
},
|
|
398
|
+
selectedVariants: {
|
|
399
|
+
Heading_Level: "H5",
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
title: {
|
|
405
|
+
selectedVariants: {
|
|
406
|
+
Heading_Level: "H5",
|
|
407
|
+
},
|
|
408
|
+
heading: {
|
|
409
|
+
level: "4",
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
},
|
|
397
415
|
},
|
|
398
416
|
],
|
|
399
417
|
};
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
Box,
|
|
3
3
|
Button,
|
|
4
4
|
Container,
|
|
5
|
+
Heading,
|
|
5
6
|
Icon,
|
|
6
7
|
type ILevoBlockBaseProps,
|
|
7
8
|
Image,
|
|
@@ -39,7 +40,7 @@ const Profile1: React.FC<ILevoBlockBaseProps<IProfile1Content>> = ({
|
|
|
39
40
|
</Box>
|
|
40
41
|
</Box>
|
|
41
42
|
<Box elementKey="right_container">
|
|
42
|
-
<
|
|
43
|
+
<Heading elementKey="name" />
|
|
43
44
|
<Box elementKey="groups_levoGroup" data-levo_group>
|
|
44
45
|
{(content?.groups || [])?.map((_, index) => (
|
|
45
46
|
<Box
|
|
@@ -47,7 +48,7 @@ const Profile1: React.FC<ILevoBlockBaseProps<IProfile1Content>> = ({
|
|
|
47
48
|
key={index}
|
|
48
49
|
data-levo_group_item
|
|
49
50
|
>
|
|
50
|
-
<
|
|
51
|
+
<Heading elementKey={`groups.${index}.title`} />
|
|
51
52
|
<Typography elementKey={`groups.${index}.description`} />
|
|
52
53
|
</Box>
|
|
53
54
|
))}
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
id: "
|
|
5
|
-
|
|
3
|
+
const MEDIA = {
|
|
4
|
+
id: "HXVjtirlEM3L",
|
|
5
|
+
filename: "profile-2.png",
|
|
6
6
|
kind: "image",
|
|
7
|
-
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI.png",
|
|
8
8
|
srcset: {
|
|
9
9
|
"1080w":
|
|
10
|
-
"https://
|
|
10
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1080w.webp",
|
|
11
11
|
"1200w":
|
|
12
|
-
"https://
|
|
12
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1200w.webp",
|
|
13
13
|
"1920w":
|
|
14
|
-
"https://
|
|
15
|
-
"320w":
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1920w.webp",
|
|
15
|
+
"320w":
|
|
16
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-320w.webp",
|
|
17
|
+
"640w":
|
|
18
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-640w.webp",
|
|
19
|
+
"750w":
|
|
20
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-750w.webp",
|
|
21
|
+
"828w":
|
|
22
|
+
"https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-828w.webp",
|
|
23
|
+
path: "https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/profile-2-pKkeltJT8kdI-828w.webp 828w",
|
|
20
24
|
},
|
|
25
|
+
mimetype: "image/png",
|
|
21
26
|
};
|
|
22
27
|
|
|
23
28
|
const DUMMY_ICON = {
|
|
@@ -36,10 +41,12 @@ const DEFAULT_CONTENT = {
|
|
|
36
41
|
container: null,
|
|
37
42
|
main_wrapper: null,
|
|
38
43
|
left_container: null,
|
|
39
|
-
profile_image:
|
|
44
|
+
profile_image: MEDIA,
|
|
40
45
|
right_container: null,
|
|
41
46
|
content_wrapper: null,
|
|
42
47
|
title: "Well Women Health checkup",
|
|
48
|
+
description:
|
|
49
|
+
"Well Women Health checkup Well Women Health checkup Well Women Health checkup Well Women Health checkup Well Women Health checkup Well Women Health checkup ",
|
|
43
50
|
stats: [
|
|
44
51
|
{
|
|
45
52
|
stat_wrapper: null,
|
|
@@ -217,6 +224,11 @@ export const Profile2: IBlock = {
|
|
|
217
224
|
max_characters: 60,
|
|
218
225
|
},
|
|
219
226
|
},
|
|
227
|
+
{
|
|
228
|
+
key: "description",
|
|
229
|
+
label: "Profile Description",
|
|
230
|
+
field_interface: "TypographyWidget",
|
|
231
|
+
},
|
|
220
232
|
{
|
|
221
233
|
key: "stats",
|
|
222
234
|
label: "Expertise Badges",
|
|
@@ -268,11 +280,7 @@ export const Profile2: IBlock = {
|
|
|
268
280
|
{
|
|
269
281
|
key: "actual_price",
|
|
270
282
|
label: "Actual Price",
|
|
271
|
-
field_interface: "
|
|
272
|
-
hint: {
|
|
273
|
-
prompt_description:
|
|
274
|
-
"Current promotional price that customers will pay (e.g., '$499').",
|
|
275
|
-
},
|
|
283
|
+
field_interface: "HeadingWidget",
|
|
276
284
|
},
|
|
277
285
|
{
|
|
278
286
|
key: "discount_price",
|
|
@@ -298,30 +306,8 @@ export const Profile2: IBlock = {
|
|
|
298
306
|
title: "Default",
|
|
299
307
|
key: "default",
|
|
300
308
|
styles: {
|
|
301
|
-
layout: {
|
|
302
|
-
|
|
303
|
-
"padding-bottom": "5xl",
|
|
304
|
-
"padding-left": "xl",
|
|
305
|
-
"padding-right": "xl",
|
|
306
|
-
tablet: {
|
|
307
|
-
"padding-top": "4xl",
|
|
308
|
-
"padding-bottom": "4xl",
|
|
309
|
-
"padding-left": "lg",
|
|
310
|
-
"padding-right": "lg",
|
|
311
|
-
},
|
|
312
|
-
mobile: {
|
|
313
|
-
"padding-top": "3xl",
|
|
314
|
-
"padding-bottom": "3xl",
|
|
315
|
-
"padding-left": "base",
|
|
316
|
-
"padding-right": "base",
|
|
317
|
-
},
|
|
318
|
-
"background-color": "oklch(0.9413 0.0138 46.228)",
|
|
319
|
-
},
|
|
320
|
-
container: {
|
|
321
|
-
"max-width": "1280px",
|
|
322
|
-
"margin-left": "auto",
|
|
323
|
-
"margin-right": "auto",
|
|
324
|
-
},
|
|
309
|
+
layout: {},
|
|
310
|
+
container: {},
|
|
325
311
|
main_wrapper: {
|
|
326
312
|
display: "flex",
|
|
327
313
|
"align-items": "center",
|
|
@@ -356,7 +342,6 @@ export const Profile2: IBlock = {
|
|
|
356
342
|
},
|
|
357
343
|
title: {
|
|
358
344
|
"margin-bottom": "lg",
|
|
359
|
-
"font-size": "4xl",
|
|
360
345
|
tablet: {
|
|
361
346
|
"font-size": "2xl",
|
|
362
347
|
},
|
|
@@ -378,22 +363,17 @@ export const Profile2: IBlock = {
|
|
|
378
363
|
"flex-direction": "row",
|
|
379
364
|
"align-items": "center",
|
|
380
365
|
"row-gap": "2xs",
|
|
381
|
-
"column-gap": "
|
|
366
|
+
"column-gap": "2xs",
|
|
382
367
|
},
|
|
383
368
|
actual_price: {
|
|
384
|
-
"font-
|
|
385
|
-
"font-weight": "700",
|
|
386
|
-
color: "text-1",
|
|
369
|
+
"font-weight": 700,
|
|
387
370
|
},
|
|
388
371
|
discount_price: {
|
|
389
|
-
"font-size": "sm",
|
|
390
372
|
color: "text-3",
|
|
391
373
|
"text-decoration": "line-through",
|
|
392
374
|
},
|
|
393
375
|
off_percent: {
|
|
394
|
-
"font-
|
|
395
|
-
"font-weight": "600",
|
|
396
|
-
color: "success",
|
|
376
|
+
"font-weight": 600,
|
|
397
377
|
},
|
|
398
378
|
stats: [
|
|
399
379
|
{
|
|
@@ -402,29 +382,7 @@ export const Profile2: IBlock = {
|
|
|
402
382
|
"align-items": "center",
|
|
403
383
|
"column-gap": "sm",
|
|
404
384
|
},
|
|
405
|
-
label: {
|
|
406
|
-
color: "text-2",
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
stat_wrapper: {
|
|
411
|
-
display: "flex",
|
|
412
|
-
"align-items": "center",
|
|
413
|
-
"column-gap": "sm",
|
|
414
|
-
},
|
|
415
|
-
label: {
|
|
416
|
-
color: "text-2",
|
|
417
|
-
},
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
stat_wrapper: {
|
|
421
|
-
display: "flex",
|
|
422
|
-
"align-items": "center",
|
|
423
|
-
"column-gap": "sm",
|
|
424
|
-
},
|
|
425
|
-
label: {
|
|
426
|
-
color: "text-2",
|
|
427
|
-
},
|
|
385
|
+
label: {},
|
|
428
386
|
},
|
|
429
387
|
{
|
|
430
388
|
stat_wrapper: {
|
|
@@ -432,9 +390,7 @@ export const Profile2: IBlock = {
|
|
|
432
390
|
"align-items": "center",
|
|
433
391
|
"column-gap": "sm",
|
|
434
392
|
},
|
|
435
|
-
label: {
|
|
436
|
-
color: "text-2",
|
|
437
|
-
},
|
|
393
|
+
label: {},
|
|
438
394
|
},
|
|
439
395
|
{
|
|
440
396
|
stat_wrapper: {
|
|
@@ -442,9 +398,7 @@ export const Profile2: IBlock = {
|
|
|
442
398
|
"align-items": "center",
|
|
443
399
|
"column-gap": "sm",
|
|
444
400
|
},
|
|
445
|
-
label: {
|
|
446
|
-
color: "text-2",
|
|
447
|
-
},
|
|
401
|
+
label: {},
|
|
448
402
|
},
|
|
449
403
|
{
|
|
450
404
|
stat_wrapper: {
|
|
@@ -452,9 +406,7 @@ export const Profile2: IBlock = {
|
|
|
452
406
|
"align-items": "center",
|
|
453
407
|
"column-gap": "sm",
|
|
454
408
|
},
|
|
455
|
-
label: {
|
|
456
|
-
color: "text-2",
|
|
457
|
-
},
|
|
409
|
+
label: {},
|
|
458
410
|
},
|
|
459
411
|
],
|
|
460
412
|
breadcrumbs: [
|
|
@@ -488,15 +440,51 @@ export const Profile2: IBlock = {
|
|
|
488
440
|
"column-gap": "xs",
|
|
489
441
|
"margin-bottom": "base",
|
|
490
442
|
},
|
|
443
|
+
description: {},
|
|
491
444
|
},
|
|
492
445
|
content: DEFAULT_CONTENT,
|
|
493
446
|
config: {
|
|
494
447
|
title: {
|
|
495
448
|
heading: {
|
|
496
|
-
level:
|
|
449
|
+
level: "3",
|
|
450
|
+
},
|
|
451
|
+
selectedVariants: {
|
|
452
|
+
Heading_Level: "H3",
|
|
497
453
|
},
|
|
454
|
+
},
|
|
455
|
+
stats: [
|
|
456
|
+
{
|
|
457
|
+
label: {
|
|
458
|
+
selectedVariants: {},
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
label: {
|
|
463
|
+
selectedVariants: {},
|
|
464
|
+
},
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
label: {
|
|
468
|
+
selectedVariants: {},
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
label: {
|
|
473
|
+
selectedVariants: {},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
actual_price: {
|
|
478
|
+
heading: {
|
|
479
|
+
level: "4",
|
|
480
|
+
},
|
|
481
|
+
selectedVariants: {
|
|
482
|
+
Heading_Level: "H5",
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
off_percent: {
|
|
498
486
|
selectedVariants: {
|
|
499
|
-
|
|
487
|
+
Typography_Variants: "Large",
|
|
500
488
|
},
|
|
501
489
|
},
|
|
502
490
|
},
|
|
@@ -50,10 +50,11 @@ const Profile2: React.FC<ILevoBlockBaseProps<IProfile2Content>> = ({
|
|
|
50
50
|
))}
|
|
51
51
|
</Box>
|
|
52
52
|
<Box elementKey="price_container">
|
|
53
|
-
<
|
|
53
|
+
<Heading elementKey="actual_price" />
|
|
54
54
|
<Typography elementKey="discount_price" />
|
|
55
55
|
<Typography elementKey="off_percent" />
|
|
56
56
|
</Box>
|
|
57
|
+
<Typography elementKey="description" />
|
|
57
58
|
</Box>
|
|
58
59
|
</Box>
|
|
59
60
|
</Box>
|