Files
tibi-svelte-starter/api/collections/navigation.yml
Sebastian Frank 40ffa8207e feat: add new contact form, hero, features, and richtext blocks; implement scroll-reveal action and update styles
- Introduced ContactFormBlock, FeaturesBlock, HeroBlock, and RichtextBlock components.
- Implemented a scroll-reveal action for animations on element visibility.
- Enhanced CSS styles for better theming and prose formatting.
- Added localization support for new components and updated existing translations.
- Created e2e tests for demo pages including contact form validation and navigation.
- Added a video tour showcasing the demo pages and interactions.
2026-02-26 03:54:07 +00:00

69 lines
1.6 KiB
YAML

########################################################################
# Navigation collection — header and footer navigation entries
########################################################################
name: navigation
meta:
label: { de: "Navigation", en: "Navigation" }
muiIcon: menu
rowIdentTpl: { twig: "{{ type }} ({{ language }})" }
views:
- type: simpleList
mediaQuery: "(max-width: 600px)"
primaryText: type
secondaryText: language
- type: table
columns:
- source: type
filter: true
- source: language
filter: true
permissions:
public:
methods:
get: true
user:
methods:
get: true
post: true
put: true
delete: true
fields:
- name: language
type: string
meta:
label: { de: "Sprache", en: "Language" }
- name: type
type: string
meta:
label: { de: "Typ", en: "Type" }
helperText: { de: "header oder footer", en: "header or footer" }
- name: elements
type: object[]
meta:
label: { de: "Elemente", en: "Elements" }
subFields:
- name: name
type: string
meta:
label: { de: "Bezeichnung", en: "Label" }
- name: page
type: string
meta:
label: { de: "Seite (Content-ID)", en: "Page (Content ID)" }
- name: external
type: boolean
meta:
label: { de: "Externer Link", en: "External Link" }
- name: externalUrl
type: string
meta:
label: { de: "Externe URL", en: "External URL" }
- name: hash
type: string
meta:
label: { de: "Anker", en: "Anchor" }