index-main/site/blueprints/pages/report.yml
isUnknown 3d182a233d Add before/after comparison block plugin
- Create custom block plugin with Vue 3 + Composition API
- Use kirbyup for building Vue SFC components
- Block allows selecting two images with slider comparison UI
- Preview shows images overlapped at 50% in the panel
- Add beforeafter block to report blueprint
- Update report template to use authors field
- Change text block heading level from 4 to 3

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:32 +01:00

92 lines
1.9 KiB
YAML

title: Investigation
create:
fields:
- subtitle
tabs:
contentTab:
label: Contenu
icon: page
columns:
- width: 1/6
fields:
emptyLeft:
type: gap
- width: 4/6
fields:
created:
label: Première publication
type: date
display: DD / MM / YYYY
default: today
width: 1/2
subtitle:
label: Sous-titre
type: text
width: 1/2
chapo:
label: Chapo
type: writer
nodes: false
buttons: false
cover:
label: Visuel de couverture
type: files
multiple: false
min: 1
layout: cards
size: full
image:
ratio: 12/7
cover: true
body:
label: Corps
type: layout
layouts:
- "1/1"
- "1/2, 1/2"
fieldsets:
- text
- image
- beforeafter
- width: 1/6
fields:
emptyRight:
type: gap
metadataTab:
label: Métadonnées
icon: table
fields:
authors:
label: Auteur(s)
type: tags
incidentDate:
label: Date de l'incident
type: date
display: DD / MM / YYYY
width: 1/3
incidentLocation:
label: Lieu de l'incident
type: text
width: 1/3
incidentConsequences:
label: Conséquence(s)
type: text
width: 1/3
keywords:
label: Mots-clés
type: tags
width: 1/2
partners:
label: Partenaires
type: structure
width: 1/2
fields:
name:
label: Nom
type: text
link:
label: Lien
type: link
options:
- url