correction panel en vrac : Changer site en donnée partager, Changer picto donnée partager, corrigé réorganisation des pages en menu, fon des membre de l'équipe pour effet de débordement, Ajouter help cta
This commit is contained in:
parent
a66d399cfb
commit
51b86ff655
7 changed files with 36 additions and 13 deletions
|
|
@ -40,7 +40,8 @@ tabs:
|
|||
template: member
|
||||
translate: false
|
||||
image:
|
||||
ratio: 2/3
|
||||
ratio: 3/5
|
||||
cover: true
|
||||
back: '#0e1e43'
|
||||
text: "{{ file.member_name }}"
|
||||
info: "{{ file.role }}"
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ tabs:
|
|||
hero_content:
|
||||
type: fields
|
||||
fields:
|
||||
title:
|
||||
label: Titre principal
|
||||
type: text
|
||||
required: true
|
||||
subtitle:
|
||||
label: Sous-titre
|
||||
type: writer
|
||||
|
|
@ -24,11 +20,13 @@ tabs:
|
|||
cta_text:
|
||||
width: 1/2
|
||||
label: Texte du bouton CTA
|
||||
help: CTA pour call to action
|
||||
type: text
|
||||
default: Explorer
|
||||
cta_link:
|
||||
width: 1/2
|
||||
label: Lien du bouton CTA
|
||||
help: CTA pour call to action
|
||||
type: pages
|
||||
max: 1
|
||||
- width: 1/3
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ columns:
|
|||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
label: Réorganisation des pages
|
||||
label: Menu
|
||||
help: Accédez aux pages et réordonnez-les
|
||||
layout: list
|
||||
size: small
|
||||
sortable: true
|
||||
|
|
|
|||
0
site/cache/index.html
vendored
0
site/cache/index.html
vendored
|
|
@ -10,10 +10,11 @@ return [
|
|||
// Menu personnalisé du panel
|
||||
'menu' => [
|
||||
'site' => [
|
||||
'label' => 'Site',
|
||||
'icon' => 'home',
|
||||
'label' => 'Données partagées',
|
||||
'icon' => 'cog',
|
||||
'current' => function (string $current): bool {
|
||||
return $current === 'site';
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, '/site');
|
||||
}
|
||||
],
|
||||
'-', // Séparateur
|
||||
|
|
@ -21,31 +22,55 @@ return [
|
|||
'label' => 'Accueil',
|
||||
'icon' => 'home',
|
||||
'link' => 'pages/home',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/home');
|
||||
}
|
||||
],
|
||||
'expertise' => [
|
||||
'label' => 'Expertise',
|
||||
'icon' => 'wand',
|
||||
'link' => 'pages/expertise',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/expertise');
|
||||
}
|
||||
],
|
||||
'portfolio' => [
|
||||
'label' => 'Portfolio',
|
||||
'icon' => 'images',
|
||||
'link' => 'pages/portfolio',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/portfolio');
|
||||
}
|
||||
],
|
||||
'jouer' => [
|
||||
'label' => 'Jouer',
|
||||
'icon' => 'play',
|
||||
'link' => 'pages/jouer',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/jouer');
|
||||
}
|
||||
],
|
||||
'a-propos' => [
|
||||
'label' => 'À propos',
|
||||
'icon' => 'users',
|
||||
'link' => 'pages/a-propos',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/a-propos');
|
||||
}
|
||||
],
|
||||
'blog' => [
|
||||
'label' => 'Blog',
|
||||
'icon' => 'text',
|
||||
'link' => 'pages/blog',
|
||||
'current' => function (string $current): bool {
|
||||
$path = Kirby\Cms\App::instance()->path();
|
||||
return Str::contains($path, 'pages/blog');
|
||||
}
|
||||
],
|
||||
'-', // Séparateur
|
||||
'users',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
panel.plugin("custom/marks", {
|
||||
icons: {
|
||||
pixel: '<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M5.491,21l0,-12.933l2.548,-0l-0,-2.52l2.519,0l0,-2.547l2.856,-0l-0,2.547l2.519,0l0,2.52l2.576,-0l-0,12.933l-2.856,0l0,-5.067l-7.334,0l-0,5.067l-2.828,0Zm2.828,-7.894l7.334,-0l0,-4.759l-2.519,-0l-0,-2.52l-2.296,0l0,2.52l-2.519,-0l-0,4.759Z" style="fill-rule:nonzero;"/></svg>'
|
||||
pixel: '<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g><g><path d="M1.327,19.046l-0,-12.098l1.994,0l0,-1.994l6.181,-0l-0,1.994l2.016,0l-0,6.137l-2.016,-0l-0,1.994l-5.962,0l0,3.967l-2.213,0Zm2.213,-6.18l5.742,-0l0,-5.699l-5.742,0l0,5.699Z" style="fill-rule:nonzero;"/><path d="M12.482,19.046l0,-2.191l1.995,-0l-0,-1.995l1.972,0l0,-1.775l-1.972,-0l-0,-1.973l-1.995,0l0,-2.191l2.214,-0l-0,1.994l1.972,0l0,1.951l1.797,-0l0,-1.951l1.973,0l-0,-1.994l2.235,-0l0,2.191l-2.016,0l0,1.973l-1.972,-0l-0,1.775l1.972,0l0,1.995l2.016,-0l0,2.191l-2.235,0l-0,-1.972l-1.973,-0l0,-1.995l-1.797,0l0,1.995l-1.972,-0l-0,1.972l-2.214,0Z" style="fill-rule:nonzero;"/></g></g></svg>'
|
||||
},
|
||||
writerMarks: {
|
||||
green: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue