@levo-so/blocks 0.1.59 → 0.1.61
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 +6 -6
- package/src/blocks/about-us/about-us-1.schema.ts +60 -58
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +165 -42
- package/src/blocks/about-us/about-us-2.tsx +7 -13
- package/src/blocks/blogs/blog-listing-1.schema.ts +7 -14
- package/src/blocks/blogs/blog-listing-1.tsx +27 -36
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +21 -27
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +21 -27
- package/src/blocks/blogs/blog-post-1.schema.ts +9 -18
- package/src/blocks/blogs/blog-post-1.tsx +3 -14
- package/src/blocks/calendar/calendar-1.schema.ts +351 -180
- package/src/blocks/calendar/calendar-1.tsx +60 -25
- package/src/blocks/cards/cards-10.schema.ts +278 -331
- package/src/blocks/cards/cards-10.tsx +18 -15
- package/src/blocks/cards/cards-11.schema.ts +178 -356
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +110 -196
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +131 -120
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +51 -154
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +48 -32
- package/src/blocks/cards/cards-15.tsx +15 -6
- package/src/blocks/cards/cards-2.schema.ts +76 -88
- package/src/blocks/cards/cards-2.tsx +12 -17
- package/src/blocks/cards/cards-3.schema.ts +68 -70
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +160 -115
- package/src/blocks/cards/cards-4.tsx +22 -17
- package/src/blocks/cards/cards-5.schema.ts +76 -70
- package/src/blocks/cards/cards-5.tsx +10 -10
- package/src/blocks/cards/cards-6.schema.ts +755 -985
- package/src/blocks/cards/cards-6.tsx +17 -9
- package/src/blocks/cards/cards-7.schema.ts +754 -2250
- package/src/blocks/cards/cards-7.tsx +18 -24
- package/src/blocks/cards/cards-8.schema.ts +171 -363
- package/src/blocks/cards/cards-8.tsx +15 -8
- package/src/blocks/cards/cards-9.schema.ts +283 -329
- package/src/blocks/cards/cards-9.tsx +28 -12
- package/src/blocks/carousel/carousel-1.schema.ts +418 -49
- package/src/blocks/carousel/carousel-1.tsx +8 -8
- package/src/blocks/carousel/carousel-2.schema.ts +153 -127
- package/src/blocks/carousel/carousel-2.tsx +16 -20
- package/src/blocks/community/community-1.schema.ts +612 -0
- package/src/blocks/community/community-1.tsx +557 -0
- package/src/blocks/community/community-post-1.schema.ts +408 -0
- package/src/blocks/community/community-post-1.tsx +405 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +25 -43
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +21 -32
- package/src/blocks/content/content-1.schema.ts +163 -234
- package/src/blocks/content/content-1.tsx +46 -43
- package/src/blocks/content/content-2.schema.ts +117 -35
- package/src/blocks/content/content-2.tsx +19 -7
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +14 -18
- package/src/blocks/content/content-4.schema.ts +105 -89
- package/src/blocks/content/content-4.tsx +10 -18
- package/src/blocks/content/content-5.schema.ts +301 -278
- package/src/blocks/content/content-5.tsx +23 -16
- package/src/blocks/content/content-6.schema.ts +432 -250
- package/src/blocks/content/content-6.tsx +24 -19
- package/src/blocks/content/content-7.schema.ts +200 -197
- package/src/blocks/content/content-7.tsx +29 -21
- package/src/blocks/content/content-8.schema.ts +28 -23
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +31 -43
- package/src/blocks/cta/cta-1.schema.ts +23 -128
- package/src/blocks/cta/cta-2.schema.ts +46 -69
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +77 -72
- package/src/blocks/cta/cta-3.tsx +2 -6
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/embed/embed-1.tsx +1 -9
- package/src/blocks/event/ClientOnly.tsx +1 -4
- package/src/blocks/event/event-details.schema.ts +23 -32
- package/src/blocks/event/event-details.tsx +9 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +29 -38
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +26 -30
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +22 -28
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +26 -30
- package/src/blocks/faq/faq-1.schema.ts +150 -112
- package/src/blocks/faq/faq-1.tsx +31 -33
- package/src/blocks/faq/faq-2.schema.ts +132 -77
- package/src/blocks/faq/faq-2.tsx +21 -11
- package/src/blocks/faq/faq-3.schema.ts +178 -107
- package/src/blocks/faq/faq-3.tsx +30 -22
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +12 -5
- package/src/blocks/features/features-1/variants/default.ts +176 -62
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- 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 +149 -48
- package/src/blocks/features/features-2.tsx +18 -12
- package/src/blocks/features/features-3.schema.ts +255 -68
- package/src/blocks/features/features-3.tsx +25 -15
- package/src/blocks/features/features-4.schema.ts +367 -188
- package/src/blocks/features/features-4.tsx +12 -8
- package/src/blocks/features/features-5.schema.ts +195 -200
- package/src/blocks/features/features-5.tsx +14 -14
- package/src/blocks/features/features-6.schema.ts +230 -215
- package/src/blocks/features/features-6.tsx +28 -34
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +100 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +14 -0
- package/src/blocks/footer/footer-1.schema.ts +110 -48
- package/src/blocks/footer/footer-1.tsx +17 -31
- package/src/blocks/footer/footer-2.schema.ts +230 -34
- package/src/blocks/footer/footer-2.tsx +19 -29
- package/src/blocks/footer/footer-3.schema.ts +335 -59
- package/src/blocks/footer/footer-3.tsx +11 -26
- package/src/blocks/footer/footer-4.schema.ts +139 -76
- package/src/blocks/footer/footer-4.tsx +37 -55
- package/src/blocks/footer/footer-5.schema.ts +138 -60
- package/src/blocks/footer/footer-5.tsx +16 -30
- package/src/blocks/footer/footer-6.schema.ts +62 -149
- package/src/blocks/footer/footer-6.tsx +30 -44
- package/src/blocks/form/form-1.schema.ts +144 -0
- package/src/blocks/form/form-1.tsx +33 -0
- package/src/blocks/hero/hero-1.schema.ts +153 -101
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +9 -31
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +196 -89
- package/src/blocks/hero/hero-11.tsx +5 -10
- package/src/blocks/hero/hero-12.schema.ts +111 -192
- package/src/blocks/hero/hero-12.tsx +4 -7
- package/src/blocks/hero/hero-13.schema.ts +36 -30
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +30 -58
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +70 -90
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +246 -73
- package/src/blocks/hero/hero-4.tsx +22 -16
- package/src/blocks/hero/hero-5.schema.ts +104 -47
- package/src/blocks/hero/hero-5.tsx +21 -12
- package/src/blocks/hero/hero-6.schema.ts +127 -258
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +90 -43
- package/src/blocks/hero/hero-7.tsx +6 -4
- package/src/blocks/hero/hero-8.schema.ts +342 -138
- package/src/blocks/hero/hero-8.tsx +23 -13
- package/src/blocks/hero/hero-9.schema.ts +111 -86
- package/src/blocks/hero/hero-9.tsx +12 -4
- package/src/blocks/index.ts +12 -8
- package/src/blocks/jobs/jobs-1.schema.ts +990 -0
- package/src/blocks/jobs/jobs-1.tsx +145 -0
- package/src/blocks/logos/logos-1.schema.ts +370 -36
- package/src/blocks/logos/logos-1.tsx +7 -7
- package/src/blocks/navbar/navbar-1.schema.ts +15 -28
- package/src/blocks/navbar/navbar-1.tsx +24 -60
- package/src/blocks/navbar/navbar-2.schema.ts +14 -28
- package/src/blocks/navbar/navbar-2.tsx +26 -56
- package/src/blocks/navbar/navbar-3.schema.ts +11 -22
- package/src/blocks/navbar/navbar-3.tsx +33 -82
- package/src/blocks/navbar/navbar-4.schema.ts +14343 -0
- package/src/blocks/navbar/navbar-4.tsx +546 -0
- package/src/blocks/polling/polling-1.schema.ts +2 -21
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +307 -290
- package/src/blocks/pricing/pricing-1.tsx +32 -42
- package/src/blocks/products/products-listing-1.schema.ts +115 -36
- package/src/blocks/products/products-listing-1.tsx +15 -13
- package/src/blocks/products/products-listing-2.schema.ts +178 -220
- package/src/blocks/products/products-listing-2.tsx +29 -16
- package/src/blocks/products/products-listing-3.schema.ts +412 -154
- package/src/blocks/products/products-listing-3.tsx +102 -73
- package/src/blocks/profile/profile-1.schema.ts +60 -49
- package/src/blocks/profile/profile-1.tsx +5 -10
- package/src/blocks/profile/profile-2.schema.ts +71 -92
- package/src/blocks/profile/profile-2.tsx +6 -7
- package/src/blocks/profile/profile-3.schema.ts +141 -529
- package/src/blocks/profile/profile-3.tsx +19 -41
- package/src/blocks/{blogs/blog-post-2.schema.ts → profile/profile-4.schema.ts} +75 -97
- package/src/blocks/{blogs/blog-post-2.tsx → profile/profile-4.tsx} +32 -61
- package/src/blocks/{blogs/blog-post-3.schema.ts → profile/profile-5.schema.ts} +6 -6
- package/src/blocks/{blogs/blog-post-3.tsx → profile/profile-5.tsx} +6 -11
- package/src/blocks/services/service-1.schema.ts +210 -830
- package/src/blocks/services/service-1.tsx +46 -59
- package/src/blocks/services/service-2.schema.ts +92 -80
- package/src/blocks/services/service-2.tsx +13 -7
- package/src/blocks/services/service-3.schema.ts +74 -86
- package/src/blocks/services/service-3.tsx +44 -45
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +7 -14
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +12 -15
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +103 -409
- package/src/blocks/tabs/tab-1.tsx +47 -53
- package/src/blocks/tabs/tab-2.schema.ts +207 -290
- package/src/blocks/tabs/tab-2.tsx +20 -9
- package/src/blocks/team/team-1.schema.ts +593 -76
- package/src/blocks/team/team-1.tsx +16 -22
- package/src/blocks/team/team-2.schema.ts +621 -1453
- package/src/blocks/team/team-2.tsx +19 -34
- package/src/blocks/team/team-3.schema.ts +127 -78
- package/src/blocks/team/team-3.tsx +9 -14
- package/src/blocks/team/team-4.schema.ts +197 -63
- package/src/blocks/team/team-4.tsx +25 -26
- package/src/blocks/team/team-5.schema.ts +65 -54
- package/src/blocks/team/team-5.tsx +13 -4
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +4 -6
- package/src/blocks/testimonial/testimonial-1.schema.ts +713 -65
- package/src/blocks/testimonial/testimonial-1.tsx +12 -23
- package/src/blocks/testimonial/testimonial-2.schema.ts +1316 -354
- package/src/blocks/testimonial/testimonial-2.tsx +21 -37
- package/src/blocks/testimonial/testimonial-3.schema.ts +210 -74
- package/src/blocks/testimonial/testimonial-3.tsx +17 -27
- package/src/blocks/testimonial/testimonial-4.schema.ts +353 -1049
- package/src/blocks/testimonial/testimonial-4.tsx +16 -34
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +155 -171
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +201 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +166 -316
- package/src/blocks/testimonial/testimonial-5.schema.ts +2 -6
- package/src/blocks/testimonial/testimonial-5.tsx +15 -25
- package/src/blocks/testimonial/testimonial-6.schema.ts +226 -315
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +16 -27
- package/src/blocks/timeline/timeline-1.schema.ts +166 -153
- package/src/blocks/timeline/timeline-1.tsx +6 -7
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +23 -28
- package/src/constants/index.ts +16 -0
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +17 -5
- package/src/schemas/categories.ts +26 -2
|
@@ -1,29 +1,18 @@
|
|
|
1
1
|
import type { ILevoBlockBaseProps } from "@levo-so/studio";
|
|
2
|
-
import {
|
|
3
|
-
Box,
|
|
4
|
-
Button,
|
|
5
|
-
Container,
|
|
6
|
-
Heading,
|
|
7
|
-
Icon,
|
|
8
|
-
Section,
|
|
9
|
-
Typography,
|
|
10
|
-
} from "@levo-so/studio";
|
|
2
|
+
import { Box, Button, Container, Heading, Icon, Section, Typography } from "@levo-so/studio";
|
|
11
3
|
|
|
12
4
|
import type { IPricing1Content } from "./pricing-1.schema";
|
|
13
5
|
|
|
14
|
-
const Pricing1: React.FC<ILevoBlockBaseProps<IPricing1Content>> = ({
|
|
15
|
-
content,
|
|
16
|
-
}) => (
|
|
6
|
+
const Pricing1: React.FC<ILevoBlockBaseProps<IPricing1Content>> = ({ content }) => (
|
|
17
7
|
<Section elementKey="layout">
|
|
18
8
|
<Container elementKey="container">
|
|
19
|
-
<
|
|
9
|
+
<Box elementKey="header">
|
|
10
|
+
<Heading elementKey="title" />
|
|
11
|
+
<Typography elementKey="description" />
|
|
12
|
+
</Box>
|
|
20
13
|
<Box elementKey="pricing_cards_levoGroup" data-levo_group>
|
|
21
14
|
{(content.pricing_cards ?? []).map((_, index) => (
|
|
22
|
-
<Box
|
|
23
|
-
key={index}
|
|
24
|
-
data-levo_group_item
|
|
25
|
-
elementKey={`pricing_cards.${index}.card`}
|
|
26
|
-
>
|
|
15
|
+
<Box key={index} data-levo_group_item elementKey={`pricing_cards.${index}.card`}>
|
|
27
16
|
{/* Title and Badge Container */}
|
|
28
17
|
<Box elementKey={`pricing_cards.${index}.title_badge_container`}>
|
|
29
18
|
{/* Badge for popular plans */}
|
|
@@ -35,9 +24,7 @@ const Pricing1: React.FC<ILevoBlockBaseProps<IPricing1Content>> = ({
|
|
|
35
24
|
</Box>
|
|
36
25
|
|
|
37
26
|
{/* Primary Content Container */}
|
|
38
|
-
<Box
|
|
39
|
-
elementKey={`pricing_cards.${index}.primary_content_container`}
|
|
40
|
-
>
|
|
27
|
+
<Box elementKey={`pricing_cards.${index}.primary_content_container`}>
|
|
41
28
|
{/* Plan description */}
|
|
42
29
|
<Typography elementKey={`pricing_cards.${index}.description`} />
|
|
43
30
|
|
|
@@ -50,32 +37,35 @@ const Pricing1: React.FC<ILevoBlockBaseProps<IPricing1Content>> = ({
|
|
|
50
37
|
</Box>
|
|
51
38
|
|
|
52
39
|
{/* CTA Button */}
|
|
53
|
-
<
|
|
40
|
+
<Box elementKey={`pricing_cards.${index}.ctas_levoGroup`} data-levo_group>
|
|
41
|
+
{content.pricing_cards?.[index]?.ctas?.map((_, ctaIndex) => (
|
|
42
|
+
<Button
|
|
43
|
+
key={ctaIndex}
|
|
44
|
+
elementKey={`pricing_cards.${index}.ctas.${ctaIndex}.cta`}
|
|
45
|
+
data-levo_group_item
|
|
46
|
+
/>
|
|
47
|
+
))}
|
|
48
|
+
</Box>
|
|
54
49
|
</Box>
|
|
55
50
|
|
|
56
51
|
{/* Features section */}
|
|
57
52
|
<Box elementKey={`pricing_cards.${index}.features_wrapper`}>
|
|
58
53
|
<Heading elementKey={`pricing_cards.${index}.features_title`} />
|
|
59
|
-
<Box
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
elementKey={`pricing_cards.${index}.features.${featureIndex}.feature_text`}
|
|
75
|
-
/>
|
|
76
|
-
</Box>
|
|
77
|
-
),
|
|
78
|
-
)}
|
|
54
|
+
<Box elementKey={`pricing_cards.${index}.features_levoGroup`} data-levo_group>
|
|
55
|
+
{(content.pricing_cards?.[index]?.features ?? []).map((_, featureIndex) => (
|
|
56
|
+
<Box
|
|
57
|
+
key={featureIndex}
|
|
58
|
+
data-levo_group_item
|
|
59
|
+
elementKey={`pricing_cards.${index}.features.${featureIndex}.feature_container`}
|
|
60
|
+
>
|
|
61
|
+
<Icon
|
|
62
|
+
elementKey={`pricing_cards.${index}.features.${featureIndex}.feature_item`}
|
|
63
|
+
/>
|
|
64
|
+
<Typography
|
|
65
|
+
elementKey={`pricing_cards.${index}.features.${featureIndex}.feature_text`}
|
|
66
|
+
/>
|
|
67
|
+
</Box>
|
|
68
|
+
))}
|
|
79
69
|
</Box>
|
|
80
70
|
</Box>
|
|
81
71
|
</Box>
|
|
@@ -1,23 +1,72 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
id: "
|
|
5
|
-
|
|
3
|
+
const MEDIA_1 = {
|
|
4
|
+
id: "iPDjefZlgPh1M",
|
|
5
|
+
filename: "product-listing-1-1.png",
|
|
6
6
|
kind: "image",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0.png",
|
|
8
|
+
srcset: {
|
|
9
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1080w.webp",
|
|
10
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1200w.webp",
|
|
11
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1920w.webp",
|
|
12
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-320w.webp",
|
|
13
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-640w.webp",
|
|
14
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-750w.webp",
|
|
15
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-828w.webp",
|
|
16
|
+
path: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-1-R6ertNbOMvUa0-1200w.webp 1200w",
|
|
17
|
+
},
|
|
18
|
+
mimetype: "image/png",
|
|
19
|
+
};
|
|
20
|
+
const MEDIA_2 = {
|
|
21
|
+
id: "XZbHubcwuDQuO",
|
|
22
|
+
filename: "product-listing-1-2.png",
|
|
23
|
+
kind: "image",
|
|
24
|
+
location: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o.png",
|
|
25
|
+
srcset: {
|
|
26
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1080w.webp",
|
|
27
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1200w.webp",
|
|
28
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1920w.webp",
|
|
29
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-320w.webp",
|
|
30
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-640w.webp",
|
|
31
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-750w.webp",
|
|
32
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-828w.webp",
|
|
33
|
+
path: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-2-OaJNDLqfjAZ3o-1920w.webp 1920w",
|
|
34
|
+
},
|
|
7
35
|
mimetype: "image/png",
|
|
36
|
+
};
|
|
37
|
+
const MEDIA_3 = {
|
|
38
|
+
id: "oildArpqXyWvw",
|
|
39
|
+
filename: "product-listing-1-3.png",
|
|
40
|
+
kind: "image",
|
|
41
|
+
location: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf.png",
|
|
8
42
|
srcset: {
|
|
9
|
-
"1080w":
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
18
|
-
"828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
19
|
-
path: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
43
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1080w.webp",
|
|
44
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1200w.webp",
|
|
45
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1920w.webp",
|
|
46
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-320w.webp",
|
|
47
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-640w.webp",
|
|
48
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-750w.webp",
|
|
49
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-828w.webp",
|
|
50
|
+
path: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-3-k5KMbTxRrITlf-1200w.webp 1200w",
|
|
20
51
|
},
|
|
52
|
+
mimetype: "image/png",
|
|
53
|
+
};
|
|
54
|
+
const MEDIA_4 = {
|
|
55
|
+
id: "6HgbtxxyDY0T7",
|
|
56
|
+
filename: "product-listing-1-4.png",
|
|
57
|
+
kind: "image",
|
|
58
|
+
location: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF.png",
|
|
59
|
+
srcset: {
|
|
60
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1080w.webp",
|
|
61
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1200w.webp",
|
|
62
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1920w.webp",
|
|
63
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-320w.webp",
|
|
64
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-640w.webp",
|
|
65
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-750w.webp",
|
|
66
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-828w.webp",
|
|
67
|
+
path: "https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/product-listing-1-4-T71RynwUbPcTF-1200w.webp 1200w",
|
|
68
|
+
},
|
|
69
|
+
mimetype: "image/png",
|
|
21
70
|
};
|
|
22
71
|
|
|
23
72
|
const DEFAULT_CONTENT = {
|
|
@@ -28,30 +77,31 @@ const DEFAULT_CONTENT = {
|
|
|
28
77
|
cta_box: null,
|
|
29
78
|
description:
|
|
30
79
|
"Our intelligent, scalable, and user-friendly products leverage AI to enhance performance, automation, and user engagement.",
|
|
31
|
-
|
|
80
|
+
buttons_levoGroup: null,
|
|
81
|
+
buttons: [{ button: "View More" }, { button: "Learn More" }],
|
|
32
82
|
products_levoGroup: null,
|
|
33
83
|
products: [
|
|
34
84
|
{
|
|
35
85
|
card: null,
|
|
36
|
-
image:
|
|
86
|
+
image: MEDIA_1,
|
|
37
87
|
title: "Websites",
|
|
38
88
|
price: "$25.00",
|
|
39
89
|
},
|
|
40
90
|
{
|
|
41
91
|
card: null,
|
|
42
|
-
image:
|
|
92
|
+
image: MEDIA_2,
|
|
43
93
|
title: "Mobile Apps",
|
|
44
94
|
price: "$25.00",
|
|
45
95
|
},
|
|
46
96
|
{
|
|
47
97
|
card: null,
|
|
48
|
-
image:
|
|
98
|
+
image: MEDIA_3,
|
|
49
99
|
title: "Chatbots",
|
|
50
100
|
price: "$25.00",
|
|
51
101
|
},
|
|
52
102
|
{
|
|
53
103
|
card: null,
|
|
54
|
-
image:
|
|
104
|
+
image: MEDIA_4,
|
|
55
105
|
title: "Platforms",
|
|
56
106
|
price: "$25.00",
|
|
57
107
|
},
|
|
@@ -97,9 +147,17 @@ export const ProductsListing1: IBlock = {
|
|
|
97
147
|
field_interface: "TypographyWidget",
|
|
98
148
|
},
|
|
99
149
|
{
|
|
100
|
-
key: "
|
|
101
|
-
label: "
|
|
102
|
-
field_interface: "
|
|
150
|
+
key: "buttons",
|
|
151
|
+
label: "Buttons",
|
|
152
|
+
field_interface: "BoxWidget",
|
|
153
|
+
kind: "group",
|
|
154
|
+
fields: [
|
|
155
|
+
{
|
|
156
|
+
key: "button",
|
|
157
|
+
label: "Button",
|
|
158
|
+
field_interface: "ButtonWidget",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
103
161
|
},
|
|
104
162
|
{
|
|
105
163
|
key: "products",
|
|
@@ -135,10 +193,7 @@ export const ProductsListing1: IBlock = {
|
|
|
135
193
|
key: "default",
|
|
136
194
|
title: "Default",
|
|
137
195
|
styles: {
|
|
138
|
-
container: {
|
|
139
|
-
"padding-top": "10xl",
|
|
140
|
-
"padding-bottom": "10xl",
|
|
141
|
-
},
|
|
196
|
+
container: {},
|
|
142
197
|
header_box: {
|
|
143
198
|
display: "flex",
|
|
144
199
|
"flex-direction": "column",
|
|
@@ -161,9 +216,14 @@ export const ProductsListing1: IBlock = {
|
|
|
161
216
|
"justify-content": "center",
|
|
162
217
|
"align-items": "center",
|
|
163
218
|
},
|
|
164
|
-
description: {
|
|
165
|
-
|
|
219
|
+
description: {},
|
|
220
|
+
buttons_levoGroup: {
|
|
221
|
+
display: "flex",
|
|
222
|
+
"flex-direction": "row",
|
|
223
|
+
"align-items": "center",
|
|
224
|
+
gap: "sm",
|
|
166
225
|
},
|
|
226
|
+
buttons: Array(2).map(() => ({})),
|
|
167
227
|
products_levoGroup: {
|
|
168
228
|
display: "grid",
|
|
169
229
|
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
@@ -182,7 +242,6 @@ export const ProductsListing1: IBlock = {
|
|
|
182
242
|
width: "100%",
|
|
183
243
|
display: "block",
|
|
184
244
|
},
|
|
185
|
-
|
|
186
245
|
price: {
|
|
187
246
|
"margin-top": "4xs",
|
|
188
247
|
},
|
|
@@ -195,7 +254,6 @@ export const ProductsListing1: IBlock = {
|
|
|
195
254
|
width: "100%",
|
|
196
255
|
display: "block",
|
|
197
256
|
},
|
|
198
|
-
|
|
199
257
|
price: {
|
|
200
258
|
"margin-top": "4xs",
|
|
201
259
|
},
|
|
@@ -208,7 +266,6 @@ export const ProductsListing1: IBlock = {
|
|
|
208
266
|
width: "100%",
|
|
209
267
|
display: "block",
|
|
210
268
|
},
|
|
211
|
-
|
|
212
269
|
price: {
|
|
213
270
|
"margin-top": "4xs",
|
|
214
271
|
},
|
|
@@ -221,7 +278,6 @@ export const ProductsListing1: IBlock = {
|
|
|
221
278
|
width: "100%",
|
|
222
279
|
display: "block",
|
|
223
280
|
},
|
|
224
|
-
|
|
225
281
|
price: {
|
|
226
282
|
"margin-top": "4xs",
|
|
227
283
|
},
|
|
@@ -239,28 +295,51 @@ export const ProductsListing1: IBlock = {
|
|
|
239
295
|
{
|
|
240
296
|
title: {
|
|
241
297
|
selectedVariants: {
|
|
242
|
-
Heading_Level: "
|
|
298
|
+
Heading_Level: "H4",
|
|
299
|
+
},
|
|
300
|
+
heading: {
|
|
301
|
+
level: "4",
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
price: {
|
|
305
|
+
selectedVariants: {
|
|
306
|
+
Typography_Variants: "Large",
|
|
243
307
|
},
|
|
244
308
|
},
|
|
245
309
|
},
|
|
246
310
|
{
|
|
247
311
|
title: {
|
|
248
312
|
selectedVariants: {
|
|
249
|
-
Heading_Level: "
|
|
313
|
+
Heading_Level: "H4",
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
price: {
|
|
317
|
+
selectedVariants: {
|
|
318
|
+
Typography_Variants: "Large",
|
|
250
319
|
},
|
|
251
320
|
},
|
|
252
321
|
},
|
|
253
322
|
{
|
|
254
323
|
title: {
|
|
255
324
|
selectedVariants: {
|
|
256
|
-
Heading_Level: "
|
|
325
|
+
Heading_Level: "H4",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
price: {
|
|
329
|
+
selectedVariants: {
|
|
330
|
+
Typography_Variants: "Large",
|
|
257
331
|
},
|
|
258
332
|
},
|
|
259
333
|
},
|
|
260
334
|
{
|
|
261
335
|
title: {
|
|
262
336
|
selectedVariants: {
|
|
263
|
-
Heading_Level: "
|
|
337
|
+
Heading_Level: "H4",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
price: {
|
|
341
|
+
selectedVariants: {
|
|
342
|
+
Typography_Variants: "Large",
|
|
264
343
|
},
|
|
265
344
|
},
|
|
266
345
|
},
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Box,
|
|
3
3
|
Button,
|
|
4
|
+
Container,
|
|
4
5
|
Heading,
|
|
6
|
+
type ILevoBlockBaseProps,
|
|
5
7
|
Image,
|
|
6
|
-
Typography,
|
|
7
|
-
Container,
|
|
8
8
|
Section,
|
|
9
|
-
|
|
9
|
+
Typography,
|
|
10
10
|
} from "@levo-so/studio";
|
|
11
11
|
|
|
12
12
|
import type { IProductsListing1Content } from "./products-listing-1.schema";
|
|
13
13
|
|
|
14
|
-
const ProductsListing1: React.FC<
|
|
15
|
-
ILevoBlockBaseProps<IProductsListing1Content>
|
|
16
|
-
> = ({ content }) => (
|
|
14
|
+
const ProductsListing1: React.FC<ILevoBlockBaseProps<IProductsListing1Content>> = ({ content }) => (
|
|
17
15
|
<Section elementKey="layout">
|
|
18
16
|
<Container elementKey="container">
|
|
19
17
|
<Box elementKey="header_box">
|
|
20
18
|
<Heading elementKey="title" />
|
|
21
19
|
<Box elementKey="cta_box">
|
|
22
20
|
<Typography elementKey="description" />
|
|
23
|
-
<
|
|
21
|
+
<Box elementKey="buttons_levoGroup" data-levo_group>
|
|
22
|
+
{(content?.buttons ?? []).map((_, index: number) => (
|
|
23
|
+
<Button
|
|
24
|
+
key={`buttons.${index}.button`}
|
|
25
|
+
elementKey={`buttons.${index}.button`}
|
|
26
|
+
data-levo_group_item
|
|
27
|
+
/>
|
|
28
|
+
))}
|
|
29
|
+
</Box>
|
|
24
30
|
</Box>
|
|
25
31
|
</Box>
|
|
26
32
|
<Box data-levo_group elementKey="products_levoGroup">
|
|
27
33
|
{(content.products ?? []).map((_, index) => (
|
|
28
|
-
<Box
|
|
29
|
-
data-levo_group_item
|
|
30
|
-
elementKey={`products.${index}.card`}
|
|
31
|
-
key={index}
|
|
32
|
-
>
|
|
34
|
+
<Box data-levo_group_item elementKey={`products.${index}.card`} key={index}>
|
|
33
35
|
<Image
|
|
34
36
|
alt="product image"
|
|
35
37
|
elementKey={`products.${index}.image`}
|