RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
39
types/fullwidth_banner.json5
Normal file
39
types/fullwidth_banner.json5
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
// 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: "array",
|
||||
items: {
|
||||
type: "string"
|
||||
},
|
||||
description: "Image URLs"
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user