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-body: 'Danzza', sans-serif;
/*dé commenter pour ajouter leur font*/
/*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"; */
--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;

View file

@ -14,6 +14,15 @@ tabs:
fields:
intro:
type: writer
marks:
- bold
- italic
- green
- pixel
- underline
- strike
- clear
- link
nodes:
- heading
headings:
@ -21,6 +30,7 @@ tabs:
buttons: false
help: Section de texte centrée.
body:
label: corps
type: blocks
fieldsets:
- type: text
@ -40,7 +50,8 @@ tabs:
template: member
translate: false
image:
ratio: 2/3
ratio: 3/5
cover: true
back: '#0e1e43'
text: "{{ file.member_name }}"
info: "{{ file.role }}"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

View file

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

View file

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