Set up CV writer field

This commit is contained in:
Paul Nicoué 2025-05-08 18:55:50 +02:00
parent 75970bc41e
commit 03a44a5ec5
6 changed files with 52 additions and 25 deletions

View file

@ -2,7 +2,7 @@
// KIRBY PANEL CUSTOMIZATION
// ----------------------------------------------------------------------------
// Structure field gallery
// Image gallery structure field gallery
.k-field-name-image_gallery {
@ -14,3 +14,12 @@
}
}
}
// CV writer field
.k-field-name-cv {
.k-text {
min-height: 7.5rem;
}
}

View file

@ -1,19 +0,0 @@
type: fields
fields:
contact_line:
type: line
instagram:
type: url
label:
en: Instagram account
fr: Compte Instagram
icon: instagram
required: true
width: 1/2
email:
label:
en: Email
fr: Adresse e-mail
type: email
required: true
width: 1/2

View file

@ -57,6 +57,3 @@ fields:
- email
- '|'
- clear
# help:
# en: "Informative text displayed below the image."
# fr: "Texte informatif affiché sous l'image."

View file

@ -0,0 +1,41 @@
type: fields
fields:
contact_line:
type: line
cv:
label: CV
type: writer
toolbar:
inline: false
nodes:
- paragraph
- heading
- bulletList
headings:
- 2
- 3
marks:
- bold
- italic
- underline
- '|'
- link
- email
- '|'
- clear
required: true
instagram:
label:
en: Instagram account
fr: Compte Instagram
type: url
icon: instagram
required: true
width: 1/2
email:
label:
en: Email
fr: Adresse e-mail
type: email
required: true
width: 1/2

View file

@ -26,7 +26,6 @@ fields:
en: Meta description
fr: Méta description
type: textarea
size: small
buttons: false
required: true
help:

View file

@ -3,5 +3,5 @@ title:
fr: Site web
sections:
gallery: sections/site_gallery
contact: sections/site_contact
contact: sections/site_info
seo_basic_meta: sections/site_seo