Skip to content

Commit

Permalink
feat: Add Heading and SubMenuItem slices
Browse files Browse the repository at this point in the history
  • Loading branch information
IhsenBouallegue committed Jun 24, 2024
1 parent b161931 commit 60d6d48
Show file tree
Hide file tree
Showing 21 changed files with 875 additions and 37 deletions.
35 changes: 35 additions & 0 deletions customtypes/layout/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"format": "custom",
"id": "layout",
"label": "Layout",
"repeatable": false,
"status": true,
"json": {
"Header": {
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"menu_item": {
"type": "SharedSlice"
}
}
}
}
},
"Footer": {
"slices1": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"menu_item": {
"type": "SharedSlice"
}
}
}
}
}
}
}
31 changes: 31 additions & 0 deletions customtypes/sub_menu/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"format": "custom",
"id": "sub_menu",
"label": "Sub menu",
"repeatable": true,
"status": true,
"json": {
"Main": {
"uid": {
"config": {
"label": "UID"
},
"type": "UID"
},
"slices": {
"type": "Slices",
"fieldset": "Slice Zone",
"config": {
"choices": {
"sub_menu_item": {
"type": "SharedSlice"
},
"heading": {
"type": "SharedSlice"
}
}
}
}
}
}
}
Loading

0 comments on commit 60d6d48

Please sign in to comment.