@levo-so/blocks 0.1.59 → 0.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/src/blocks/about-us/about-us-1.schema.ts +60 -58
- package/src/blocks/about-us/about-us-1.tsx +2 -4
- package/src/blocks/about-us/about-us-2.schema.ts +165 -42
- package/src/blocks/about-us/about-us-2.tsx +7 -13
- package/src/blocks/blogs/blog-listing-1.schema.ts +7 -14
- package/src/blocks/blogs/blog-listing-1.tsx +27 -36
- package/src/blocks/blogs/blog-listing-2.schema.ts +17 -34
- package/src/blocks/blogs/blog-listing-2.tsx +21 -27
- package/src/blocks/blogs/blog-listing-3.schema.ts +32 -64
- package/src/blocks/blogs/blog-listing-3.tsx +21 -27
- package/src/blocks/blogs/blog-post-1.schema.ts +9 -18
- package/src/blocks/blogs/blog-post-1.tsx +3 -14
- package/src/blocks/calendar/calendar-1.schema.ts +351 -180
- package/src/blocks/calendar/calendar-1.tsx +60 -25
- package/src/blocks/cards/cards-10.schema.ts +278 -331
- package/src/blocks/cards/cards-10.tsx +18 -15
- package/src/blocks/cards/cards-11.schema.ts +178 -356
- package/src/blocks/cards/cards-11.tsx +5 -11
- package/src/blocks/cards/cards-12.schema.ts +110 -196
- package/src/blocks/cards/cards-12.tsx +4 -10
- package/src/blocks/cards/cards-13.schema.ts +131 -120
- package/src/blocks/cards/cards-13.tsx +4 -6
- package/src/blocks/cards/cards-14.schema.ts +51 -154
- package/src/blocks/cards/cards-14.tsx +5 -11
- package/src/blocks/cards/cards-15.schema.ts +48 -32
- package/src/blocks/cards/cards-15.tsx +15 -6
- package/src/blocks/cards/cards-2.schema.ts +76 -88
- package/src/blocks/cards/cards-2.tsx +12 -17
- package/src/blocks/cards/cards-3.schema.ts +68 -70
- package/src/blocks/cards/cards-3.tsx +7 -13
- package/src/blocks/cards/cards-4.schema.ts +160 -115
- package/src/blocks/cards/cards-4.tsx +22 -17
- package/src/blocks/cards/cards-5.schema.ts +76 -70
- package/src/blocks/cards/cards-5.tsx +10 -10
- package/src/blocks/cards/cards-6.schema.ts +755 -985
- package/src/blocks/cards/cards-6.tsx +17 -9
- package/src/blocks/cards/cards-7.schema.ts +754 -2250
- package/src/blocks/cards/cards-7.tsx +18 -24
- package/src/blocks/cards/cards-8.schema.ts +171 -363
- package/src/blocks/cards/cards-8.tsx +15 -8
- package/src/blocks/cards/cards-9.schema.ts +283 -329
- package/src/blocks/cards/cards-9.tsx +28 -12
- package/src/blocks/carousel/carousel-1.schema.ts +418 -49
- package/src/blocks/carousel/carousel-1.tsx +8 -8
- package/src/blocks/carousel/carousel-2.schema.ts +153 -127
- package/src/blocks/carousel/carousel-2.tsx +16 -20
- package/src/blocks/community/community-1.schema.ts +612 -0
- package/src/blocks/community/community-1.tsx +557 -0
- package/src/blocks/community/community-post-1.schema.ts +408 -0
- package/src/blocks/community/community-post-1.tsx +405 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +25 -43
- package/src/blocks/contact-us/contact-us-1.tsx +2 -12
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +21 -32
- package/src/blocks/content/content-1.schema.ts +163 -234
- package/src/blocks/content/content-1.tsx +46 -43
- package/src/blocks/content/content-2.schema.ts +117 -35
- package/src/blocks/content/content-2.tsx +19 -7
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +14 -18
- package/src/blocks/content/content-4.schema.ts +105 -89
- package/src/blocks/content/content-4.tsx +10 -18
- package/src/blocks/content/content-5.schema.ts +301 -278
- package/src/blocks/content/content-5.tsx +23 -16
- package/src/blocks/content/content-6.schema.ts +432 -250
- package/src/blocks/content/content-6.tsx +24 -19
- package/src/blocks/content/content-7.schema.ts +200 -197
- package/src/blocks/content/content-7.tsx +29 -21
- package/src/blocks/content/content-8.schema.ts +28 -23
- package/src/blocks/content/content-8.tsx +3 -3
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +31 -43
- package/src/blocks/cta/cta-1.schema.ts +23 -128
- package/src/blocks/cta/cta-2.schema.ts +46 -69
- package/src/blocks/cta/cta-2.tsx +2 -6
- package/src/blocks/cta/cta-3.schema.ts +77 -72
- package/src/blocks/cta/cta-3.tsx +2 -6
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/embed/embed-1.tsx +1 -9
- package/src/blocks/event/ClientOnly.tsx +1 -4
- package/src/blocks/event/event-details.schema.ts +23 -32
- package/src/blocks/event/event-details.tsx +9 -23
- package/src/blocks/event/event-listing-2.schema.ts +19 -38
- package/src/blocks/event/event-listing-2.tsx +29 -38
- package/src/blocks/event/event-listing-3.schema.ts +10 -20
- package/src/blocks/event/event-listing-3.tsx +26 -30
- package/src/blocks/event/event-listing-4.schema.ts +40 -80
- package/src/blocks/event/event-listing-4.tsx +22 -28
- package/src/blocks/event/event-listing.schema.ts +12 -24
- package/src/blocks/event/event-listing.tsx +26 -30
- package/src/blocks/faq/faq-1.schema.ts +150 -112
- package/src/blocks/faq/faq-1.tsx +31 -33
- package/src/blocks/faq/faq-2.schema.ts +132 -77
- package/src/blocks/faq/faq-2.tsx +21 -11
- package/src/blocks/faq/faq-3.schema.ts +178 -107
- package/src/blocks/faq/faq-3.tsx +30 -22
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +12 -5
- package/src/blocks/features/features-1/variants/default.ts +176 -62
- package/src/blocks/features/features-1/variants/index.ts +1 -1
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +149 -48
- package/src/blocks/features/features-2.tsx +18 -12
- package/src/blocks/features/features-3.schema.ts +255 -68
- package/src/blocks/features/features-3.tsx +25 -15
- package/src/blocks/features/features-4.schema.ts +367 -188
- package/src/blocks/features/features-4.tsx +12 -8
- package/src/blocks/features/features-5.schema.ts +195 -200
- package/src/blocks/features/features-5.tsx +14 -14
- package/src/blocks/features/features-6.schema.ts +230 -215
- package/src/blocks/features/features-6.tsx +28 -34
- package/src/blocks/filter-listing/filter-listing-1.tsx +12 -36
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +100 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +14 -0
- package/src/blocks/footer/footer-1.schema.ts +110 -48
- package/src/blocks/footer/footer-1.tsx +17 -31
- package/src/blocks/footer/footer-2.schema.ts +230 -34
- package/src/blocks/footer/footer-2.tsx +19 -29
- package/src/blocks/footer/footer-3.schema.ts +335 -59
- package/src/blocks/footer/footer-3.tsx +11 -26
- package/src/blocks/footer/footer-4.schema.ts +139 -76
- package/src/blocks/footer/footer-4.tsx +37 -55
- package/src/blocks/footer/footer-5.schema.ts +138 -60
- package/src/blocks/footer/footer-5.tsx +16 -30
- package/src/blocks/footer/footer-6.schema.ts +62 -149
- package/src/blocks/footer/footer-6.tsx +30 -44
- package/src/blocks/form/form-1.schema.ts +144 -0
- package/src/blocks/form/form-1.tsx +33 -0
- package/src/blocks/hero/hero-1.schema.ts +153 -101
- package/src/blocks/hero/hero-1.tsx +4 -4
- package/src/blocks/hero/hero-10.schema.ts +9 -31
- package/src/blocks/hero/hero-10.tsx +4 -4
- package/src/blocks/hero/hero-11.schema.ts +196 -89
- package/src/blocks/hero/hero-11.tsx +5 -10
- package/src/blocks/hero/hero-12.schema.ts +111 -192
- package/src/blocks/hero/hero-12.tsx +4 -7
- package/src/blocks/hero/hero-13.schema.ts +36 -30
- package/src/blocks/hero/hero-13.tsx +1 -1
- package/src/blocks/hero/hero-2.schema.ts +30 -58
- package/src/blocks/hero/hero-2.tsx +3 -21
- package/src/blocks/hero/hero-3.schema.ts +70 -90
- package/src/blocks/hero/hero-3.tsx +6 -15
- package/src/blocks/hero/hero-4.schema.ts +246 -73
- package/src/blocks/hero/hero-4.tsx +22 -16
- package/src/blocks/hero/hero-5.schema.ts +104 -47
- package/src/blocks/hero/hero-5.tsx +21 -12
- package/src/blocks/hero/hero-6.schema.ts +127 -258
- package/src/blocks/hero/hero-6.tsx +6 -6
- package/src/blocks/hero/hero-7.schema.ts +90 -43
- package/src/blocks/hero/hero-7.tsx +6 -4
- package/src/blocks/hero/hero-8.schema.ts +342 -138
- package/src/blocks/hero/hero-8.tsx +23 -13
- package/src/blocks/hero/hero-9.schema.ts +111 -86
- package/src/blocks/hero/hero-9.tsx +12 -4
- package/src/blocks/index.ts +12 -8
- package/src/blocks/jobs/jobs-1.schema.ts +990 -0
- package/src/blocks/jobs/jobs-1.tsx +145 -0
- package/src/blocks/logos/logos-1.schema.ts +370 -36
- package/src/blocks/logos/logos-1.tsx +7 -7
- package/src/blocks/navbar/navbar-1.schema.ts +15 -28
- package/src/blocks/navbar/navbar-1.tsx +24 -60
- package/src/blocks/navbar/navbar-2.schema.ts +14 -28
- package/src/blocks/navbar/navbar-2.tsx +26 -56
- package/src/blocks/navbar/navbar-3.schema.ts +11 -22
- package/src/blocks/navbar/navbar-3.tsx +33 -82
- package/src/blocks/navbar/navbar-4.schema.ts +14343 -0
- package/src/blocks/navbar/navbar-4.tsx +546 -0
- package/src/blocks/polling/polling-1.schema.ts +2 -21
- package/src/blocks/polling/polling-1.tsx +24 -39
- package/src/blocks/pricing/pricing-1.schema.ts +307 -290
- package/src/blocks/pricing/pricing-1.tsx +32 -42
- package/src/blocks/products/products-listing-1.schema.ts +115 -36
- package/src/blocks/products/products-listing-1.tsx +15 -13
- package/src/blocks/products/products-listing-2.schema.ts +178 -220
- package/src/blocks/products/products-listing-2.tsx +29 -16
- package/src/blocks/products/products-listing-3.schema.ts +412 -154
- package/src/blocks/products/products-listing-3.tsx +102 -73
- package/src/blocks/profile/profile-1.schema.ts +60 -49
- package/src/blocks/profile/profile-1.tsx +5 -10
- package/src/blocks/profile/profile-2.schema.ts +71 -92
- package/src/blocks/profile/profile-2.tsx +6 -7
- package/src/blocks/profile/profile-3.schema.ts +141 -529
- package/src/blocks/profile/profile-3.tsx +19 -41
- package/src/blocks/{blogs/blog-post-2.schema.ts → profile/profile-4.schema.ts} +75 -97
- package/src/blocks/{blogs/blog-post-2.tsx → profile/profile-4.tsx} +32 -61
- package/src/blocks/{blogs/blog-post-3.schema.ts → profile/profile-5.schema.ts} +6 -6
- package/src/blocks/{blogs/blog-post-3.tsx → profile/profile-5.tsx} +6 -11
- package/src/blocks/services/service-1.schema.ts +210 -830
- package/src/blocks/services/service-1.tsx +46 -59
- package/src/blocks/services/service-2.schema.ts +92 -80
- package/src/blocks/services/service-2.tsx +13 -7
- package/src/blocks/services/service-3.schema.ts +74 -86
- package/src/blocks/services/service-3.tsx +44 -45
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +7 -14
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +12 -15
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/stats/variants/index.ts +1 -1
- package/src/blocks/tabs/tab-1.schema.ts +103 -409
- package/src/blocks/tabs/tab-1.tsx +47 -53
- package/src/blocks/tabs/tab-2.schema.ts +207 -290
- package/src/blocks/tabs/tab-2.tsx +20 -9
- package/src/blocks/team/team-1.schema.ts +593 -76
- package/src/blocks/team/team-1.tsx +16 -22
- package/src/blocks/team/team-2.schema.ts +621 -1453
- package/src/blocks/team/team-2.tsx +19 -34
- package/src/blocks/team/team-3.schema.ts +127 -78
- package/src/blocks/team/team-3.tsx +9 -14
- package/src/blocks/team/team-4.schema.ts +197 -63
- package/src/blocks/team/team-4.tsx +25 -26
- package/src/blocks/team/team-5.schema.ts +65 -54
- package/src/blocks/team/team-5.tsx +13 -4
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +4 -6
- package/src/blocks/testimonial/testimonial-1.schema.ts +713 -65
- package/src/blocks/testimonial/testimonial-1.tsx +12 -23
- package/src/blocks/testimonial/testimonial-2.schema.ts +1316 -354
- package/src/blocks/testimonial/testimonial-2.tsx +21 -37
- package/src/blocks/testimonial/testimonial-3.schema.ts +210 -74
- package/src/blocks/testimonial/testimonial-3.tsx +17 -27
- package/src/blocks/testimonial/testimonial-4.schema.ts +353 -1049
- package/src/blocks/testimonial/testimonial-4.tsx +16 -34
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +155 -171
- package/src/blocks/testimonial/testimonial-5/variants/index.ts +1 -1
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +201 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +166 -316
- package/src/blocks/testimonial/testimonial-5.schema.ts +2 -6
- package/src/blocks/testimonial/testimonial-5.tsx +15 -25
- package/src/blocks/testimonial/testimonial-6.schema.ts +226 -315
- package/src/blocks/testimonial/testimonial-6.tsx +9 -25
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +16 -27
- package/src/blocks/timeline/timeline-1.schema.ts +166 -153
- package/src/blocks/timeline/timeline-1.tsx +6 -7
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +23 -28
- package/src/constants/index.ts +16 -0
- package/src/index.ts +1 -1
- package/src/schemas/blocks.ts +17 -5
- package/src/schemas/categories.ts +26 -2
|
@@ -1,24 +1,20 @@
|
|
|
1
|
+
import { errorHandler, Spinner, successToast, useLevo } from "@levo-so/react";
|
|
1
2
|
import {
|
|
2
|
-
type ILevoBlockBaseProps,
|
|
3
3
|
Box,
|
|
4
4
|
Button,
|
|
5
5
|
Container,
|
|
6
6
|
EditForm,
|
|
7
7
|
Heading,
|
|
8
|
+
type ILevoBlockBaseProps,
|
|
8
9
|
Section,
|
|
9
10
|
Typography,
|
|
10
11
|
useAuth,
|
|
11
|
-
useBlockContext,
|
|
12
12
|
} from "@levo-so/studio";
|
|
13
13
|
import { useEffect, useState } from "react";
|
|
14
|
-
import { errorHandler, Spinner, successToast, useLevo } from "@levo-so/react";
|
|
15
14
|
|
|
16
15
|
import type { IEditProfileContent } from "./edit-profile.schema";
|
|
17
16
|
|
|
18
|
-
const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
19
|
-
content,
|
|
20
|
-
config,
|
|
21
|
-
}) => {
|
|
17
|
+
const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({ content, config }) => {
|
|
22
18
|
const levoClient = useLevo();
|
|
23
19
|
|
|
24
20
|
const [activeIndex, setActiveIndex] = useState<number>(0);
|
|
@@ -28,7 +24,6 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
28
24
|
const [isFormLoading, setIsFormLoading] = useState<boolean>(true);
|
|
29
25
|
|
|
30
26
|
const { account, isAuthLoaded } = useAuth();
|
|
31
|
-
const { isBuilder } = useBlockContext();
|
|
32
27
|
|
|
33
28
|
const collectionKey = config?.profile_settings_form?.form?.schema?.key;
|
|
34
29
|
const isMembershipForm = collectionKey === "so_levo_membership_account";
|
|
@@ -47,8 +42,7 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
47
42
|
setFormData(account ?? {});
|
|
48
43
|
setEntry(null);
|
|
49
44
|
} else {
|
|
50
|
-
const response =
|
|
51
|
-
await levoClient?.collection?.getDraftEntry(collectionKey);
|
|
45
|
+
const response = await levoClient?.collection?.getDraftEntry(collectionKey);
|
|
52
46
|
|
|
53
47
|
const entries = response?.content?.data ?? [];
|
|
54
48
|
|
|
@@ -78,17 +72,13 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
78
72
|
|
|
79
73
|
setIsLoading(true);
|
|
80
74
|
try {
|
|
81
|
-
const allFields =
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
const hiddenFieldsInstance =
|
|
86
|
-
config?.profile_settings_form?.form?.hidden_fields ?? [];
|
|
75
|
+
const allFields = config?.profile_settings_form?.form?.schema?.sections?.flatMap(
|
|
76
|
+
(v) => v?.fields,
|
|
77
|
+
);
|
|
78
|
+
const hiddenFieldsInstance = config?.profile_settings_form?.form?.hidden_fields ?? [];
|
|
87
79
|
|
|
88
80
|
const availableFields =
|
|
89
|
-
allFields
|
|
90
|
-
?.filter((v) => !hiddenFieldsInstance?.includes(v?.id))
|
|
91
|
-
?.map((v) => v?.key) ?? [];
|
|
81
|
+
allFields?.filter((v) => !hiddenFieldsInstance?.includes(v?.id))?.map((v) => v?.key) ?? [];
|
|
92
82
|
|
|
93
83
|
const filteredValues = Object.entries(values)?.filter(([key]) =>
|
|
94
84
|
availableFields?.includes(key),
|
|
@@ -135,14 +125,21 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
135
125
|
</Box>
|
|
136
126
|
<Box elementKey="profile_section">
|
|
137
127
|
<Box elementKey="sections_levoGroup" data-levo_group>
|
|
138
|
-
{(content?.sections ?? [])?.map((
|
|
128
|
+
{(content?.sections ?? [])?.map((section: any, sectionIndex: number) => {
|
|
139
129
|
return (
|
|
140
|
-
<
|
|
130
|
+
<Box
|
|
131
|
+
key={`sections-${sectionIndex}`}
|
|
132
|
+
elementKey={`sections.${sectionIndex}.ctas_levoGroup`}
|
|
141
133
|
data-levo_group_item
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
134
|
+
>
|
|
135
|
+
{(section?.ctas ?? [])?.map((_: any, ctaIndex: number) => (
|
|
136
|
+
<Button
|
|
137
|
+
key={`sections.${sectionIndex}.ctas.${ctaIndex}.cta`}
|
|
138
|
+
elementKey={`sections.${sectionIndex}.ctas.${ctaIndex}.cta`}
|
|
139
|
+
onClick={() => setActiveIndex(sectionIndex)}
|
|
140
|
+
/>
|
|
141
|
+
))}
|
|
142
|
+
</Box>
|
|
146
143
|
);
|
|
147
144
|
})}
|
|
148
145
|
</Box>
|
|
@@ -150,9 +147,7 @@ const EditProfile: React.FC<ILevoBlockBaseProps<IEditProfileContent>> = ({
|
|
|
150
147
|
<Box elementKey={`sections.${activeIndex}.wrapper`}>
|
|
151
148
|
<Box elementKey={`sections.${activeIndex}.header`}>
|
|
152
149
|
<Heading elementKey={`sections.${activeIndex}.title`} />
|
|
153
|
-
<Typography
|
|
154
|
-
elementKey={`sections.${activeIndex}.description`}
|
|
155
|
-
/>
|
|
150
|
+
<Typography elementKey={`sections.${activeIndex}.description`} />
|
|
156
151
|
</Box>
|
|
157
152
|
|
|
158
153
|
<>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const LEVO_DEFAULT_BLUE_IMAGE = {
|
|
2
|
+
id: "7141014160938075687",
|
|
3
|
+
location: "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH.png",
|
|
4
|
+
kind: "image",
|
|
5
|
+
mimetype: "image/png",
|
|
6
|
+
srcset: {
|
|
7
|
+
"1080w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1080w.webp",
|
|
8
|
+
"1200w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1200w.webp",
|
|
9
|
+
"1920w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-1920w.webp",
|
|
10
|
+
"320w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-320w.webp",
|
|
11
|
+
"640w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-640w.webp",
|
|
12
|
+
"750w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-750w.webp",
|
|
13
|
+
"828w": "https://space.levo.so/WLZ1TXTD/defaultblue-tryFJ012mgyH-828w.webp",
|
|
14
|
+
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",
|
|
15
|
+
},
|
|
16
|
+
};
|
package/src/index.ts
CHANGED
package/src/schemas/blocks.ts
CHANGED
|
@@ -6,8 +6,6 @@ import { BlogListing1 } from "../blocks/blogs/blog-listing-1.schema";
|
|
|
6
6
|
import { BlogListing2 } from "../blocks/blogs/blog-listing-2.schema";
|
|
7
7
|
import { BlogListing3 } from "../blocks/blogs/blog-listing-3.schema";
|
|
8
8
|
import { BlogPost1 } from "../blocks/blogs/blog-post-1.schema";
|
|
9
|
-
import { BlogPost2 } from "../blocks/blogs/blog-post-2.schema";
|
|
10
|
-
import { BlogPost3 } from "../blocks/blogs/blog-post-3.schema";
|
|
11
9
|
import { Calendar1 } from "../blocks/calendar/calendar-1.schema";
|
|
12
10
|
import { Cards2 } from "../blocks/cards/cards-2.schema";
|
|
13
11
|
import { Cards3 } from "../blocks/cards/cards-3.schema";
|
|
@@ -25,6 +23,8 @@ import { Cards14 } from "../blocks/cards/cards-14.schema";
|
|
|
25
23
|
import { Cards15 } from "../blocks/cards/cards-15.schema";
|
|
26
24
|
import { Carousel1 } from "../blocks/carousel/carousel-1.schema";
|
|
27
25
|
import { Carousel2 } from "../blocks/carousel/carousel-2.schema";
|
|
26
|
+
import { Community1 } from "../blocks/community/community-1.schema";
|
|
27
|
+
import { CommunityPost1 } from "../blocks/community/community-post-1.schema";
|
|
28
28
|
import { ContactUs1 } from "../blocks/contact-us/contact-us-1.schema";
|
|
29
29
|
import { ContactUs2 } from "../blocks/contact-us/contact-us-2.schema";
|
|
30
30
|
import { Content1 } from "../blocks/content/content-1.schema";
|
|
@@ -54,13 +54,15 @@ import { Features3 } from "../blocks/features/features-3.schema";
|
|
|
54
54
|
import { Features4 } from "../blocks/features/features-4.schema";
|
|
55
55
|
import { Features5 } from "../blocks/features/features-5.schema";
|
|
56
56
|
import { Features6 } from "../blocks/features/features-6.schema";
|
|
57
|
+
import { FilterListing1 } from "../blocks/filter-listing/filter-listing-1.schema";
|
|
58
|
+
import { FloatingButton1 } from "../blocks/floating-buttons/floating-button-1.schema";
|
|
57
59
|
import { Footer1 } from "../blocks/footer/footer-1.schema";
|
|
58
60
|
import { Footer2 } from "../blocks/footer/footer-2.schema";
|
|
59
61
|
import { Footer3 } from "../blocks/footer/footer-3.schema";
|
|
60
62
|
import { Footer4 } from "../blocks/footer/footer-4.schema";
|
|
61
63
|
import { Footer5 } from "../blocks/footer/footer-5.schema";
|
|
62
64
|
import { Footer6 } from "../blocks/footer/footer-6.schema";
|
|
63
|
-
import {
|
|
65
|
+
import { Form1 } from "../blocks/form/form-1.schema";
|
|
64
66
|
import { Hero1 } from "../blocks/hero/hero-1.schema";
|
|
65
67
|
import { Hero2 } from "../blocks/hero/hero-2.schema";
|
|
66
68
|
import { Hero3 } from "../blocks/hero/hero-3.schema";
|
|
@@ -74,10 +76,12 @@ import { Hero10 } from "../blocks/hero/hero-10.schema";
|
|
|
74
76
|
import { Hero11 } from "../blocks/hero/hero-11.schema";
|
|
75
77
|
import { Hero12 } from "../blocks/hero/hero-12.schema";
|
|
76
78
|
import { Hero13 } from "../blocks/hero/hero-13.schema";
|
|
79
|
+
import { Jobs1 } from "../blocks/jobs/jobs-1.schema";
|
|
77
80
|
import { Logos1 } from "../blocks/logos/logos-1.schema";
|
|
78
81
|
import { Navbar1 } from "../blocks/navbar/navbar-1.schema";
|
|
79
82
|
import { Navbar2 } from "../blocks/navbar/navbar-2.schema";
|
|
80
83
|
import { Navbar3 } from "../blocks/navbar/navbar-3.schema";
|
|
84
|
+
import { Navbar4 } from "../blocks/navbar/navbar-4.schema";
|
|
81
85
|
import { Polling1 } from "../blocks/polling/polling-1.schema";
|
|
82
86
|
import { Pricing1 } from "../blocks/pricing/pricing-1.schema";
|
|
83
87
|
import { ProductsListing1 } from "../blocks/products/products-listing-1.schema";
|
|
@@ -86,6 +90,8 @@ import { ProductsListing3 } from "../blocks/products/products-listing-3.schema";
|
|
|
86
90
|
import { Profile1 } from "../blocks/profile/profile-1.schema";
|
|
87
91
|
import { Profile2 } from "../blocks/profile/profile-2.schema";
|
|
88
92
|
import { Profile3 } from "../blocks/profile/profile-3.schema";
|
|
93
|
+
import { Profile4 } from "../blocks/profile/profile-4.schema";
|
|
94
|
+
import { Profile5 } from "../blocks/profile/profile-5.schema";
|
|
89
95
|
import { Service1 } from "../blocks/services/service-1.schema";
|
|
90
96
|
import { Service2 } from "../blocks/services/service-2.schema";
|
|
91
97
|
import { Service3 } from "../blocks/services/service-3.schema";
|
|
@@ -116,9 +122,9 @@ export const BlockList: IBlock[] = [
|
|
|
116
122
|
BlogListing2,
|
|
117
123
|
BlogListing3,
|
|
118
124
|
BlogPost1,
|
|
119
|
-
BlogPost2,
|
|
120
|
-
BlogPost3,
|
|
121
125
|
Calendar1,
|
|
126
|
+
Community1,
|
|
127
|
+
CommunityPost1,
|
|
122
128
|
Cards2,
|
|
123
129
|
Cards3,
|
|
124
130
|
Cards4,
|
|
@@ -171,7 +177,9 @@ export const BlockList: IBlock[] = [
|
|
|
171
177
|
Footer4,
|
|
172
178
|
Footer5,
|
|
173
179
|
Footer6,
|
|
180
|
+
Form1,
|
|
174
181
|
FilterListing1,
|
|
182
|
+
FloatingButton1,
|
|
175
183
|
Hero1,
|
|
176
184
|
Hero2,
|
|
177
185
|
Hero3,
|
|
@@ -185,10 +193,12 @@ export const BlockList: IBlock[] = [
|
|
|
185
193
|
Hero11,
|
|
186
194
|
Hero12,
|
|
187
195
|
Hero13,
|
|
196
|
+
Jobs1,
|
|
188
197
|
Logos1,
|
|
189
198
|
Navbar1,
|
|
190
199
|
Navbar2,
|
|
191
200
|
Navbar3,
|
|
201
|
+
Navbar4,
|
|
192
202
|
Polling1,
|
|
193
203
|
Pricing1,
|
|
194
204
|
ProductsListing1,
|
|
@@ -197,6 +207,8 @@ export const BlockList: IBlock[] = [
|
|
|
197
207
|
Profile1,
|
|
198
208
|
Profile2,
|
|
199
209
|
Profile3,
|
|
210
|
+
Profile4,
|
|
211
|
+
Profile5,
|
|
200
212
|
Service1,
|
|
201
213
|
Service2,
|
|
202
214
|
Service3,
|
|
@@ -19,6 +19,12 @@ const categories: IBlockCategory[] = [
|
|
|
19
19
|
description: "",
|
|
20
20
|
media: [],
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
id: "community",
|
|
24
|
+
title: "Community",
|
|
25
|
+
description: "",
|
|
26
|
+
media: [],
|
|
27
|
+
},
|
|
22
28
|
{
|
|
23
29
|
id: "contact-us",
|
|
24
30
|
title: "Contact Us",
|
|
@@ -67,12 +73,24 @@ const categories: IBlockCategory[] = [
|
|
|
67
73
|
description: "",
|
|
68
74
|
media: [],
|
|
69
75
|
},
|
|
76
|
+
{
|
|
77
|
+
id: "form",
|
|
78
|
+
title: "Form",
|
|
79
|
+
description: "",
|
|
80
|
+
media: [],
|
|
81
|
+
},
|
|
70
82
|
{
|
|
71
83
|
id: "hero",
|
|
72
84
|
title: "Hero",
|
|
73
85
|
description: "",
|
|
74
86
|
media: [],
|
|
75
87
|
},
|
|
88
|
+
{
|
|
89
|
+
id: "jobs",
|
|
90
|
+
title: "Jobs",
|
|
91
|
+
description: "",
|
|
92
|
+
media: [],
|
|
93
|
+
},
|
|
76
94
|
{
|
|
77
95
|
id: "logos",
|
|
78
96
|
title: "Logos",
|
|
@@ -169,8 +187,14 @@ const categories: IBlockCategory[] = [
|
|
|
169
187
|
description: "",
|
|
170
188
|
media: [],
|
|
171
189
|
},
|
|
190
|
+
{
|
|
191
|
+
id: "floating-buttons",
|
|
192
|
+
title: "Floating Buttons",
|
|
193
|
+
description: "",
|
|
194
|
+
media: [],
|
|
195
|
+
},
|
|
172
196
|
];
|
|
173
197
|
|
|
174
|
-
export const BlockCategoryList: IBlockCategory[] = [...categories].sort(
|
|
175
|
-
|
|
198
|
+
export const BlockCategoryList: IBlockCategory[] = [...categories].sort((a, b) =>
|
|
199
|
+
a.title.localeCompare(b.title),
|
|
176
200
|
);
|