backend:
  name: git-gateway
  branch: main
  repo: "tmiia/yanagestion"

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

collections:
  - name: "hero"
    label: "Hero"
    folder: "content/hero"
    slug: "{{slug}}"
    fields:
      - { label: "Titre", name: "title", widget: "string", required: true }
      - { label: "Placeholder Tel", name: "placeholder_tel", widget: "string", required: true }

  - name: "our_services"
    label: "Our Services"
    folder: "content/our_services"
    slug: "{{slug}}"
    fields:
      - { label: "Titre", name: "title", widget: "string", required: true }
      - { label: "Text", name: "text", widget: "text", required: true }
      - { label: "CTA Tel", name: "cta_tel", widget: "string", required: true }

      - label: "Card 1"
        name: "card_1"
        widget: "object"
        fields:
          - { label: "Card 1 Title", name: "title", widget: "string", required: true }
          - { label: "Card 1 Text", name: "text", widget: "text", required: true }

      - label: "Card 2"
        name: "card_2"
        widget: "object"
        fields:
          - { label: "Card 2 Title", name: "title", widget: "string", required: true }
          - { label: "Card 2 Text", name: "text", widget: "text", required: true }

      - label: "Card 3"
        name: "card_3"
        widget: "object"
        fields:
          - { label: "Card 3 Title", name: "title", widget: "string", required: true }
          - { label: "Card 3 Text", name: "text", widget: "text", required: true }

  - name: "about_yanagestion"
    label: "About Yanagestion"
    folder: "content/about_yanagestion"
    create: true
    slug: "{{slug}}"
    fields:
      - label: "Card 1"
        name: "card_1"
        widget: "object"
        fields:
          - { label: "Card 1 Title", name: "title", widget: "string", required: true }
          - { label: "Card 1 Text", name: "text", widget: "text", required: true }

      - label: "Card 2"
        name: "card_2"
        widget: "object"
        fields:
          - { label: "Card 2 Full image", name: "full_image", widget: "image", required: true }

      - label: "Card 3"
        name: "card_3"
        widget: "object"
        fields:
          - { label: "Card 3 Title", name: "title", widget: "string", required: true }
          - { label: "Card 3 Text", name: "text", widget: "text", required: true }

      - label: "Card 4"
        name: "card_4"
        widget: "object"
        fields:
          - { label: "Card 4 Full image", name: "full_image", widget: "image", required: true }
          - { label: "Card 4 cta", name: "cta", widget: "string", required: true }

      - label: "Card 5"
        name: "card_5"
        widget: "object"
        fields:
          - { label: "Card 5 image", name: "image", widget: "image", required: true }
          - { label: "Card 5 Title", name: "title", widget: "string", required: true }
          - { label: "Card 5 Text", name: "text", widget: "text", required: true }

  - name: "contact"
    label: "Contact"
    folder: "content/contact"
    create: true
    slug: "{{slug}}"
    fields:
      - { label: "Titre", name: "title", widget: "string", required: true }
      - { label: "Text", name: "text", widget: "text", required: true }
      - { label: "Full image", name: "full_image", widget: "image", required: true }
