@levo-so/blocks 0.1.58 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -15
- package/src/blocks/about-us/about-us-1.schema.ts +75 -58
- package/src/blocks/about-us/about-us-2.schema.ts +186 -39
- package/src/blocks/blogs/blog-listing-1.tsx +17 -15
- package/src/blocks/blogs/blog-listing-2.tsx +17 -15
- package/src/blocks/blogs/blog-listing-3.tsx +17 -15
- package/src/blocks/calendar/calendar-1.schema.ts +263 -181
- package/src/blocks/calendar/calendar-1.tsx +42 -11
- package/src/blocks/cards/cards-10.schema.ts +322 -313
- package/src/blocks/cards/cards-10.tsx +9 -1
- package/src/blocks/cards/cards-11.schema.ts +139 -248
- package/src/blocks/cards/cards-12.schema.ts +117 -196
- package/src/blocks/cards/cards-13.schema.ts +107 -56
- package/src/blocks/cards/cards-14.schema.ts +58 -154
- package/src/blocks/cards/cards-15.schema.ts +54 -31
- package/src/blocks/cards/cards-15.tsx +13 -2
- package/src/blocks/cards/cards-2.schema.ts +83 -88
- package/src/blocks/cards/cards-2.tsx +10 -2
- package/src/blocks/cards/cards-3.schema.ts +75 -70
- package/src/blocks/cards/cards-4.schema.ts +149 -91
- package/src/blocks/cards/cards-4.tsx +13 -2
- package/src/blocks/cards/cards-5.schema.ts +91 -68
- package/src/blocks/cards/cards-5.tsx +9 -1
- package/src/blocks/cards/cards-6.schema.ts +794 -972
- package/src/blocks/cards/cards-6.tsx +18 -2
- package/src/blocks/cards/cards-7.schema.ts +802 -2250
- package/src/blocks/cards/cards-7.tsx +14 -1
- package/src/blocks/cards/cards-8.schema.ts +166 -347
- package/src/blocks/cards/cards-8.tsx +14 -1
- package/src/blocks/cards/cards-9.schema.ts +300 -305
- package/src/blocks/cards/cards-9.tsx +27 -3
- package/src/blocks/carousel/carousel-1.schema.ts +479 -46
- package/src/blocks/carousel/carousel-1.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +170 -118
- package/src/blocks/carousel/carousel-2.tsx +10 -2
- package/src/blocks/community/community-1.schema.ts +566 -0
- package/src/blocks/community/community-1.tsx +690 -0
- package/src/blocks/community/community-post-1.schema.ts +417 -0
- package/src/blocks/community/community-post-1.tsx +155 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +1 -1
- package/src/blocks/content/content-1.schema.ts +184 -234
- package/src/blocks/content/content-1.tsx +48 -38
- package/src/blocks/content/content-2.schema.ts +143 -32
- package/src/blocks/content/content-2.tsx +15 -3
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +13 -1
- package/src/blocks/content/content-4.schema.ts +124 -85
- package/src/blocks/content/content-4.tsx +2 -1
- package/src/blocks/content/content-5.schema.ts +296 -278
- package/src/blocks/content/content-5.tsx +23 -2
- package/src/blocks/content/content-6.schema.ts +474 -244
- package/src/blocks/content/content-6.tsx +23 -1
- package/src/blocks/content/content-7.schema.ts +173 -133
- package/src/blocks/content/content-7.tsx +27 -3
- package/src/blocks/content/content-8.schema.ts +27 -17
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +6 -3
- package/src/blocks/cta/cta-1.schema.ts +13 -108
- package/src/blocks/cta/cta-2.schema.ts +60 -69
- package/src/blocks/cta/cta-3.schema.ts +97 -66
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/event/event-details.schema.ts +7 -0
- package/src/blocks/event/event-details.tsx +1 -0
- package/src/blocks/event/event-listing-2.tsx +17 -15
- package/src/blocks/event/event-listing-3.tsx +17 -15
- package/src/blocks/event/event-listing-4.tsx +17 -15
- package/src/blocks/event/event-listing.tsx +17 -15
- package/src/blocks/faq/faq-1.schema.ts +158 -112
- package/src/blocks/faq/faq-1.tsx +12 -3
- package/src/blocks/faq/faq-2.schema.ts +137 -74
- package/src/blocks/faq/faq-2.tsx +10 -1
- package/src/blocks/faq/faq-3.schema.ts +185 -105
- package/src/blocks/faq/faq-3.tsx +19 -3
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +10 -1
- package/src/blocks/features/features-1/variants/default.ts +172 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +178 -45
- package/src/blocks/features/features-2.tsx +10 -2
- package/src/blocks/features/features-3.schema.ts +284 -65
- package/src/blocks/features/features-3.tsx +22 -3
- package/src/blocks/features/features-4.schema.ts +380 -185
- package/src/blocks/features/features-4.tsx +9 -1
- package/src/blocks/features/features-5.schema.ts +194 -198
- package/src/blocks/features/features-5.tsx +12 -1
- package/src/blocks/features/features-6.schema.ts +240 -193
- package/src/blocks/features/features-6.tsx +16 -2
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
- package/src/blocks/footer/footer-1.schema.ts +118 -48
- package/src/blocks/footer/footer-1.tsx +2 -1
- package/src/blocks/footer/footer-2.schema.ts +235 -31
- package/src/blocks/footer/footer-2.tsx +2 -1
- package/src/blocks/footer/footer-3.schema.ts +334 -57
- package/src/blocks/footer/footer-3.tsx +2 -1
- package/src/blocks/footer/footer-4.schema.ts +147 -76
- package/src/blocks/footer/footer-4.tsx +2 -1
- package/src/blocks/footer/footer-5.schema.ts +144 -52
- package/src/blocks/footer/footer-5.tsx +2 -1
- package/src/blocks/footer/footer-6.schema.ts +68 -140
- package/src/blocks/footer/footer-6.tsx +2 -1
- package/src/blocks/hero/hero-1.schema.ts +184 -87
- package/src/blocks/hero/hero-10.schema.ts +8 -29
- package/src/blocks/hero/hero-11.schema.ts +192 -89
- package/src/blocks/hero/hero-11.tsx +1 -1
- package/src/blocks/hero/hero-12.schema.ts +107 -170
- package/src/blocks/hero/hero-12.tsx +1 -1
- package/src/blocks/hero/hero-13.schema.ts +42 -28
- package/src/blocks/hero/hero-2.schema.ts +33 -58
- package/src/blocks/hero/hero-3.schema.ts +42 -34
- package/src/blocks/hero/hero-4.schema.ts +265 -70
- package/src/blocks/hero/hero-4.tsx +19 -2
- package/src/blocks/hero/hero-5.schema.ts +122 -44
- package/src/blocks/hero/hero-5.tsx +14 -2
- package/src/blocks/hero/hero-6.schema.ts +159 -255
- package/src/blocks/hero/hero-7.schema.ts +105 -34
- package/src/blocks/hero/hero-7.tsx +4 -1
- package/src/blocks/hero/hero-8.schema.ts +363 -133
- package/src/blocks/hero/hero-8.tsx +27 -3
- package/src/blocks/hero/hero-9.schema.ts +116 -83
- package/src/blocks/hero/hero-9.tsx +9 -1
- package/src/blocks/index.ts +7 -0
- package/src/blocks/logos/logos-1.schema.ts +424 -30
- package/src/blocks/polling/polling-1.schema.ts +1 -19
- package/src/blocks/pricing/pricing-1.schema.ts +296 -266
- package/src/blocks/pricing/pricing-1.tsx +16 -2
- package/src/blocks/products/products-listing-1.schema.ts +144 -33
- package/src/blocks/products/products-listing-1.tsx +9 -1
- package/src/blocks/products/products-listing-2.schema.ts +199 -213
- package/src/blocks/products/products-listing-2.tsx +25 -3
- package/src/blocks/products/products-listing-3.schema.ts +439 -154
- package/src/blocks/products/products-listing-3.tsx +43 -8
- package/src/blocks/profile/profile-1.schema.ts +67 -49
- package/src/blocks/profile/profile-1.tsx +3 -2
- package/src/blocks/profile/profile-2.schema.ts +73 -85
- package/src/blocks/profile/profile-2.tsx +2 -1
- package/src/blocks/profile/profile-3.schema.ts +162 -529
- package/src/blocks/profile/profile-3.tsx +2 -2
- package/src/blocks/services/service-1.schema.ts +204 -804
- package/src/blocks/services/service-1.tsx +15 -2
- package/src/blocks/services/service-2.schema.ts +95 -75
- package/src/blocks/services/service-2.tsx +9 -1
- package/src/blocks/services/service-3.schema.ts +73 -73
- package/src/blocks/services/service-3.tsx +40 -39
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +4 -0
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +9 -1
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/tabs/tab-1.schema.ts +105 -407
- package/src/blocks/tabs/tab-1.tsx +15 -4
- package/src/blocks/tabs/tab-2.schema.ts +208 -278
- package/src/blocks/tabs/tab-2.tsx +14 -2
- package/src/blocks/team/team-1.schema.ts +621 -76
- package/src/blocks/team/team-1.tsx +9 -1
- package/src/blocks/team/team-2.schema.ts +693 -1421
- package/src/blocks/team/team-2.tsx +4 -1
- package/src/blocks/team/team-3.schema.ts +147 -74
- package/src/blocks/team/team-3.tsx +1 -0
- package/src/blocks/team/team-4.schema.ts +216 -57
- package/src/blocks/team/team-4.tsx +10 -2
- package/src/blocks/team/team-5.schema.ts +67 -42
- package/src/blocks/team/team-5.tsx +12 -3
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
- package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
- package/src/blocks/testimonial/testimonial-1.tsx +2 -4
- package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
- package/src/blocks/testimonial/testimonial-2.tsx +4 -1
- package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
- package/src/blocks/testimonial/testimonial-3.tsx +5 -2
- package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
- package/src/blocks/testimonial/testimonial-4.tsx +4 -1
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
- package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +2 -2
- package/src/blocks/timeline/timeline-1.schema.ts +196 -149
- package/src/blocks/timeline/timeline-1.tsx +4 -1
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +13 -6
- package/src/constants/index.ts +19 -0
- package/src/schemas/blocks.ts +6 -0
- package/src/schemas/categories.ts +12 -0
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DEFAULT_CONTENT = {
|
|
4
|
+
layout: null,
|
|
5
|
+
container: null,
|
|
6
|
+
post: "{context.forum}",
|
|
7
|
+
sidebar_links_levoGroup: null,
|
|
8
|
+
sidebar_links: [
|
|
9
|
+
{
|
|
10
|
+
sidebar_link: "Discussion",
|
|
11
|
+
sidebar_link_leftIcon: {
|
|
12
|
+
kind: "icon",
|
|
13
|
+
data: {
|
|
14
|
+
id: "messages-2",
|
|
15
|
+
label: "Messages 2",
|
|
16
|
+
tags: ["custom", "directional", "emails-messages", "messages"],
|
|
17
|
+
svgCode:
|
|
18
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17.8701 21.87C17.5601 21.87 17.2501 21.79 16.9701 21.62L12.9601 19.24C12.5401 19.23 12.1201 19.2 11.7201 19.14C11.4501 19.1 11.2201 18.92 11.1201 18.66C11.0201 18.4 11.0701 18.12 11.2501 17.91C11.9101 17.14 12.2501 16.22 12.2501 15.24C12.2501 12.82 10.1201 10.85 7.50008 10.85C6.52008 10.85 5.58007 11.12 4.79007 11.64C4.57007 11.78 4.30007 11.8 4.06007 11.69C3.83007 11.58 3.66008 11.36 3.63008 11.1C3.60008 10.82 3.58008 10.54 3.58008 10.25C3.58008 5.29 7.88008 1.26001 13.1601 1.26001C18.4401 1.26001 22.7401 5.29 22.7401 10.25C22.7401 12.97 21.4801 15.47 19.2601 17.18L19.6001 19.9C19.6801 20.58 19.3801 21.22 18.8101 21.59C18.5301 21.77 18.2001 21.87 17.8701 21.87ZM13.1501 17.73C13.2901 17.72 13.4301 17.76 13.5501 17.84L17.7401 20.33C17.8501 20.4 17.9401 20.37 18.0001 20.33C18.0501 20.3 18.1301 20.22 18.1101 20.08L17.7201 16.92C17.6901 16.64 17.8101 16.37 18.0301 16.21C20.0701 14.78 21.2401 12.6 21.2401 10.23C21.2401 6.09998 17.6201 2.73999 13.1601 2.73999C8.87008 2.73999 5.35007 5.86003 5.09007 9.78003C5.84007 9.49003 6.65008 9.33002 7.49008 9.33002C10.9401 9.33002 13.7401 11.97 13.7401 15.22C13.7501 16.1 13.5401 16.95 13.1501 17.73Z" fill="currentColor"/>\n<path d="M4.57977 22.7501C4.31977 22.7501 4.06977 22.6801 3.83977 22.5301C3.38977 22.2401 3.14978 21.7401 3.20978 21.2101L3.40977 19.67C2.05977 18.57 1.25977 16.94 1.25977 15.23C1.25977 13.28 2.27978 11.4601 3.98978 10.3701C5.01978 9.70006 6.23977 9.34009 7.50977 9.34009C10.9598 9.34009 13.7598 11.98 13.7598 15.23C13.7598 16.55 13.2798 17.8501 12.3998 18.8801C11.2698 20.2501 9.57977 21.05 7.71977 21.11L5.27977 22.5601C5.05977 22.6901 4.81977 22.7501 4.57977 22.7501ZM7.49977 10.8401C6.51977 10.8401 5.57976 11.1101 4.78976 11.6301C3.50976 12.4501 2.74977 13.79 2.74977 15.23C2.74977 16.62 3.42978 17.8901 4.62978 18.7101C4.85978 18.8701 4.97977 19.14 4.94977 19.42L4.72977 21.1301L7.11977 19.7101C7.23977 19.6401 7.36977 19.6 7.49977 19.6C8.96977 19.6 10.3598 18.9701 11.2398 17.9001C11.8998 17.1201 12.2498 16.2 12.2498 15.22C12.2498 12.81 10.1198 10.8401 7.49977 10.8401Z" fill="currentColor"/>\n</svg>',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
edit_profile_ctas_levoGroup: null,
|
|
24
|
+
edit_profile_ctas: [
|
|
25
|
+
{
|
|
26
|
+
edit_profile_cta: "Edit Profile",
|
|
27
|
+
edit_profile_cta_leftIcon: {
|
|
28
|
+
kind: "icon",
|
|
29
|
+
data: {
|
|
30
|
+
id: "user-edit",
|
|
31
|
+
label: "User Edit",
|
|
32
|
+
tags: ["custom", "directional", "edit", "user", "users"],
|
|
33
|
+
svgCode:
|
|
34
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 12.75C8.83 12.75 6.25 10.17 6.25 7C6.25 3.83 8.83 1.25 12 1.25C15.17 1.25 17.75 3.83 17.75 7C17.75 10.17 15.17 12.75 12 12.75ZM12 2.75C9.66 2.75 7.75 4.66 7.75 7C7.75 9.34 9.66 11.25 12 11.25C14.34 11.25 16.25 9.34 16.25 7C16.25 4.66 14.34 2.75 12 2.75Z" fill="currentColor"/>\n<path d="M15.8196 22.75C15.4396 22.75 15.0796 22.61 14.8196 22.35C14.5096 22.04 14.3696 21.59 14.4396 21.12L14.6296 19.77C14.6796 19.42 14.8896 19.01 15.1396 18.75L18.6796 15.21C20.0996 13.79 21.3496 14.6 21.9596 15.21C22.4796 15.73 22.7496 16.29 22.7496 16.85C22.7496 17.42 22.4896 17.95 21.9596 18.48L18.4195 22.02C18.1695 22.27 17.7496 22.48 17.3996 22.53L16.0495 22.72C15.9695 22.74 15.8996 22.75 15.8196 22.75ZM20.3096 15.92C20.1296 15.92 19.9696 16.04 19.7396 16.27L16.1996 19.81C16.1696 19.84 16.1196 19.94 16.1196 19.98L15.9396 21.23L17.1896 21.05C17.2296 21.04 17.3295 20.99 17.3595 20.96L20.8996 17.42C21.0596 17.26 21.2496 17.03 21.2496 16.85C21.2496 16.7 21.1296 16.49 20.8996 16.27C20.6596 16.03 20.4796 15.92 20.3096 15.92Z" fill="currentColor"/>\n<path d="M20.9206 19.22C20.8506 19.22 20.7806 19.21 20.7206 19.19C19.4006 18.82 18.3506 17.77 17.9806 16.45C17.8706 16.05 18.1006 15.64 18.5006 15.53C18.9006 15.42 19.3106 15.65 19.4206 16.05C19.6506 16.87 20.3006 17.52 21.1206 17.75C21.5206 17.86 21.7506 18.28 21.6406 18.67C21.5506 19 21.2506 19.22 20.9206 19.22Z" fill="currentColor"/>\n<path d="M3.41016 22.75C3.00016 22.75 2.66016 22.41 2.66016 22C2.66016 17.73 6.85018 14.25 12.0002 14.25C13.0902 14.25 14.1702 14.41 15.1802 14.71C15.5802 14.83 15.8002 15.25 15.6802 15.64C15.5602 16.04 15.1402 16.26 14.7502 16.14C13.8702 15.88 12.9502 15.74 12.0002 15.74C7.68018 15.74 4.16016 18.54 4.16016 21.99C4.16016 22.41 3.82016 22.75 3.41016 22.75Z" fill="currentColor"/>\n</svg>',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
posts: null,
|
|
40
|
+
loading_container: null,
|
|
41
|
+
edit_profile_block_banner_image: {
|
|
42
|
+
id: "jfwLqpex6AK0J",
|
|
43
|
+
kind: "image",
|
|
44
|
+
location: "https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq.png",
|
|
45
|
+
srcset: {
|
|
46
|
+
"1080w":
|
|
47
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1080w.webp",
|
|
48
|
+
"1200w":
|
|
49
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1200w.webp",
|
|
50
|
+
"1920w":
|
|
51
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1920w.webp",
|
|
52
|
+
"320w":
|
|
53
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-320w.webp",
|
|
54
|
+
"640w":
|
|
55
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-640w.webp",
|
|
56
|
+
"750w":
|
|
57
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-750w.webp",
|
|
58
|
+
"828w":
|
|
59
|
+
"https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-828w.webp",
|
|
60
|
+
path: "https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-320w.webp 320w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-640w.webp 640w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-750w.webp 750w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-828w.webp 828w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1080w.webp 1080w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1200w.webp 1200w, https://static.levostg.online/WZZKMUBH/banner-HXVr5tikleqvq-1920w.webp 1920w",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
edit_profile_block_logo: {
|
|
64
|
+
id: "zucZ9wWTU6qEL",
|
|
65
|
+
kind: "image",
|
|
66
|
+
location:
|
|
67
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw.jpeg",
|
|
68
|
+
srcset: {
|
|
69
|
+
"1080w":
|
|
70
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1080w.webp",
|
|
71
|
+
"1200w":
|
|
72
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1200w.webp",
|
|
73
|
+
"1920w":
|
|
74
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1920w.webp",
|
|
75
|
+
"320w":
|
|
76
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-320w.webp",
|
|
77
|
+
"640w":
|
|
78
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-640w.webp",
|
|
79
|
+
"750w":
|
|
80
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-750w.webp",
|
|
81
|
+
"828w":
|
|
82
|
+
"https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-828w.webp",
|
|
83
|
+
path: "https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1200w.webp 1200w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1920w.webp 1920w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-320w.webp 320w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-640w.webp 640w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-750w.webp 750w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-828w.webp 828w, https://static.levostg.online/WZZKMUBH/netflix-FUGaJXflpOINw-1080w.webp 1080w",
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
edit_profile_block_title: "Wanderlooms",
|
|
87
|
+
edit_profile_block_description: "<p>Joined on: 01/01/2026</p>",
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type ICommunityPost1Content = typeof DEFAULT_CONTENT;
|
|
91
|
+
|
|
92
|
+
export const CommunityPost1: IBlock = {
|
|
93
|
+
category_id: "community",
|
|
94
|
+
title: "Community Post 1",
|
|
95
|
+
key: "community-post-1",
|
|
96
|
+
version: "v1",
|
|
97
|
+
content_schema: [
|
|
98
|
+
{
|
|
99
|
+
key: "layout",
|
|
100
|
+
label: "Layout",
|
|
101
|
+
field_interface: "LayoutWidget",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
key: "container",
|
|
105
|
+
label: "Container",
|
|
106
|
+
field_interface: "LayoutWidget",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
key: "left_container",
|
|
110
|
+
label: "Left Container",
|
|
111
|
+
field_interface: "BoxWidget",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
key: "sidebar_links",
|
|
115
|
+
label: "Sidebar Links",
|
|
116
|
+
field_interface: "BoxWidget",
|
|
117
|
+
kind: "group",
|
|
118
|
+
fields: [
|
|
119
|
+
{
|
|
120
|
+
key: "sidebar_link",
|
|
121
|
+
label: "Sidebar Link",
|
|
122
|
+
field_interface: "ButtonWidget",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
key: "content_container",
|
|
128
|
+
label: "Content Container",
|
|
129
|
+
field_interface: "BoxWidget",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
key: "post_container",
|
|
133
|
+
label: "Post Container",
|
|
134
|
+
field_interface: "BoxWidget",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
key: "post",
|
|
138
|
+
label: "Post",
|
|
139
|
+
field_interface: "HeadingWidget",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "post_detail_page_url",
|
|
143
|
+
label: "Post Detail Page URL",
|
|
144
|
+
field_interface: "HeadingWidget",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
key: "right_container",
|
|
148
|
+
label: "Right Container",
|
|
149
|
+
field_interface: "BoxWidget",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
key: "edit_profile_block",
|
|
153
|
+
label: "Edit Profile Block",
|
|
154
|
+
field_interface: "BoxWidget",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
key: "edit_profile_block_content_wrapper",
|
|
158
|
+
label: "Content Wrapper",
|
|
159
|
+
field_interface: "BoxWidget",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: "edit_profile_block_banner_image",
|
|
163
|
+
label: "Banner Image",
|
|
164
|
+
field_interface: "MediaWidget",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
key: "edit_profile_block_content",
|
|
168
|
+
label: "Content",
|
|
169
|
+
field_interface: "BoxWidget",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
key: "edit_profile_block_logo",
|
|
173
|
+
label: "Logo",
|
|
174
|
+
field_interface: "MediaWidget",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
key: "edit_profile_block_text_container",
|
|
178
|
+
label: "Text Container",
|
|
179
|
+
field_interface: "BoxWidget",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
key: "edit_profile_block_title",
|
|
183
|
+
label: "Edit Profile Title",
|
|
184
|
+
field_interface: "HeadingWidget",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
key: "edit_profile_block_description",
|
|
188
|
+
label: "Edit Profile Description",
|
|
189
|
+
field_interface: "TypographyWidget",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
key: "edit_profile_ctas",
|
|
193
|
+
label: "Edit Profile CTAs",
|
|
194
|
+
field_interface: "BoxWidget",
|
|
195
|
+
kind: "group",
|
|
196
|
+
fields: [
|
|
197
|
+
{
|
|
198
|
+
key: "edit_profile_cta",
|
|
199
|
+
label: "Edit Profile CTA",
|
|
200
|
+
field_interface: "ButtonWidget",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
layouts: [
|
|
206
|
+
{
|
|
207
|
+
key: "default",
|
|
208
|
+
title: "Default",
|
|
209
|
+
styles: {
|
|
210
|
+
layout: {
|
|
211
|
+
width: "100%",
|
|
212
|
+
"padding-top": "10xl",
|
|
213
|
+
"padding-bottom": "10xl",
|
|
214
|
+
"padding-right": "8xl",
|
|
215
|
+
"padding-left": "8xl",
|
|
216
|
+
tablet: {
|
|
217
|
+
"padding-top": "5xl",
|
|
218
|
+
"padding-bottom": "5xl",
|
|
219
|
+
"padding-right": "5xl",
|
|
220
|
+
"padding-left": "5xl",
|
|
221
|
+
},
|
|
222
|
+
mobile: {
|
|
223
|
+
"padding-top": "2xl",
|
|
224
|
+
"padding-bottom": "2xl",
|
|
225
|
+
"padding-right": "2xl",
|
|
226
|
+
"padding-left": "2xl",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
container: {
|
|
230
|
+
width: "100%",
|
|
231
|
+
display: "flex",
|
|
232
|
+
"flex-direction": "row",
|
|
233
|
+
"row-gap": "none",
|
|
234
|
+
tablet: {
|
|
235
|
+
"row-gap": "3xl",
|
|
236
|
+
"flex-direction": "column",
|
|
237
|
+
},
|
|
238
|
+
mobile: {
|
|
239
|
+
"row-gap": "4xl",
|
|
240
|
+
},
|
|
241
|
+
"column-gap": "3xl",
|
|
242
|
+
},
|
|
243
|
+
left_container: {
|
|
244
|
+
display: "flex",
|
|
245
|
+
"flex-direction": "column",
|
|
246
|
+
"row-gap": "xl",
|
|
247
|
+
flex: "1 1 0%",
|
|
248
|
+
width: "100%",
|
|
249
|
+
"max-width": "256px",
|
|
250
|
+
mobile: {
|
|
251
|
+
"max-width": "100%",
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
sidebar_links_levoGroup: {
|
|
255
|
+
display: "flex",
|
|
256
|
+
"flex-direction": "column",
|
|
257
|
+
width: "100%",
|
|
258
|
+
"row-gap": "base",
|
|
259
|
+
"border-style": "solid",
|
|
260
|
+
"border-width": "1px",
|
|
261
|
+
"border-color": "border",
|
|
262
|
+
height: "fit-content",
|
|
263
|
+
"padding-top": "sm",
|
|
264
|
+
"padding-bottom": "sm",
|
|
265
|
+
"padding-left": "sm",
|
|
266
|
+
"padding-right": "sm",
|
|
267
|
+
"border-radius": "lg",
|
|
268
|
+
position: "sticky",
|
|
269
|
+
top: "2rem",
|
|
270
|
+
},
|
|
271
|
+
sidebar_links: [
|
|
272
|
+
{
|
|
273
|
+
sidebar_link: {
|
|
274
|
+
"justify-content": "start",
|
|
275
|
+
display: "flex",
|
|
276
|
+
"column-gap": "xs",
|
|
277
|
+
},
|
|
278
|
+
sidebar_link_leftIcon: {
|
|
279
|
+
height: "20px",
|
|
280
|
+
width: "20px",
|
|
281
|
+
"font-size": "20px",
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
content_container: {
|
|
286
|
+
display: "flex",
|
|
287
|
+
"flex-direction": "column",
|
|
288
|
+
width: "100%",
|
|
289
|
+
flex: "1 1 0%",
|
|
290
|
+
"row-gap": "xl",
|
|
291
|
+
},
|
|
292
|
+
post_container: {
|
|
293
|
+
display: "flex",
|
|
294
|
+
"column-gap": "xl",
|
|
295
|
+
width: "100%",
|
|
296
|
+
"flex-direction": "column",
|
|
297
|
+
"row-gap": "xl",
|
|
298
|
+
},
|
|
299
|
+
post: {},
|
|
300
|
+
right_container: {
|
|
301
|
+
display: "flex",
|
|
302
|
+
"flex-direction": "column",
|
|
303
|
+
"row-gap": "xl",
|
|
304
|
+
flex: "1 1 0%",
|
|
305
|
+
width: "100%",
|
|
306
|
+
"max-width": "256px",
|
|
307
|
+
tablet: {
|
|
308
|
+
display: "none",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
edit_profile_block: {
|
|
312
|
+
display: "flex",
|
|
313
|
+
"flex-direction": "column",
|
|
314
|
+
width: "100%",
|
|
315
|
+
"row-gap": "lg",
|
|
316
|
+
"border-style": "solid",
|
|
317
|
+
"border-width": "1px",
|
|
318
|
+
"border-color": "border",
|
|
319
|
+
height: "fit-content",
|
|
320
|
+
"padding-top": "sm",
|
|
321
|
+
"padding-bottom": "sm",
|
|
322
|
+
"padding-left": "sm",
|
|
323
|
+
"padding-right": "sm",
|
|
324
|
+
"border-radius": "lg",
|
|
325
|
+
position: "sticky",
|
|
326
|
+
top: "2rem",
|
|
327
|
+
},
|
|
328
|
+
edit_profile_block_banner_image: {
|
|
329
|
+
"border-radius": "lg",
|
|
330
|
+
},
|
|
331
|
+
edit_profile_block_logo: {
|
|
332
|
+
"border-radius": "full",
|
|
333
|
+
},
|
|
334
|
+
edit_profile_block_content: {
|
|
335
|
+
"margin-top": "-36px",
|
|
336
|
+
display: "none",
|
|
337
|
+
"flex-direction": "column",
|
|
338
|
+
"align-items": "center",
|
|
339
|
+
"row-gap": "xs",
|
|
340
|
+
},
|
|
341
|
+
edit_profile_block_text_container: {
|
|
342
|
+
width: "100%",
|
|
343
|
+
display: "flex",
|
|
344
|
+
"flex-direction": "column",
|
|
345
|
+
"row-gap": "2xs",
|
|
346
|
+
},
|
|
347
|
+
edit_profile_block_title: {
|
|
348
|
+
"text-align": "center",
|
|
349
|
+
},
|
|
350
|
+
edit_profile_block_description: {
|
|
351
|
+
"text-align": "center",
|
|
352
|
+
"font-weight": 500,
|
|
353
|
+
},
|
|
354
|
+
edit_profile_ctas: [
|
|
355
|
+
{
|
|
356
|
+
edit_profile_cta: {
|
|
357
|
+
width: "100%",
|
|
358
|
+
display: "flex",
|
|
359
|
+
"column-gap": "xs",
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
edit_profile_ctas_levoGroup: {
|
|
364
|
+
display: "none",
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
content: DEFAULT_CONTENT,
|
|
368
|
+
config: {
|
|
369
|
+
sidebar_links: Array(1)
|
|
370
|
+
.fill(0)
|
|
371
|
+
.map((v) => ({
|
|
372
|
+
sidebar_link: {
|
|
373
|
+
selectedVariants: {
|
|
374
|
+
Button_Variants: "Secondary",
|
|
375
|
+
},
|
|
376
|
+
button_icons: {
|
|
377
|
+
left: {
|
|
378
|
+
enabled: true,
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
})),
|
|
383
|
+
edit_profile_block_logo: {
|
|
384
|
+
image: {
|
|
385
|
+
width: 72,
|
|
386
|
+
height: 72,
|
|
387
|
+
alt: "Brand Logo",
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
edit_profile_block_title: {
|
|
391
|
+
heading: {
|
|
392
|
+
level: "4",
|
|
393
|
+
},
|
|
394
|
+
selectedVariants: {
|
|
395
|
+
Heading_Level: "H6",
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
edit_profile_block_description: {
|
|
399
|
+
selectedVariants: {
|
|
400
|
+
Typography_Variants: "Small",
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
edit_profile_ctas: [
|
|
404
|
+
{
|
|
405
|
+
edit_profile_cta: {
|
|
406
|
+
button_icons: {
|
|
407
|
+
left: {
|
|
408
|
+
enabled: true,
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
],
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type ILevoBlockBaseProps,
|
|
3
|
+
Container,
|
|
4
|
+
Section,
|
|
5
|
+
Box,
|
|
6
|
+
ForumPost,
|
|
7
|
+
Comments,
|
|
8
|
+
Button,
|
|
9
|
+
Media,
|
|
10
|
+
Heading,
|
|
11
|
+
Typography,
|
|
12
|
+
} from "@levo-so/studio";
|
|
13
|
+
import { Spinner, useLevo } from "@levo-so/react";
|
|
14
|
+
import {
|
|
15
|
+
type IForumPost,
|
|
16
|
+
type IResponseSingle,
|
|
17
|
+
getLevoError,
|
|
18
|
+
} from "@levo-so/core";
|
|
19
|
+
import { useEffect, useRef, useState } from "react";
|
|
20
|
+
|
|
21
|
+
import type { ICommunityPost1Content } from "./community-post-1.schema";
|
|
22
|
+
|
|
23
|
+
const CommunityPost1: React.FC<ILevoBlockBaseProps<ICommunityPost1Content>> = ({
|
|
24
|
+
content,
|
|
25
|
+
}) => {
|
|
26
|
+
const { fetch, logger } = useLevo();
|
|
27
|
+
const [fetchedPostData, setFetchedPostData] =
|
|
28
|
+
useState<Partial<IForumPost> | null>(null);
|
|
29
|
+
const [commentCount, setCommentCount] = useState(
|
|
30
|
+
(content?.post as unknown as IForumPost)?.comments_count ?? 0,
|
|
31
|
+
);
|
|
32
|
+
const hasFetchedRef = useRef(false);
|
|
33
|
+
const failedAttemptsRef = useRef(0);
|
|
34
|
+
|
|
35
|
+
const postSlug = (content?.post as unknown as IForumPost)?.slug;
|
|
36
|
+
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
const fetchPostVotes = async () => {
|
|
39
|
+
if (!postSlug || hasFetchedRef.current || failedAttemptsRef.current >= 3)
|
|
40
|
+
return;
|
|
41
|
+
|
|
42
|
+
try {
|
|
43
|
+
const response = await fetch
|
|
44
|
+
.url(`/v1/community/forum/posts/${postSlug}/get-single`)
|
|
45
|
+
.get()
|
|
46
|
+
.json<IResponseSingle<IForumPost>>();
|
|
47
|
+
|
|
48
|
+
if (response?.content?.data) {
|
|
49
|
+
setFetchedPostData({
|
|
50
|
+
upvoted_at: response.content.data.upvoted_at,
|
|
51
|
+
downvoted_at: response.content.data.downvoted_at,
|
|
52
|
+
upvote_count: response.content.data.upvote_count,
|
|
53
|
+
downvote_count: response.content.data.downvote_count,
|
|
54
|
+
comments_count: response?.content?.data?.comments_count,
|
|
55
|
+
});
|
|
56
|
+
setCommentCount(response?.content?.data?.comments_count ?? 0);
|
|
57
|
+
hasFetchedRef.current = true;
|
|
58
|
+
}
|
|
59
|
+
} catch (error) {
|
|
60
|
+
const levoError = getLevoError(error);
|
|
61
|
+
logger?.error("Failed to fetch post vote information", levoError);
|
|
62
|
+
failedAttemptsRef.current += 1;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
fetchPostVotes();
|
|
67
|
+
}, [postSlug, fetch, logger]);
|
|
68
|
+
|
|
69
|
+
const postWithVotes: IForumPost | null = content?.post
|
|
70
|
+
? {
|
|
71
|
+
...(content.post as unknown as IForumPost),
|
|
72
|
+
...(fetchedPostData || {}),
|
|
73
|
+
comments_count: commentCount,
|
|
74
|
+
}
|
|
75
|
+
: null;
|
|
76
|
+
|
|
77
|
+
const handleCommentCountUpdate = (delta: number) => {
|
|
78
|
+
setCommentCount((prev) => prev + delta);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
const isLoadingPostData =
|
|
82
|
+
!hasFetchedRef.current && failedAttemptsRef.current < 3;
|
|
83
|
+
return (
|
|
84
|
+
<Section elementKey="layout">
|
|
85
|
+
<Container elementKey="container">
|
|
86
|
+
<Box elementKey="left_container">
|
|
87
|
+
<Box elementKey="sidebar_links_levoGroup">
|
|
88
|
+
{content?.sidebar_links?.map((v, index) => {
|
|
89
|
+
return (
|
|
90
|
+
<Button
|
|
91
|
+
key={`sidebar_links.${index}.sidebar_link`}
|
|
92
|
+
elementKey={`sidebar_links.${index}.sidebar_link`}
|
|
93
|
+
/>
|
|
94
|
+
);
|
|
95
|
+
})}
|
|
96
|
+
</Box>
|
|
97
|
+
</Box>
|
|
98
|
+
<Box elementKey="content_container">
|
|
99
|
+
{postWithVotes ? (
|
|
100
|
+
<Box elementKey="post_container">
|
|
101
|
+
<ForumPost
|
|
102
|
+
post={postWithVotes}
|
|
103
|
+
isRenderedSolo
|
|
104
|
+
postDetailPageBaseURL={content?.post_detail_page_url || ""}
|
|
105
|
+
actionsLoadingState={{
|
|
106
|
+
comments: isLoadingPostData,
|
|
107
|
+
}}
|
|
108
|
+
/>
|
|
109
|
+
<Comments
|
|
110
|
+
post={postWithVotes}
|
|
111
|
+
onCommentCountChange={handleCommentCountUpdate}
|
|
112
|
+
/>
|
|
113
|
+
</Box>
|
|
114
|
+
) : (
|
|
115
|
+
<Box elementKey="loading_container">
|
|
116
|
+
<Spinner className="text-brand" />
|
|
117
|
+
</Box>
|
|
118
|
+
)}
|
|
119
|
+
</Box>
|
|
120
|
+
<Box elementKey="right_container">
|
|
121
|
+
<Box elementKey="edit_profile_block">
|
|
122
|
+
<Box elementKey="edit_profile_block_content_wrapper">
|
|
123
|
+
<Media
|
|
124
|
+
elementKey="edit_profile_block_banner_image"
|
|
125
|
+
alt="Banner Image"
|
|
126
|
+
/>
|
|
127
|
+
<Box elementKey="edit_profile_block_content">
|
|
128
|
+
<Media
|
|
129
|
+
elementKey="edit_profile_block_logo"
|
|
130
|
+
alt="Community Logo"
|
|
131
|
+
/>
|
|
132
|
+
<Box elementKey="edit_profile_block_text_container">
|
|
133
|
+
<Heading elementKey="edit_profile_block_title" />
|
|
134
|
+
<Typography elementKey="edit_profile_block_description" />
|
|
135
|
+
</Box>
|
|
136
|
+
</Box>
|
|
137
|
+
</Box>
|
|
138
|
+
<Box elementKey="edit_profile_ctas_levoGroup">
|
|
139
|
+
{content?.edit_profile_ctas?.map((v, index) => {
|
|
140
|
+
return (
|
|
141
|
+
<Button
|
|
142
|
+
key={`edit_profile_ctas.${index}.edit_profile_cta`}
|
|
143
|
+
elementKey={`edit_profile_ctas.${index}.edit_profile_cta`}
|
|
144
|
+
/>
|
|
145
|
+
);
|
|
146
|
+
})}
|
|
147
|
+
</Box>
|
|
148
|
+
</Box>
|
|
149
|
+
</Box>
|
|
150
|
+
</Container>
|
|
151
|
+
</Section>
|
|
152
|
+
);
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export default CommunityPost1;
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
+
const MEDIA = {
|
|
4
|
+
id: "zucZWwW4cQj9F",
|
|
5
|
+
filename: "contact-us-1.png",
|
|
6
|
+
kind: "image",
|
|
7
|
+
location:
|
|
8
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC.png",
|
|
9
|
+
srcset: {
|
|
10
|
+
"1080w":
|
|
11
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1080w.webp",
|
|
12
|
+
"1200w":
|
|
13
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1200w.webp",
|
|
14
|
+
"1920w":
|
|
15
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1920w.webp",
|
|
16
|
+
"320w":
|
|
17
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-320w.webp",
|
|
18
|
+
"640w":
|
|
19
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-640w.webp",
|
|
20
|
+
"750w":
|
|
21
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-750w.webp",
|
|
22
|
+
"828w":
|
|
23
|
+
"https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-828w.webp",
|
|
24
|
+
path: "https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1920w.webp 1920w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-320w.webp 320w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-640w.webp 640w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-750w.webp 750w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-828w.webp 828w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1080w.webp 1080w, https://static.levocdn.com/WLZ1TXTD/contact-us-1-OaJcGLqfj5VDC-1200w.webp 1200w",
|
|
25
|
+
},
|
|
26
|
+
mimetype: "image/png",
|
|
27
|
+
};
|
|
28
|
+
|
|
3
29
|
const DEFAULT_CONTENT = {
|
|
4
30
|
layout: null,
|
|
5
31
|
container: null,
|
|
@@ -13,29 +39,7 @@ const DEFAULT_CONTENT = {
|
|
|
13
39
|
},
|
|
14
40
|
],
|
|
15
41
|
|
|
16
|
-
media:
|
|
17
|
-
id: "7141014160938075687",
|
|
18
|
-
location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
19
|
-
kind: "image",
|
|
20
|
-
mimetype: "image/png",
|
|
21
|
-
srcset: {
|
|
22
|
-
"1080w":
|
|
23
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
24
|
-
"1200w":
|
|
25
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
26
|
-
"1920w":
|
|
27
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
28
|
-
"320w":
|
|
29
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
30
|
-
"640w":
|
|
31
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
32
|
-
"750w":
|
|
33
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
34
|
-
"828w":
|
|
35
|
-
"https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
36
|
-
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",
|
|
37
|
-
},
|
|
38
|
-
},
|
|
42
|
+
media: MEDIA,
|
|
39
43
|
};
|
|
40
44
|
|
|
41
45
|
export type IContactUs1Content = typeof DEFAULT_CONTENT;
|
|
@@ -149,24 +153,7 @@ export const ContactUs1: IBlock = {
|
|
|
149
153
|
key: "default",
|
|
150
154
|
title: "Default",
|
|
151
155
|
styles: {
|
|
152
|
-
layout: {
|
|
153
|
-
"padding-left": "8xl",
|
|
154
|
-
"padding-right": "8xl",
|
|
155
|
-
"padding-top": "8xl",
|
|
156
|
-
"padding-bottom": "8xl",
|
|
157
|
-
tablet: {
|
|
158
|
-
"padding-left": "4xl",
|
|
159
|
-
"padding-right": "4xl",
|
|
160
|
-
"padding-top": "4xl",
|
|
161
|
-
"padding-bottom": "4xl",
|
|
162
|
-
},
|
|
163
|
-
mobile: {
|
|
164
|
-
"padding-left": "lg",
|
|
165
|
-
"padding-right": "lg",
|
|
166
|
-
"padding-top": "lg",
|
|
167
|
-
"padding-bottom": "lg",
|
|
168
|
-
},
|
|
169
|
-
},
|
|
156
|
+
layout: {},
|
|
170
157
|
container: {
|
|
171
158
|
display: "flex",
|
|
172
159
|
"justify-content": "space-between",
|
|
@@ -213,8 +200,11 @@ export const ContactUs1: IBlock = {
|
|
|
213
200
|
"flex-direction": "column",
|
|
214
201
|
"row-gap": "4xs",
|
|
215
202
|
},
|
|
216
|
-
title: {
|
|
217
|
-
|
|
203
|
+
title: {},
|
|
204
|
+
ctas_levoGroup: {
|
|
205
|
+
display: "flex",
|
|
206
|
+
"column-gap": "sm",
|
|
207
|
+
"align-items": "center",
|
|
218
208
|
},
|
|
219
209
|
},
|
|
220
210
|
content: DEFAULT_CONTENT,
|