zwischenstand

This commit is contained in:
2024-02-13 16:36:09 +00:00
parent 0b4a474180
commit 49e55a90f7
173 changed files with 15832 additions and 1359 deletions

12
types/content.d.ts vendored
View File

@@ -1,7 +1,7 @@
interface Page {
interface Content {
path: string
active: boolean
type: "page" | "teamMembers" | "jobOffers"
type: "page"
pageTitle: string
rows: Row[]
id: string
@@ -13,10 +13,16 @@ interface Page {
}
interface Row {
title: string
backgroundImage: string
columns: Column[]
}
type Column =
| { contentType: "image"; image: string; icons: { icon: string; link: string }[] }
| { contentType: "images"; images: string[] }
| { contentType: "moduleImport"; moduleImport: string }
| { contentType: "form"; moduleImport: string }
| { contentType: "text"; text: string }
| { contentType: "googleMaps" }
type Module = { type: "form"; form: DBFormObj; id: string } | { type: ""; id: string }