mise en place du début du back
This commit is contained in:
parent
5210d78d7d
commit
c1c4fda329
22 changed files with 1595 additions and 4 deletions
84
site/blueprints/pages/project.yml
Normal file
84
site/blueprints/pages/project.yml
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
title: Projet
|
||||
icon: image
|
||||
|
||||
status:
|
||||
draft:
|
||||
label: Brouillon
|
||||
text: Le projet n'est pas visible
|
||||
unlisted:
|
||||
label: Non listé
|
||||
text: Le projet est accessible mais pas dans la liste
|
||||
listed:
|
||||
label: Publié
|
||||
text: Le projet est visible publiquement
|
||||
|
||||
columns:
|
||||
# Colonne principale
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
# Informations principales
|
||||
info:
|
||||
type: fields
|
||||
fields:
|
||||
title:
|
||||
label: Nom du projet
|
||||
type: text
|
||||
required: true
|
||||
tagline:
|
||||
label: Tagline
|
||||
type: text
|
||||
help: "Ex: Transformez votre lecture en aventure."
|
||||
description:
|
||||
label: Description
|
||||
type: textarea
|
||||
size: medium
|
||||
help: Description complète du projet
|
||||
|
||||
# Galerie
|
||||
gallery:
|
||||
type: files
|
||||
headline: Galerie d'images
|
||||
layout: cards
|
||||
size: medium
|
||||
template: image
|
||||
info: "{{ file.dimensions }}"
|
||||
|
||||
# Sidebar
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
# Métadonnées
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
cover:
|
||||
label: Image de couverture
|
||||
type: files
|
||||
max: 1
|
||||
uploads:
|
||||
template: image
|
||||
category:
|
||||
label: Catégorie
|
||||
type: text
|
||||
impact:
|
||||
label: Impact
|
||||
type: text
|
||||
|
||||
# Liens externes
|
||||
links:
|
||||
type: fields
|
||||
fields:
|
||||
external_links:
|
||||
label: Liens externes
|
||||
type: structure
|
||||
fields:
|
||||
link_label:
|
||||
label: Nom du bouton
|
||||
type: text
|
||||
width: 1/2
|
||||
placeholder: "Ex: App Store, Site web..."
|
||||
link_url:
|
||||
label: URL
|
||||
type: url
|
||||
width: 1/2
|
||||
Loading…
Add table
Add a link
Reference in a new issue