Files
rustycms/types/fullwidth_banner.json5
Peter Meier 4de99db670
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Track all types in git, sync to server on deploy
2026-03-15 14:38:37 +01:00

43 lines
811 B
Plaintext

{
// 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"
},
}
}