Skip to content

Commit

Permalink
fix: rename file to follow partials pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Jul 24, 2024
1 parent 39b2f42 commit 0add6d5
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 32 deletions.
File renamed without changes.
33 changes: 1 addition & 32 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,38 +75,7 @@
{
"title": "Blocks",
"id": "blocks",
"components": [
{
"title": "Cards",
"id": "cards",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Cards",
"filter": "cards"
}
}
}
}
},
{
"title": "Card",
"id": "card",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"name": "Card",
"model": "card"
}
}
}
}
}
]
"components": []
}
]
}
6 changes: 6 additions & 0 deletions component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"columns"
]
},
{
"id": "cards",
"components": [
"card"
]
},
{
"id": "column",
"components": [
Expand Down
19 changes: 19 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,25 @@
}
]
},
{
"id": "card",
"fields": [
{
"component": "reference",
"valueType": "string",
"name": "image",
"label": "Image",
"multi": false
},
{
"component": "richtext",
"name": "text",
"value": "",
"label": "Text",
"valueType": "string"
}
]
},
{
"id": "columns",
"fields": [
Expand Down

0 comments on commit 0add6d5

Please sign in to comment.