@levo-so/blocks 0.1.60 → 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 +13 -14
- package/src/blocks/about-us/about-us-1.schema.ts +15 -30
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +24 -48
- 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 +10 -21
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +4 -12
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +4 -12
- 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 +95 -6
- package/src/blocks/calendar/calendar-1.tsx +33 -29
- package/src/blocks/cards/cards-10.schema.ts +62 -124
- package/src/blocks/cards/cards-10.tsx +9 -14
- package/src/blocks/cards/cards-11.schema.ts +69 -138
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +7 -14
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +40 -80
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +7 -14
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +7 -14
- package/src/blocks/cards/cards-15.tsx +2 -4
- package/src/blocks/cards/cards-2.schema.ts +7 -14
- package/src/blocks/cards/cards-2.tsx +2 -15
- package/src/blocks/cards/cards-3.schema.ts +7 -14
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +13 -26
- package/src/blocks/cards/cards-4.tsx +9 -15
- package/src/blocks/cards/cards-5.schema.ts +17 -34
- package/src/blocks/cards/cards-5.tsx +1 -9
- package/src/blocks/cards/cards-6.schema.ts +52 -104
- package/src/blocks/cards/cards-6.tsx +12 -20
- package/src/blocks/cards/cards-7.schema.ts +48 -96
- package/src/blocks/cards/cards-7.tsx +8 -27
- package/src/blocks/cards/cards-8.schema.ts +9 -20
- package/src/blocks/cards/cards-8.tsx +5 -11
- package/src/blocks/cards/cards-9.schema.ts +41 -82
- package/src/blocks/cards/cards-9.tsx +14 -22
- package/src/blocks/carousel/carousel-1.schema.ts +64 -128
- package/src/blocks/carousel/carousel-1.tsx +6 -8
- package/src/blocks/carousel/carousel-2.schema.ts +26 -52
- package/src/blocks/carousel/carousel-2.tsx +11 -23
- package/src/blocks/community/community-1.schema.ts +78 -32
- package/src/blocks/community/community-1.tsx +417 -550
- package/src/blocks/community/community-post-1.schema.ts +21 -30
- package/src/blocks/community/community-post-1.tsx +334 -84
- package/src/blocks/contact-us/contact-us-1.schema.ts +8 -16
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.tsx +20 -31
- package/src/blocks/content/content-1.schema.ts +21 -42
- package/src/blocks/content/content-1.tsx +10 -17
- package/src/blocks/content/content-2.schema.ts +29 -58
- package/src/blocks/content/content-2.tsx +4 -4
- package/src/blocks/content/content-3.tsx +13 -29
- package/src/blocks/content/content-4.schema.ts +23 -46
- package/src/blocks/content/content-4.tsx +8 -17
- package/src/blocks/content/content-5.schema.ts +29 -24
- package/src/blocks/content/content-5.tsx +13 -27
- package/src/blocks/content/content-6.schema.ts +46 -94
- package/src/blocks/content/content-6.tsx +14 -31
- package/src/blocks/content/content-7.schema.ts +35 -72
- package/src/blocks/content/content-7.tsx +15 -31
- package/src/blocks/content/content-8.schema.ts +1 -6
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.tsx +26 -41
- package/src/blocks/cta/cta-1.schema.ts +10 -20
- package/src/blocks/cta/cta-2.schema.ts +14 -28
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +24 -50
- package/src/blocks/cta/cta-3.tsx +2 -6
- 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 +16 -32
- package/src/blocks/event/event-details.tsx +8 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +12 -23
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +9 -15
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +5 -13
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +9 -15
- package/src/blocks/faq/faq-1.schema.ts +8 -16
- package/src/blocks/faq/faq-1.tsx +19 -30
- package/src/blocks/faq/faq-2.schema.ts +8 -16
- package/src/blocks/faq/faq-2.tsx +11 -10
- package/src/blocks/faq/faq-3.schema.ts +9 -18
- package/src/blocks/faq/faq-3.tsx +11 -19
- package/src/blocks/features/features-1/features-1.tsx +2 -4
- package/src/blocks/features/features-1/variants/default.ts +4 -8
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- package/src/blocks/features/features-2.schema.ts +32 -64
- package/src/blocks/features/features-2.tsx +8 -10
- package/src/blocks/features/features-3.schema.ts +32 -64
- package/src/blocks/features/features-3.tsx +7 -16
- package/src/blocks/features/features-4.schema.ts +16 -32
- package/src/blocks/features/features-4.tsx +3 -7
- package/src/blocks/features/features-5.schema.ts +1 -2
- package/src/blocks/features/features-5.tsx +6 -17
- package/src/blocks/features/features-6.schema.ts +32 -64
- package/src/blocks/features/features-6.tsx +16 -36
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +5 -10
- package/src/blocks/floating-buttons/floating-button-1.tsx +3 -9
- package/src/blocks/footer/footer-1.schema.ts +8 -16
- package/src/blocks/footer/footer-1.tsx +15 -30
- package/src/blocks/footer/footer-2.schema.ts +8 -16
- package/src/blocks/footer/footer-2.tsx +17 -28
- package/src/blocks/footer/footer-3.schema.ts +1 -2
- package/src/blocks/footer/footer-3.tsx +9 -25
- package/src/blocks/footer/footer-4.schema.ts +8 -16
- package/src/blocks/footer/footer-4.tsx +35 -54
- package/src/blocks/footer/footer-5.schema.ts +10 -24
- package/src/blocks/footer/footer-5.tsx +14 -29
- package/src/blocks/footer/footer-6.schema.ts +10 -25
- package/src/blocks/footer/footer-6.tsx +29 -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 +45 -90
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +1 -2
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +18 -14
- package/src/blocks/hero/hero-11.tsx +4 -9
- package/src/blocks/hero/hero-12.schema.ts +18 -36
- package/src/blocks/hero/hero-12.tsx +3 -6
- package/src/blocks/hero/hero-13.schema.ts +8 -16
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +3 -6
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +28 -56
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +22 -44
- package/src/blocks/hero/hero-4.tsx +16 -27
- package/src/blocks/hero/hero-5.schema.ts +21 -42
- package/src/blocks/hero/hero-5.tsx +15 -18
- package/src/blocks/hero/hero-6.schema.ts +35 -70
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +24 -48
- package/src/blocks/hero/hero-7.tsx +2 -3
- package/src/blocks/hero/hero-8.schema.ts +24 -50
- package/src/blocks/hero/hero-8.tsx +5 -19
- package/src/blocks/hero/hero-9.schema.ts +8 -16
- package/src/blocks/hero/hero-9.tsx +3 -3
- package/src/blocks/index.ts +8 -11
- 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 +53 -113
- 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 +1 -2
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +13 -26
- package/src/blocks/pricing/pricing-1.tsx +20 -44
- package/src/blocks/products/products-listing-1.schema.ts +32 -64
- package/src/blocks/products/products-listing-1.tsx +6 -12
- package/src/blocks/products/products-listing-2.schema.ts +26 -54
- package/src/blocks/products/products-listing-2.tsx +8 -17
- package/src/blocks/products/products-listing-3.schema.ts +25 -52
- package/src/blocks/products/products-listing-3.tsx +87 -93
- package/src/blocks/profile/profile-1.schema.ts +7 -14
- package/src/blocks/profile/profile-1.tsx +2 -8
- package/src/blocks/profile/profile-2.schema.ts +9 -18
- package/src/blocks/profile/profile-2.tsx +4 -6
- package/src/blocks/profile/profile-3.schema.ts +21 -42
- package/src/blocks/profile/profile-3.tsx +18 -40
- 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 +20 -40
- package/src/blocks/services/service-1.tsx +45 -71
- package/src/blocks/services/service-2.schema.ts +8 -16
- package/src/blocks/services/service-2.tsx +4 -6
- package/src/blocks/services/service-3.schema.ts +12 -24
- package/src/blocks/services/service-3.tsx +4 -6
- package/src/blocks/stats/stats-1.tsx +3 -14
- package/src/blocks/stats/stats-2.tsx +3 -14
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +4 -8
- package/src/blocks/tabs/tab-1.tsx +47 -64
- package/src/blocks/tabs/tab-2.schema.ts +13 -26
- package/src/blocks/tabs/tab-2.tsx +14 -15
- package/src/blocks/team/team-1.schema.ts +28 -56
- package/src/blocks/team/team-1.tsx +7 -21
- package/src/blocks/team/team-2.schema.ts +104 -208
- package/src/blocks/team/team-2.tsx +15 -33
- package/src/blocks/team/team-3.schema.ts +24 -48
- package/src/blocks/team/team-3.tsx +8 -14
- package/src/blocks/team/team-4.schema.ts +25 -50
- package/src/blocks/team/team-4.tsx +15 -24
- package/src/blocks/team/team-5.schema.ts +14 -28
- package/src/blocks/team/team-5.tsx +1 -1
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +3 -5
- package/src/blocks/testimonial/testimonial-1.schema.ts +1 -2
- package/src/blocks/testimonial/testimonial-1.tsx +10 -19
- package/src/blocks/testimonial/testimonial-2.schema.ts +16 -32
- package/src/blocks/testimonial/testimonial-2.tsx +17 -36
- package/src/blocks/testimonial/testimonial-3.schema.ts +8 -16
- package/src/blocks/testimonial/testimonial-3.tsx +13 -26
- package/src/blocks/testimonial/testimonial-4.schema.ts +94 -188
- package/src/blocks/testimonial/testimonial-4.tsx +12 -33
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +24 -48
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +4 -8
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +24 -48
- 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 +26 -52
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.tsx +15 -26
- package/src/blocks/timeline/timeline-1.schema.ts +34 -68
- package/src/blocks/timeline/timeline-1.tsx +2 -6
- package/src/blocks/users/edit-profile.tsx +10 -22
- package/src/constants/index.ts +3 -6
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +14 -8
- package/src/schemas/categories.ts +14 -2
|
@@ -4,23 +4,15 @@ const MEDIA_1 = {
|
|
|
4
4
|
id: "GLUYscijECWgI",
|
|
5
5
|
filename: "timeline-1-1.png",
|
|
6
6
|
kind: "image",
|
|
7
|
-
location:
|
|
8
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT.png",
|
|
7
|
+
location: "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT.png",
|
|
9
8
|
srcset: {
|
|
10
|
-
"1080w":
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-320w.webp",
|
|
18
|
-
"640w":
|
|
19
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-640w.webp",
|
|
20
|
-
"750w":
|
|
21
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-750w.webp",
|
|
22
|
-
"828w":
|
|
23
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-828w.webp",
|
|
9
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1080w.webp",
|
|
10
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1200w.webp",
|
|
11
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1920w.webp",
|
|
12
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-320w.webp",
|
|
13
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-640w.webp",
|
|
14
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-750w.webp",
|
|
15
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-828w.webp",
|
|
24
16
|
path: "https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/timeline-1-1-moxJj3I3mugnT-640w.webp 640w",
|
|
25
17
|
},
|
|
26
18
|
mimetype: "image/png",
|
|
@@ -29,23 +21,15 @@ const MEDIA_2 = {
|
|
|
29
21
|
id: "Lkp6xHvj8fVkB",
|
|
30
22
|
filename: "timeline-1-2.png",
|
|
31
23
|
kind: "image",
|
|
32
|
-
location:
|
|
33
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx.png",
|
|
24
|
+
location: "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx.png",
|
|
34
25
|
srcset: {
|
|
35
|
-
"1080w":
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-320w.webp",
|
|
43
|
-
"640w":
|
|
44
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-640w.webp",
|
|
45
|
-
"750w":
|
|
46
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-750w.webp",
|
|
47
|
-
"828w":
|
|
48
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-828w.webp",
|
|
26
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1080w.webp",
|
|
27
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1200w.webp",
|
|
28
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1920w.webp",
|
|
29
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-320w.webp",
|
|
30
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-640w.webp",
|
|
31
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-750w.webp",
|
|
32
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-828w.webp",
|
|
49
33
|
path: "https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/timeline-1-2-yCrPF3F9Y2ZCx-1080w.webp 1080w",
|
|
50
34
|
},
|
|
51
35
|
mimetype: "image/png",
|
|
@@ -54,23 +38,15 @@ const MEDIA_3 = {
|
|
|
54
38
|
id: "1d7spLgELC8c9",
|
|
55
39
|
filename: "timeline-1-3.png",
|
|
56
40
|
kind: "image",
|
|
57
|
-
location:
|
|
58
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI.png",
|
|
41
|
+
location: "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI.png",
|
|
59
42
|
srcset: {
|
|
60
|
-
"1080w":
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-320w.webp",
|
|
68
|
-
"640w":
|
|
69
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-640w.webp",
|
|
70
|
-
"750w":
|
|
71
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-750w.webp",
|
|
72
|
-
"828w":
|
|
73
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-828w.webp",
|
|
43
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1080w.webp",
|
|
44
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1200w.webp",
|
|
45
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1920w.webp",
|
|
46
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-320w.webp",
|
|
47
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-640w.webp",
|
|
48
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-750w.webp",
|
|
49
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-828w.webp",
|
|
74
50
|
path: "https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/timeline-1-3-30Wc2pd1aoNSI-1080w.webp 1080w",
|
|
75
51
|
},
|
|
76
52
|
mimetype: "image/png",
|
|
@@ -79,23 +55,15 @@ const MEDIA_4 = {
|
|
|
79
55
|
id: "KQ5FOQXeC8s1x",
|
|
80
56
|
filename: "timeline-1-4.png",
|
|
81
57
|
kind: "image",
|
|
82
|
-
location:
|
|
83
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3.png",
|
|
58
|
+
location: "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3.png",
|
|
84
59
|
srcset: {
|
|
85
|
-
"1080w":
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-320w.webp",
|
|
93
|
-
"640w":
|
|
94
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-640w.webp",
|
|
95
|
-
"750w":
|
|
96
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-750w.webp",
|
|
97
|
-
"828w":
|
|
98
|
-
"https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-828w.webp",
|
|
60
|
+
"1080w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1080w.webp",
|
|
61
|
+
"1200w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1200w.webp",
|
|
62
|
+
"1920w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1920w.webp",
|
|
63
|
+
"320w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-320w.webp",
|
|
64
|
+
"640w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-640w.webp",
|
|
65
|
+
"750w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-750w.webp",
|
|
66
|
+
"828w": "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-828w.webp",
|
|
99
67
|
path: "https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1200w.webp 1200w, https://static.levocdn.com/WLZ1TXTD/timeline-1-4-9GFuZq5ABn6P3-1920w.webp 1920w",
|
|
100
68
|
},
|
|
101
69
|
mimetype: "image/png",
|
|
@@ -122,16 +90,14 @@ const DEFAULT_CONTENT = {
|
|
|
122
90
|
{
|
|
123
91
|
title: "Opened Office in Philippines",
|
|
124
92
|
subtitle: "Connecting Large Client Base",
|
|
125
|
-
description:
|
|
126
|
-
"<p>Opened Office on Philippines that connects large client base</p>",
|
|
93
|
+
description: "<p>Opened Office on Philippines that connects large client base</p>",
|
|
127
94
|
year: "2016",
|
|
128
95
|
image: MEDIA_3,
|
|
129
96
|
},
|
|
130
97
|
{
|
|
131
98
|
title: "First International Office in India",
|
|
132
99
|
subtitle: "Global Expansion Beginning",
|
|
133
|
-
description:
|
|
134
|
-
"<p>Opened our first office in India, the first global expansion</p>",
|
|
100
|
+
description: "<p>Opened our first office in India, the first global expansion</p>",
|
|
135
101
|
year: "2005",
|
|
136
102
|
image: MEDIA_4,
|
|
137
103
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
type ILevoBlockBaseProps,
|
|
3
2
|
Box,
|
|
4
3
|
Container,
|
|
5
4
|
Heading,
|
|
5
|
+
type ILevoBlockBaseProps,
|
|
6
6
|
Image,
|
|
7
7
|
Section,
|
|
8
8
|
Typography,
|
|
@@ -20,11 +20,7 @@ const Timeline1: React.FC<ILevoBlockBaseProps<ITimeline1>> = ({ content }) => (
|
|
|
20
20
|
<Box elementKey="center_line" />
|
|
21
21
|
<Box elementKey="events_levoGroup" data-levo_group>
|
|
22
22
|
{(content?.events ?? [])?.map((_, index) => (
|
|
23
|
-
<Box
|
|
24
|
-
key={index}
|
|
25
|
-
data-levo_group_item
|
|
26
|
-
elementKey={`events.${index}.wrapper`}
|
|
27
|
-
>
|
|
23
|
+
<Box key={index} data-levo_group_item elementKey={`events.${index}.wrapper`}>
|
|
28
24
|
{/* Left Side Content */}
|
|
29
25
|
<Box elementKey={`events.${index}.content_wrapper`}>
|
|
30
26
|
<Box elementKey={`events.${index}.content`}>
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
+
import { errorHandler, Spinner, successToast, useLevo } from "@levo-so/react";
|
|
1
2
|
import {
|
|
2
|
-
type ILevoBlockBaseProps,
|
|
3
3
|
Box,
|
|
4
4
|
Button,
|
|
5
5
|
Container,
|
|
6
6
|
EditForm,
|
|
7
7
|
Heading,
|
|
8
|
+
type ILevoBlockBaseProps,
|
|
8
9
|
Section,
|
|
9
10
|
Typography,
|
|
10
11
|
useAuth,
|
|
11
|
-
useBlockContext,
|
|
12
12
|
} from "@levo-so/studio";
|
|
13
13
|
import { useEffect, useState } from "react";
|
|
14
|
-
import { errorHandler, Spinner, successToast, useLevo } from "@levo-so/react";
|
|
15
14
|
|
|
16
15
|
import type { IEditProfileContent } from "./edit-profile.schema";
|
|
17
16
|
|
|
18
|
-
const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
19
|
-
content,
|
|
20
|
-
config,
|
|
21
|
-
}) => {
|
|
17
|
+
const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({ content, config }) => {
|
|
22
18
|
const levoClient = useLevo();
|
|
23
19
|
|
|
24
20
|
const [activeIndex, setActiveIndex] = useState<number>(0);
|
|
@@ -28,7 +24,6 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
28
24
|
const [isFormLoading, setIsFormLoading] = useState<boolean>(true);
|
|
29
25
|
|
|
30
26
|
const { account, isAuthLoaded } = useAuth();
|
|
31
|
-
const { isBuilder } = useBlockContext();
|
|
32
27
|
|
|
33
28
|
const collectionKey = config?.profile_settings_form?.form?.schema?.key;
|
|
34
29
|
const isMembershipForm = collectionKey === "so_levo_membership_account";
|
|
@@ -47,8 +42,7 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
47
42
|
setFormData(account ?? {});
|
|
48
43
|
setEntry(null);
|
|
49
44
|
} else {
|
|
50
|
-
const response =
|
|
51
|
-
await levoClient?.collection?.getDraftEntry(collectionKey);
|
|
45
|
+
const response = await levoClient?.collection?.getDraftEntry(collectionKey);
|
|
52
46
|
|
|
53
47
|
const entries = response?.content?.data ?? [];
|
|
54
48
|
|
|
@@ -78,17 +72,13 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
78
72
|
|
|
79
73
|
setIsLoading(true);
|
|
80
74
|
try {
|
|
81
|
-
const allFields =
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
const hiddenFieldsInstance =
|
|
86
|
-
config?.profile_settings_form?.form?.hidden_fields ?? [];
|
|
75
|
+
const allFields = config?.profile_settings_form?.form?.schema?.sections?.flatMap(
|
|
76
|
+
(v) => v?.fields,
|
|
77
|
+
);
|
|
78
|
+
const hiddenFieldsInstance = config?.profile_settings_form?.form?.hidden_fields ?? [];
|
|
87
79
|
|
|
88
80
|
const availableFields =
|
|
89
|
-
allFields
|
|
90
|
-
?.filter((v) => !hiddenFieldsInstance?.includes(v?.id))
|
|
91
|
-
?.map((v) => v?.key) ?? [];
|
|
81
|
+
allFields?.filter((v) => !hiddenFieldsInstance?.includes(v?.id))?.map((v) => v?.key) ?? [];
|
|
92
82
|
|
|
93
83
|
const filteredValues = Object.entries(values)?.filter(([key]) =>
|
|
94
84
|
availableFields?.includes(key),
|
|
@@ -157,9 +147,7 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
157
147
|
<Box elementKey={`sections.${activeIndex}.wrapper`}>
|
|
158
148
|
<Box elementKey={`sections.${activeIndex}.header`}>
|
|
159
149
|
<Heading elementKey={`sections.${activeIndex}.title`} />
|
|
160
|
-
<Typography
|
|
161
|
-
elementKey={`sections.${activeIndex}.description`}
|
|
162
|
-
/>
|
|
150
|
+
<Typography elementKey={`sections.${activeIndex}.description`} />
|
|
163
151
|
</Box>
|
|
164
152
|
|
|
165
153
|
<>
|
package/src/constants/index.ts
CHANGED
|
@@ -4,12 +4,9 @@ export const LEVO_DEFAULT_BLUE_IMAGE = {
|
|
|
4
4
|
kind: "image",
|
|
5
5
|
mimetype: "image/png",
|
|
6
6
|
srcset: {
|
|
7
|
-
"1080w":
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
11
|
-
"1920w":
|
|
12
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
7
|
+
"1080w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
8
|
+
"1200w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
9
|
+
"1920w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
13
10
|
"320w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
14
11
|
"640w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
15
12
|
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
package/src/index.ts
CHANGED
package/src/schemas/blocks.ts
CHANGED
|
@@ -6,11 +6,7 @@ import { BlogListing1 } from "../blocks/blogs/blog-listing-1.schema";
|
|
|
6
6
|
import { BlogListing2 } from "../blocks/blogs/blog-listing-2.schema";
|
|
7
7
|
import { BlogListing3 } from "../blocks/blogs/blog-listing-3.schema";
|
|
8
8
|
import { BlogPost1 } from "../blocks/blogs/blog-post-1.schema";
|
|
9
|
-
import { BlogPost2 } from "../blocks/blogs/blog-post-2.schema";
|
|
10
|
-
import { BlogPost3 } from "../blocks/blogs/blog-post-3.schema";
|
|
11
9
|
import { Calendar1 } from "../blocks/calendar/calendar-1.schema";
|
|
12
|
-
import { Community1 } from "../blocks/community/community-1.schema";
|
|
13
|
-
import { CommunityPost1 } from "../blocks/community/community-post-1.schema";
|
|
14
10
|
import { Cards2 } from "../blocks/cards/cards-2.schema";
|
|
15
11
|
import { Cards3 } from "../blocks/cards/cards-3.schema";
|
|
16
12
|
import { Cards4 } from "../blocks/cards/cards-4.schema";
|
|
@@ -27,6 +23,8 @@ import { Cards14 } from "../blocks/cards/cards-14.schema";
|
|
|
27
23
|
import { Cards15 } from "../blocks/cards/cards-15.schema";
|
|
28
24
|
import { Carousel1 } from "../blocks/carousel/carousel-1.schema";
|
|
29
25
|
import { Carousel2 } from "../blocks/carousel/carousel-2.schema";
|
|
26
|
+
import { Community1 } from "../blocks/community/community-1.schema";
|
|
27
|
+
import { CommunityPost1 } from "../blocks/community/community-post-1.schema";
|
|
30
28
|
import { ContactUs1 } from "../blocks/contact-us/contact-us-1.schema";
|
|
31
29
|
import { ContactUs2 } from "../blocks/contact-us/contact-us-2.schema";
|
|
32
30
|
import { Content1 } from "../blocks/content/content-1.schema";
|
|
@@ -56,14 +54,15 @@ import { Features3 } from "../blocks/features/features-3.schema";
|
|
|
56
54
|
import { Features4 } from "../blocks/features/features-4.schema";
|
|
57
55
|
import { Features5 } from "../blocks/features/features-5.schema";
|
|
58
56
|
import { Features6 } from "../blocks/features/features-6.schema";
|
|
57
|
+
import { FilterListing1 } from "../blocks/filter-listing/filter-listing-1.schema";
|
|
58
|
+
import { FloatingButton1 } from "../blocks/floating-buttons/floating-button-1.schema";
|
|
59
59
|
import { Footer1 } from "../blocks/footer/footer-1.schema";
|
|
60
60
|
import { Footer2 } from "../blocks/footer/footer-2.schema";
|
|
61
61
|
import { Footer3 } from "../blocks/footer/footer-3.schema";
|
|
62
62
|
import { Footer4 } from "../blocks/footer/footer-4.schema";
|
|
63
63
|
import { Footer5 } from "../blocks/footer/footer-5.schema";
|
|
64
64
|
import { Footer6 } from "../blocks/footer/footer-6.schema";
|
|
65
|
-
import {
|
|
66
|
-
import { FloatingButton1 } from "../blocks/floating-buttons/floating-button-1.schema";
|
|
65
|
+
import { Form1 } from "../blocks/form/form-1.schema";
|
|
67
66
|
import { Hero1 } from "../blocks/hero/hero-1.schema";
|
|
68
67
|
import { Hero2 } from "../blocks/hero/hero-2.schema";
|
|
69
68
|
import { Hero3 } from "../blocks/hero/hero-3.schema";
|
|
@@ -77,10 +76,12 @@ import { Hero10 } from "../blocks/hero/hero-10.schema";
|
|
|
77
76
|
import { Hero11 } from "../blocks/hero/hero-11.schema";
|
|
78
77
|
import { Hero12 } from "../blocks/hero/hero-12.schema";
|
|
79
78
|
import { Hero13 } from "../blocks/hero/hero-13.schema";
|
|
79
|
+
import { Jobs1 } from "../blocks/jobs/jobs-1.schema";
|
|
80
80
|
import { Logos1 } from "../blocks/logos/logos-1.schema";
|
|
81
81
|
import { Navbar1 } from "../blocks/navbar/navbar-1.schema";
|
|
82
82
|
import { Navbar2 } from "../blocks/navbar/navbar-2.schema";
|
|
83
83
|
import { Navbar3 } from "../blocks/navbar/navbar-3.schema";
|
|
84
|
+
import { Navbar4 } from "../blocks/navbar/navbar-4.schema";
|
|
84
85
|
import { Polling1 } from "../blocks/polling/polling-1.schema";
|
|
85
86
|
import { Pricing1 } from "../blocks/pricing/pricing-1.schema";
|
|
86
87
|
import { ProductsListing1 } from "../blocks/products/products-listing-1.schema";
|
|
@@ -89,6 +90,8 @@ import { ProductsListing3 } from "../blocks/products/products-listing-3.schema";
|
|
|
89
90
|
import { Profile1 } from "../blocks/profile/profile-1.schema";
|
|
90
91
|
import { Profile2 } from "../blocks/profile/profile-2.schema";
|
|
91
92
|
import { Profile3 } from "../blocks/profile/profile-3.schema";
|
|
93
|
+
import { Profile4 } from "../blocks/profile/profile-4.schema";
|
|
94
|
+
import { Profile5 } from "../blocks/profile/profile-5.schema";
|
|
92
95
|
import { Service1 } from "../blocks/services/service-1.schema";
|
|
93
96
|
import { Service2 } from "../blocks/services/service-2.schema";
|
|
94
97
|
import { Service3 } from "../blocks/services/service-3.schema";
|
|
@@ -119,8 +122,6 @@ export const BlockList: IBlock[] = [
|
|
|
119
122
|
BlogListing2,
|
|
120
123
|
BlogListing3,
|
|
121
124
|
BlogPost1,
|
|
122
|
-
BlogPost2,
|
|
123
|
-
BlogPost3,
|
|
124
125
|
Calendar1,
|
|
125
126
|
Community1,
|
|
126
127
|
CommunityPost1,
|
|
@@ -176,6 +177,7 @@ export const BlockList: IBlock[] = [
|
|
|
176
177
|
Footer4,
|
|
177
178
|
Footer5,
|
|
178
179
|
Footer6,
|
|
180
|
+
Form1,
|
|
179
181
|
FilterListing1,
|
|
180
182
|
FloatingButton1,
|
|
181
183
|
Hero1,
|
|
@@ -191,10 +193,12 @@ export const BlockList: IBlock[] = [
|
|
|
191
193
|
Hero11,
|
|
192
194
|
Hero12,
|
|
193
195
|
Hero13,
|
|
196
|
+
Jobs1,
|
|
194
197
|
Logos1,
|
|
195
198
|
Navbar1,
|
|
196
199
|
Navbar2,
|
|
197
200
|
Navbar3,
|
|
201
|
+
Navbar4,
|
|
198
202
|
Polling1,
|
|
199
203
|
Pricing1,
|
|
200
204
|
ProductsListing1,
|
|
@@ -203,6 +207,8 @@ export const BlockList: IBlock[] = [
|
|
|
203
207
|
Profile1,
|
|
204
208
|
Profile2,
|
|
205
209
|
Profile3,
|
|
210
|
+
Profile4,
|
|
211
|
+
Profile5,
|
|
206
212
|
Service1,
|
|
207
213
|
Service2,
|
|
208
214
|
Service3,
|
|
@@ -73,12 +73,24 @@ const categories: IBlockCategory[] = [
|
|
|
73
73
|
description: "",
|
|
74
74
|
media: [],
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
id: "form",
|
|
78
|
+
title: "Form",
|
|
79
|
+
description: "",
|
|
80
|
+
media: [],
|
|
81
|
+
},
|
|
76
82
|
{
|
|
77
83
|
id: "hero",
|
|
78
84
|
title: "Hero",
|
|
79
85
|
description: "",
|
|
80
86
|
media: [],
|
|
81
87
|
},
|
|
88
|
+
{
|
|
89
|
+
id: "jobs",
|
|
90
|
+
title: "Jobs",
|
|
91
|
+
description: "",
|
|
92
|
+
media: [],
|
|
93
|
+
},
|
|
82
94
|
{
|
|
83
95
|
id: "logos",
|
|
84
96
|
title: "Logos",
|
|
@@ -183,6 +195,6 @@ const categories: IBlockCategory[] = [
|
|
|
183
195
|
},
|
|
184
196
|
];
|
|
185
197
|
|
|
186
|
-
export const BlockCategoryList: IBlockCategory[] = [...categories].sort(
|
|
187
|
-
|
|
198
|
+
export const BlockCategoryList: IBlockCategory[] = [...categories].sort((a, b) =>
|
|
199
|
+
a.title.localeCompare(b.title),
|
|
188
200
|
);
|