Static CMS v4 (#250)
All checks were successful
website-main / prod-build (push) Successful in 27s
website-main / test-build (push) Successful in 6s

Schließt #247

Reviewed-on: #250
This commit is contained in:
2023-12-11 20:07:24 +01:00
parent 62e4b16e1e
commit 65260f63c6
22 changed files with 143 additions and 121 deletions

View File

@ -1,4 +1,4 @@
import { MarkdownProps } from "../props.js";
import { MarkdownProps, ImageProps } from "../props.js";
import { DraftBoolean, Title } from "./widgets.js";
const AbiturientenCollection = {
@ -33,9 +33,8 @@ const AbiturientenCollection = {
{
name: "image",
label: "Bild",
widget: "image",
default: "/media/image.webp",
required: false,
...ImageProps,
},
{
name: "type",
@ -46,7 +45,6 @@ const AbiturientenCollection = {
{
name: "body",
label: "Text",
widget: "markdown",
required: false,
...MarkdownProps,
},