@levo-so/blocks 0.1.54 → 0.1.59
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 +14 -0
- package/src/blocks/about-us/about-us-1.tsx +4 -2
- package/src/blocks/about-us/about-us-2.schema.ts +48 -0
- package/src/blocks/about-us/about-us-2.tsx +6 -0
- package/src/blocks/blogs/blog-listing-1.schema.ts +10 -0
- package/src/blocks/blogs/blog-listing-2.schema.ts +42 -162
- package/src/blocks/blogs/blog-listing-2.tsx +7 -0
- package/src/blocks/blogs/blog-listing-3.schema.ts +9 -0
- package/src/blocks/blogs/blog-post-1.schema.ts +7 -1
- package/src/blocks/blogs/blog-post-1.tsx +1 -1
- package/src/blocks/blogs/blog-post-2.schema.ts +464 -28
- package/src/blocks/blogs/blog-post-2.tsx +6 -13
- package/src/blocks/blogs/blog-post-3.schema.ts +42 -0
- package/src/blocks/blogs/blog-post-3.tsx +4 -1
- package/src/blocks/calendar/calendar-1.schema.ts +537 -0
- package/src/blocks/calendar/calendar-1.tsx +145 -0
- package/src/blocks/cards/cards-10.schema.ts +52 -4
- package/src/blocks/cards/cards-10.tsx +13 -1
- package/src/blocks/cards/cards-14.schema.ts +532 -0
- package/src/blocks/cards/cards-14.tsx +54 -0
- package/src/blocks/cards/cards-15.schema.ts +277 -0
- package/src/blocks/cards/cards-15.tsx +40 -0
- package/src/blocks/cards/cards-6.schema.ts +46 -0
- package/src/blocks/cards/cards-6.tsx +27 -1
- package/src/blocks/cards/cards-7.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +1128 -0
- package/src/blocks/carousel/carousel-2.tsx +159 -0
- package/src/blocks/content/content-5.schema.ts +112 -6
- package/src/blocks/content/content-5.tsx +19 -3
- package/src/blocks/content/content-6.schema.ts +16 -3
- package/src/blocks/content/content-6.tsx +1 -0
- package/src/blocks/content/content-8.schema.ts +125 -0
- package/src/blocks/content/content-8.tsx +27 -0
- package/src/blocks/content/content-9.schema.ts +2729 -0
- package/src/blocks/content/content-9.tsx +91 -0
- package/src/blocks/cta/cta-2.schema.ts +46 -4
- package/src/blocks/cta/cta-2.tsx +9 -1
- package/src/blocks/embed/embed-1.schema.ts +100 -0
- package/src/blocks/event/ClientOnly.tsx +27 -0
- package/src/blocks/event/event-details.tsx +10 -3
- package/src/blocks/event/event-listing-3.tsx +9 -2
- package/src/blocks/event/event-listing-4.tsx +11 -2
- package/src/blocks/event/event-listing.tsx +11 -4
- package/src/blocks/faq/faq-1.schema.ts +58 -1
- package/src/blocks/faq/faq-1.tsx +18 -1
- package/src/blocks/faq/faq-2.tsx +2 -1
- package/src/blocks/faq/faq-3.schema.ts +6 -1
- package/src/blocks/faq/faq-3.tsx +1 -0
- package/src/blocks/features/features-1/features-1.schema.ts +2 -0
- package/src/blocks/features/features-1/variants/index.ts +2 -0
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +451 -0
- package/src/blocks/features/features-4.schema.ts +358 -20
- package/src/blocks/features/features-4.tsx +3 -1
- package/src/blocks/features/features-6.tsx +2 -0
- package/src/blocks/filter-listing/filter-listing-1.schema.ts +614 -0
- package/src/blocks/filter-listing/filter-listing-1.tsx +128 -0
- package/src/blocks/footer/footer-6.schema.ts +2 -2
- package/src/blocks/hero/hero-11.schema.ts +849 -0
- package/src/blocks/hero/hero-11.tsx +59 -0
- package/src/blocks/hero/hero-12.schema.ts +712 -0
- package/src/blocks/hero/hero-12.tsx +76 -0
- package/src/blocks/hero/hero-13.schema.ts +238 -0
- package/src/blocks/hero/hero-13.tsx +31 -0
- package/src/blocks/hero/hero-4.tsx +2 -0
- package/src/blocks/hero/hero-5.tsx +2 -0
- package/src/blocks/hero/hero-7.tsx +2 -1
- package/src/blocks/hero/hero-8.tsx +2 -0
- package/src/blocks/hero/hero-9.schema.ts +5 -0
- package/src/blocks/hero/hero-9.tsx +2 -0
- package/src/blocks/index.ts +27 -0
- package/src/blocks/navbar/navbar-1.schema.ts +6 -6
- package/src/blocks/navbar/navbar-1.tsx +6 -7
- package/src/blocks/navbar/navbar-2.schema.ts +9 -9
- package/src/blocks/navbar/navbar-2.tsx +7 -8
- package/src/blocks/navbar/navbar-3.schema.ts +9 -9
- package/src/blocks/navbar/navbar-3.tsx +139 -114
- package/src/blocks/polling/polling-1.schema.ts +134 -0
- package/src/blocks/polling/polling-1.tsx +466 -0
- package/src/blocks/products/products-listing-2.schema.ts +596 -0
- package/src/blocks/products/products-listing-2.tsx +56 -0
- package/src/blocks/products/products-listing-3.schema.ts +818 -0
- package/src/blocks/products/products-listing-3.tsx +125 -0
- package/src/blocks/profile/profile-2.schema.ts +505 -0
- package/src/blocks/profile/profile-2.tsx +64 -0
- package/src/blocks/profile/profile-3.schema.ts +867 -0
- package/src/blocks/profile/profile-3.tsx +98 -0
- package/src/blocks/services/service-1.schema.ts +1743 -0
- package/src/blocks/services/service-1.tsx +139 -0
- package/src/blocks/services/service-2.schema.ts +433 -0
- package/src/blocks/services/service-2.tsx +98 -0
- package/src/blocks/services/service-3.schema.ts +631 -0
- package/src/blocks/services/service-3.tsx +135 -0
- package/src/blocks/tabs/tab-1.schema.ts +831 -0
- package/src/blocks/tabs/tab-1.tsx +126 -0
- package/src/blocks/tabs/tab-2.schema.ts +767 -0
- package/src/blocks/tabs/tab-2.tsx +60 -0
- package/src/blocks/team/team-3.schema.ts +5 -1
- package/src/blocks/team/team-3.tsx +7 -0
- package/src/blocks/team/team-4.schema.ts +17 -13
- package/src/blocks/team/team-4.tsx +4 -1
- package/src/blocks/team/team-5.schema.ts +369 -0
- package/src/blocks/team/team-5.tsx +38 -0
- package/src/blocks/testimonial/testimonial-1.tsx +0 -1
- package/src/blocks/testimonial/testimonial-2.tsx +2 -1
- package/src/blocks/testimonial/testimonial-3.tsx +2 -0
- package/src/blocks/testimonial/testimonial-4.tsx +2 -1
- package/src/blocks/testimonial/testimonial-5.tsx +2 -0
- package/src/blocks/testimonial/testimonial-6.tsx +2 -1
- package/src/blocks/testimonial/testimonial-7.schema.ts +438 -0
- package/src/blocks/testimonial/testimonial-7.tsx +125 -0
- package/src/blocks/timeline/timeline-1.schema.ts +741 -0
- package/src/blocks/timeline/timeline-1.tsx +52 -0
- package/src/blocks/users/edit-profile.schema.ts +294 -0
- package/src/blocks/users/edit-profile.tsx +184 -0
- package/src/schemas/blocks.ts +64 -12
- package/src/schemas/categories.ts +36 -0
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import type { IBlock } from "@levo-so/studio";
|
|
2
|
+
|
|
3
|
+
const DEFAULT_CONTENT = {
|
|
4
|
+
layout: null,
|
|
5
|
+
container: null,
|
|
6
|
+
header_wrapper: null,
|
|
7
|
+
header: "Popular this month",
|
|
8
|
+
filters_levoGroup: null,
|
|
9
|
+
pagination_wrapper: null,
|
|
10
|
+
pagination_left: "Previous",
|
|
11
|
+
pagination_text: "",
|
|
12
|
+
pagination_right: "Next",
|
|
13
|
+
listing_wrapper: null,
|
|
14
|
+
filters_accordion: null,
|
|
15
|
+
filters_accordion_item: null,
|
|
16
|
+
filters_accordion_trigger: null,
|
|
17
|
+
filters_accordion_title: "Filters",
|
|
18
|
+
filters_accordion_content: null,
|
|
19
|
+
filters_box: null,
|
|
20
|
+
listing: [
|
|
21
|
+
{
|
|
22
|
+
card: null,
|
|
23
|
+
media: {
|
|
24
|
+
object: "media",
|
|
25
|
+
id: "9GFLqRMjHAvm",
|
|
26
|
+
workspace_id: "WLZ1TXTD",
|
|
27
|
+
filename: "pexels-2147499152-29632553.jpg",
|
|
28
|
+
kind: "image",
|
|
29
|
+
path: "WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo.jpg",
|
|
30
|
+
location:
|
|
31
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo.jpg",
|
|
32
|
+
metadata: {
|
|
33
|
+
etag: '"d2ab426d617eec426c1e6ba5605ab5d6"',
|
|
34
|
+
mimetype: "image/jpeg",
|
|
35
|
+
size: 2688667,
|
|
36
|
+
},
|
|
37
|
+
srcset: {
|
|
38
|
+
"1080w":
|
|
39
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1080w.webp",
|
|
40
|
+
"1200w":
|
|
41
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1200w.webp",
|
|
42
|
+
"1920w":
|
|
43
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1920w.webp",
|
|
44
|
+
"320w":
|
|
45
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-320w.webp",
|
|
46
|
+
"640w":
|
|
47
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-640w.webp",
|
|
48
|
+
"750w":
|
|
49
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-750w.webp",
|
|
50
|
+
"828w":
|
|
51
|
+
"https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-828w.webp",
|
|
52
|
+
path: "https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1920w.webp 1920w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-320w.webp 320w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-640w.webp 640w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-750w.webp 750w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-828w.webp 828w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1080w.webp 1080w, https://static.levostg.online/WLZ1TXTD/pexels-2147499152-29632553-WT0prjeW1uuo-1200w.webp 1200w",
|
|
53
|
+
},
|
|
54
|
+
created_at: "2025-04-25T09:26:00.096Z",
|
|
55
|
+
updated_at: "2025-04-25T09:26:00.096Z",
|
|
56
|
+
created_by: null,
|
|
57
|
+
updated_by: null,
|
|
58
|
+
},
|
|
59
|
+
"filter_content-wrapper": null,
|
|
60
|
+
points: [
|
|
61
|
+
{
|
|
62
|
+
container: null,
|
|
63
|
+
icon: {
|
|
64
|
+
kind: "icon",
|
|
65
|
+
data: {
|
|
66
|
+
id: "archive-minus",
|
|
67
|
+
label: "Archive Minus",
|
|
68
|
+
tags: ["archive", "custom", "directional", "minus"],
|
|
69
|
+
svgCode:
|
|
70
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
text: "Senior Designer",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
filter_content: null,
|
|
77
|
+
title: "John Doe",
|
|
78
|
+
description:
|
|
79
|
+
"I wanted to visit Colombia’s sacred mountains. But there are some places we cannot go – and some things we cannot know.",
|
|
80
|
+
filter_footer: null,
|
|
81
|
+
experience_title: "Experience",
|
|
82
|
+
filter_experience: null,
|
|
83
|
+
experience_icon: {
|
|
84
|
+
kind: "icon",
|
|
85
|
+
data: {
|
|
86
|
+
id: "archive-minus",
|
|
87
|
+
label: "Archive Minus",
|
|
88
|
+
tags: ["archive", "custom", "directional", "minus"],
|
|
89
|
+
svgCode:
|
|
90
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
experience: "5+ Years",
|
|
94
|
+
filter_attendance_wrapper: null,
|
|
95
|
+
attendance_icon: {
|
|
96
|
+
kind: "icon",
|
|
97
|
+
data: {
|
|
98
|
+
id: "archive-minus",
|
|
99
|
+
label: "Archive Minus",
|
|
100
|
+
tags: ["archive", "custom", "directional", "minus"],
|
|
101
|
+
svgCode:
|
|
102
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
attendance: "1000+ Students",
|
|
106
|
+
filter_sessions: null,
|
|
107
|
+
session_icon: {
|
|
108
|
+
kind: "icon",
|
|
109
|
+
data: {
|
|
110
|
+
id: "archive-minus",
|
|
111
|
+
label: "Archive Minus",
|
|
112
|
+
tags: ["archive", "custom", "directional", "minus"],
|
|
113
|
+
svgCode:
|
|
114
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.5 11.4H9.5C9.09 11.4 8.75 11.06 8.75 10.65C8.75 10.24 9.09 9.90002 9.5 9.90002H14.5C14.91 9.90002 15.25 10.24 15.25 10.65C15.25 11.06 14.91 11.4 14.5 11.4Z" fill="var(--color-icon-primary)"/>\n<path d="M4.92957 22.75C4.50957 22.75 4.11957 22.65 3.76957 22.45C2.99957 22 2.55957 21.09 2.55957 19.96V5.86C2.55957 3.32 4.62957 1.25 7.16957 1.25H16.8196C19.3596 1.25 21.4296 3.32 21.4296 5.86V19.95C21.4296 21.08 20.9896 21.99 20.2196 22.44C19.4496 22.89 18.4396 22.84 17.4496 22.29L12.5696 19.58C12.2796 19.42 11.7096 19.42 11.4196 19.58L6.53957 22.29C5.99957 22.59 5.44957 22.75 4.92957 22.75ZM7.17957 2.75C5.46957 2.75 4.06957 4.15 4.06957 5.86V19.95C4.06957 20.54 4.23957 20.98 4.53957 21.15C4.83957 21.33 5.30957 21.27 5.81957 20.98L10.6996 18.27C11.4396 17.86 12.5596 17.86 13.2996 18.27L18.1796 20.98C18.6896 21.27 19.1596 21.33 19.4596 21.15C19.7596 20.97 19.9296 20.53 19.9296 19.95V5.86C19.9296 4.15 18.5296 2.75 16.8196 2.75H7.17957Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
session_text: "<p>18 Sessions</p>",
|
|
118
|
+
attendance_title: "<p>Attendace</p>",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export type IFilterListing1Content = typeof DEFAULT_CONTENT;
|
|
124
|
+
|
|
125
|
+
export const FilterListing1: IBlock = {
|
|
126
|
+
category_id: "filter-listing",
|
|
127
|
+
title: "Filter Listing 1",
|
|
128
|
+
key: "filter-listing-1",
|
|
129
|
+
version: "v1",
|
|
130
|
+
prompt_description:
|
|
131
|
+
"Three-column grid of news or filter cards, each with a large image, headline, summary text, and info row; section headline and a top-right “View all” button, plus pagination controls below.",
|
|
132
|
+
content_schema: [
|
|
133
|
+
{
|
|
134
|
+
key: "layout",
|
|
135
|
+
label: "Layout",
|
|
136
|
+
field_interface: "LayoutWidget",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: "container",
|
|
140
|
+
label: "Container",
|
|
141
|
+
field_interface: "ContainerWidget",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
key: "header_wrapper",
|
|
145
|
+
label: "Header Wrapper",
|
|
146
|
+
field_interface: "BoxWidget",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: "header",
|
|
150
|
+
label: "Header",
|
|
151
|
+
field_interface: "HeadingWidget",
|
|
152
|
+
hint: {
|
|
153
|
+
prompt_description:
|
|
154
|
+
"Section heading introducing featured or trending filter articles for this month. Make it concise, bold, and inviting. Use a confident and energetic tone.",
|
|
155
|
+
min_characters: 16,
|
|
156
|
+
max_characters: 30,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
key: "listing_wrapper",
|
|
161
|
+
label: "Listing Wrapper",
|
|
162
|
+
field_interface: "BoxWidget",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: "filters_accordion",
|
|
166
|
+
label: "Filters Accordion",
|
|
167
|
+
field_interface: "BoxWidget",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: "filters_accordion_item",
|
|
171
|
+
label: "Filters Accordion Item",
|
|
172
|
+
field_interface: "BoxWidget",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
key: "filters_accordion_trigger",
|
|
176
|
+
label: "Filters Accordion Trigger",
|
|
177
|
+
field_interface: "BoxWidget",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
key: "filters_accordion_title",
|
|
181
|
+
label: "Filters Accordion Title",
|
|
182
|
+
field_interface: "TypographyWidget",
|
|
183
|
+
hint: {
|
|
184
|
+
prompt_description:
|
|
185
|
+
"Title for the collapsible filters section. Should be clear and indicate the purpose of the filters functionality.",
|
|
186
|
+
min_characters: 4,
|
|
187
|
+
max_characters: 16,
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
key: "filters_accordion_content",
|
|
192
|
+
label: "Filters Accordion Content",
|
|
193
|
+
field_interface: "BoxWidget",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
key: "filters_box",
|
|
197
|
+
label: "Filters Box",
|
|
198
|
+
field_interface: "BoxWidget",
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
key: "listing",
|
|
202
|
+
label: "Listing",
|
|
203
|
+
kind: "group",
|
|
204
|
+
field_interface: "BoxWidget",
|
|
205
|
+
hint: {
|
|
206
|
+
prompt_description:
|
|
207
|
+
"Repeating list of filter article cards displayed in a grid. Each card should showcase a featured filter post with image, headline, excerpt, type, author, and reading time. The content should be diverse, engaging, and visually consistent.",
|
|
208
|
+
min_items: 6, // 6 visible in grid at a time
|
|
209
|
+
max_items: 9, // allows for paginated dataset
|
|
210
|
+
},
|
|
211
|
+
options: {
|
|
212
|
+
supports_filters: true,
|
|
213
|
+
},
|
|
214
|
+
fields: [
|
|
215
|
+
{
|
|
216
|
+
key: "card",
|
|
217
|
+
label: "Card",
|
|
218
|
+
field_interface: "BoxWidget",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
key: "media",
|
|
222
|
+
label: "Media",
|
|
223
|
+
field_interface: "MediaWidget",
|
|
224
|
+
hint: {
|
|
225
|
+
prompt_description:
|
|
226
|
+
"Featured image for the filter post card, visually representing the article. Should be high-quality, visually engaging, and align with the filter's topic. Landscape orientation, fits the top portion of the card.",
|
|
227
|
+
orientation: "landscape",
|
|
228
|
+
size: "large",
|
|
229
|
+
usecase: "hero",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
key: "filter_info_wrapper",
|
|
234
|
+
label: "Filter Info Wrapper",
|
|
235
|
+
field_interface: "BoxWidget",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
key: "filter_content",
|
|
239
|
+
label: "Filter Content",
|
|
240
|
+
field_interface: "BoxWidget",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
key: "points",
|
|
244
|
+
label: "Points",
|
|
245
|
+
kind: "group",
|
|
246
|
+
field_interface: "BoxWidget",
|
|
247
|
+
hint: {
|
|
248
|
+
prompt_description:
|
|
249
|
+
"Repeatable group for points, allowing multiple roles or titles to be displayed alongside their respective icons.",
|
|
250
|
+
min_items: 1,
|
|
251
|
+
max_items: 3,
|
|
252
|
+
},
|
|
253
|
+
fields: [
|
|
254
|
+
{
|
|
255
|
+
key: "container",
|
|
256
|
+
label: "Container",
|
|
257
|
+
field_interface: "BoxWidget",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
key: "icon",
|
|
261
|
+
label: "Icon",
|
|
262
|
+
field_interface: "IconWidget",
|
|
263
|
+
hint: {
|
|
264
|
+
prompt_description:
|
|
265
|
+
"Small icon placed next to the designation, visually representing the role or position. Minimalistic style preferred.",
|
|
266
|
+
orientation: "square",
|
|
267
|
+
size: "icon",
|
|
268
|
+
usecase: "icon",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
key: "text",
|
|
273
|
+
label: "Text",
|
|
274
|
+
field_interface: "TypographyWidget",
|
|
275
|
+
hint: {
|
|
276
|
+
prompt_description:
|
|
277
|
+
"Professional designation or job title for the person, such as 'Senior Designer' or 'Lead Developer'. Keep it brief and professional.",
|
|
278
|
+
min_characters: 10,
|
|
279
|
+
max_characters: 30,
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
key: "title",
|
|
286
|
+
label: "Title",
|
|
287
|
+
field_interface: "HeadingWidget",
|
|
288
|
+
hint: {
|
|
289
|
+
prompt_description:
|
|
290
|
+
"Headline for the filter post card, designed to attract attention and encourage clicks. Should be clear, engaging, and fit on 1 or 2 lines. Use an editorial, inviting tone.",
|
|
291
|
+
min_characters: 28,
|
|
292
|
+
max_characters: 60,
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
key: "description",
|
|
297
|
+
label: "Description",
|
|
298
|
+
field_interface: "TypographyWidget",
|
|
299
|
+
hint: {
|
|
300
|
+
prompt_description:
|
|
301
|
+
"Short excerpt or summary of the article, displayed on the card. It should generate curiosity and briefly explain the filter's theme or story in 1-2 concise sentences.",
|
|
302
|
+
min_characters: 60,
|
|
303
|
+
max_characters: 130,
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
key: "cta",
|
|
308
|
+
label: "CTA",
|
|
309
|
+
field_interface: "ButtonWidget",
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
key: "pagination_wrapper",
|
|
315
|
+
label: "Pagination Wrapper",
|
|
316
|
+
field_interface: "BoxWidget",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
key: "pagination_left",
|
|
320
|
+
label: "Pagination Left",
|
|
321
|
+
field_interface: "ButtonWidget",
|
|
322
|
+
hint: {
|
|
323
|
+
prompt_description:
|
|
324
|
+
"Pagination control button to navigate to the previous page of filter cards. Keep the label brief, such as 'Previous' or a left arrow. Tone should be neutral and functional.",
|
|
325
|
+
min_characters: 5,
|
|
326
|
+
max_characters: 12,
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
key: "pagination_text",
|
|
331
|
+
label: "Pagination text",
|
|
332
|
+
field_interface: "TypographyWidget",
|
|
333
|
+
hint: {
|
|
334
|
+
prompt_description:
|
|
335
|
+
"Displays current and total page number in the paginator, e.g. '1/3' or 'Page 2 of 4'. Should be minimal, clear, and unambiguous.",
|
|
336
|
+
min_characters: 3,
|
|
337
|
+
max_characters: 12,
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
key: "pagination_right",
|
|
342
|
+
label: "Pagination Right",
|
|
343
|
+
field_interface: "ButtonWidget",
|
|
344
|
+
hint: {
|
|
345
|
+
prompt_description:
|
|
346
|
+
"Pagination control button to navigate to the next page of filter cards. Should be concise, such as 'Next' or a right arrow. Neutral tone.",
|
|
347
|
+
min_characters: 4,
|
|
348
|
+
max_characters: 8,
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
layouts: [
|
|
353
|
+
{
|
|
354
|
+
key: "default",
|
|
355
|
+
title: "Default",
|
|
356
|
+
styles: {
|
|
357
|
+
layout: {
|
|
358
|
+
width: "100%",
|
|
359
|
+
"padding-top": "10xl",
|
|
360
|
+
"padding-bottom": "10xl",
|
|
361
|
+
"padding-right": "8xl",
|
|
362
|
+
"padding-left": "8xl",
|
|
363
|
+
tablet: {
|
|
364
|
+
"padding-top": "5xl",
|
|
365
|
+
"padding-bottom": "5xl",
|
|
366
|
+
"padding-right": "5xl",
|
|
367
|
+
"padding-left": "5xl",
|
|
368
|
+
},
|
|
369
|
+
mobile: {
|
|
370
|
+
"padding-top": "2xl",
|
|
371
|
+
"padding-bottom": "2xl",
|
|
372
|
+
"padding-right": "2xl",
|
|
373
|
+
"padding-left": "2xl",
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
container: {
|
|
377
|
+
width: "100%",
|
|
378
|
+
display: "flex",
|
|
379
|
+
"flex-direction": "column",
|
|
380
|
+
"row-gap": "7xl",
|
|
381
|
+
tablet: {
|
|
382
|
+
"row-gap": "3xl",
|
|
383
|
+
},
|
|
384
|
+
mobile: {
|
|
385
|
+
"row-gap": "4xl",
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
header_wrapper: {
|
|
389
|
+
display: "flex",
|
|
390
|
+
width: "full",
|
|
391
|
+
"align-items": "center",
|
|
392
|
+
"justify-content": "space-between",
|
|
393
|
+
mobile: {
|
|
394
|
+
"row-gap": "2xs",
|
|
395
|
+
"flex-direction": "column",
|
|
396
|
+
"align-items": "flex-start",
|
|
397
|
+
"justify-content": "flex-start",
|
|
398
|
+
},
|
|
399
|
+
},
|
|
400
|
+
header: {
|
|
401
|
+
flex: "1",
|
|
402
|
+
},
|
|
403
|
+
listing_wrapper: {
|
|
404
|
+
display: "flex",
|
|
405
|
+
"column-gap": "3xl",
|
|
406
|
+
"align-items": "flex-start",
|
|
407
|
+
},
|
|
408
|
+
filters_accordion: {
|
|
409
|
+
width: "280px",
|
|
410
|
+
"min-width": "280px",
|
|
411
|
+
tablet: {
|
|
412
|
+
width: "240px",
|
|
413
|
+
"min-width": "240px",
|
|
414
|
+
},
|
|
415
|
+
mobile: {
|
|
416
|
+
width: "100%",
|
|
417
|
+
"min-width": "auto",
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
filters_accordion_item: {
|
|
421
|
+
"border-color": "var(--color-border)",
|
|
422
|
+
"border-width": "1px",
|
|
423
|
+
"border-style": "solid",
|
|
424
|
+
"border-radius": "xl",
|
|
425
|
+
"background-color": "white",
|
|
426
|
+
"box-shadow": "lg",
|
|
427
|
+
},
|
|
428
|
+
filters_accordion_trigger: {
|
|
429
|
+
width: "100%",
|
|
430
|
+
display: "flex",
|
|
431
|
+
"align-items": "center",
|
|
432
|
+
"justify-content": "space-between",
|
|
433
|
+
"padding-top": "lg",
|
|
434
|
+
"padding-bottom": "lg",
|
|
435
|
+
"padding-left": "xl",
|
|
436
|
+
"padding-right": "xl",
|
|
437
|
+
tablet: {
|
|
438
|
+
"padding-top": "md",
|
|
439
|
+
"padding-bottom": "md",
|
|
440
|
+
"padding-left": "lg",
|
|
441
|
+
"padding-right": "lg",
|
|
442
|
+
},
|
|
443
|
+
mobile: {
|
|
444
|
+
"padding-top": "sm",
|
|
445
|
+
"padding-bottom": "sm",
|
|
446
|
+
"padding-left": "md",
|
|
447
|
+
"padding-right": "md",
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
filters_accordion_title: {
|
|
451
|
+
"font-size": "lg",
|
|
452
|
+
"font-weight": 600,
|
|
453
|
+
color: "text-1",
|
|
454
|
+
},
|
|
455
|
+
filters_accordion_content: {
|
|
456
|
+
"padding-top": "none",
|
|
457
|
+
"padding-bottom": "xl",
|
|
458
|
+
"padding-left": "xl",
|
|
459
|
+
"padding-right": "xl",
|
|
460
|
+
tablet: {
|
|
461
|
+
"padding-bottom": "lg",
|
|
462
|
+
"padding-left": "lg",
|
|
463
|
+
"padding-right": "lg",
|
|
464
|
+
},
|
|
465
|
+
mobile: {
|
|
466
|
+
"padding-bottom": "md",
|
|
467
|
+
"padding-left": "md",
|
|
468
|
+
"padding-right": "md",
|
|
469
|
+
},
|
|
470
|
+
},
|
|
471
|
+
filters_box: {
|
|
472
|
+
display: "flex",
|
|
473
|
+
"flex-direction": "column",
|
|
474
|
+
"row-gap": "xl",
|
|
475
|
+
},
|
|
476
|
+
listing_levoGroup: {
|
|
477
|
+
display: "grid",
|
|
478
|
+
width: "full",
|
|
479
|
+
"grid-template-columns": "repeat(3, minmax(0, 1fr))",
|
|
480
|
+
"row-gap": "2xl",
|
|
481
|
+
"column-gap": "2xl",
|
|
482
|
+
flex: "1",
|
|
483
|
+
tablet: {
|
|
484
|
+
"grid-template-columns": "repeat(2, minmax(0, 1fr))",
|
|
485
|
+
"row-gap": "xl",
|
|
486
|
+
"column-gap": "xl",
|
|
487
|
+
},
|
|
488
|
+
mobile: {
|
|
489
|
+
"grid-template-columns": "repeat(1, minmax(0, 1fr))",
|
|
490
|
+
"row-gap": "2xl",
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
listing: [
|
|
494
|
+
{
|
|
495
|
+
card: {
|
|
496
|
+
display: "flex",
|
|
497
|
+
width: "full",
|
|
498
|
+
"flex-direction": "column",
|
|
499
|
+
"row-gap": "xl",
|
|
500
|
+
tablet: {
|
|
501
|
+
"row-gap": "md",
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
media: {
|
|
505
|
+
height: "240px",
|
|
506
|
+
width: "full",
|
|
507
|
+
"object-fit": "cover",
|
|
508
|
+
},
|
|
509
|
+
filter_info_wrapper: {
|
|
510
|
+
display: "flex",
|
|
511
|
+
width: "full",
|
|
512
|
+
"flex-direction": "column",
|
|
513
|
+
"row-gap": "base",
|
|
514
|
+
tablet: {
|
|
515
|
+
"row-gap": "xs",
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
filter_content: {
|
|
519
|
+
display: "flex",
|
|
520
|
+
width: "full",
|
|
521
|
+
"flex-direction": "column",
|
|
522
|
+
"row-gap": "xs",
|
|
523
|
+
tablet: {
|
|
524
|
+
"row-gap": "2xs",
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
points_levoGroup: {
|
|
528
|
+
display: "flex",
|
|
529
|
+
"flex-direction": "column",
|
|
530
|
+
"row-gap": "2xs",
|
|
531
|
+
},
|
|
532
|
+
points: [
|
|
533
|
+
{
|
|
534
|
+
container: {
|
|
535
|
+
display: "flex",
|
|
536
|
+
width: "full",
|
|
537
|
+
"align-items": "center",
|
|
538
|
+
"column-gap": "xs",
|
|
539
|
+
tablet: {
|
|
540
|
+
"column-gap": "2xs",
|
|
541
|
+
},
|
|
542
|
+
},
|
|
543
|
+
icon: {
|
|
544
|
+
height: "22px",
|
|
545
|
+
width: "22px",
|
|
546
|
+
"object-fit": "contain",
|
|
547
|
+
tablet: {
|
|
548
|
+
height: "18px",
|
|
549
|
+
width: "18px",
|
|
550
|
+
},
|
|
551
|
+
"font-size": "22px",
|
|
552
|
+
},
|
|
553
|
+
text: {
|
|
554
|
+
"font-size": "lg",
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
title: {
|
|
559
|
+
color: "text-1",
|
|
560
|
+
},
|
|
561
|
+
description: {
|
|
562
|
+
color: "text-2",
|
|
563
|
+
},
|
|
564
|
+
|
|
565
|
+
session_icon: {
|
|
566
|
+
height: "22px",
|
|
567
|
+
width: "22px",
|
|
568
|
+
"object-fit": "contain",
|
|
569
|
+
"font-size": "22px",
|
|
570
|
+
},
|
|
571
|
+
session_text: {
|
|
572
|
+
"font-size": "lg",
|
|
573
|
+
"font-weight": "normal",
|
|
574
|
+
color: "text-2",
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
pagination_wrapper: {
|
|
579
|
+
display: "flex",
|
|
580
|
+
width: "full",
|
|
581
|
+
"justify-content": "center",
|
|
582
|
+
"align-items": "center",
|
|
583
|
+
"column-gap": "md",
|
|
584
|
+
},
|
|
585
|
+
pagination_left: {},
|
|
586
|
+
pagination_text: {},
|
|
587
|
+
pagination_right: {},
|
|
588
|
+
},
|
|
589
|
+
content: DEFAULT_CONTENT,
|
|
590
|
+
config: {
|
|
591
|
+
header: {
|
|
592
|
+
heading: {
|
|
593
|
+
level: 2,
|
|
594
|
+
},
|
|
595
|
+
selectedVariants: {
|
|
596
|
+
Heading_Level: "H2",
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
listing: [
|
|
600
|
+
{
|
|
601
|
+
title: {
|
|
602
|
+
selectedVariants: {
|
|
603
|
+
Heading_Level: "H5",
|
|
604
|
+
},
|
|
605
|
+
heading: {
|
|
606
|
+
level: 5,
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
},
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
};
|