Update and rework project structure with new pagebuilder concept. (based on RK Architekten and SFU Politik configs and sources)
This commit is contained in:
56
api/collections/fields/_media.yml
Normal file
56
api/collections/fields/_media.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
name: media
|
||||
type: object
|
||||
subFields:
|
||||
- name: favicon
|
||||
type: file
|
||||
meta:
|
||||
label: { de: "Favicon", en: "Favicon" }
|
||||
helperText:
|
||||
de: "Ein Favicon ist ein kleines Icon, Symbol oder Logo, das von Webbrowsern verwendet wird, um eine Website auf wiedererkennbare Weise zu kennzeichnen."
|
||||
en: "A favicon is a small icon, symbol, or logo used by web browsers to identify a website in a recognizable way."
|
||||
- name: brand
|
||||
type: file
|
||||
meta:
|
||||
label: { de: "Logo / Brand", en: "Logo / Brand" }
|
||||
helperText:
|
||||
de: "Logo der Seite"
|
||||
en: "Page Logo"
|
||||
- name: additionalBrandInformation1
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Zusätzliche Infos 1", en: "Additional brand information 1" }
|
||||
helperText:
|
||||
de: "Text, welcher neben dem Logo platziert wird"
|
||||
en: "Text placed next to the logo"
|
||||
- name: additionalBrandInformation2
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Zusätzliche Infos 2", en: "Additional brand information 2" }
|
||||
helperText:
|
||||
de: "Text, welcher neben dem Logo platziert wird"
|
||||
en: "Text placed next to the logo"
|
||||
- name: mediaFiles
|
||||
type: object[]
|
||||
meta:
|
||||
label: { de: "Dateien", en: "Files" }
|
||||
subFields:
|
||||
- name: title
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Datei-Titel", en: "File Title" }
|
||||
- name: alternateText
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Alternativer Text", en: "Alternate Text" }
|
||||
- name: id
|
||||
type: string
|
||||
meta:
|
||||
editableWhileCreating: true
|
||||
label: { de: "Technischer Name / ID", en: "Technical name / ID" }
|
||||
helperText:
|
||||
de: "Achtung: Eine technische ID ist meist fest im Code der Seite verknüpft und darf, wenn sie einmal gesetzt wurde, nicht verändert werden!"
|
||||
en: "Attention: A technical ID is usually permanently linked in the code of the page and, once it has been set, must not be changed!"
|
||||
- name: file
|
||||
type: file
|
||||
meta:
|
||||
label: { de: "Datei", en: "File" }
|
||||
Reference in New Issue
Block a user