@levo-so/blocks 0.1.2 → 0.1.52
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 +2 -2
- package/src/blocks/about-us/about-us-1.schema.ts +26 -12
- package/src/blocks/about-us/about-us-2.schema.ts +269 -0
- package/src/blocks/about-us/about-us-2.tsx +47 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
- package/src/blocks/blogs/blog-listing-1.tsx +79 -56
- package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
- package/src/blocks/blogs/blog-listing-2.tsx +16 -11
- package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
- package/src/blocks/blogs/blog-listing-3.tsx +84 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
- package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
- package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
- package/src/blocks/blogs/blog-post-3.tsx +58 -0
- package/src/blocks/cards/cards-10.schema.ts +579 -0
- package/src/blocks/cards/cards-10.tsx +2 -0
- package/src/blocks/cards/cards-11.schema.ts +514 -36
- package/src/blocks/cards/cards-13.schema.ts +615 -0
- package/src/blocks/cards/cards-13.tsx +67 -0
- package/src/blocks/cards/cards-2.schema.ts +14 -17
- package/src/blocks/cards/cards-3.schema.ts +15 -25
- package/src/blocks/cards/cards-4.schema.ts +22 -44
- package/src/blocks/cards/cards-4.tsx +39 -39
- package/src/blocks/cards/cards-5.schema.ts +15 -34
- package/src/blocks/cards/cards-6.schema.ts +1500 -0
- package/src/blocks/cards/cards-6.tsx +11 -7
- package/src/blocks/cards/cards-7.schema.ts +1772 -27
- package/src/blocks/cards/cards-7.tsx +32 -0
- package/src/blocks/cards/cards-8.schema.ts +9 -9
- package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
- package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
- package/src/blocks/content/content-1.schema.ts +45 -67
- package/src/blocks/content/content-2.schema.ts +14 -11
- package/src/blocks/content/content-3.schema.ts +17 -115
- package/src/blocks/content/content-3.tsx +1 -0
- package/src/blocks/content/content-5.tsx +1 -0
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-7.schema.ts +723 -0
- package/src/blocks/content/content-7.tsx +53 -0
- package/src/blocks/cta/cta-1.schema.ts +18 -26
- package/src/blocks/cta/cta-3.schema.ts +60 -0
- package/src/blocks/event/event-details.schema.ts +30 -35
- package/src/blocks/event/event-details.tsx +74 -79
- package/src/blocks/event/event-listing-2.schema.ts +85 -26
- package/src/blocks/event/event-listing-2.tsx +76 -52
- package/src/blocks/event/event-listing-3.schema.ts +58 -42
- package/src/blocks/event/event-listing-3.tsx +4 -9
- package/src/blocks/event/event-listing-4.schema.ts +3528 -0
- package/src/blocks/event/event-listing-4.tsx +97 -0
- package/src/blocks/event/event-listing.schema.ts +81 -86
- package/src/blocks/event/event-listing.tsx +1 -3
- package/src/blocks/faq/faq-1.schema.ts +13 -10
- package/src/blocks/faq/faq-2.schema.ts +12 -10
- package/src/blocks/features/features-1/variants/default.ts +12 -3
- package/src/blocks/features/features-2.schema.ts +192 -59
- package/src/blocks/features/features-3.schema.ts +11 -25
- package/src/blocks/features/features-4.schema.ts +20 -35
- package/src/blocks/features/features-5.schema.ts +18 -37
- package/src/blocks/footer/footer-1.schema.ts +28 -5
- package/src/blocks/footer/footer-2.schema.ts +18 -3
- package/src/blocks/footer/footer-3.schema.ts +85 -160
- package/src/blocks/footer/footer-3.tsx +1 -2
- package/src/blocks/footer/footer-4.schema.ts +10 -5
- package/src/blocks/footer/footer-4.tsx +1 -1
- package/src/blocks/footer/footer-5.schema.ts +10 -0
- package/src/blocks/footer/footer-5.tsx +11 -3
- package/src/blocks/footer/footer-6.schema.ts +730 -0
- package/src/blocks/footer/footer-6.tsx +100 -0
- package/src/blocks/hero/hero-1.schema.ts +165 -185
- package/src/blocks/hero/hero-10.schema.ts +175 -0
- package/src/blocks/hero/hero-10.tsx +35 -0
- package/src/blocks/hero/hero-2.schema.ts +60 -104
- package/src/blocks/hero/hero-2.tsx +11 -3
- package/src/blocks/hero/hero-3.schema.ts +68 -64
- package/src/blocks/hero/hero-4.schema.ts +148 -48
- package/src/blocks/hero/hero-5.schema.ts +29 -23
- package/src/blocks/hero/hero-6.schema.ts +28 -66
- package/src/blocks/hero/hero-7.schema.ts +34 -37
- package/src/blocks/hero/hero-8.schema.ts +5 -1
- package/src/blocks/index.ts +11 -0
- package/src/blocks/logos/logos-1.schema.ts +10 -4
- package/src/blocks/navbar/navbar-1.schema.ts +3 -5
- package/src/blocks/navbar/navbar-1.tsx +5 -19
- package/src/blocks/navbar/navbar-2.schema.ts +2 -4
- package/src/blocks/navbar/navbar-2.tsx +4 -18
- package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
- package/src/blocks/navbar/navbar-3.tsx +551 -0
- package/src/blocks/pricing/pricing-1.schema.ts +23 -37
- package/src/blocks/products/products-listing-1.schema.ts +73 -76
- package/src/blocks/profile/profile-1.schema.ts +399 -0
- package/src/blocks/profile/profile-1.tsx +64 -0
- package/src/blocks/stats/stats-1.schema.ts +34 -3
- package/src/blocks/stats/variants/default.ts +0 -1
- package/src/blocks/stats/variants/hero.ts +2 -13
- package/src/blocks/team/team-1.schema.ts +50 -22
- package/src/blocks/team/team-1.tsx +9 -3
- package/src/blocks/team/team-2.schema.ts +96 -167
- package/src/blocks/team/team-3.schema.ts +32 -49
- package/src/blocks/team/team-4.schema.ts +551 -0
- package/src/blocks/team/team-4.tsx +59 -0
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
- package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
- package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
- package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
- package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
- package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
- package/src/blocks/testimonial/testimonial-5.tsx +32 -8
- package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
- package/src/blocks/testimonial/testimonial-6.tsx +107 -57
- package/src/schemas/blocks.ts +22 -0
- package/src/schemas/categories.ts +6 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DEFAULT_CONTENT = {
|
|
4
|
+
layout: null,
|
|
5
|
+
container: null,
|
|
6
|
+
main_container: null,
|
|
7
|
+
left_container: null,
|
|
8
|
+
image: {
|
|
9
|
+
id: "CISQRrr8Fa61r",
|
|
10
|
+
filename: "image.png",
|
|
11
|
+
kind: "image",
|
|
12
|
+
location: "https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV.png",
|
|
13
|
+
srcset: {
|
|
14
|
+
"1080w":
|
|
15
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1080w.webp",
|
|
16
|
+
"1200w":
|
|
17
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1200w.webp",
|
|
18
|
+
"1920w":
|
|
19
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1920w.webp",
|
|
20
|
+
"320w":
|
|
21
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-320w.webp",
|
|
22
|
+
"640w":
|
|
23
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-640w.webp",
|
|
24
|
+
"750w":
|
|
25
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-750w.webp",
|
|
26
|
+
"828w":
|
|
27
|
+
"https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-828w.webp",
|
|
28
|
+
path: "https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-640w.webp 640w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-320w.webp 320w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-828w.webp 828w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-750w.webp 750w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1080w.webp 1080w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1200w.webp 1200w, https://static.levostg.online/W6OEVMW8/image-gVHXsJu0gnbHV-1920w.webp 1920w",
|
|
29
|
+
},
|
|
30
|
+
mimetype: "image/png",
|
|
31
|
+
},
|
|
32
|
+
ctas: [],
|
|
33
|
+
right_container: null,
|
|
34
|
+
content_container: null,
|
|
35
|
+
content_description:
|
|
36
|
+
"Our team of expert developers and designers work collaboratively to deliver innovative solutions that drive business growth. We combine cutting-edge technology with industry best practices to create digital experiences that engage and inspire users.",
|
|
37
|
+
groups: [
|
|
38
|
+
{
|
|
39
|
+
title: "<p>Experience</p>",
|
|
40
|
+
description: "<p>4-5 + </p>",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
title: "<p>Technical Expertise</p>",
|
|
44
|
+
description: "<p>Scaling , HR , Operations</p>",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
social_icons: [
|
|
48
|
+
{
|
|
49
|
+
icon: {
|
|
50
|
+
kind: "icon",
|
|
51
|
+
data: {
|
|
52
|
+
id: "facebook",
|
|
53
|
+
label: "Facebook",
|
|
54
|
+
tags: ["crypto", "custom", "directional", "facebook"],
|
|
55
|
+
svgCode:
|
|
56
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.75 22.75H10.25V15.5H9.29999C8.71999 15.5 8.25 15.03 8.25 14.45V12.55C8.25 11.97 8.71999 11.5 9.29999 11.5H10.25V9C10.25 6.93 11.93 5.25 14 5.25H16.7C17.28 5.25 17.75 5.71999 17.75 6.29999V8.70001C17.75 9.28001 17.28 9.75 16.7 9.75H14.75V11.5H16.63C16.95 11.5 17.24 11.64 17.44 11.88C17.64 12.12 17.72 12.44 17.66 12.75L17.28 14.65C17.18 15.14 16.75 15.49 16.25 15.49H14.75V22.75ZM11.75 21.25H13.25V14H15.89L16.09 13H13.26V9.29999C13.26 8.71999 13.73 8.25 14.31 8.25H16.26V6.75H14C12.76 6.75 11.75 7.76 11.75 9V13H9.75V14H11.75V21.25Z" fill="var(--color-icon-primary)"/>\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</svg>',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
icon: {
|
|
62
|
+
kind: "icon",
|
|
63
|
+
data: {
|
|
64
|
+
id: "facebook",
|
|
65
|
+
label: "Facebook",
|
|
66
|
+
tags: ["crypto", "custom", "directional", "facebook"],
|
|
67
|
+
svgCode:
|
|
68
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.75 22.75H10.25V15.5H9.29999C8.71999 15.5 8.25 15.03 8.25 14.45V12.55C8.25 11.97 8.71999 11.5 9.29999 11.5H10.25V9C10.25 6.93 11.93 5.25 14 5.25H16.7C17.28 5.25 17.75 5.71999 17.75 6.29999V8.70001C17.75 9.28001 17.28 9.75 16.7 9.75H14.75V11.5H16.63C16.95 11.5 17.24 11.64 17.44 11.88C17.64 12.12 17.72 12.44 17.66 12.75L17.28 14.65C17.18 15.14 16.75 15.49 16.25 15.49H14.75V22.75ZM11.75 21.25H13.25V14H15.89L16.09 13H13.26V9.29999C13.26 8.71999 13.73 8.25 14.31 8.25H16.26V6.75H14C12.76 6.75 11.75 7.76 11.75 9V13H9.75V14H11.75V21.25Z" fill="var(--color-icon-primary)"/>\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</svg>',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "<p>Spohia Reed</p>",
|
|
74
|
+
social_icon: [
|
|
75
|
+
{
|
|
76
|
+
icon: {
|
|
77
|
+
kind: "icon",
|
|
78
|
+
data: {
|
|
79
|
+
id: "facebook",
|
|
80
|
+
label: "Facebook",
|
|
81
|
+
tags: ["crypto", "custom", "directional", "facebook"],
|
|
82
|
+
svgCode:
|
|
83
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.75 22.75H10.25V15.5H9.29999C8.71999 15.5 8.25 15.03 8.25 14.45V12.55C8.25 11.97 8.71999 11.5 9.29999 11.5H10.25V9C10.25 6.93 11.93 5.25 14 5.25H16.7C17.28 5.25 17.75 5.71999 17.75 6.29999V8.70001C17.75 9.28001 17.28 9.75 16.7 9.75H14.75V11.5H16.63C16.95 11.5 17.24 11.64 17.44 11.88C17.64 12.12 17.72 12.44 17.66 12.75L17.28 14.65C17.18 15.14 16.75 15.49 16.25 15.49H14.75V22.75ZM11.75 21.25H13.25V14H15.89L16.09 13H13.26V9.29999C13.26 8.71999 13.73 8.25 14.31 8.25H16.26V6.75H14C12.76 6.75 11.75 7.76 11.75 9V13H9.75V14H11.75V21.25Z" fill="var(--color-icon-primary)"/>\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</svg>',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
icon: {
|
|
89
|
+
kind: "icon",
|
|
90
|
+
data: {
|
|
91
|
+
id: "youtube",
|
|
92
|
+
label: "Youtube",
|
|
93
|
+
tags: ["crypto", "custom", "directional", "youtube"],
|
|
94
|
+
svgCode:
|
|
95
|
+
'<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>',
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export type IProfile1Content = typeof DEFAULT_CONTENT;
|
|
103
|
+
|
|
104
|
+
export const Profile1: IBlock = {
|
|
105
|
+
category_id: "profile",
|
|
106
|
+
title: "Profile 1",
|
|
107
|
+
key: "profile-1",
|
|
108
|
+
version: "v1",
|
|
109
|
+
prompt_description:
|
|
110
|
+
"A profile layout with left-right container featuring image, social icons, and grouped content sections",
|
|
111
|
+
content_schema: [
|
|
112
|
+
{
|
|
113
|
+
key: "layout",
|
|
114
|
+
label: "Layout",
|
|
115
|
+
field_interface: "LayoutWidget",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
key: "container",
|
|
119
|
+
label: "Container",
|
|
120
|
+
field_interface: "ContainerWidget",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "main_container",
|
|
124
|
+
label: "Main Container",
|
|
125
|
+
field_interface: "BoxWidget",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
key: "left_container",
|
|
129
|
+
label: "Left Container",
|
|
130
|
+
field_interface: "BoxWidget",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: "image",
|
|
134
|
+
label: "Image",
|
|
135
|
+
field_interface: "ImageWidget",
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
{
|
|
139
|
+
key: "social_icon",
|
|
140
|
+
label: "Social Icon",
|
|
141
|
+
kind: "group",
|
|
142
|
+
field_interface: "BoxWidget",
|
|
143
|
+
fields: [
|
|
144
|
+
{
|
|
145
|
+
key: "icon",
|
|
146
|
+
label: "Icon",
|
|
147
|
+
field_interface: "IconWidget",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
key: "ctas",
|
|
153
|
+
label: "Call to Action",
|
|
154
|
+
kind: "group",
|
|
155
|
+
field_interface: "BoxWidget",
|
|
156
|
+
fields: [
|
|
157
|
+
{
|
|
158
|
+
key: "button",
|
|
159
|
+
label: "Button",
|
|
160
|
+
field_interface: "ButtonWidget",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: "right_container",
|
|
166
|
+
label: "Right Container",
|
|
167
|
+
field_interface: "BoxWidget",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: "name",
|
|
171
|
+
label: "Name",
|
|
172
|
+
field_interface: "TypographyWidget",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
key: "groups",
|
|
176
|
+
label: "Groups",
|
|
177
|
+
kind: "group",
|
|
178
|
+
field_interface: "BoxWidget",
|
|
179
|
+
fields: [
|
|
180
|
+
{
|
|
181
|
+
key: "wrapper",
|
|
182
|
+
label: "Wrapper",
|
|
183
|
+
field_interface: "BoxWidget",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
key: "title",
|
|
187
|
+
label: "Label Title",
|
|
188
|
+
field_interface: "TypographyWidget",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
key: "description",
|
|
192
|
+
label: "Label Value",
|
|
193
|
+
field_interface: "TypographyWidget",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
key: "content_container",
|
|
199
|
+
label: "Content Container",
|
|
200
|
+
field_interface: "BoxWidget",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
key: "content_description",
|
|
204
|
+
label: "Content Description",
|
|
205
|
+
field_interface: "TypographyWidget",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
layouts: [
|
|
209
|
+
{
|
|
210
|
+
key: "default",
|
|
211
|
+
title: "Default",
|
|
212
|
+
styles: {
|
|
213
|
+
layout: {
|
|
214
|
+
"padding-top": "48px",
|
|
215
|
+
"padding-bottom": "48px",
|
|
216
|
+
"padding-left": "48px",
|
|
217
|
+
"padding-right": "48px",
|
|
218
|
+
},
|
|
219
|
+
container: {
|
|
220
|
+
"max-width": "1280px",
|
|
221
|
+
"margin-left": "auto",
|
|
222
|
+
"margin-right": "auto",
|
|
223
|
+
},
|
|
224
|
+
main_container: {
|
|
225
|
+
display: "flex",
|
|
226
|
+
"flex-direction": "row",
|
|
227
|
+
"align-items": "flex-start",
|
|
228
|
+
"column-gap": "48px",
|
|
229
|
+
tablet: {
|
|
230
|
+
"flex-direction": "column",
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
left_container: {
|
|
234
|
+
display: "flex",
|
|
235
|
+
"flex-direction": "column",
|
|
236
|
+
"align-items": "center",
|
|
237
|
+
flex: "1",
|
|
238
|
+
"max-width": "400px",
|
|
239
|
+
tablet: {
|
|
240
|
+
"max-width": "100%",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
image: {
|
|
244
|
+
"border-radius": "12px",
|
|
245
|
+
"margin-bottom": "24px",
|
|
246
|
+
width: "100%",
|
|
247
|
+
height: "300px",
|
|
248
|
+
"object-fit": "cover",
|
|
249
|
+
},
|
|
250
|
+
social_icons: {
|
|
251
|
+
"0": {
|
|
252
|
+
icon: {
|
|
253
|
+
width: "1px",
|
|
254
|
+
height: "1px",
|
|
255
|
+
"font-size": "1px",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
display: "flex",
|
|
259
|
+
"flex-direction": "row",
|
|
260
|
+
"column-gap": "16px",
|
|
261
|
+
"align-items": "center",
|
|
262
|
+
"justify-content": "center",
|
|
263
|
+
},
|
|
264
|
+
social_icon_1: {
|
|
265
|
+
"background-color": "background-1",
|
|
266
|
+
color: "text-1",
|
|
267
|
+
"padding-top": "12px",
|
|
268
|
+
"padding-bottom": "12px",
|
|
269
|
+
"padding-left": "12px",
|
|
270
|
+
"padding-right": "12px",
|
|
271
|
+
"border-radius": "50%",
|
|
272
|
+
"border-color": "border",
|
|
273
|
+
"border-width": "2px",
|
|
274
|
+
},
|
|
275
|
+
social_icon_2: {
|
|
276
|
+
"background-color": "background-1",
|
|
277
|
+
color: "text-1",
|
|
278
|
+
"padding-top": "12px",
|
|
279
|
+
"padding-bottom": "12px",
|
|
280
|
+
"padding-left": "12px",
|
|
281
|
+
"padding-right": "12px",
|
|
282
|
+
"border-radius": "50%",
|
|
283
|
+
"border-color": "border",
|
|
284
|
+
"border-width": "2px",
|
|
285
|
+
},
|
|
286
|
+
social_icon_3: {
|
|
287
|
+
"background-color": "background-1",
|
|
288
|
+
color: "text-1",
|
|
289
|
+
"padding-top": "12px",
|
|
290
|
+
"padding-bottom": "12px",
|
|
291
|
+
"padding-left": "12px",
|
|
292
|
+
"padding-right": "12px",
|
|
293
|
+
"border-radius": "50%",
|
|
294
|
+
"border-color": "border",
|
|
295
|
+
"border-width": "2px",
|
|
296
|
+
},
|
|
297
|
+
right_container: {
|
|
298
|
+
display: "flex",
|
|
299
|
+
"flex-direction": "column",
|
|
300
|
+
"align-items": "flex-start",
|
|
301
|
+
flex: "2",
|
|
302
|
+
"row-gap": "32px",
|
|
303
|
+
},
|
|
304
|
+
"groups.0.title": {
|
|
305
|
+
"font-size": "24px",
|
|
306
|
+
"font-weight": "700",
|
|
307
|
+
color: "text-1",
|
|
308
|
+
"margin-bottom": "8px",
|
|
309
|
+
},
|
|
310
|
+
"groups.0.description": {
|
|
311
|
+
"font-size": "16px",
|
|
312
|
+
color: "text-2",
|
|
313
|
+
"line-height": "1.6",
|
|
314
|
+
"margin-bottom": "16px",
|
|
315
|
+
},
|
|
316
|
+
"groups.1.title": {
|
|
317
|
+
"font-size": "20px",
|
|
318
|
+
"font-weight": "600",
|
|
319
|
+
color: "text-1",
|
|
320
|
+
"margin-bottom": "8px",
|
|
321
|
+
},
|
|
322
|
+
"groups.1.description": {
|
|
323
|
+
"font-size": "16px",
|
|
324
|
+
color: "text-2",
|
|
325
|
+
"line-height": "1.6",
|
|
326
|
+
},
|
|
327
|
+
content_container: {
|
|
328
|
+
display: "flex",
|
|
329
|
+
"flex-direction": "column",
|
|
330
|
+
"align-items": "flex-start",
|
|
331
|
+
},
|
|
332
|
+
content_description: {
|
|
333
|
+
"font-size": "16px",
|
|
334
|
+
color: "text-2",
|
|
335
|
+
"line-height": "1.6",
|
|
336
|
+
},
|
|
337
|
+
name: {
|
|
338
|
+
"font-size": "5xl",
|
|
339
|
+
"font-weight": 700,
|
|
340
|
+
},
|
|
341
|
+
groups: [
|
|
342
|
+
{
|
|
343
|
+
title: {
|
|
344
|
+
"font-size": "2xl",
|
|
345
|
+
"font-weight": 600,
|
|
346
|
+
},
|
|
347
|
+
wrapper: {
|
|
348
|
+
display: "flex",
|
|
349
|
+
"flex-direction": "column",
|
|
350
|
+
"row-gap": "base",
|
|
351
|
+
},
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
title: {
|
|
355
|
+
"font-size": "2xl",
|
|
356
|
+
"font-weight": 600,
|
|
357
|
+
},
|
|
358
|
+
wrapper: {
|
|
359
|
+
display: "flex",
|
|
360
|
+
"flex-direction": "column",
|
|
361
|
+
"row-gap": "base",
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
groups_levoGroup: {
|
|
366
|
+
display: "flex",
|
|
367
|
+
"column-gap": "base",
|
|
368
|
+
"flex-direction": "row",
|
|
369
|
+
},
|
|
370
|
+
social_icons_levoGroup: {
|
|
371
|
+
display: "flex",
|
|
372
|
+
"column-gap": "lg",
|
|
373
|
+
},
|
|
374
|
+
social_icon: [
|
|
375
|
+
{
|
|
376
|
+
icon: {
|
|
377
|
+
height: "40px",
|
|
378
|
+
width: "40px",
|
|
379
|
+
"font-size": "40px",
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
icon: {
|
|
384
|
+
height: "40px",
|
|
385
|
+
width: "40px",
|
|
386
|
+
"font-size": "40px",
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
social_icon_levoGroup: {
|
|
391
|
+
display: "flex",
|
|
392
|
+
"column-gap": "md",
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
content: DEFAULT_CONTENT,
|
|
396
|
+
config: {},
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Box,
|
|
3
|
+
Button,
|
|
4
|
+
Container,
|
|
5
|
+
Icon,
|
|
6
|
+
type ILevoBlockBaseProps,
|
|
7
|
+
Image,
|
|
8
|
+
Section,
|
|
9
|
+
Typography,
|
|
10
|
+
} from "@levo-so/studio";
|
|
11
|
+
|
|
12
|
+
import type { IProfile1Content } from "./profile-1.schema";
|
|
13
|
+
|
|
14
|
+
const Profile1: React.FC<ILevoBlockBaseProps<IProfile1Content>> = ({
|
|
15
|
+
content,
|
|
16
|
+
}) => (
|
|
17
|
+
<Section elementKey="layout">
|
|
18
|
+
<Container elementKey="container">
|
|
19
|
+
<Box elementKey="main_container">
|
|
20
|
+
<Box elementKey="left_container">
|
|
21
|
+
<Image elementKey="image" alt="Profile image" />
|
|
22
|
+
<Box elementKey="social_icon_levoGroup" data-levo_group>
|
|
23
|
+
{(content?.social_icon || [])?.map((_: any, index: any) => (
|
|
24
|
+
<Icon
|
|
25
|
+
elementKey={`social_icon.${index}.icon`}
|
|
26
|
+
key={`profile-1-cta-${index}`}
|
|
27
|
+
data-levo_group_item
|
|
28
|
+
/>
|
|
29
|
+
))}
|
|
30
|
+
</Box>
|
|
31
|
+
<Box elementKey="ctas_levoGroup" data-levo_group>
|
|
32
|
+
{(content?.ctas || [])?.map((_, index) => (
|
|
33
|
+
<Button
|
|
34
|
+
elementKey={`ctas.${index}.button`}
|
|
35
|
+
key={`profile-1-cta-${index}`}
|
|
36
|
+
data-levo_group_item
|
|
37
|
+
/>
|
|
38
|
+
))}
|
|
39
|
+
</Box>
|
|
40
|
+
</Box>
|
|
41
|
+
<Box elementKey="right_container">
|
|
42
|
+
<Typography elementKey="name" />
|
|
43
|
+
<Box elementKey="groups_levoGroup" data-levo_group>
|
|
44
|
+
{(content?.groups || [])?.map((_, index) => (
|
|
45
|
+
<Box
|
|
46
|
+
elementKey={`groups.${index}.wrapper`}
|
|
47
|
+
key={index}
|
|
48
|
+
data-levo_group_item
|
|
49
|
+
>
|
|
50
|
+
<Typography elementKey={`groups.${index}.title`} />
|
|
51
|
+
<Typography elementKey={`groups.${index}.description`} />
|
|
52
|
+
</Box>
|
|
53
|
+
))}
|
|
54
|
+
</Box>
|
|
55
|
+
<Box elementKey="content_container">
|
|
56
|
+
<Typography elementKey="content_description" />
|
|
57
|
+
</Box>
|
|
58
|
+
</Box>
|
|
59
|
+
</Box>
|
|
60
|
+
</Container>
|
|
61
|
+
</Section>
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
export default Profile1;
|
|
@@ -74,8 +74,6 @@ const STAT_STYLE = {
|
|
|
74
74
|
},
|
|
75
75
|
header: {
|
|
76
76
|
color: "var(--color-brand-foreground)",
|
|
77
|
-
"font-size": "4xl",
|
|
78
|
-
"font-weight": 700,
|
|
79
77
|
},
|
|
80
78
|
description: {
|
|
81
79
|
color: "var(--color-brand-foreground)",
|
|
@@ -225,7 +223,40 @@ export const Stats1: IBlock = {
|
|
|
225
223
|
stats: STATS_STYLES,
|
|
226
224
|
},
|
|
227
225
|
content: DEFAULT_CONTENT,
|
|
228
|
-
config: {
|
|
226
|
+
config: {
|
|
227
|
+
"stats.0.header": {
|
|
228
|
+
heading: {
|
|
229
|
+
level: 2,
|
|
230
|
+
},
|
|
231
|
+
selectedVariants: {
|
|
232
|
+
Heading_Level: "H2",
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
"stats.1.header": {
|
|
236
|
+
heading: {
|
|
237
|
+
level: 2,
|
|
238
|
+
},
|
|
239
|
+
selectedVariants: {
|
|
240
|
+
Heading_Level: "H2",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
"stats.2.header": {
|
|
244
|
+
heading: {
|
|
245
|
+
level: 2,
|
|
246
|
+
},
|
|
247
|
+
selectedVariants: {
|
|
248
|
+
Heading_Level: "H2",
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
"stats.3.header": {
|
|
252
|
+
heading: {
|
|
253
|
+
level: 2,
|
|
254
|
+
},
|
|
255
|
+
selectedVariants: {
|
|
256
|
+
Heading_Level: "H2",
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
229
260
|
},
|
|
230
261
|
],
|
|
231
262
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IBlockLayouts } from "@levo-so/studio";
|
|
2
|
+
|
|
2
3
|
import { DEFAULT_CONTENT } from "./default";
|
|
3
4
|
|
|
4
5
|
export const heroStats2Variant: IBlockLayouts = {
|
|
@@ -70,19 +71,7 @@ export const heroStats2Variant: IBlockLayouts = {
|
|
|
70
71
|
"font-size": "base",
|
|
71
72
|
},
|
|
72
73
|
},
|
|
73
|
-
|
|
74
|
-
"background-color": "text-1",
|
|
75
|
-
color: "background-1",
|
|
76
|
-
"padding-top": "base",
|
|
77
|
-
"padding-bottom": "base",
|
|
78
|
-
"padding-left": "xl",
|
|
79
|
-
"padding-right": "xl",
|
|
80
|
-
"border-radius": "6px",
|
|
81
|
-
"font-weight": "600",
|
|
82
|
-
"font-size": "base",
|
|
83
|
-
display: "inline-flex",
|
|
84
|
-
"align-items": "center",
|
|
85
|
-
},
|
|
74
|
+
|
|
86
75
|
stats_section: {
|
|
87
76
|
display: "block",
|
|
88
77
|
},
|