Track all types in git, sync to server on deploy
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
This commit is contained in:
43
types/fullwidth_banner.json5
Normal file
43
types/fullwidth_banner.json5
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
// Equivalent to: CF_FullwidthBanner interface
|
||||
name: "fullwidth_banner",
|
||||
description: "Full-width banner with dark/light variant",
|
||||
tags: [
|
||||
"component",
|
||||
"layout"
|
||||
],
|
||||
category: "components",
|
||||
fields: {
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Internal name"
|
||||
},
|
||||
variant: {
|
||||
type: "string",
|
||||
required: true,
|
||||
enum: [
|
||||
"dark",
|
||||
"light"
|
||||
],
|
||||
default: "light",
|
||||
description: "Color variant"
|
||||
},
|
||||
headline: {
|
||||
type: "string",
|
||||
required: true
|
||||
},
|
||||
subheadline: {
|
||||
type: "string"
|
||||
},
|
||||
text: {
|
||||
type: "richtext",
|
||||
description: "Banner body text"
|
||||
},
|
||||
image: {
|
||||
type: "referenceOrInline",
|
||||
collection: "img",
|
||||
description: "Banner image"
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user