@levo-so/blocks 0.1.100 → 0.1.102
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 +5 -4
- package/src/blocks/about-us/about-us-1.schema.ts +302 -295
- package/src/blocks/about-us/about-us-2.schema.ts +225 -220
- package/src/blocks/blogs/blog-author-1.schema.ts +719 -0
- package/src/blocks/blogs/blog-author-1.tsx +121 -0
- package/src/blocks/blogs/blog-listing-1.tsx +111 -33
- package/src/blocks/blogs/blog-listing-2.schema.ts +15 -33
- package/src/blocks/blogs/blog-listing-2.tsx +118 -33
- package/src/blocks/blogs/blog-listing-3.schema.ts +10 -22
- package/src/blocks/blogs/blog-listing-3.tsx +118 -33
- package/src/blocks/blogs/blog-post-1.schema.ts +766 -16
- package/src/blocks/blogs/blog-post-1.tsx +256 -32
- package/src/blocks/calendar/calendar-1.schema.ts +641 -192
- package/src/blocks/calendar/calendar-1.tsx +1 -0
- package/src/blocks/cards/cards-10.schema.ts +557 -544
- package/src/blocks/cards/cards-11.schema.ts +525 -419
- package/src/blocks/cards/cards-12.schema.ts +538 -147
- package/src/blocks/cards/cards-13.schema.ts +482 -312
- package/src/blocks/cards/cards-14.schema.ts +423 -196
- package/src/blocks/cards/cards-15.schema.ts +309 -143
- package/src/blocks/cards/cards-16.schema.ts +1277 -175
- package/src/blocks/cards/cards-17.schema.ts +2908 -1303
- package/src/blocks/cards/cards-18.schema.ts +1404 -217
- package/src/blocks/cards/cards-19.schema.ts +1105 -1084
- package/src/blocks/cards/cards-19.tsx +4 -5
- package/src/blocks/cards/cards-2.schema.ts +513 -42
- package/src/blocks/cards/cards-20.schema.ts +790 -212
- package/src/blocks/cards/cards-21.schema.ts +1215 -229
- package/src/blocks/cards/cards-21.tsx +51 -6
- package/src/blocks/cards/cards-22.schema.ts +1252 -2809
- package/src/blocks/cards/cards-22.tsx +6 -7
- package/src/blocks/cards/cards-23.schema.ts +571 -109
- package/src/blocks/cards/cards-3.schema.ts +355 -116
- package/src/blocks/cards/cards-4.schema.ts +805 -321
- package/src/blocks/cards/cards-5.schema.ts +216 -64
- package/src/blocks/cards/cards-6.schema.ts +568 -1330
- package/src/blocks/cards/cards-7.schema.ts +1181 -1378
- package/src/blocks/cards/cards-8.schema.ts +585 -221
- package/src/blocks/cards/cards-9.schema.ts +763 -382
- package/src/blocks/carousel/carousel-1.schema.ts +257 -502
- package/src/blocks/carousel/carousel-2.schema.ts +771 -761
- package/src/blocks/community/community-1.schema.ts +8 -23
- package/src/blocks/community/community-1.tsx +3 -3
- package/src/blocks/community/community-post-1.tsx +4 -4
- package/src/blocks/contact-us/contact-us-1.schema.ts +360 -14
- package/src/blocks/contact-us/contact-us-2.schema.ts +441 -325
- package/src/blocks/content/content-1.schema.ts +800 -381
- package/src/blocks/content/content-10.schema.ts +763 -20
- package/src/blocks/content/content-2.schema.ts +426 -52
- package/src/blocks/content/content-3.schema.ts +631 -432
- package/src/blocks/content/content-4.schema.ts +378 -123
- package/src/blocks/content/content-5.schema.ts +1152 -682
- package/src/blocks/content/content-6.schema.ts +679 -707
- package/src/blocks/content/content-7.schema.ts +694 -291
- package/src/blocks/content/content-8.schema.ts +247 -7
- package/src/blocks/content/content-9.schema.ts +855 -116
- package/src/blocks/cta/cta-1.schema.ts +294 -62
- package/src/blocks/cta/cta-2.schema.ts +302 -66
- package/src/blocks/cta/cta-2.tsx +1 -2
- package/src/blocks/cta/cta-3.schema.ts +312 -62
- package/src/blocks/embed/embed-1.schema.ts +181 -0
- package/src/blocks/event/event-listing-2.schema.ts +5 -11
- package/src/blocks/event/event-listing-3.schema.ts +5 -11
- package/src/blocks/event/event-listing-4.schema.ts +5 -11
- package/src/blocks/event/event-listing.schema.ts +5 -11
- package/src/blocks/faq/faq-1.schema.ts +439 -260
- package/src/blocks/faq/faq-2.schema.ts +444 -266
- package/src/blocks/faq/faq-3.schema.ts +1420 -224
- package/src/blocks/features/features-1/features-1.schema.ts +21 -21
- package/src/blocks/features/features-1/variants/default.ts +120 -138
- package/src/blocks/features/features-1/variants/index.ts +2 -2
- package/src/blocks/features/features-1/variants/minimal-list.ts +139 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +69 -385
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +74 -408
- package/src/blocks/features/features-2.schema.ts +368 -286
- package/src/blocks/features/features-3.schema.ts +557 -280
- package/src/blocks/features/features-4.schema.ts +940 -432
- package/src/blocks/features/features-5.schema.ts +566 -407
- package/src/blocks/features/features-6.schema.ts +557 -523
- package/src/blocks/filter-listing/filter-listing-1.schema.ts +922 -270
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +123 -0
- package/src/blocks/footer/footer-1.schema.ts +383 -401
- package/src/blocks/footer/footer-2.schema.ts +337 -878
- package/src/blocks/footer/footer-3.schema.ts +445 -381
- package/src/blocks/footer/footer-4.schema.ts +610 -439
- package/src/blocks/footer/footer-5.schema.ts +367 -321
- package/src/blocks/footer/footer-6.schema.ts +610 -357
- package/src/blocks/form/form-1.schema.ts +237 -0
- package/src/blocks/hero/hero-1.schema.ts +251 -221
- package/src/blocks/hero/hero-10.schema.ts +23 -14
- package/src/blocks/hero/hero-11.schema.ts +728 -601
- package/src/blocks/hero/hero-12.schema.ts +524 -334
- package/src/blocks/hero/hero-13.schema.ts +83 -95
- package/src/blocks/hero/hero-2.schema.ts +277 -68
- package/src/blocks/hero/hero-3.schema.ts +371 -235
- package/src/blocks/hero/hero-3.tsx +1 -1
- package/src/blocks/hero/hero-4.schema.ts +605 -338
- package/src/blocks/hero/hero-5.schema.ts +545 -61
- package/src/blocks/hero/hero-6.schema.ts +446 -257
- package/src/blocks/hero/hero-6.tsx +1 -1
- package/src/blocks/hero/hero-7.schema.ts +1299 -131
- package/src/blocks/hero/hero-7.tsx +43 -23
- package/src/blocks/hero/hero-8.schema.ts +736 -236
- package/src/blocks/hero/hero-9.schema.ts +908 -58
- package/src/blocks/index.ts +2 -0
- package/src/blocks/jobs/jobs-1.schema.ts +741 -219
- package/src/blocks/logos/logos-1.schema.ts +317 -321
- package/src/blocks/logos/logos-1.tsx +32 -19
- package/src/blocks/navbar/navbar-1.schema.ts +319 -186
- package/src/blocks/navbar/navbar-2.schema.ts +311 -190
- package/src/blocks/navbar/navbar-3.schema.ts +612 -570
- package/src/blocks/navbar/navbar-4.schema.ts +741 -1250
- package/src/blocks/polling/polling-1.schema.ts +161 -0
- package/src/blocks/pricing/pricing-1.schema.ts +549 -626
- package/src/blocks/products/products-listing-1.schema.ts +363 -249
- package/src/blocks/products/products-listing-2.schema.ts +515 -257
- package/src/blocks/products/products-listing-3.schema.ts +789 -836
- package/src/blocks/profile/profile-1.schema.ts +168 -187
- package/src/blocks/profile/profile-2.schema.ts +150 -122
- package/src/blocks/profile/profile-3.schema.ts +307 -256
- package/src/blocks/profile/profile-4.schema.ts +372 -504
- package/src/blocks/profile/profile-5.schema.ts +186 -79
- package/src/blocks/services/service-1.schema.ts +700 -631
- package/src/blocks/services/service-2.schema.ts +559 -82
- package/src/blocks/services/service-2.tsx +5 -3
- package/src/blocks/services/service-3.schema.ts +587 -215
- package/src/blocks/services/service-3.tsx +4 -2
- package/src/blocks/stats/stats-1.schema.ts +347 -257
- package/src/blocks/stats/stats-2.schema.ts +14 -2
- package/src/blocks/stats/variants/default.ts +14 -37
- package/src/blocks/stats/variants/extra.ts +232 -0
- package/src/blocks/stats/variants/hero.ts +1 -30
- package/src/blocks/stats/variants/index.ts +13 -1
- package/src/blocks/tabs/tab-1.schema.ts +1361 -214
- package/src/blocks/tabs/tab-2.schema.ts +984 -390
- package/src/blocks/tabs/tab-3.schema.ts +961 -95
- package/src/blocks/team/team-1.schema.ts +681 -564
- package/src/blocks/team/team-2.schema.ts +589 -935
- package/src/blocks/team/team-3.schema.ts +375 -284
- package/src/blocks/team/team-4.schema.ts +569 -355
- package/src/blocks/team/team-5.schema.ts +307 -111
- package/src/blocks/testimonial/testimonial-1.schema.ts +605 -706
- package/src/blocks/testimonial/testimonial-2.schema.ts +825 -1099
- package/src/blocks/testimonial/testimonial-3.schema.ts +580 -235
- package/src/blocks/testimonial/testimonial-4.schema.ts +1326 -1779
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -328
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +9 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialCentered.ts +194 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialCompact.ts +188 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +275 -396
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +254 -602
- package/src/blocks/testimonial/testimonial-5.schema.ts +6 -2
- package/src/blocks/testimonial/testimonial-6.schema.ts +962 -1234
- package/src/blocks/testimonial/testimonial-7.schema.ts +515 -233
- package/src/blocks/timeline/timeline-1.schema.ts +382 -140
- package/src/blocks/users/edit-profile.schema.ts +2 -8
- package/src/blocks/users/edit-profile.tsx +2 -3
- package/src/schemas/blocks.ts +2 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +0 -268
|
@@ -1,16 +1,92 @@
|
|
|
1
1
|
import type { IBlock } from "@levo-so/studio";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const CALL_ICON = {
|
|
4
4
|
kind: "icon",
|
|
5
5
|
data: {
|
|
6
|
-
id: "
|
|
7
|
-
label: "
|
|
8
|
-
tags: ["archive", "custom", "directional", "minus"],
|
|
6
|
+
id: "call",
|
|
7
|
+
label: "Call",
|
|
9
8
|
svgCode:
|
|
10
|
-
'<svg
|
|
9
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17.45 22.75C16.32 22.75 15.13 22.48 13.9 21.96C12.7 21.45 11.49 20.75 10.31 19.9C9.14 19.04 8.01 18.08 6.94 17.03C5.88 15.96 4.92 14.83 4.07 13.67C3.21 12.47 2.52 11.27 2.03 10.11C1.51 8.87 1.25 7.67 1.25 6.54C1.25 5.76 1.39 5.02 1.66 4.33C1.94 3.62 2.39 2.96 3 2.39C3.77 1.63 4.65 1.25 5.59 1.25C5.98 1.25 6.38 1.34 6.72 1.5C7.11 1.68 7.44 1.95 7.68 2.31L10 5.58C10.21 5.87 10.37 6.15 10.48 6.43C10.61 6.73 10.68 7.03 10.68 7.32C10.68 7.7 10.57 8.07 10.36 8.42C10.21 8.69 9.98 8.98 9.69 9.27L9.01 9.98C9.02 10.01 9.03 10.03 9.04 10.05C9.16 10.26 9.4 10.62 9.86 11.16C10.35 11.72 10.81 12.23 11.27 12.7C11.86 13.28 12.35 13.74 12.81 14.12C13.38 14.6 13.75 14.84 13.97 14.95L13.95 15L14.68 14.28C14.99 13.97 15.29 13.74 15.58 13.59C16.13 13.25 16.83 13.19 17.53 13.48C17.79 13.59 18.07 13.74 18.37 13.95L21.69 16.31C22.06 16.56 22.33 16.88 22.49 17.26C22.64 17.64 22.71 17.99 22.71 18.34C22.71 18.82 22.6 19.3 22.39 19.75C22.18 20.2 21.92 20.59 21.59 20.95C21.02 21.58 20.4 22.03 19.68 22.32C18.99 22.6 18.24 22.75 17.45 22.75ZM5.59 2.75C5.04 2.75 4.53 2.99 4.04 3.47C3.58 3.9 3.26 4.37 3.06 4.88C2.85 5.4 2.75 5.95 2.75 6.54C2.75 7.47 2.97 8.48 3.41 9.52C3.86 10.58 4.49 11.68 5.29 12.78C6.09 13.88 7 14.95 8 15.96C9 16.95 10.08 17.87 11.19 18.68C12.27 19.47 13.38 20.11 14.48 20.57C16.19 21.3 17.79 21.47 19.11 20.92C19.62 20.71 20.07 20.39 20.48 19.93C20.71 19.68 20.89 19.41 21.04 19.09C21.16 18.84 21.22 18.58 21.22 18.32C21.22 18.16 21.19 18 21.11 17.82C21.08 17.76 21.02 17.65 20.83 17.52L17.51 15.16C17.31 15.02 17.13 14.92 16.96 14.85C16.74 14.76 16.65 14.67 16.31 14.88C16.11 14.98 15.93 15.13 15.73 15.33L14.97 16.08C14.58 16.46 13.98 16.55 13.52 16.38L13.25 16.26C12.84 16.04 12.36 15.7 11.83 15.25C11.35 14.84 10.83 14.36 10.2 13.74C9.71 13.24 9.22 12.71 8.71 12.12C8.24 11.57 7.9 11.1 7.69 10.71L7.57 10.41C7.51 10.18 7.49 10.05 7.49 9.91C7.49 9.55 7.62 9.23 7.87 8.98L8.62 8.2C8.82 8 8.97 7.81 9.07 7.64C9.15 7.51 9.18 7.4 9.18 7.3C9.18 7.22 9.15 7.1 9.1 6.98C9.03 6.82 8.92 6.64 8.78 6.45L6.46 3.17C6.36 3.03 6.24 2.93 6.09 2.86C5.93 2.79 5.76 2.75 5.59 2.75ZM13.95 15.01L13.79 15.69L14.06 14.99C14.01 14.98 13.97 14.99 13.95 15.01Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
11
10
|
},
|
|
12
11
|
};
|
|
13
12
|
|
|
13
|
+
const SMS_ICON = {
|
|
14
|
+
kind: "icon",
|
|
15
|
+
data: {
|
|
16
|
+
id: "sms",
|
|
17
|
+
label: "Sms",
|
|
18
|
+
svgCode:
|
|
19
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17 21.25H7C3.35 21.25 1.25 19.15 1.25 15.5V8.5C1.25 4.85 3.35 2.75 7 2.75H17C20.65 2.75 22.75 4.85 22.75 8.5V15.5C22.75 19.15 20.65 21.25 17 21.25ZM7 4.25C4.14 4.25 2.75 5.64 2.75 8.5V15.5C2.75 18.36 4.14 19.75 7 19.75H17C19.86 19.75 21.25 18.36 21.25 15.5V8.5C21.25 5.64 19.86 4.25 17 4.25H7Z" fill="var(--color-icon-primary)"/>\n<path d="M11.9998 12.87C11.1598 12.87 10.3098 12.61 9.65978 12.08L6.52978 9.57997C6.20978 9.31997 6.14978 8.84997 6.40978 8.52997C6.66978 8.20997 7.13978 8.14997 7.45978 8.40997L10.5898 10.91C11.3498 11.52 12.6398 11.52 13.3998 10.91L16.5298 8.40997C16.8498 8.14997 17.3298 8.19997 17.5798 8.52997C17.8398 8.84997 17.7898 9.32997 17.4598 9.57997L14.3298 12.08C13.6898 12.61 12.8398 12.87 11.9998 12.87Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const LOCATION_ICON = {
|
|
24
|
+
kind: "icon",
|
|
25
|
+
data: {
|
|
26
|
+
id: "location",
|
|
27
|
+
label: "Location",
|
|
28
|
+
svgCode:
|
|
29
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M11.9999 14.17C9.86988 14.17 8.12988 12.44 8.12988 10.3C8.12988 8.16 9.86988 6.44 11.9999 6.44C14.1299 6.44 15.8699 8.17 15.8699 10.31C15.8699 12.45 14.1299 14.17 11.9999 14.17ZM11.9999 7.94C10.6999 7.94 9.62988 9 9.62988 10.31C9.62988 11.62 10.6899 12.68 11.9999 12.68C13.3099 12.68 14.3699 11.62 14.3699 10.31C14.3699 9 13.2999 7.94 11.9999 7.94Z" fill="var(--color-icon-primary)"/>\n<path d="M11.9997 22.76C10.5197 22.76 9.02969 22.2 7.86969 21.09C4.91969 18.25 1.65969 13.72 2.88969 8.33C3.99969 3.44 8.26969 1.25 11.9997 1.25C11.9997 1.25 11.9997 1.25 12.0097 1.25C15.7397 1.25 20.0097 3.44 21.1197 8.34C22.3397 13.73 19.0797 18.25 16.1297 21.09C14.9697 22.2 13.4797 22.76 11.9997 22.76ZM11.9997 2.75C9.08969 2.75 5.34969 4.3 4.35969 8.66C3.27969 13.37 6.23969 17.43 8.91969 20C10.6497 21.67 13.3597 21.67 15.0897 20C17.7597 17.43 20.7197 13.37 19.6597 8.66C18.6597 4.3 14.9097 2.75 11.9997 2.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const FOLLOW_ICON = {
|
|
34
|
+
kind: "icon",
|
|
35
|
+
data: {
|
|
36
|
+
id: "messages-3",
|
|
37
|
+
label: "Messages 3",
|
|
38
|
+
svgCode:
|
|
39
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M16.9 19.01C16.59 19.01 16.28 18.92 16.01 18.74L15.05 18.11C14.78 17.93 14.65 17.59 14.74 17.28C14.81 17.05 14.84 16.78 14.84 16.48V12.41C14.84 10.78 13.82 9.76001 12.19 9.76001H5.39999C5.27999 9.76001 5.17 9.77003 5.06 9.78003C4.85 9.79003 4.65001 9.72002 4.49001 9.58002C4.33001 9.44002 4.25 9.24003 4.25 9.03003V6.26001C4.25 3.32001 6.31 1.26001 9.25 1.26001H17.75C20.69 1.26001 22.75 3.32001 22.75 6.26001V11.36C22.75 12.81 22.26 14.09 21.36 14.97C20.64 15.7 19.64 16.17 18.5 16.31V17.42C18.5 18.02 18.17 18.56 17.65 18.84C17.41 18.95 17.15 19.01 16.9 19.01ZM16.3 17.13L16.95 17.5C17.01 17.47 17.01 17.42 17.01 17.41V15.6C17.01 15.19 17.35 14.85 17.76 14.85C18.81 14.85 19.7 14.52 20.31 13.9C20.94 13.28 21.26 12.4 21.26 11.35V6.25C21.26 4.12 19.89 2.75 17.76 2.75H9.25999C7.12999 2.75 5.75999 4.12 5.75999 6.25V8.25H12.2C14.64 8.25 16.35 9.96002 16.35 12.4V16.47C16.34 16.7 16.33 16.92 16.3 17.13Z" fill="var(--color-icon-primary)"/>\n<path d="M6.07001 22.75C5.85001 22.75 5.62 22.7 5.41 22.59C4.94 22.34 4.64999 21.86 4.64999 21.32V20.56C3.76999 20.42 2.99 20.05 2.41 19.47C1.65 18.71 1.25 17.67 1.25 16.47V12.4C1.25 10.14 2.72999 8.48002 4.92999 8.27002C5.08999 8.26002 5.23999 8.25 5.39999 8.25H12.19C14.63 8.25 16.34 9.96002 16.34 12.4V16.47C16.34 16.91 16.29 17.32 16.18 17.69C15.73 19.49 14.2 20.62 12.19 20.62H9.7L6.87 22.5C6.63 22.67 6.35001 22.75 6.07001 22.75ZM5.39999 9.75C5.27999 9.75 5.17 9.76002 5.06 9.77002C3.62 9.90002 2.75 10.89 2.75 12.4V16.47C2.75 17.27 3 17.94 3.47 18.41C3.93 18.87 4.59999 19.12 5.39999 19.12C5.80999 19.12 6.14999 19.46 6.14999 19.87V21.18L9.05 19.25C9.17 19.17 9.32 19.12 9.47 19.12H12.19C13.51 19.12 14.44 18.46 14.73 17.3C14.8 17.05 14.84 16.77 14.84 16.47V12.4C14.84 10.77 13.82 9.75 12.19 9.75H5.39999Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const LINKEDIN_ICON = {
|
|
44
|
+
kind: "icon",
|
|
45
|
+
data: {
|
|
46
|
+
id: "linkedin",
|
|
47
|
+
label: "Linkedin",
|
|
48
|
+
svgCode:
|
|
49
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M22.2234 0H1.77187C0.792187 0 0 0.773438 0 1.72969V22.2656C0 23.2219 0.792187 24 1.77187 24H22.2234C23.2031 24 24 23.2219 24 22.2703V1.72969C24 0.773438 23.2031 0 22.2234 0ZM7.12031 20.4516H3.55781V8.99531H7.12031V20.4516ZM5.33906 7.43438C4.19531 7.43438 3.27188 6.51094 3.27188 5.37187C3.27188 4.23281 4.19531 3.30937 5.33906 3.30937C6.47813 3.30937 7.40156 4.23281 7.40156 5.37187C7.40156 6.50625 6.47813 7.43438 5.33906 7.43438ZM20.4516 20.4516H16.8937V14.8828C16.8937 13.5562 16.8703 11.8453 15.0422 11.8453C13.1906 11.8453 12.9094 13.2937 12.9094 14.7891V20.4516H9.35625V8.99531H12.7687V10.5609H12.8156C13.2891 9.66094 14.4516 8.70938 16.1813 8.70938C19.7859 8.70938 20.4516 11.0813 20.4516 14.1656V20.4516Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const TWITTER_ICON = {
|
|
54
|
+
kind: "icon",
|
|
55
|
+
data: {
|
|
56
|
+
id: "twitter",
|
|
57
|
+
label: "Twitter",
|
|
58
|
+
svgCode:
|
|
59
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7.55016 21.75C16.6045 21.75 21.5583 14.2468 21.5583 7.74192C21.5583 7.53098 21.5536 7.31536 21.5442 7.10442C22.5079 6.40752 23.3395 5.54432 24 4.55536C23.1025 4.95466 22.1496 5.21544 21.1739 5.3288C22.2013 4.71297 22.9705 3.74553 23.3391 2.60583C22.3726 3.17862 21.3156 3.58267 20.2134 3.80067C19.4708 3.01162 18.489 2.48918 17.4197 2.31411C16.3504 2.13905 15.2532 2.32111 14.2977 2.83216C13.3423 3.3432 12.5818 4.15477 12.1338 5.14137C11.6859 6.12798 11.5754 7.23468 11.8195 8.29036C9.86249 8.19215 7.94794 7.68377 6.19998 6.79816C4.45203 5.91255 2.90969 4.6695 1.67297 3.14958C1.0444 4.2333 0.852057 5.51571 1.13503 6.73615C1.418 7.9566 2.15506 9.02351 3.19641 9.72005C2.41463 9.69523 1.64998 9.48474 0.965625 9.10598V9.16692C0.964925 10.3042 1.3581 11.4066 2.07831 12.2868C2.79852 13.167 3.80132 13.7706 4.91625 13.995C4.19206 14.1932 3.43198 14.2221 2.69484 14.0794C3.00945 15.0575 3.62157 15.913 4.44577 16.5264C5.26997 17.1398 6.26512 17.4807 7.29234 17.5013C5.54842 18.8712 3.39417 19.6142 1.17656 19.6107C0.783287 19.6101 0.390399 19.586 0 19.5385C2.25286 20.9838 4.87353 21.7514 7.55016 21.75Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
const INSTAGRAM_ICON = {
|
|
64
|
+
kind: "icon",
|
|
65
|
+
data: {
|
|
66
|
+
id: "instagram",
|
|
67
|
+
label: "Instagram",
|
|
68
|
+
svgCode:
|
|
69
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M15 22.75H9C3.57 22.75 1.25 20.43 1.25 15V9C1.25 3.57 3.57 1.25 9 1.25H15C20.43 1.25 22.75 3.57 22.75 9V15C22.75 20.43 20.43 22.75 15 22.75ZM9 2.75C4.39 2.75 2.75 4.39 2.75 9V15C2.75 19.61 4.39 21.25 9 21.25H15C19.61 21.25 21.25 19.61 21.25 15V9C21.25 4.39 19.61 2.75 15 2.75H9Z" fill="var(--color-icon-primary)"/>\n<path d="M12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM12 9.25C10.48 9.25 9.25 10.48 9.25 12C9.25 13.52 10.48 14.75 12 14.75C13.52 14.75 14.75 13.52 14.75 12C14.75 10.48 13.52 9.25 12 9.25Z" fill="var(--color-icon-primary)"/>\n<path d="M17 7.50003C16.87 7.50003 16.74 7.47003 16.62 7.42003C16.5 7.37003 16.39 7.30003 16.29 7.21003C16.2 7.11003 16.12 7.00003 16.07 6.88003C16.02 6.76003 16 6.63003 16 6.50003C16 6.37003 16.02 6.24003 16.07 6.12003C16.13 5.99003 16.2 5.89003 16.29 5.79003C16.34 5.75003 16.39 5.70003 16.44 5.67003C16.5 5.63003 16.56 5.60003 16.62 5.58003C16.68 5.55003 16.74 5.53003 16.81 5.52003C17.13 5.45003 17.47 5.56003 17.71 5.79003C17.8 5.89003 17.87 5.99003 17.92 6.12003C17.97 6.24003 18 6.37003 18 6.50003C18 6.63003 17.97 6.76003 17.92 6.88003C17.87 7.00003 17.8 7.11003 17.71 7.21003C17.61 7.30003 17.5 7.37003 17.38 7.42003C17.26 7.47003 17.13 7.50003 17 7.50003Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const YOUTUBE_ICON = {
|
|
74
|
+
kind: "icon",
|
|
75
|
+
data: {
|
|
76
|
+
id: "youtube",
|
|
77
|
+
label: "Youtube",
|
|
78
|
+
svgCode:
|
|
79
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17 20.75H7C3.56 20.75 1.25 18.44 1.25 15V9C1.25 5.56 3.56 3.25 7 3.25H17C20.44 3.25 22.75 5.56 22.75 9V15C22.75 18.44 20.44 20.75 17 20.75ZM7 4.75C4.42 4.75 2.75 6.42 2.75 9V15C2.75 17.58 4.42 19.25 7 19.25H17C19.58 19.25 21.25 17.58 21.25 15V9C21.25 6.42 19.58 4.75 17 4.75H7Z" fill="var(--color-icon-primary)"/>\n<path d="M10.5897 15.53C10.2997 15.53 10.0197 15.46 9.76965 15.32C9.18965 14.99 8.84961 14.32 8.84961 13.49V10.53C8.84961 9.7 9.17965 9.03002 9.76965 8.70002C10.3497 8.37002 11.0996 8.42999 11.8096 8.85999L14.2797 10.34C14.9597 10.75 15.3496 11.36 15.3496 12.01C15.3496 12.66 14.9597 13.27 14.2797 13.68L11.8096 15.16C11.3996 15.4 10.9797 15.53 10.5897 15.53ZM10.5897 9.97001C10.5497 9.97001 10.5196 9.98 10.4996 9.99C10.4296 10.03 10.3496 10.21 10.3496 10.52V13.48C10.3496 13.78 10.4296 13.96 10.4996 14.01C10.5796 14.05 10.7697 14.03 11.0297 13.87L13.4996 12.39C13.7496 12.24 13.8397 12.09 13.8397 12C13.8397 11.91 13.7496 11.77 13.4996 11.61L11.0297 10.13C10.8497 10.02 10.6897 9.97001 10.5897 9.97001Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
const SOCIAL_ICON_LINKS = [
|
|
84
|
+
{ icon: LINKEDIN_ICON },
|
|
85
|
+
{ icon: TWITTER_ICON },
|
|
86
|
+
{ icon: INSTAGRAM_ICON },
|
|
87
|
+
{ icon: YOUTUBE_ICON },
|
|
88
|
+
];
|
|
89
|
+
|
|
14
90
|
const DEFAULT_CONTENT = {
|
|
15
91
|
layout: null,
|
|
16
92
|
container: null,
|
|
@@ -24,57 +100,125 @@ const DEFAULT_CONTENT = {
|
|
|
24
100
|
contentContainer: null,
|
|
25
101
|
headerMedia: null,
|
|
26
102
|
textWrapper: null,
|
|
27
|
-
title: "
|
|
103
|
+
title: "Let's get in touch",
|
|
28
104
|
subtitle:
|
|
29
|
-
"
|
|
105
|
+
"Questions on payments, settlement, or API launch? A solutions engineer replies within the hour.",
|
|
30
106
|
contact_options: [
|
|
31
107
|
{
|
|
32
108
|
wrapper: null,
|
|
33
|
-
icon:
|
|
109
|
+
icon: CALL_ICON,
|
|
34
110
|
text_box: null,
|
|
35
|
-
label: "Call
|
|
36
|
-
value: "(
|
|
111
|
+
label: "Call us",
|
|
112
|
+
value: "+1 (415) 555-0142",
|
|
37
113
|
},
|
|
38
114
|
{
|
|
39
115
|
wrapper: null,
|
|
40
|
-
icon:
|
|
116
|
+
icon: SMS_ICON,
|
|
41
117
|
text_box: null,
|
|
42
|
-
label: "Email
|
|
43
|
-
value: "
|
|
118
|
+
label: "Email us",
|
|
119
|
+
value: "hello@ledgerline.finance",
|
|
44
120
|
},
|
|
45
121
|
{
|
|
46
122
|
wrapper: null,
|
|
47
|
-
icon:
|
|
123
|
+
icon: LOCATION_ICON,
|
|
48
124
|
text_box: null,
|
|
49
|
-
label: "
|
|
50
|
-
value: "
|
|
125
|
+
label: "Visit us",
|
|
126
|
+
value: "140 Market Street, Suite 900, San Francisco, CA 94105",
|
|
51
127
|
},
|
|
52
128
|
{
|
|
53
129
|
wrapper: null,
|
|
54
|
-
icon:
|
|
130
|
+
icon: FOLLOW_ICON,
|
|
55
131
|
text_box: null,
|
|
56
|
-
label: "Follow
|
|
132
|
+
label: "Follow us",
|
|
57
133
|
value: " ",
|
|
58
|
-
icon_links:
|
|
59
|
-
{
|
|
60
|
-
icon: DUMMY_ICON,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
icon: DUMMY_ICON,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
icon: DUMMY_ICON,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
icon: DUMMY_ICON,
|
|
70
|
-
},
|
|
71
|
-
],
|
|
134
|
+
icon_links: SOCIAL_ICON_LINKS,
|
|
72
135
|
},
|
|
73
136
|
],
|
|
74
137
|
};
|
|
75
138
|
|
|
76
139
|
export type IContactUs2Content = typeof DEFAULT_CONTENT;
|
|
77
140
|
|
|
141
|
+
const DEFAULT_OPTION_ITEM_STYLE = {
|
|
142
|
+
wrapper: {
|
|
143
|
+
display: "flex",
|
|
144
|
+
"align-items": "start",
|
|
145
|
+
"column-gap": "base",
|
|
146
|
+
},
|
|
147
|
+
icon: {
|
|
148
|
+
"margin-top": "6xs",
|
|
149
|
+
width: "22px",
|
|
150
|
+
height: "22px",
|
|
151
|
+
color: "brand",
|
|
152
|
+
"font-size": "22px",
|
|
153
|
+
"flex-shrink": "0",
|
|
154
|
+
},
|
|
155
|
+
text_box: {
|
|
156
|
+
display: "flex",
|
|
157
|
+
"flex-direction": "column",
|
|
158
|
+
"row-gap": "3xs",
|
|
159
|
+
},
|
|
160
|
+
label: {
|
|
161
|
+
"font-weight": 600,
|
|
162
|
+
},
|
|
163
|
+
value: {
|
|
164
|
+
color: "text-3",
|
|
165
|
+
},
|
|
166
|
+
icon_links_levoGroup: {
|
|
167
|
+
display: "flex",
|
|
168
|
+
gap: "2xs",
|
|
169
|
+
"align-items": "center",
|
|
170
|
+
"column-gap": "2xs",
|
|
171
|
+
"justify-content": "start",
|
|
172
|
+
"margin-top": "3xs",
|
|
173
|
+
},
|
|
174
|
+
icon_links_levoGroupItem: {
|
|
175
|
+
icon: {
|
|
176
|
+
width: "1.25rem",
|
|
177
|
+
height: "1.25rem",
|
|
178
|
+
color: "text-2",
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
icon_links: [{}, {}, {}, {}],
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Build per-item style overrides for the 4 contact_options entries.
|
|
186
|
+
* Accepts an overrides object that is shallow-merged into the default item style.
|
|
187
|
+
*/
|
|
188
|
+
const buildOptionStyles = (overrides: Record<string, Record<string, unknown>> = {}) =>
|
|
189
|
+
Array(4)
|
|
190
|
+
.fill(0)
|
|
191
|
+
.map(() => ({
|
|
192
|
+
...DEFAULT_OPTION_ITEM_STYLE,
|
|
193
|
+
...overrides,
|
|
194
|
+
wrapper: { ...DEFAULT_OPTION_ITEM_STYLE.wrapper, ...(overrides.wrapper || {}) },
|
|
195
|
+
icon: { ...DEFAULT_OPTION_ITEM_STYLE.icon, ...(overrides.icon || {}) },
|
|
196
|
+
label: { ...DEFAULT_OPTION_ITEM_STYLE.label, ...(overrides.label || {}) },
|
|
197
|
+
value: { ...DEFAULT_OPTION_ITEM_STYLE.value, ...(overrides.value || {}) },
|
|
198
|
+
}));
|
|
199
|
+
|
|
200
|
+
const DEFAULT_CONFIG = {
|
|
201
|
+
title: {
|
|
202
|
+
heading: {
|
|
203
|
+
level: 2,
|
|
204
|
+
},
|
|
205
|
+
selectedVariants: {
|
|
206
|
+
Heading_Level: "H2",
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
contact_options: [
|
|
210
|
+
{
|
|
211
|
+
label: {
|
|
212
|
+
heading: { level: "4" },
|
|
213
|
+
selectedVariants: { Heading_Level: "H6" },
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
{ label: { selectedVariants: { Heading_Level: "H6" } } },
|
|
217
|
+
{ label: { selectedVariants: { Heading_Level: "H6" } } },
|
|
218
|
+
{ label: { selectedVariants: { Heading_Level: "H6" } } },
|
|
219
|
+
],
|
|
220
|
+
};
|
|
221
|
+
|
|
78
222
|
export const ContactUs2: IBlock = {
|
|
79
223
|
category_id: "contact-us",
|
|
80
224
|
title: "Contact Us 2",
|
|
@@ -205,13 +349,15 @@ export const ContactUs2: IBlock = {
|
|
|
205
349
|
display: "flex",
|
|
206
350
|
width: "100%",
|
|
207
351
|
"justify-content": "space-between",
|
|
208
|
-
"column-gap": "
|
|
352
|
+
"column-gap": "4xl",
|
|
209
353
|
tablet: {
|
|
210
354
|
"flex-direction": "column",
|
|
211
|
-
"row-gap": "
|
|
355
|
+
"row-gap": "3xl",
|
|
212
356
|
},
|
|
213
357
|
},
|
|
214
|
-
title: {
|
|
358
|
+
title: {
|
|
359
|
+
"font-weight": 700,
|
|
360
|
+
},
|
|
215
361
|
layoutTitle: {
|
|
216
362
|
display: "none",
|
|
217
363
|
},
|
|
@@ -219,271 +365,19 @@ export const ContactUs2: IBlock = {
|
|
|
219
365
|
display: "none",
|
|
220
366
|
},
|
|
221
367
|
subtitle: {
|
|
222
|
-
"margin-bottom": "
|
|
368
|
+
"margin-bottom": "3xl",
|
|
223
369
|
"margin-top": "sm",
|
|
370
|
+
color: "text-3",
|
|
224
371
|
},
|
|
225
372
|
contact_options_levoGroup: {
|
|
226
373
|
display: "grid",
|
|
227
374
|
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
228
|
-
gap: "
|
|
375
|
+
gap: "2xl",
|
|
229
376
|
mobile: {
|
|
230
377
|
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
231
378
|
},
|
|
232
379
|
},
|
|
233
|
-
contact_options:
|
|
234
|
-
{
|
|
235
|
-
wrapper: {
|
|
236
|
-
display: "flex",
|
|
237
|
-
"align-items": "start",
|
|
238
|
-
"column-gap": "base",
|
|
239
|
-
},
|
|
240
|
-
icon: {
|
|
241
|
-
"margin-top": "6xs",
|
|
242
|
-
width: "22px",
|
|
243
|
-
height: "22px",
|
|
244
|
-
color: "text-1",
|
|
245
|
-
"font-size": "22px",
|
|
246
|
-
"flex-shrink": "0",
|
|
247
|
-
},
|
|
248
|
-
text_box: {
|
|
249
|
-
display: "flex",
|
|
250
|
-
"flex-direction": "column",
|
|
251
|
-
"row-gap": "3xs",
|
|
252
|
-
},
|
|
253
|
-
label: {
|
|
254
|
-
"font-weight": 600,
|
|
255
|
-
},
|
|
256
|
-
value: {
|
|
257
|
-
color: "text-3",
|
|
258
|
-
},
|
|
259
|
-
icon_links_levoGroup: {
|
|
260
|
-
display: "flex",
|
|
261
|
-
gap: "2xs",
|
|
262
|
-
"align-items": "center",
|
|
263
|
-
"column-gap": "3xs",
|
|
264
|
-
"justify-content": "start",
|
|
265
|
-
},
|
|
266
|
-
icon_links: [
|
|
267
|
-
{
|
|
268
|
-
icon: {
|
|
269
|
-
width: "1.25rem",
|
|
270
|
-
height: "1.25rem",
|
|
271
|
-
color: "text-2",
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
icon: {
|
|
276
|
-
width: "1.25rem",
|
|
277
|
-
height: "1.25rem",
|
|
278
|
-
color: "text-2",
|
|
279
|
-
},
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
icon: {
|
|
283
|
-
width: "1.25rem",
|
|
284
|
-
height: "1.25rem",
|
|
285
|
-
color: "text-2",
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
icon: {
|
|
290
|
-
width: "1.25rem",
|
|
291
|
-
height: "1.25rem",
|
|
292
|
-
color: "text-2",
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
wrapper: {
|
|
299
|
-
display: "flex",
|
|
300
|
-
"align-items": "start",
|
|
301
|
-
"column-gap": "base",
|
|
302
|
-
},
|
|
303
|
-
icon: {
|
|
304
|
-
"margin-top": "6xs",
|
|
305
|
-
width: "22px",
|
|
306
|
-
height: "22px",
|
|
307
|
-
color: "text-1",
|
|
308
|
-
"font-size": "22px",
|
|
309
|
-
"flex-shrink": "0",
|
|
310
|
-
},
|
|
311
|
-
text_box: {
|
|
312
|
-
display: "flex",
|
|
313
|
-
"flex-direction": "column",
|
|
314
|
-
"row-gap": "3xs",
|
|
315
|
-
},
|
|
316
|
-
label: {
|
|
317
|
-
"font-weight": 600,
|
|
318
|
-
},
|
|
319
|
-
value: {
|
|
320
|
-
color: "text-3",
|
|
321
|
-
},
|
|
322
|
-
icon_links_levoGroup: {
|
|
323
|
-
display: "flex",
|
|
324
|
-
gap: "2xs",
|
|
325
|
-
"align-items": "center",
|
|
326
|
-
"column-gap": "3xs",
|
|
327
|
-
"justify-content": "start",
|
|
328
|
-
},
|
|
329
|
-
icon_links: [
|
|
330
|
-
{
|
|
331
|
-
icon: {
|
|
332
|
-
width: "1.25rem",
|
|
333
|
-
height: "1.25rem",
|
|
334
|
-
color: "text-2",
|
|
335
|
-
},
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
icon: {
|
|
339
|
-
width: "1.25rem",
|
|
340
|
-
height: "1.25rem",
|
|
341
|
-
color: "text-2",
|
|
342
|
-
},
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
icon: {
|
|
346
|
-
width: "1.25rem",
|
|
347
|
-
height: "1.25rem",
|
|
348
|
-
color: "text-2",
|
|
349
|
-
},
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
icon: {
|
|
353
|
-
width: "1.25rem",
|
|
354
|
-
height: "1.25rem",
|
|
355
|
-
color: "text-2",
|
|
356
|
-
},
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
wrapper: {
|
|
362
|
-
display: "flex",
|
|
363
|
-
"align-items": "start",
|
|
364
|
-
"column-gap": "base",
|
|
365
|
-
},
|
|
366
|
-
icon: {
|
|
367
|
-
"margin-top": "6xs",
|
|
368
|
-
width: "22px",
|
|
369
|
-
height: "22px",
|
|
370
|
-
color: "text-1",
|
|
371
|
-
"font-size": "22px",
|
|
372
|
-
"flex-shrink": "0",
|
|
373
|
-
},
|
|
374
|
-
text_box: {
|
|
375
|
-
display: "flex",
|
|
376
|
-
"flex-direction": "column",
|
|
377
|
-
"row-gap": "3xs",
|
|
378
|
-
},
|
|
379
|
-
label: {
|
|
380
|
-
"font-weight": 600,
|
|
381
|
-
},
|
|
382
|
-
value: {
|
|
383
|
-
color: "text-3",
|
|
384
|
-
},
|
|
385
|
-
icon_links_levoGroup: {
|
|
386
|
-
display: "flex",
|
|
387
|
-
gap: "2xs",
|
|
388
|
-
"align-items": "center",
|
|
389
|
-
"column-gap": "3xs",
|
|
390
|
-
"justify-content": "start",
|
|
391
|
-
},
|
|
392
|
-
icon_links: [
|
|
393
|
-
{
|
|
394
|
-
icon: {
|
|
395
|
-
width: "1.25rem",
|
|
396
|
-
height: "1.25rem",
|
|
397
|
-
color: "text-2",
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
icon: {
|
|
402
|
-
width: "1.25rem",
|
|
403
|
-
height: "1.25rem",
|
|
404
|
-
color: "text-2",
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
icon: {
|
|
409
|
-
width: "1.25rem",
|
|
410
|
-
height: "1.25rem",
|
|
411
|
-
color: "text-2",
|
|
412
|
-
},
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
icon: {
|
|
416
|
-
width: "1.25rem",
|
|
417
|
-
height: "1.25rem",
|
|
418
|
-
color: "text-2",
|
|
419
|
-
},
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
wrapper: {
|
|
425
|
-
display: "flex",
|
|
426
|
-
"align-items": "start",
|
|
427
|
-
"column-gap": "base",
|
|
428
|
-
},
|
|
429
|
-
icon: {
|
|
430
|
-
"margin-top": "6xs",
|
|
431
|
-
width: "22px",
|
|
432
|
-
height: "22px",
|
|
433
|
-
color: "text-1",
|
|
434
|
-
"font-size": "22px",
|
|
435
|
-
"flex-shrink": "0",
|
|
436
|
-
},
|
|
437
|
-
text_box: {
|
|
438
|
-
display: "flex",
|
|
439
|
-
"flex-direction": "column",
|
|
440
|
-
"row-gap": "3xs",
|
|
441
|
-
},
|
|
442
|
-
label: {
|
|
443
|
-
"font-weight": 600,
|
|
444
|
-
},
|
|
445
|
-
value: {
|
|
446
|
-
color: "text-3",
|
|
447
|
-
},
|
|
448
|
-
icon_links_levoGroup: {
|
|
449
|
-
display: "flex",
|
|
450
|
-
gap: "2xs",
|
|
451
|
-
"align-items": "center",
|
|
452
|
-
"column-gap": "3xs",
|
|
453
|
-
"justify-content": "start",
|
|
454
|
-
},
|
|
455
|
-
icon_links: [
|
|
456
|
-
{
|
|
457
|
-
icon: {
|
|
458
|
-
width: "1.25rem",
|
|
459
|
-
height: "1.25rem",
|
|
460
|
-
color: "text-2",
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
icon: {
|
|
465
|
-
width: "1.25rem",
|
|
466
|
-
height: "1.25rem",
|
|
467
|
-
color: "text-2",
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
icon: {
|
|
472
|
-
width: "1.25rem",
|
|
473
|
-
height: "1.25rem",
|
|
474
|
-
color: "text-2",
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
icon: {
|
|
479
|
-
width: "1.25rem",
|
|
480
|
-
height: "1.25rem",
|
|
481
|
-
color: "text-2",
|
|
482
|
-
},
|
|
483
|
-
},
|
|
484
|
-
],
|
|
485
|
-
},
|
|
486
|
-
],
|
|
380
|
+
contact_options: buildOptionStyles(),
|
|
487
381
|
contentContainer: {
|
|
488
382
|
flex: "1",
|
|
489
383
|
tablet: {
|
|
@@ -498,49 +392,271 @@ export const ContactUs2: IBlock = {
|
|
|
498
392
|
},
|
|
499
393
|
},
|
|
500
394
|
content: DEFAULT_CONTENT,
|
|
501
|
-
config:
|
|
395
|
+
config: DEFAULT_CONFIG,
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
key: "reversed",
|
|
399
|
+
title: "Form Left",
|
|
400
|
+
styles: {
|
|
401
|
+
container: {},
|
|
402
|
+
contactContainer: {
|
|
403
|
+
display: "flex",
|
|
404
|
+
"flex-direction": "row-reverse",
|
|
405
|
+
width: "100%",
|
|
406
|
+
"justify-content": "space-between",
|
|
407
|
+
"column-gap": "4xl",
|
|
408
|
+
tablet: {
|
|
409
|
+
"flex-direction": "column",
|
|
410
|
+
"row-gap": "3xl",
|
|
411
|
+
},
|
|
412
|
+
},
|
|
502
413
|
title: {
|
|
503
|
-
|
|
504
|
-
|
|
414
|
+
"font-weight": 700,
|
|
415
|
+
},
|
|
416
|
+
layoutTitle: { display: "none" },
|
|
417
|
+
layoutSubtitle: { display: "none" },
|
|
418
|
+
subtitle: {
|
|
419
|
+
"margin-bottom": "2xl",
|
|
420
|
+
"margin-top": "sm",
|
|
421
|
+
color: "text-3",
|
|
422
|
+
},
|
|
423
|
+
contact_options_levoGroup: {
|
|
424
|
+
display: "flex",
|
|
425
|
+
"flex-direction": "column",
|
|
426
|
+
"row-gap": "xl",
|
|
427
|
+
},
|
|
428
|
+
contact_options: buildOptionStyles(),
|
|
429
|
+
contentContainer: {
|
|
430
|
+
flex: "1",
|
|
431
|
+
tablet: { width: "100%" },
|
|
432
|
+
},
|
|
433
|
+
contact_form: {
|
|
434
|
+
flex: "1",
|
|
435
|
+
tablet: { width: "100%" },
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
content: DEFAULT_CONTENT,
|
|
439
|
+
config: DEFAULT_CONFIG,
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
key: "stacked",
|
|
443
|
+
title: "Stacked",
|
|
444
|
+
styles: {
|
|
445
|
+
container: {
|
|
446
|
+
display: "flex",
|
|
447
|
+
"flex-direction": "column",
|
|
448
|
+
"row-gap": "3xl",
|
|
449
|
+
},
|
|
450
|
+
contactContainer: {
|
|
451
|
+
display: "flex",
|
|
452
|
+
"flex-direction": "column",
|
|
453
|
+
width: "100%",
|
|
454
|
+
"row-gap": "3xl",
|
|
455
|
+
},
|
|
456
|
+
title: {
|
|
457
|
+
"text-align": "center",
|
|
458
|
+
"font-weight": 700,
|
|
459
|
+
},
|
|
460
|
+
layoutTitle: { display: "none" },
|
|
461
|
+
layoutSubtitle: { display: "none" },
|
|
462
|
+
subtitle: {
|
|
463
|
+
"text-align": "center",
|
|
464
|
+
"margin-bottom": "xl",
|
|
465
|
+
"margin-top": "sm",
|
|
466
|
+
color: "text-3",
|
|
467
|
+
},
|
|
468
|
+
contact_options_levoGroup: {
|
|
469
|
+
display: "grid",
|
|
470
|
+
"grid-template-columns": "repeat(4, minmax(0, 1fr))",
|
|
471
|
+
gap: "xl",
|
|
472
|
+
tablet: {
|
|
473
|
+
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
505
474
|
},
|
|
506
|
-
|
|
507
|
-
|
|
475
|
+
mobile: {
|
|
476
|
+
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
508
477
|
},
|
|
509
478
|
},
|
|
510
|
-
contact_options:
|
|
511
|
-
{
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
479
|
+
contact_options: buildOptionStyles({
|
|
480
|
+
wrapper: {
|
|
481
|
+
display: "flex",
|
|
482
|
+
"flex-direction": "column",
|
|
483
|
+
"align-items": "center",
|
|
484
|
+
"text-align": "center",
|
|
485
|
+
"row-gap": "xs",
|
|
486
|
+
"padding-top": "lg",
|
|
487
|
+
"padding-bottom": "lg",
|
|
488
|
+
"padding-left": "base",
|
|
489
|
+
"padding-right": "base",
|
|
490
|
+
"border-radius": "base",
|
|
491
|
+
"background-color": "background-2",
|
|
520
492
|
},
|
|
521
|
-
{
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
493
|
+
icon_links_levoGroup: {
|
|
494
|
+
display: "flex",
|
|
495
|
+
gap: "2xs",
|
|
496
|
+
"align-items": "center",
|
|
497
|
+
"column-gap": "2xs",
|
|
498
|
+
"justify-content": "center",
|
|
499
|
+
"margin-top": "3xs",
|
|
527
500
|
},
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
501
|
+
}),
|
|
502
|
+
contentContainer: {
|
|
503
|
+
width: "100%",
|
|
504
|
+
},
|
|
505
|
+
contact_form: {
|
|
506
|
+
width: "100%",
|
|
507
|
+
"max-width": "720px",
|
|
508
|
+
"margin-left": "auto",
|
|
509
|
+
"margin-right": "auto",
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
content: DEFAULT_CONTENT,
|
|
513
|
+
config: DEFAULT_CONFIG,
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
key: "card",
|
|
517
|
+
title: "Elevated Card",
|
|
518
|
+
styles: {
|
|
519
|
+
container: {
|
|
520
|
+
"background-color": "background-2",
|
|
521
|
+
"padding-top": "4xl",
|
|
522
|
+
"padding-bottom": "4xl",
|
|
523
|
+
"padding-left": "4xl",
|
|
524
|
+
"padding-right": "4xl",
|
|
525
|
+
"border-radius": "xl",
|
|
526
|
+
"box-shadow": "default",
|
|
527
|
+
tablet: {
|
|
528
|
+
"padding-top": "2xl",
|
|
529
|
+
"padding-bottom": "2xl",
|
|
530
|
+
"padding-left": "xl",
|
|
531
|
+
"padding-right": "xl",
|
|
534
532
|
},
|
|
535
|
-
{
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
533
|
+
mobile: {
|
|
534
|
+
"padding-top": "xl",
|
|
535
|
+
"padding-bottom": "xl",
|
|
536
|
+
"padding-left": "base",
|
|
537
|
+
"padding-right": "base",
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
contactContainer: {
|
|
541
|
+
display: "flex",
|
|
542
|
+
width: "100%",
|
|
543
|
+
"justify-content": "space-between",
|
|
544
|
+
"column-gap": "3xl",
|
|
545
|
+
tablet: {
|
|
546
|
+
"flex-direction": "column",
|
|
547
|
+
"row-gap": "3xl",
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
title: {
|
|
551
|
+
"font-weight": 700,
|
|
552
|
+
},
|
|
553
|
+
layoutTitle: { display: "none" },
|
|
554
|
+
layoutSubtitle: { display: "none" },
|
|
555
|
+
subtitle: {
|
|
556
|
+
"margin-bottom": "2xl",
|
|
557
|
+
"margin-top": "sm",
|
|
558
|
+
color: "text-3",
|
|
559
|
+
},
|
|
560
|
+
contact_options_levoGroup: {
|
|
561
|
+
display: "flex",
|
|
562
|
+
"flex-direction": "column",
|
|
563
|
+
"row-gap": "base",
|
|
564
|
+
},
|
|
565
|
+
contact_options: buildOptionStyles({
|
|
566
|
+
wrapper: {
|
|
567
|
+
display: "flex",
|
|
568
|
+
"align-items": "start",
|
|
569
|
+
"column-gap": "base",
|
|
570
|
+
"padding-top": "base",
|
|
571
|
+
"padding-bottom": "base",
|
|
572
|
+
"padding-left": "base",
|
|
573
|
+
"padding-right": "base",
|
|
574
|
+
"border-radius": "base",
|
|
575
|
+
"background-color": "background-1",
|
|
541
576
|
},
|
|
542
|
-
|
|
577
|
+
}),
|
|
578
|
+
contentContainer: {
|
|
579
|
+
flex: "1",
|
|
580
|
+
tablet: { width: "100%" },
|
|
581
|
+
},
|
|
582
|
+
contact_form: {
|
|
583
|
+
flex: "1",
|
|
584
|
+
"background-color": "background-1",
|
|
585
|
+
"padding-top": "xl",
|
|
586
|
+
"padding-bottom": "xl",
|
|
587
|
+
"padding-left": "xl",
|
|
588
|
+
"padding-right": "xl",
|
|
589
|
+
"border-radius": "base",
|
|
590
|
+
tablet: { width: "100%" },
|
|
591
|
+
},
|
|
543
592
|
},
|
|
593
|
+
content: DEFAULT_CONTENT,
|
|
594
|
+
config: DEFAULT_CONFIG,
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
key: "compact",
|
|
598
|
+
title: "Compact",
|
|
599
|
+
styles: {
|
|
600
|
+
container: {},
|
|
601
|
+
contactContainer: {
|
|
602
|
+
display: "flex",
|
|
603
|
+
width: "100%",
|
|
604
|
+
"justify-content": "space-between",
|
|
605
|
+
"column-gap": "4xl",
|
|
606
|
+
"align-items": "flex-start",
|
|
607
|
+
tablet: {
|
|
608
|
+
"flex-direction": "column",
|
|
609
|
+
"row-gap": "3xl",
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
title: {
|
|
613
|
+
"font-weight": 700,
|
|
614
|
+
},
|
|
615
|
+
layoutTitle: { display: "none" },
|
|
616
|
+
layoutSubtitle: { display: "none" },
|
|
617
|
+
subtitle: {
|
|
618
|
+
"margin-bottom": "2xl",
|
|
619
|
+
"margin-top": "2xs",
|
|
620
|
+
color: "text-3",
|
|
621
|
+
},
|
|
622
|
+
contact_options_levoGroup: {
|
|
623
|
+
display: "flex",
|
|
624
|
+
"flex-direction": "column",
|
|
625
|
+
"row-gap": "base",
|
|
626
|
+
"padding-top": "base",
|
|
627
|
+
"border-top-width": "1px",
|
|
628
|
+
"border-top-style": "solid",
|
|
629
|
+
"border-color": "var(--color-border)",
|
|
630
|
+
},
|
|
631
|
+
contact_options: buildOptionStyles({
|
|
632
|
+
icon: {
|
|
633
|
+
"margin-top": "6xs",
|
|
634
|
+
width: "18px",
|
|
635
|
+
height: "18px",
|
|
636
|
+
color: "brand",
|
|
637
|
+
"font-size": "18px",
|
|
638
|
+
"flex-shrink": "0",
|
|
639
|
+
},
|
|
640
|
+
label: {
|
|
641
|
+
"font-weight": 500,
|
|
642
|
+
"font-size": "0.875rem",
|
|
643
|
+
},
|
|
644
|
+
value: {
|
|
645
|
+
color: "text-3",
|
|
646
|
+
"font-size": "0.875rem",
|
|
647
|
+
},
|
|
648
|
+
}),
|
|
649
|
+
contentContainer: {
|
|
650
|
+
flex: "0 0 40%",
|
|
651
|
+
tablet: { width: "100%" },
|
|
652
|
+
},
|
|
653
|
+
contact_form: {
|
|
654
|
+
flex: "1",
|
|
655
|
+
tablet: { width: "100%" },
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
content: DEFAULT_CONTENT,
|
|
659
|
+
config: DEFAULT_CONFIG,
|
|
544
660
|
},
|
|
545
661
|
],
|
|
546
662
|
};
|