# Each page blueprint must have a title, the title may be different from the file name
title: Idea

# Page status can be limited, here to `draft` and `listed`.
# More about page status: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
status:
  draft: true
  listed: true

# Define the form layout with two columns
# Columns are optional but help structure the form layout
# The first column defines an files section, the second a set of fields
# More about different types of sections: https://getkirby.com/docs/reference/panel/sections
# More about columns: https://getkirby.com/docs/guide/blueprints/layout#defining-columns

# The first column contains a set of fields to store
# information about the album.
#
# List of all available field types:
# https://getkirby.com/docs/reference/panel/fields
  # If you need the same field in multiple locations, you can define them once and reuse whereever needed.
  # Here we use a files field defined in `/site/blueprints/field/cover.yml`


columns:

  - width: 1/2
    fields:
      subheadline:
        label: sous-titre
        type: writer
        marks:
          - bold
          - italic
          - strike
          - link
      text:
        label: Texte de description
        type: writer
        marks:
          - bold
          - italic
          - strike
          - link
      ideaCTA:
        label: Bouton d'appel à action
        type: text


  - width: 1/2
    fields:
      imageCover:
          label: Image de fond
          extends: fields/cover
          layout: cards
          size: large
          image:
            ratio: 5/4
            cover: false
            back: white     

  - width: 1/1
    sections:
      fichiers:
        type: files