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
|
|
@ -37,9 +37,7 @@
|
||||||
--font-title: 'Terminal Grotesque', sans-serif;
|
--font-title: 'Terminal Grotesque', sans-serif;
|
||||||
--font-body: 'Danzza', sans-serif;
|
--font-body: 'Danzza', sans-serif;
|
||||||
|
|
||||||
/*dé commenter pour ajouter leur font*/
|
--font-sans: 'Danzza', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
/*font récuperer via leur site donc je ne sais pas quel est la licence*/
|
|
||||||
/* --font-sans: 'Danzza', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
|
|
||||||
|
|
||||||
--text-h1: 3em;
|
--text-h1: 3em;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,8 @@ tabs:
|
||||||
template: member
|
template: member
|
||||||
translate: false
|
translate: false
|
||||||
image:
|
image:
|
||||||
ratio: 2/3
|
ratio: 3/5
|
||||||
cover: true
|
cover: true
|
||||||
|
back: '#0e1e43'
|
||||||
text: "{{ file.member_name }}"
|
text: "{{ file.member_name }}"
|
||||||
info: "{{ file.role }}"
|
info: "{{ file.role }}"
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,6 @@ tabs:
|
||||||
hero_content:
|
hero_content:
|
||||||
type: fields
|
type: fields
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
label: Titre principal
|
|
||||||
type: text
|
|
||||||
required: true
|
|
||||||
subtitle:
|
subtitle:
|
||||||
label: Sous-titre
|
label: Sous-titre
|
||||||
type: writer
|
type: writer
|
||||||
|
|
@ -24,11 +20,13 @@ tabs:
|
||||||
cta_text:
|
cta_text:
|
||||||
width: 1/2
|
width: 1/2
|
||||||
label: Texte du bouton CTA
|
label: Texte du bouton CTA
|
||||||
|
help: CTA pour call to action
|
||||||
type: text
|
type: text
|
||||||
default: Explorer
|
default: Explorer
|
||||||
cta_link:
|
cta_link:
|
||||||
width: 1/2
|
width: 1/2
|
||||||
label: Lien du bouton CTA
|
label: Lien du bouton CTA
|
||||||
|
help: CTA pour call to action
|
||||||
type: pages
|
type: pages
|
||||||
max: 1
|
max: 1
|
||||||
- width: 1/3
|
- width: 1/3
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@ columns:
|
||||||
sections:
|
sections:
|
||||||
pages:
|
pages:
|
||||||
type: pages
|
type: pages
|
||||||
label: Réorganisation des pages
|
label: Menu
|
||||||
|
help: Accédez aux pages et réordonnez-les
|
||||||
layout: list
|
layout: list
|
||||||
size: small
|
size: small
|
||||||
sortable: true
|
sortable: true
|
||||||
|
|
|
||||||
0
site/cache/index.html
vendored
0
site/cache/index.html
vendored
|
|
@ -10,10 +10,11 @@ return [
|
||||||
// Menu personnalisé du panel
|
// Menu personnalisé du panel
|
||||||
'menu' => [
|
'menu' => [
|
||||||
'site' => [
|
'site' => [
|
||||||
'label' => 'Site',
|
'label' => 'Données partagées',
|
||||||
'icon' => 'home',
|
'icon' => 'cog',
|
||||||
'current' => function (string $current): bool {
|
'current' => function (string $current): bool {
|
||||||
return $current === 'site';
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, '/site');
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
'-', // Séparateur
|
'-', // Séparateur
|
||||||
|
|
@ -21,31 +22,55 @@ return [
|
||||||
'label' => 'Accueil',
|
'label' => 'Accueil',
|
||||||
'icon' => 'home',
|
'icon' => 'home',
|
||||||
'link' => 'pages/home',
|
'link' => 'pages/home',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/home');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'expertise' => [
|
'expertise' => [
|
||||||
'label' => 'Expertise',
|
'label' => 'Expertise',
|
||||||
'icon' => 'wand',
|
'icon' => 'wand',
|
||||||
'link' => 'pages/expertise',
|
'link' => 'pages/expertise',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/expertise');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'portfolio' => [
|
'portfolio' => [
|
||||||
'label' => 'Portfolio',
|
'label' => 'Portfolio',
|
||||||
'icon' => 'images',
|
'icon' => 'images',
|
||||||
'link' => 'pages/portfolio',
|
'link' => 'pages/portfolio',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/portfolio');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'jouer' => [
|
'jouer' => [
|
||||||
'label' => 'Jouer',
|
'label' => 'Jouer',
|
||||||
'icon' => 'play',
|
'icon' => 'play',
|
||||||
'link' => 'pages/jouer',
|
'link' => 'pages/jouer',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/jouer');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'a-propos' => [
|
'a-propos' => [
|
||||||
'label' => 'À propos',
|
'label' => 'À propos',
|
||||||
'icon' => 'users',
|
'icon' => 'users',
|
||||||
'link' => 'pages/a-propos',
|
'link' => 'pages/a-propos',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/a-propos');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'blog' => [
|
'blog' => [
|
||||||
'label' => 'Blog',
|
'label' => 'Blog',
|
||||||
'icon' => 'text',
|
'icon' => 'text',
|
||||||
'link' => 'pages/blog',
|
'link' => 'pages/blog',
|
||||||
|
'current' => function (string $current): bool {
|
||||||
|
$path = Kirby\Cms\App::instance()->path();
|
||||||
|
return Str::contains($path, 'pages/blog');
|
||||||
|
}
|
||||||
],
|
],
|
||||||
'-', // Séparateur
|
'-', // Séparateur
|
||||||
'users',
|
'users',
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
panel.plugin("custom/marks", {
|
panel.plugin("custom/marks", {
|
||||||
icons: {
|
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: {
|
writerMarks: {
|
||||||
green: {
|
green: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue