@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
|
@@ -2,19 +2,17 @@ import {
|
|
|
2
2
|
Box,
|
|
3
3
|
Container,
|
|
4
4
|
Heading,
|
|
5
|
-
|
|
5
|
+
Icon,
|
|
6
6
|
type ILevoBlockBaseProps,
|
|
7
|
+
Image,
|
|
7
8
|
Section,
|
|
8
9
|
Typography,
|
|
9
|
-
Icon,
|
|
10
10
|
} from "@levo-so/studio";
|
|
11
|
-
import React from "react";
|
|
11
|
+
import type React from "react";
|
|
12
12
|
|
|
13
13
|
import type { ICards11Content } from "./cards-11.schema";
|
|
14
14
|
|
|
15
|
-
const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({
|
|
16
|
-
content,
|
|
17
|
-
}) => (
|
|
15
|
+
const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({ content }) => (
|
|
18
16
|
<Section elementKey="layout">
|
|
19
17
|
<Container elementKey="container">
|
|
20
18
|
<Box elementKey="header_section">
|
|
@@ -25,11 +23,7 @@ const Cards11: React.FC<ILevoBlockBaseProps<ICards11Content>> = ({
|
|
|
25
23
|
<Box elementKey="left_container">
|
|
26
24
|
<Box elementKey="cards_levoGroup" data-levo_group>
|
|
27
25
|
{(content?.cards ?? []).map((_, index: number) => (
|
|
28
|
-
<Box
|
|
29
|
-
key={`card-${index}`}
|
|
30
|
-
data-levo_group_item
|
|
31
|
-
elementKey={`cards.${index}.card`}
|
|
32
|
-
>
|
|
26
|
+
<Box key={`card-${index}`} data-levo_group_item elementKey={`cards.${index}.card`}>
|
|
33
27
|
<Icon elementKey={`cards.${index}.icon`} />
|
|
34
28
|
<Box elementKey={`cards.${index}.content_wrapper`}>
|
|
35
29
|
<Heading elementKey={`cards.${index}.title`} />
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
+
const MEDIA = {
|
|
4
|
+
id: "aytAUN3yAYoHd",
|
|
5
|
+
filename: "cards-12-1.png",
|
|
6
|
+
kind: "image",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St.png",
|
|
8
|
+
srcset: {
|
|
9
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1080w.webp",
|
|
10
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1200w.webp",
|
|
11
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1920w.webp",
|
|
12
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-320w.webp",
|
|
13
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-640w.webp",
|
|
14
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-750w.webp",
|
|
15
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-828w.webp",
|
|
16
|
+
path: "https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/cards-12-1-UpLA9Wh31o5St-1920w.webp 1920w",
|
|
17
|
+
},
|
|
18
|
+
mimetype: "image/png",
|
|
19
|
+
};
|
|
20
|
+
|
|
3
21
|
const DEFAULT_CONTENT = {
|
|
4
22
|
layout: null,
|
|
5
23
|
container: null,
|
|
@@ -11,30 +29,7 @@ const DEFAULT_CONTENT = {
|
|
|
11
29
|
right_container: null,
|
|
12
30
|
images: [
|
|
13
31
|
{
|
|
14
|
-
image:
|
|
15
|
-
id: "7141014160938075687",
|
|
16
|
-
location:
|
|
17
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
18
|
-
kind: "image",
|
|
19
|
-
mimetype: "image/png",
|
|
20
|
-
srcset: {
|
|
21
|
-
"1080w":
|
|
22
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
23
|
-
"1200w":
|
|
24
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
25
|
-
"1920w":
|
|
26
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
27
|
-
"320w":
|
|
28
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
29
|
-
"640w":
|
|
30
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
31
|
-
"750w":
|
|
32
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
33
|
-
"828w":
|
|
34
|
-
"https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
35
|
-
path: "https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp 828w",
|
|
36
|
-
},
|
|
37
|
-
},
|
|
32
|
+
image: MEDIA,
|
|
38
33
|
},
|
|
39
34
|
],
|
|
40
35
|
cards: [
|
|
@@ -231,29 +226,8 @@ export const Cards12: IBlock = {
|
|
|
231
226
|
title: "Default",
|
|
232
227
|
key: "default",
|
|
233
228
|
styles: {
|
|
234
|
-
layout: {
|
|
235
|
-
|
|
236
|
-
"padding-bottom": "5xl",
|
|
237
|
-
"padding-left": "xl",
|
|
238
|
-
"padding-right": "xl",
|
|
239
|
-
tablet: {
|
|
240
|
-
"padding-top": "4xl",
|
|
241
|
-
"padding-bottom": "4xl",
|
|
242
|
-
"padding-left": "lg",
|
|
243
|
-
"padding-right": "lg",
|
|
244
|
-
},
|
|
245
|
-
mobile: {
|
|
246
|
-
"padding-top": "3xl",
|
|
247
|
-
"padding-bottom": "3xl",
|
|
248
|
-
"padding-left": "base",
|
|
249
|
-
"padding-right": "base",
|
|
250
|
-
},
|
|
251
|
-
},
|
|
252
|
-
container: {
|
|
253
|
-
"max-width": "1280px",
|
|
254
|
-
"margin-left": "auto",
|
|
255
|
-
"margin-right": "auto",
|
|
256
|
-
},
|
|
229
|
+
layout: {},
|
|
230
|
+
container: {},
|
|
257
231
|
main_wrapper: {
|
|
258
232
|
display: "flex",
|
|
259
233
|
"column-gap": "5xl",
|
|
@@ -272,23 +246,8 @@ export const Cards12: IBlock = {
|
|
|
272
246
|
"flex-direction": "column",
|
|
273
247
|
"row-gap": "xl",
|
|
274
248
|
},
|
|
275
|
-
left_title: {
|
|
276
|
-
|
|
277
|
-
"font-weight": "700",
|
|
278
|
-
color: "text-1",
|
|
279
|
-
"line-height": "1.2",
|
|
280
|
-
tablet: {
|
|
281
|
-
"font-size": "3xl",
|
|
282
|
-
},
|
|
283
|
-
mobile: {
|
|
284
|
-
"font-size": "2xl",
|
|
285
|
-
},
|
|
286
|
-
},
|
|
287
|
-
left_description: {
|
|
288
|
-
"font-size": "lg",
|
|
289
|
-
color: "text-2",
|
|
290
|
-
"line-height": "1.6",
|
|
291
|
-
},
|
|
249
|
+
left_title: {},
|
|
250
|
+
left_description: {},
|
|
292
251
|
images_levoGroup: {
|
|
293
252
|
display: "grid",
|
|
294
253
|
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
@@ -330,9 +289,12 @@ export const Cards12: IBlock = {
|
|
|
330
289
|
"border-width": "1px",
|
|
331
290
|
"border-color": "border",
|
|
332
291
|
},
|
|
292
|
+
title: {
|
|
293
|
+
"font-weight": 600,
|
|
294
|
+
},
|
|
295
|
+
description: {},
|
|
333
296
|
small_desc: {
|
|
334
|
-
"font-
|
|
335
|
-
"font-weight": "600",
|
|
297
|
+
"font-weight": 600,
|
|
336
298
|
color: "text-3",
|
|
337
299
|
"text-transform": "uppercase",
|
|
338
300
|
"letter-spacing": "0.05em",
|
|
@@ -344,17 +306,6 @@ export const Cards12: IBlock = {
|
|
|
344
306
|
"padding-bottom": "4xs",
|
|
345
307
|
"border-radius": "3xl",
|
|
346
308
|
},
|
|
347
|
-
title: {
|
|
348
|
-
"font-size": "xl",
|
|
349
|
-
"font-weight": "600",
|
|
350
|
-
color: "text-1",
|
|
351
|
-
"line-height": "1.3",
|
|
352
|
-
},
|
|
353
|
-
description: {
|
|
354
|
-
"font-size": "base",
|
|
355
|
-
color: "text-2",
|
|
356
|
-
"line-height": "1.6",
|
|
357
|
-
},
|
|
358
309
|
},
|
|
359
310
|
{
|
|
360
311
|
card: {
|
|
@@ -369,9 +320,12 @@ export const Cards12: IBlock = {
|
|
|
369
320
|
"border-width": "1px",
|
|
370
321
|
"border-color": "border",
|
|
371
322
|
},
|
|
323
|
+
title: {
|
|
324
|
+
"font-weight": 600,
|
|
325
|
+
},
|
|
326
|
+
description: {},
|
|
372
327
|
small_desc: {
|
|
373
|
-
"font-
|
|
374
|
-
"font-weight": "600",
|
|
328
|
+
"font-weight": 600,
|
|
375
329
|
color: "text-3",
|
|
376
330
|
"text-transform": "uppercase",
|
|
377
331
|
"letter-spacing": "0.05em",
|
|
@@ -383,34 +337,10 @@ export const Cards12: IBlock = {
|
|
|
383
337
|
"padding-bottom": "4xs",
|
|
384
338
|
"border-radius": "3xl",
|
|
385
339
|
},
|
|
386
|
-
title: {
|
|
387
|
-
"font-size": "xl",
|
|
388
|
-
"font-weight": "600",
|
|
389
|
-
color: "text-1",
|
|
390
|
-
"line-height": "1.3",
|
|
391
|
-
},
|
|
392
|
-
description: {
|
|
393
|
-
"font-size": "base",
|
|
394
|
-
color: "text-2",
|
|
395
|
-
"line-height": "1.6",
|
|
396
|
-
},
|
|
397
340
|
},
|
|
398
341
|
{
|
|
399
|
-
card: {
|
|
400
|
-
display: "flex",
|
|
401
|
-
"flex-direction": "column",
|
|
402
|
-
"row-gap": "sm",
|
|
403
|
-
"padding-top": "lg",
|
|
404
|
-
"padding-bottom": "lg",
|
|
405
|
-
"padding-left": "lg",
|
|
406
|
-
"padding-right": "lg",
|
|
407
|
-
"border-radius": "lg",
|
|
408
|
-
"border-width": "1px",
|
|
409
|
-
"border-color": "border",
|
|
410
|
-
},
|
|
411
342
|
small_desc: {
|
|
412
|
-
"font-
|
|
413
|
-
"font-weight": "600",
|
|
343
|
+
"font-weight": 600,
|
|
414
344
|
color: "text-3",
|
|
415
345
|
"text-transform": "uppercase",
|
|
416
346
|
"letter-spacing": "0.05em",
|
|
@@ -422,19 +352,6 @@ export const Cards12: IBlock = {
|
|
|
422
352
|
"padding-bottom": "4xs",
|
|
423
353
|
"border-radius": "3xl",
|
|
424
354
|
},
|
|
425
|
-
title: {
|
|
426
|
-
"font-size": "xl",
|
|
427
|
-
"font-weight": "600",
|
|
428
|
-
color: "text-1",
|
|
429
|
-
"line-height": "1.3",
|
|
430
|
-
},
|
|
431
|
-
description: {
|
|
432
|
-
"font-size": "base",
|
|
433
|
-
color: "text-2",
|
|
434
|
-
"line-height": "1.6",
|
|
435
|
-
},
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
355
|
card: {
|
|
439
356
|
display: "flex",
|
|
440
357
|
"flex-direction": "column",
|
|
@@ -447,9 +364,14 @@ export const Cards12: IBlock = {
|
|
|
447
364
|
"border-width": "1px",
|
|
448
365
|
"border-color": "border",
|
|
449
366
|
},
|
|
367
|
+
title: {
|
|
368
|
+
"font-weight": 600,
|
|
369
|
+
},
|
|
370
|
+
description: {},
|
|
371
|
+
},
|
|
372
|
+
{
|
|
450
373
|
small_desc: {
|
|
451
|
-
"font-
|
|
452
|
-
"font-weight": "600",
|
|
374
|
+
"font-weight": 600,
|
|
453
375
|
color: "text-3",
|
|
454
376
|
"text-transform": "uppercase",
|
|
455
377
|
"letter-spacing": "0.05em",
|
|
@@ -461,19 +383,6 @@ export const Cards12: IBlock = {
|
|
|
461
383
|
"padding-bottom": "4xs",
|
|
462
384
|
"border-radius": "3xl",
|
|
463
385
|
},
|
|
464
|
-
title: {
|
|
465
|
-
"font-size": "xl",
|
|
466
|
-
"font-weight": "600",
|
|
467
|
-
color: "text-1",
|
|
468
|
-
"line-height": "1.3",
|
|
469
|
-
},
|
|
470
|
-
description: {
|
|
471
|
-
"font-size": "base",
|
|
472
|
-
color: "text-2",
|
|
473
|
-
"line-height": "1.6",
|
|
474
|
-
},
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
386
|
card: {
|
|
478
387
|
display: "flex",
|
|
479
388
|
"flex-direction": "column",
|
|
@@ -486,93 +395,98 @@ export const Cards12: IBlock = {
|
|
|
486
395
|
"border-width": "1px",
|
|
487
396
|
"border-color": "border",
|
|
488
397
|
},
|
|
489
|
-
small_desc: {
|
|
490
|
-
"font-size": "sm",
|
|
491
|
-
"font-weight": "600",
|
|
492
|
-
color: "text-3",
|
|
493
|
-
"text-transform": "uppercase",
|
|
494
|
-
"letter-spacing": "0.05em",
|
|
495
|
-
},
|
|
496
398
|
title: {
|
|
497
|
-
"font-
|
|
498
|
-
"font-weight": "600",
|
|
499
|
-
color: "text-1",
|
|
500
|
-
"line-height": "1.3",
|
|
501
|
-
},
|
|
502
|
-
description: {
|
|
503
|
-
"font-size": "base",
|
|
504
|
-
color: "text-2",
|
|
505
|
-
"line-height": "1.6",
|
|
399
|
+
"font-weight": 600,
|
|
506
400
|
},
|
|
401
|
+
description: {},
|
|
507
402
|
},
|
|
403
|
+
],
|
|
404
|
+
},
|
|
405
|
+
content: DEFAULT_CONTENT,
|
|
406
|
+
config: {
|
|
407
|
+
left_title: {
|
|
408
|
+
selectedVariants: {
|
|
409
|
+
Heading_Level: "H3",
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
left_description: {
|
|
413
|
+
selectedVariants: {},
|
|
414
|
+
},
|
|
415
|
+
cards: [
|
|
508
416
|
{
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
"border-color": "border",
|
|
417
|
+
title: {
|
|
418
|
+
heading: {
|
|
419
|
+
level: "4",
|
|
420
|
+
},
|
|
421
|
+
selectedVariants: {
|
|
422
|
+
Heading_Level: "H5",
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
description: {
|
|
426
|
+
selectedVariants: {},
|
|
520
427
|
},
|
|
521
428
|
small_desc: {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
"text-transform": "uppercase",
|
|
526
|
-
"letter-spacing": "0.05em",
|
|
429
|
+
selectedVariants: {
|
|
430
|
+
Typography_Variants: "Small",
|
|
431
|
+
},
|
|
527
432
|
},
|
|
433
|
+
},
|
|
434
|
+
{
|
|
528
435
|
title: {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
436
|
+
selectedVariants: {
|
|
437
|
+
Heading_Level: "H5",
|
|
438
|
+
},
|
|
439
|
+
heading: {
|
|
440
|
+
level: "4",
|
|
441
|
+
},
|
|
533
442
|
},
|
|
534
443
|
description: {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
444
|
+
selectedVariants: {},
|
|
445
|
+
},
|
|
446
|
+
small_desc: {
|
|
447
|
+
selectedVariants: {
|
|
448
|
+
Typography_Variants: "Small",
|
|
449
|
+
},
|
|
538
450
|
},
|
|
539
451
|
},
|
|
540
452
|
{
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
"border-color": "border",
|
|
453
|
+
title: {
|
|
454
|
+
selectedVariants: {
|
|
455
|
+
Heading_Level: "H5",
|
|
456
|
+
},
|
|
457
|
+
heading: {
|
|
458
|
+
level: "4",
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
description: {
|
|
462
|
+
selectedVariants: {},
|
|
552
463
|
},
|
|
553
464
|
small_desc: {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
"text-transform": "uppercase",
|
|
558
|
-
"letter-spacing": "0.05em",
|
|
465
|
+
selectedVariants: {
|
|
466
|
+
Typography_Variants: "Small",
|
|
467
|
+
},
|
|
559
468
|
},
|
|
469
|
+
},
|
|
470
|
+
{
|
|
560
471
|
title: {
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
472
|
+
selectedVariants: {
|
|
473
|
+
Heading_Level: "H5",
|
|
474
|
+
},
|
|
475
|
+
heading: {
|
|
476
|
+
level: "4",
|
|
477
|
+
},
|
|
565
478
|
},
|
|
566
479
|
description: {
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
480
|
+
selectedVariants: {},
|
|
481
|
+
},
|
|
482
|
+
small_desc: {
|
|
483
|
+
selectedVariants: {
|
|
484
|
+
Typography_Variants: "Small",
|
|
485
|
+
},
|
|
570
486
|
},
|
|
571
487
|
},
|
|
572
488
|
],
|
|
573
489
|
},
|
|
574
|
-
content: DEFAULT_CONTENT,
|
|
575
|
-
config: {},
|
|
576
490
|
},
|
|
577
491
|
],
|
|
578
492
|
};
|
|
@@ -2,18 +2,16 @@ import {
|
|
|
2
2
|
Box,
|
|
3
3
|
Container,
|
|
4
4
|
Heading,
|
|
5
|
-
Image,
|
|
6
5
|
type ILevoBlockBaseProps,
|
|
6
|
+
Image,
|
|
7
7
|
Section,
|
|
8
8
|
Typography,
|
|
9
9
|
} from "@levo-so/studio";
|
|
10
|
-
import React from "react";
|
|
10
|
+
import type React from "react";
|
|
11
11
|
|
|
12
12
|
import type { ICards12Content } from "./cards-12.schema";
|
|
13
13
|
|
|
14
|
-
const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({
|
|
15
|
-
content,
|
|
16
|
-
}) => (
|
|
14
|
+
const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({ content }) => (
|
|
17
15
|
<Section elementKey="layout">
|
|
18
16
|
<Container elementKey="container">
|
|
19
17
|
<Box elementKey="main_wrapper">
|
|
@@ -34,11 +32,7 @@ const Cards12: React.FC<ILevoBlockBaseProps<ICards12Content>> = ({
|
|
|
34
32
|
<Box elementKey="right_container">
|
|
35
33
|
<Box elementKey="cards_levoGroup" data-levo_group>
|
|
36
34
|
{(content?.cards ?? []).map((_, index: number) => (
|
|
37
|
-
<Box
|
|
38
|
-
key={`card-${index}`}
|
|
39
|
-
data-levo_group_item
|
|
40
|
-
elementKey={`cards.${index}.card`}
|
|
41
|
-
>
|
|
35
|
+
<Box key={`card-${index}`} data-levo_group_item elementKey={`cards.${index}.card`}>
|
|
42
36
|
<Typography elementKey={`cards.${index}.small_desc`} />
|
|
43
37
|
<Heading elementKey={`cards.${index}.title`} />
|
|
44
38
|
<Typography elementKey={`cards.${index}.description`} />
|