backend:
  name: github
  repo: hofman-ict/Sveltia_CMS_Guichelheil
  branch: main
  base_url: https://guichelheil.nl
  auth_endpoint: api/auth

site_url: https://guichelheil.nl
display_url: https://guichelheil.nl
logo:
  src: /images/flower-watercolor.png

media_folder: "static/uploads"
public_folder: "/uploads"

collections:
  - name: "pagina_teksten"
    label: "Website Teksten & Kunstmarkt"
    files:
      - name: "homepage"
        label: "Homepage, Verhaal & Kunstmarkt"
        file: "content/teksten/homepage.json"
        fields:
          - { label: "Ondertitel in kopbalk", name: "siteSubtitle", widget: "string" }
          - { label: "Welkomstregel bovenaan", name: "heroGreeting", widget: "string" }
          - { label: "Hoofdtitel", name: "heroTitle", widget: "string" }
          - { label: "Introductietekst", name: "heroIntro", widget: "text" }
          - { label: "Korte noot over atelier", name: "heroAtelierNote", widget: "string" }

          - { label: "Kunstmarkt sectie tonen?", name: "marketEnabled", widget: "boolean", default: true }
          - { label: "Kunstmarkt label", name: "marketBadge", widget: "string" }
          - { label: "Kunstmarkt titel", name: "marketTitle", widget: "string" }
          - { label: "Kunstmarkt subtitel", name: "marketSubtitle", widget: "string" }
          - { label: "Kunstmarkt datum", name: "marketDate", widget: "string" }
          - { label: "Kunstmarkt tijd", name: "marketTime", widget: "string" }
          - { label: "Kunstmarkt locatie", name: "marketLocation", widget: "string" }
          - { label: "Kunstmarkt website", name: "marketWebsite", widget: "string", required: false }
          - { label: "Kunstmarkt beschrijving", name: "marketDescription", widget: "text" }
          - { label: "Kunstmarkt flyer afbeelding", name: "marketImage", widget: "image" }

          - { label: "Eigen werk titel", name: "galleryTitle", widget: "string" }
          - { label: "Eigen werk introductie", name: "galleryIntro", widget: "text" }
          - { label: "Werk in bewerking titel", name: "wipTitle", widget: "string" }
          - { label: "Werk in bewerking introductie", name: "wipIntro", widget: "text" }

          - { label: "Mijn verhaal label", name: "storyBadge", widget: "string" }
          - { label: "Mijn verhaal titel", name: "storyTitle", widget: "string" }
          - { label: "Verhaal alinea 1", name: "storyParagraph1", widget: "text" }
          - { label: "Verhaal alinea 2", name: "storyParagraph2", widget: "text" }
          - { label: "Verhaal alinea 3", name: "storyParagraph3", widget: "text" }
          - { label: "Verhaal alinea 4", name: "storyParagraph4", widget: "text" }
          - { label: "Hoofdfoto Beate aan het werk", name: "aboutImage", widget: "image" }
          - { label: "Sfeerfoto tuin / beelden", name: "aboutSecondaryImage", widget: "image", required: false }

          - { label: "Betekenis Guichelheil titel", name: "guichelheilMeaningTitle", widget: "string" }
          - { label: "Betekenis Guichelheil tekst", name: "guichelheilMeaningText", widget: "text" }
          - { label: "Dankwoord Wim titel", name: "thanksWimTitle", widget: "string" }
          - { label: "Dankwoord Wim tekst", name: "thanksWimText", widget: "text" }
          - { label: "Dankwoord Gijs titel", name: "thanksGijsTitle", widget: "string" }
          - { label: "Dankwoord Gijs tekst", name: "thanksGijsText", widget: "text" }

          - { label: "Contact label", name: "contactBadge", widget: "string" }
          - { label: "Contact titel", name: "contactTitle", widget: "string" }
          - { label: "Contact introductie", name: "contactIntro", widget: "text" }
          - { label: "Plaatsnaam (zonder huisadres)", name: "contactCity", widget: "string" }
          - { label: "Instagram naam", name: "contactInstagram", widget: "string" }
          - { label: "Instagram link", name: "contactInstagramUrl", widget: "string", required: false }
          - { label: "Footer tekst", name: "footerText", widget: "text" }

  - name: "kunstwerken"
    label: "Eigen Werk (Webshop & Vroeger werk)"
    label_singular: "Kunstwerk"
    folder: "content/kunstwerken"
    create: true
    slug: "{{slug}}"
    extension: "json"
    format: "json"
    summary: "{{title}} ({{category}}) [{{status}}]"
    sortable_fields: ["title", "status", "price"]
    fields:
      - { label: "Titel", name: "title", widget: "string" }
      - { label: "Categorie", name: "category", widget: "select", options: ["Beeld", "Schilderij"] }
      - { label: "Status (Rood bolletje = Niet te koop / Verkocht)", name: "status", widget: "select", options: ["Beschikbaar", "Gereserveerd", "Niet te koop", "Verkocht"], default: "Beschikbaar" }
      - { label: "Prijs in € (0 = Prijs op aanvraag)", name: "price", widget: "number", value_type: "float", default: 0 }
      - { label: "Materiaal", name: "material", widget: "string" }
      - { label: "Afmetingen / details", name: "dimensions", widget: "string", required: false }
      - { label: "Periode / Jaar", name: "year", widget: "string", required: false }
      - { label: "Hoofdfoto", name: "image", widget: "image" }
      - { label: "Extra foto's (meerdere kanten)", name: "gallery", widget: "list", field: { label: "Foto", name: "item", widget: "image" }, required: false }
      - { label: "Verhaaltje bij dit werk", name: "description", widget: "text", required: false }
      - { label: "Uitgelicht bovenaan tonen", name: "featured", widget: "boolean", default: false }

  - name: "bewerking"
    label: "Werk in bewerking"
    label_singular: "Werk in bewerking"
    folder: "content/bewerking"
    create: true
    slug: "{{slug}}"
    extension: "json"
    format: "json"
    summary: "{{title}} ({{stage}})"
    sortable_fields: ["order", "title"]
    fields:
      - { label: "Titel", name: "title", widget: "string" }
      - { label: "Fase / bijschrift", name: "stage", widget: "string", default: "Onderweg in de klei" }
      - { label: "Volgorde", name: "order", widget: "number", value_type: "int", default: 10 }
      - { label: "Hoofdfoto", name: "image", widget: "image" }
      - { label: "Extra foto's", name: "gallery", widget: "list", field: { label: "Foto", name: "item", widget: "image" }, required: false }
      - { label: "Korte notitie", name: "note", widget: "text", required: false }
