Skip to content

Commit

Permalink
Re-Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikobe2020 committed Oct 7, 2024
1 parent 04734ff commit ce614be
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 4 deletions.
23 changes: 20 additions & 3 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,30 @@
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Hero 2",
"model": "hero 2"
"name": "Hero",
"model": "hero"
}
}
}
}
}
},
{
"title": "Quote",
"id": "quote",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Quote",
"model": "quote",
"quote": "<p>Think, McFly! Think!</p>",
"author": "Biff Tannen"
}
}
}
}
}
]
}
]
Expand Down
15 changes: 14 additions & 1 deletion component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,18 @@
"button",
"title"
]
}
},
{
"id": "section",
"components": [
"text",
"image",
"button",
"title",
"hero",
"cards",
"columns",
"quote"
]
}
]
19 changes: 19 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,24 @@
"valueType": "string"
}
]
},
{
"id": "quote",
"fields": [
{
"component": "richtext",
"name": "quote",
"value": "",
"label": "Quote",
"valueType": "string"
},
{
"component": "text",
"valueType": "string",
"name": "author",
"label": "Author",
"value": ""
}
]
}
]

0 comments on commit ce614be

Please sign in to comment.