RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Peter Meier
2026-02-16 09:30:30 +01:00
commit aad93d145f
224 changed files with 19225 additions and 0 deletions

View 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"
},
}
}