backend:
  name: gitea
  repo: VanEmous/Website
  branch: main
  app_id: e101b13a-70b5-474b-88de-fd4254408a68
  api_root: https://git.start-it.nl/api/v1
  base_url: https://git.start-it.nl
  auth_endpoint: https://git.start-it.nl/login/oauth/authorize
  local_backend: true 

media_folder: "static/img"
public_folder: "/img"

collections:
  - name: "pages"
    label: "Pagina's"
    files:
      - file: "content/_index.md"
        label: "Homepagina"
        name: "home"
        fields:
          - { label: "Titel", name: "title", widget: "string" }

          # HERO SECTIE
          - label: "Hero Sectie"
            name: "hero"
            widget: "object"
            fields:
              - { label: "Titel", name: "title", widget: "string" }
              - { label: "Subtitel", name: "subtitle", widget: "text" }
              - { label: "CTA Tekst", name: "cta_text", widget: "string" }
              - { label: "CTA Link", name: "cta_link", widget: "string" }
              - { label: "Hero Afbeelding", name: "image", widget: "image" }
              - { label: "Afbeelding Alt-tekst", name: "image_alt", widget: "string" }

          # USP SECTIE
          - label: "USP's"
            name: "usps"
            widget: "list"
            summary: "{{fields.item}}"
            fields:
              - { label: "USP", name: "item", widget: "string" }

          # INFO SECTIE
          - label: "Info Sectie"
            name: "info_section"
            widget: "object"
            fields:
              - { label: "Eyebrow", name: "eyebrow", widget: "string" }
              - { label: "Titel", name: "title", widget: "string" }
              - label: "Tekst Paragrafen"
                name: "text_paragraphs"
                widget: "list"
                fields:
                  - { label: "Paragraaf", name: "paragraph", widget: "markdown" }
              - { label: "Afbeelding", name: "image", widget: "image" }
              - { label: "Afbeelding Alt-tekst", name: "image_alt", widget: "string" }

          # MOGELIJKHEDEN SECTIE
          - label: "Mogelijkheden Sectie"
            name: "mogelijkheden_section"
            widget: "object"
            fields:
              - { label: "Sectie Titel", name: "title", widget: "string" }
              - { label: "Introductie Tekst", name: "intro_text", widget: "text" }
              - label: "Kaarten"
                name: "kaarten"
                widget: "list"
                summary: "{{fields.title}}"
                fields:
                  - { label: "Grote bruine kaart?", name: "is_large", widget: "boolean", default: false }
                  - { label: "Titel", name: "title", widget: "string" }
                  - { label: "Beschrijving", name: "text", widget: "text" }
                  - { label: "Link tekst", name: "link_text", widget: "string" }
                  - { label: "Link URL", name: "link_url", widget: "string" }
                  - { label: "Afbeelding", name: "image", widget: "image" }

          # ABOUT SECTIE
          - label: "Over Sectie"
            name: "about_section"
            widget: "object"
            fields:
              - { label: "Eyebrow", name: "eyebrow", widget: "string" }
              - { label: "Titel", name: "title", widget: "string" }
              - label: "Tekst Paragrafen"
                name: "text_paragraphs"
                widget: "list"
                fields:
                  - { label: "Paragraaf", name: "paragraph", widget: "markdown" }
              - { label: "Afbeelding", name: "image", widget: "image" }
              - { label: "Afbeelding Alt-tekst", name: "image_alt", widget: "string" }
  - name: "modellen"
    label: "Modellen"
    folder: "content/modellen"
    create: true
    slug: "{{slug}}"
    fields:
      - { label: "Titel", name: "title", widget: "string" }
      - { label: "Publicatiedatum", name: "date", widget: "datetime" }
      - { label: "Prijs vanaf", name: "price", widget: "string", required: false }
      - { label: "Oppervlakte (m²)", name: "surface", widget: "number", required: false }
      - { label: "Afbeelding", name: "image", widget: "image" }
      - { label: "Beschrijving", name: "body", widget: "markdown" }