ajout des réseaux sociaux
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
maxime-cool 2024-02-07 15:47:54 +01:00
parent 2c5bcbd446
commit 65795036ee

View file

@ -47,9 +47,10 @@ collections:
name: params
widget: object
fields:
- label: Couleur du thème
- label: Couleur du fond
name: background_color_class
widget: 'select'
widget: select
hint: Pour choisir la couleur du fond
options:
- label: 'Rouge'
value: 'bg-red'
@ -61,3 +62,24 @@ collections:
value: 'bg-purple'
- label: '<img class="fit-picture" src="/media/cc0-images/grapefruit-slice-332-332.jpg" alt="Grapefruit slice atop a pile of other slices" />'
value: 'bg-orange'
- label: 'Réseaux sociaux'
name: ananke_socials
widget: list
collapsed: true
summary: '{{fields.name}}'
add_to_top: false
label_singular: 'Ajouter un réseau'
fields:
- label: 'Réseau social'
name: name
widget: select
options:
- label: 'Facebook'
value: 'facebook'
- label: 'LinkedIn'
value: 'linkedin'
- name: 'Lien du compte'
label: url
widget: string