@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.
Files changed (115) hide show
  1. package/package.json +2 -2
  2. package/src/blocks/about-us/about-us-1.schema.ts +26 -12
  3. package/src/blocks/about-us/about-us-2.schema.ts +269 -0
  4. package/src/blocks/about-us/about-us-2.tsx +47 -0
  5. package/src/blocks/blogs/blog-listing-1.schema.ts +64 -10
  6. package/src/blocks/blogs/blog-listing-1.tsx +79 -56
  7. package/src/blocks/blogs/blog-listing-2.schema.ts +3141 -31
  8. package/src/blocks/blogs/blog-listing-2.tsx +16 -11
  9. package/src/blocks/blogs/blog-listing-3.schema.ts +2476 -0
  10. package/src/blocks/blogs/blog-listing-3.tsx +84 -0
  11. package/src/blocks/blogs/blog-post-1.schema.ts +17 -9
  12. package/src/blocks/blogs/blog-post-2.schema.ts +13 -56
  13. package/src/blocks/blogs/blog-post-3.schema.ts +284 -0
  14. package/src/blocks/blogs/blog-post-3.tsx +58 -0
  15. package/src/blocks/cards/cards-10.schema.ts +579 -0
  16. package/src/blocks/cards/cards-10.tsx +2 -0
  17. package/src/blocks/cards/cards-11.schema.ts +514 -36
  18. package/src/blocks/cards/cards-13.schema.ts +615 -0
  19. package/src/blocks/cards/cards-13.tsx +67 -0
  20. package/src/blocks/cards/cards-2.schema.ts +14 -17
  21. package/src/blocks/cards/cards-3.schema.ts +15 -25
  22. package/src/blocks/cards/cards-4.schema.ts +22 -44
  23. package/src/blocks/cards/cards-4.tsx +39 -39
  24. package/src/blocks/cards/cards-5.schema.ts +15 -34
  25. package/src/blocks/cards/cards-6.schema.ts +1500 -0
  26. package/src/blocks/cards/cards-6.tsx +11 -7
  27. package/src/blocks/cards/cards-7.schema.ts +1772 -27
  28. package/src/blocks/cards/cards-7.tsx +32 -0
  29. package/src/blocks/cards/cards-8.schema.ts +9 -9
  30. package/src/blocks/contact-us/contact-us-1.schema.ts +13 -6
  31. package/src/blocks/contact-us/contact-us-2.schema.ts +43 -43
  32. package/src/blocks/content/content-1.schema.ts +45 -67
  33. package/src/blocks/content/content-2.schema.ts +14 -11
  34. package/src/blocks/content/content-3.schema.ts +17 -115
  35. package/src/blocks/content/content-3.tsx +1 -0
  36. package/src/blocks/content/content-5.tsx +1 -0
  37. package/src/blocks/content/content-6.tsx +1 -0
  38. package/src/blocks/content/content-7.schema.ts +723 -0
  39. package/src/blocks/content/content-7.tsx +53 -0
  40. package/src/blocks/cta/cta-1.schema.ts +18 -26
  41. package/src/blocks/cta/cta-3.schema.ts +60 -0
  42. package/src/blocks/event/event-details.schema.ts +30 -35
  43. package/src/blocks/event/event-details.tsx +74 -79
  44. package/src/blocks/event/event-listing-2.schema.ts +85 -26
  45. package/src/blocks/event/event-listing-2.tsx +76 -52
  46. package/src/blocks/event/event-listing-3.schema.ts +58 -42
  47. package/src/blocks/event/event-listing-3.tsx +4 -9
  48. package/src/blocks/event/event-listing-4.schema.ts +3528 -0
  49. package/src/blocks/event/event-listing-4.tsx +97 -0
  50. package/src/blocks/event/event-listing.schema.ts +81 -86
  51. package/src/blocks/event/event-listing.tsx +1 -3
  52. package/src/blocks/faq/faq-1.schema.ts +13 -10
  53. package/src/blocks/faq/faq-2.schema.ts +12 -10
  54. package/src/blocks/features/features-1/variants/default.ts +12 -3
  55. package/src/blocks/features/features-2.schema.ts +192 -59
  56. package/src/blocks/features/features-3.schema.ts +11 -25
  57. package/src/blocks/features/features-4.schema.ts +20 -35
  58. package/src/blocks/features/features-5.schema.ts +18 -37
  59. package/src/blocks/footer/footer-1.schema.ts +28 -5
  60. package/src/blocks/footer/footer-2.schema.ts +18 -3
  61. package/src/blocks/footer/footer-3.schema.ts +85 -160
  62. package/src/blocks/footer/footer-3.tsx +1 -2
  63. package/src/blocks/footer/footer-4.schema.ts +10 -5
  64. package/src/blocks/footer/footer-4.tsx +1 -1
  65. package/src/blocks/footer/footer-5.schema.ts +10 -0
  66. package/src/blocks/footer/footer-5.tsx +11 -3
  67. package/src/blocks/footer/footer-6.schema.ts +730 -0
  68. package/src/blocks/footer/footer-6.tsx +100 -0
  69. package/src/blocks/hero/hero-1.schema.ts +165 -185
  70. package/src/blocks/hero/hero-10.schema.ts +175 -0
  71. package/src/blocks/hero/hero-10.tsx +35 -0
  72. package/src/blocks/hero/hero-2.schema.ts +60 -104
  73. package/src/blocks/hero/hero-2.tsx +11 -3
  74. package/src/blocks/hero/hero-3.schema.ts +68 -64
  75. package/src/blocks/hero/hero-4.schema.ts +148 -48
  76. package/src/blocks/hero/hero-5.schema.ts +29 -23
  77. package/src/blocks/hero/hero-6.schema.ts +28 -66
  78. package/src/blocks/hero/hero-7.schema.ts +34 -37
  79. package/src/blocks/hero/hero-8.schema.ts +5 -1
  80. package/src/blocks/index.ts +11 -0
  81. package/src/blocks/logos/logos-1.schema.ts +10 -4
  82. package/src/blocks/navbar/navbar-1.schema.ts +3 -5
  83. package/src/blocks/navbar/navbar-1.tsx +5 -19
  84. package/src/blocks/navbar/navbar-2.schema.ts +2 -4
  85. package/src/blocks/navbar/navbar-2.tsx +4 -18
  86. package/src/blocks/navbar/navbar-3.schema.ts +6834 -0
  87. package/src/blocks/navbar/navbar-3.tsx +551 -0
  88. package/src/blocks/pricing/pricing-1.schema.ts +23 -37
  89. package/src/blocks/products/products-listing-1.schema.ts +73 -76
  90. package/src/blocks/profile/profile-1.schema.ts +399 -0
  91. package/src/blocks/profile/profile-1.tsx +64 -0
  92. package/src/blocks/stats/stats-1.schema.ts +34 -3
  93. package/src/blocks/stats/variants/default.ts +0 -1
  94. package/src/blocks/stats/variants/hero.ts +2 -13
  95. package/src/blocks/team/team-1.schema.ts +50 -22
  96. package/src/blocks/team/team-1.tsx +9 -3
  97. package/src/blocks/team/team-2.schema.ts +96 -167
  98. package/src/blocks/team/team-3.schema.ts +32 -49
  99. package/src/blocks/team/team-4.schema.ts +551 -0
  100. package/src/blocks/team/team-4.tsx +59 -0
  101. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +10 -20
  102. package/src/blocks/testimonial/testimonial-1.schema.ts +14 -8
  103. package/src/blocks/testimonial/testimonial-2.schema.ts +2 -2
  104. package/src/blocks/testimonial/testimonial-3.schema.ts +12 -18
  105. package/src/blocks/testimonial/testimonial-4.schema.ts +131 -126
  106. package/src/blocks/testimonial/testimonial-5/variants/default.ts +510 -0
  107. package/src/blocks/testimonial/testimonial-5/variants/index.ts +4 -0
  108. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +887 -0
  109. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +923 -0
  110. package/src/blocks/testimonial/testimonial-5.schema.ts +62 -246
  111. package/src/blocks/testimonial/testimonial-5.tsx +32 -8
  112. package/src/blocks/testimonial/testimonial-6.schema.ts +986 -23
  113. package/src/blocks/testimonial/testimonial-6.tsx +107 -57
  114. package/src/schemas/blocks.ts +22 -0
  115. package/src/schemas/categories.ts +6 -0
@@ -56,70 +56,120 @@ const Testimonial6: React.FC<ILevoBlockBaseProps<ITestimonial6Content>> = ({
56
56
  return (
57
57
  <Section elementKey="layout">
58
58
  <Container elementKey="container">
59
- <Carousel
60
- elementKey="testimonials_levoGroup"
61
- className="w-full"
62
- setApi={setApi}
63
- data-levo_group
64
- >
65
- <CarouselContent>
66
- {(content?.testimonials ?? [])?.map((_: any, index: number) => (
67
- <CarouselItem key={index} data-levo_group_item>
68
- <Box elementKey={`testimonials.${index}.testimonial`}>
69
- <Box elementKey={`testimonials.${index}.icon-container`}>
70
- <Icon elementKey={`testimonials.${index}.icon`} />
71
- </Box>
72
- <Box elementKey={`testimonials.${index}.content-container`}>
73
- <Box
74
- elementKey={`testimonials.${index}.testimonial-content`}
75
- >
76
- <Typography
77
- elementKey={`testimonials.${index}.testimonial-text`}
78
- />
59
+ <Box elementKey="carousel-container">
60
+ {count > 0 && (
61
+ <Button
62
+ elementKey="carousel-navigation-arrow-left-side"
63
+ onClick={handlePrevious}
64
+ disabled={isFirstSlide}
65
+ style={{
66
+ opacity: isFirstSlide ? 0.5 : 1,
67
+ cursor: isFirstSlide ? "not-allowed" : "pointer",
68
+ }}
69
+ />
70
+ )}
71
+ <Carousel
72
+ elementKey="testimonials_levoGroup"
73
+ className="w-full"
74
+ setApi={setApi}
75
+ data-levo_group
76
+ >
77
+ <CarouselContent>
78
+ {(content?.testimonials ?? [])?.map((_: any, index: number) => (
79
+ <CarouselItem key={index} data-levo_group_item>
80
+ <Box elementKey={`testimonials.${index}.testimonial`}>
81
+ <Box elementKey={`testimonials.${index}.icon-container`}>
82
+ <Icon elementKey={`testimonials.${index}.icon`} />
79
83
  </Box>
80
- <Box elementKey={`testimonials.${index}.bottom-section`}>
81
- <Box elementKey={`testimonials.${index}.author-section`}>
82
- <Icon
83
- elementKey={`testimonials.${index}.author-avatar`}
84
+ <Box elementKey={`testimonials.${index}.content-container`}>
85
+ <Box
86
+ elementKey={`testimonials.${index}.testimonial-content`}
87
+ >
88
+ <Typography
89
+ elementKey={`testimonials.${index}.testimonial-text`}
84
90
  />
85
- <Box elementKey={`testimonials.${index}.author-info`}>
86
- <Heading
87
- elementKey={`testimonials.${index}.author-name`}
88
- />
89
- <Typography
90
- elementKey={`testimonials.${index}.author-position`}
91
+ </Box>
92
+ <Box elementKey={`testimonials.${index}.bottom-section`}>
93
+ <Box
94
+ elementKey={`testimonials.${index}.author-section`}
95
+ >
96
+ <Icon
97
+ elementKey={`testimonials.${index}.author-avatar`}
91
98
  />
99
+ <Box elementKey={`testimonials.${index}.author-info`}>
100
+ <Heading
101
+ elementKey={`testimonials.${index}.author-name`}
102
+ />
103
+ <Typography
104
+ elementKey={`testimonials.${index}.author-position`}
105
+ />
106
+ </Box>
92
107
  </Box>
108
+ {count > 0 && index === current && (
109
+ <Box elementKey="carousel-navigation">
110
+ <Button
111
+ elementKey="carousel-navigation-arrow-left"
112
+ onClick={handlePrevious}
113
+ disabled={isFirstSlide}
114
+ style={{
115
+ opacity: isFirstSlide ? 0.5 : 1,
116
+ cursor: isFirstSlide
117
+ ? "not-allowed"
118
+ : "pointer",
119
+ }}
120
+ ></Button>
121
+ <Button
122
+ elementKey="carousel-navigation-arrow-right"
123
+ onClick={handleNext}
124
+ disabled={isLastSlide}
125
+ style={{
126
+ opacity: isLastSlide ? 0.5 : 1,
127
+ cursor: isLastSlide ? "not-allowed" : "pointer",
128
+ }}
129
+ ></Button>
130
+ </Box>
131
+ )}
93
132
  </Box>
94
- {count > 0 && index === current && (
95
- <Box elementKey="carousel-navigation">
96
- <Button
97
- elementKey="carousel-navigation-arrow-left"
98
- onClick={handlePrevious}
99
- disabled={isFirstSlide}
100
- style={{
101
- opacity: isFirstSlide ? 0.5 : 1,
102
- cursor: isFirstSlide ? "not-allowed" : "pointer",
103
- }}
104
- ></Button>
105
- <Button
106
- elementKey="carousel-navigation-arrow-right"
107
- onClick={handleNext}
108
- disabled={isLastSlide}
109
- style={{
110
- opacity: isLastSlide ? 0.5 : 1,
111
- cursor: isLastSlide ? "not-allowed" : "pointer",
112
- }}
113
- ></Button>
114
- </Box>
115
- )}
116
133
  </Box>
117
134
  </Box>
118
- </Box>
119
- </CarouselItem>
120
- ))}
121
- </CarouselContent>
122
- </Carousel>
135
+ </CarouselItem>
136
+ ))}
137
+ </CarouselContent>
138
+ </Carousel>
139
+ {count > 0 && (
140
+ <Button
141
+ elementKey="carousel-navigation-arrow-right-side"
142
+ onClick={handleNext}
143
+ disabled={isLastSlide}
144
+ style={{
145
+ opacity: isLastSlide ? 0.5 : 1,
146
+ cursor: isLastSlide ? "not-allowed" : "pointer",
147
+ }}
148
+ />
149
+ )}
150
+ </Box>
151
+ {count > 0 && (
152
+ <Box elementKey="carousel-navigation-bottom-container">
153
+ <Button
154
+ elementKey="carousel-navigation-arrow-left-bottom"
155
+ onClick={handlePrevious}
156
+ disabled={isFirstSlide}
157
+ style={{
158
+ opacity: isFirstSlide ? 0.5 : 1,
159
+ cursor: isFirstSlide ? "not-allowed" : "pointer",
160
+ }}
161
+ ></Button>
162
+ <Button
163
+ elementKey="carousel-navigation-arrow-right-bottom"
164
+ onClick={handleNext}
165
+ disabled={isLastSlide}
166
+ style={{
167
+ opacity: isLastSlide ? 0.5 : 1,
168
+ cursor: isLastSlide ? "not-allowed" : "pointer",
169
+ }}
170
+ ></Button>
171
+ </Box>
172
+ )}
123
173
  </Container>
124
174
  </Section>
125
175
  );
@@ -1,13 +1,17 @@
1
1
  import type { IBlock } from "@levo-so/studio";
2
2
 
3
+ import { AboutUs2 } from "../blocks/about-us/about-us-2.schema";
3
4
  import { AboutUs1 } from "../blocks/about-us/about-us-1.schema";
4
5
  import { BlogListing1 } from "../blocks/blogs/blog-listing-1.schema";
5
6
  import { BlogListing2 } from "../blocks/blogs/blog-listing-2.schema";
7
+ import { BlogListing3 } from "../blocks/blogs/blog-listing-3.schema";
6
8
  import { BlogPost1 } from "../blocks/blogs/blog-post-1.schema";
7
9
  import { BlogPost2 } from "../blocks/blogs/blog-post-2.schema";
10
+ import { BlogPost3 } from "../blocks/blogs/blog-post-3.schema";
8
11
  import { Cards10 } from "../blocks/cards/cards-10.schema";
9
12
  import { Cards11 } from "../blocks/cards/cards-11.schema";
10
13
  import { Cards12 } from "../blocks/cards/cards-12.schema";
14
+ import { Cards13 } from "../blocks/cards/cards-13.schema";
11
15
  import { Cards2 } from "../blocks/cards/cards-2.schema";
12
16
  import { Cards3 } from "../blocks/cards/cards-3.schema";
13
17
  import { Cards4 } from "../blocks/cards/cards-4.schema";
@@ -24,6 +28,7 @@ import { Content3 } from "../blocks/content/content-3.schema";
24
28
  import { Content4 } from "../blocks/content/content-4.schema";
25
29
  import { Content5 } from "../blocks/content/content-5.schema";
26
30
  import { Content6 } from "../blocks/content/content-6.schema";
31
+ import { Content7 } from "../blocks/content/content-7.schema";
27
32
  import { Cta1 } from "../blocks/cta/cta-1.schema";
28
33
  import { Cta2 } from "../blocks/cta/cta-2.schema";
29
34
  import { Cta3 } from "../blocks/cta/cta-3.schema";
@@ -31,6 +36,7 @@ import { Embed1 } from "../blocks/embed/embed-1.schema";
31
36
  import { EventDetails } from "../blocks/event/event-details.schema";
32
37
  import { EventListing2 } from "../blocks/event/event-listing-2.schema";
33
38
  import { EventListing3 } from "../blocks/event/event-listing-3.schema";
39
+ import { EventListing4 } from "../blocks/event/event-listing-4.schema";
34
40
  import { EventListing } from "../blocks/event/event-listing.schema";
35
41
  import { Faq1 } from "../blocks/faq/faq-1.schema";
36
42
  import { Faq2 } from "../blocks/faq/faq-2.schema";
@@ -46,6 +52,7 @@ import { Footer2 } from "../blocks/footer/footer-2.schema";
46
52
  import { Footer3 } from "../blocks/footer/footer-3.schema";
47
53
  import { Footer4 } from "../blocks/footer/footer-4.schema";
48
54
  import { Footer5 } from "../blocks/footer/footer-5.schema";
55
+ import { Footer6 } from "../blocks/footer/footer-6.schema";
49
56
  import { Hero1 } from "../blocks/hero/hero-1.schema";
50
57
  import { Hero2 } from "../blocks/hero/hero-2.schema";
51
58
  import { Hero4 } from "../blocks/hero/hero-4.schema";
@@ -54,9 +61,11 @@ import { Hero6 } from "../blocks/hero/hero-6.schema";
54
61
  import { Hero7 } from "../blocks/hero/hero-7.schema";
55
62
  import { Hero8 } from "../blocks/hero/hero-8.schema";
56
63
  import { Hero9 } from "../blocks/hero/hero-9.schema";
64
+ import { Hero10 } from "../blocks/hero/hero-10.schema";
57
65
  import { Logos1 } from "../blocks/logos/logos-1.schema";
58
66
  import { Navbar1 } from "../blocks/navbar/navbar-1.schema";
59
67
  import { Navbar2 } from "../blocks/navbar/navbar-2.schema";
68
+ import { Navbar3 } from "../blocks/navbar/navbar-3.schema";
60
69
  import { Pricing1 } from "../blocks/pricing/pricing-1.schema";
61
70
  import { ProductsListing1 } from "../blocks/products/products-listing-1.schema";
62
71
  import { Stats1 } from "../blocks/stats/stats-1.schema";
@@ -64,6 +73,7 @@ import { Stats2 } from "../blocks/stats/stats-2.schema";
64
73
  import { Team1 } from "../blocks/team/team-1.schema";
65
74
  import { Team2 } from "../blocks/team/team-2.schema";
66
75
  import { Team3 } from "../blocks/team/team-3.schema";
76
+ import { Team4 } from "../blocks/team/team-4.schema";
67
77
  import { TermsAndConditions1 } from "../blocks/termsAndPrivacy/terms-and-conditions-1.schema";
68
78
  import { Testimonial1 } from "../blocks/testimonial/testimonial-1.schema";
69
79
  import { Testimonial2 } from "../blocks/testimonial/testimonial-2.schema";
@@ -71,13 +81,17 @@ import { Testimonial3 } from "../blocks/testimonial/testimonial-3.schema";
71
81
  import { Testimonial4 } from "../blocks/testimonial/testimonial-4.schema";
72
82
  import { Testimonial5 } from "../blocks/testimonial/testimonial-5.schema";
73
83
  import { Testimonial6 } from "../blocks/testimonial/testimonial-6.schema";
84
+ import { Profile1 } from "../blocks/profile/profile-1.schema";
74
85
 
75
86
  export const BlockList: IBlock[] = [
87
+ AboutUs2,
76
88
  AboutUs1,
77
89
  BlogListing1,
78
90
  BlogListing2,
91
+ BlogListing3,
79
92
  BlogPost1,
80
93
  BlogPost2,
94
+ BlogPost3,
81
95
  Cards2,
82
96
  Cards3,
83
97
  Cards4,
@@ -88,6 +102,7 @@ export const BlockList: IBlock[] = [
88
102
  Cards10,
89
103
  Cards11,
90
104
  Cards12,
105
+ Cards13,
91
106
  ContactUs1,
92
107
  ContactUs2,
93
108
  Content1,
@@ -96,6 +111,7 @@ export const BlockList: IBlock[] = [
96
111
  Content4,
97
112
  Content5,
98
113
  Content6,
114
+ Content7,
99
115
  Cta1,
100
116
  Cta2,
101
117
  Cta3,
@@ -103,6 +119,7 @@ export const BlockList: IBlock[] = [
103
119
  EventListing,
104
120
  EventListing2,
105
121
  EventListing3,
122
+ EventListing4,
106
123
  EventDetails,
107
124
  Faq1,
108
125
  Faq2,
@@ -118,6 +135,7 @@ export const BlockList: IBlock[] = [
118
135
  Footer3,
119
136
  Footer4,
120
137
  Footer5,
138
+ Footer6,
121
139
  Hero1,
122
140
  Hero2,
123
141
  Hero4,
@@ -126,9 +144,11 @@ export const BlockList: IBlock[] = [
126
144
  Hero7,
127
145
  Hero8,
128
146
  Hero9,
147
+ Hero10,
129
148
  Logos1,
130
149
  Navbar1,
131
150
  Navbar2,
151
+ Navbar3,
132
152
  Pricing1,
133
153
  ProductsListing1,
134
154
  Stats1,
@@ -136,6 +156,7 @@ export const BlockList: IBlock[] = [
136
156
  Team1,
137
157
  Team2,
138
158
  Team3,
159
+ Team4,
139
160
  Testimonial1,
140
161
  Testimonial2,
141
162
  Testimonial3,
@@ -144,4 +165,5 @@ export const BlockList: IBlock[] = [
144
165
  Testimonial6,
145
166
  TermsAndConditions1,
146
167
  Carousel1,
168
+ Profile1,
147
169
  ];
@@ -127,6 +127,12 @@ const categories: IBlockCategory[] = [
127
127
  description: "",
128
128
  media: [],
129
129
  },
130
+ {
131
+ id: "profile",
132
+ title: "Profile",
133
+ description: "",
134
+ media: [],
135
+ },
130
136
  ];
131
137
 
132
138
  export const BlockCategoryList: IBlockCategory[] = [...categories].sort(