@levo-so/blocks 0.1.68 → 0.1.72
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 +4 -4
- package/src/blocks/hero/hero-1.schema.ts +5 -0
- package/src/blocks/hero/hero-1.tsx +1 -0
- package/src/blocks/hero/hero-11.schema.ts +5 -0
- package/src/blocks/hero/hero-11.tsx +2 -0
- package/src/blocks/navbar/navbar-2.schema.ts +861 -7
- package/src/blocks/navbar/navbar-2.tsx +16 -7
- package/src/blocks/navbar/navbar-3.schema.ts +6077 -0
- package/src/blocks/navbar/navbar-3.tsx +17 -7
- package/src/blocks/navbar/navbar-4.schema.ts +13301 -15
- package/src/blocks/navbar/navbar-4.tsx +16 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levo-so/blocks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"author": "Levo Engineering <devs@theinternetfolks.com>",
|
|
5
5
|
"description": "Set of blocks for Levo studio",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": ">=18",
|
|
17
17
|
"react-dom": ">=18",
|
|
18
|
-
"@levo-so/react": "0.1.
|
|
19
|
-
"@levo-so/studio": "0.1.
|
|
20
|
-
"@levo-so/core": "0.1.
|
|
18
|
+
"@levo-so/react": "0.1.71",
|
|
19
|
+
"@levo-so/studio": "0.1.72",
|
|
20
|
+
"@levo-so/core": "0.1.71"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"dayjs": "1.11.13",
|
|
@@ -171,6 +171,11 @@ export const Hero1: IBlock = {
|
|
|
171
171
|
"A vertical stack grouping the heading, subtitle, and call-to-action button together. Should align items to the left and provide ample vertical spacing for readability and focus.",
|
|
172
172
|
},
|
|
173
173
|
},
|
|
174
|
+
{
|
|
175
|
+
key: "logo",
|
|
176
|
+
label: "Logo",
|
|
177
|
+
field_interface: "MediaWidget",
|
|
178
|
+
},
|
|
174
179
|
{
|
|
175
180
|
key: "label_wrapper",
|
|
176
181
|
label: "Label Wrapper",
|
|
@@ -16,6 +16,7 @@ const Hero1: React.FC<ILevoBlockBaseProps<IHero1Content>> = ({ content }) => (
|
|
|
16
16
|
<Container elementKey="container">
|
|
17
17
|
<Box elementKey="content_wrapper">
|
|
18
18
|
<Box elementKey="text_wrapper">
|
|
19
|
+
<Media elementKey="logo" alt="Logo" width={559} height={400} />
|
|
19
20
|
<Box elementKey="label_wrapper">
|
|
20
21
|
<Box elementKey="horizontal_divider" />
|
|
21
22
|
<Typography elementKey="label" />
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
Heading,
|
|
6
6
|
Icon,
|
|
7
7
|
type ILevoBlockBaseProps,
|
|
8
|
+
Image,
|
|
8
9
|
Section,
|
|
9
10
|
Typography,
|
|
10
11
|
} from "@levo-so/studio";
|
|
@@ -46,6 +47,7 @@ const Hero11: React.FC<ILevoBlockBaseProps<IHero11Content>> = ({ content }) => (
|
|
|
46
47
|
))}
|
|
47
48
|
</Box>
|
|
48
49
|
<Typography elementKey="caption" />
|
|
50
|
+
<Image elementKey="img" alt="Hero image" />
|
|
49
51
|
</Box>
|
|
50
52
|
</Container>
|
|
51
53
|
</Section>
|