Compare commits

...

2 commits

14 changed files with 82 additions and 49 deletions

View file

@ -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;

View file

@ -14,6 +14,15 @@ tabs:
fields: fields:
intro: intro:
type: writer type: writer
marks:
- bold
- italic
- green
- pixel
- underline
- strike
- clear
- link
nodes: nodes:
- heading - heading
headings: headings:
@ -21,6 +30,7 @@ tabs:
buttons: false buttons: false
help: Section de texte centrée. help: Section de texte centrée.
body: body:
label: corps
type: blocks type: blocks
fieldsets: fieldsets:
- type: text - type: text
@ -40,7 +50,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 }}"

View file

@ -42,24 +42,11 @@ tabs:
label: Contenu de l'article label: Contenu de l'article
type: blocks type: blocks
fieldsets: fieldsets:
heading: - heading
label: Titre - text
type: heading - list
text: - image
label: Texte - video
type: text
quote:
label: Citation
type: quote
image:
label: Image
type: image
list:
label: Liste
type: list
video:
label: Vidéo
type: video
# Sidebar # Sidebar
sidebar: sidebar:

View file

@ -15,10 +15,12 @@ tabs:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
nodes: nodes:
- heading - heading
headings: headings:

View file

@ -12,10 +12,12 @@ columns:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
sidebar: sidebar:
width: 1/3 width: 1/3
sections: sections:

View file

@ -18,16 +18,18 @@ tabs:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
required: true required: true
help: "Ex: PLAY THE REAL." help: "Ex: PLAY THE REAL."
textes: body:
label: Texte label: corps
type: blocks type: blocks
fieldsets: fieldsets:
text_bloc: - text
label: bloc de texte - list
type: text type: blocks

View file

@ -26,10 +26,12 @@ columns:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
# Sidebar # Sidebar
- width: 1/3 - width: 1/3

View file

@ -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

View file

@ -1,5 +1,5 @@
title: Portfolio title: Portfolio
icon: grid icon: images
tabs: tabs:
content: content:

View file

@ -28,10 +28,12 @@ columns:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
help: "Ex: Transformez votre lecture en aventure." help: "Ex: Transformez votre lecture en aventure."
description: description:
label: Description label: Description
@ -39,10 +41,12 @@ columns:
marks: marks:
- bold - bold
- italic - italic
- underline
- strike
- green - green
- pixel - pixel
- underline
- strike
- clear
- link
help: Description complète du projet help: Description complète du projet
images: images:
@ -90,6 +94,7 @@ columns:
label: Vignette label: Vignette
type: files type: files
layout: cards layout: cards
size: small
max: 1 max: 1
accept: image/* accept: image/*
translate: false translate: false

View file

@ -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

View file

View file

@ -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',

View file

@ -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: {