Compare commits

..

5 commits

12 changed files with 125 additions and 42 deletions

View file

@ -89,13 +89,53 @@
.k-header-title{
font-family: var(--font-title);
}
.k-header-title-text{
.k-panel[data-template="home"] .k-header-title-text, .k-panel[data-template="expertise"] .k-header-title-text,
.k-panel[data-template="portfolio"] .k-header-title-text, .k-panel[data-template="jouer"] .k-header-title-text,
.k-panel[data-template="about"] .k-header-title-text, .k-panel[data-template="blog"] .k-header-title-text{
text-transform: uppercase;
}
.k-header-title .k-icon{
--icon-size: 28px;
}
.k-text a{
color: var(--color-green-perso);
}
.k-block-container:not(:last-of-type) {
border-bottom: 1px dashed var(--color-gray-600);
}
/*modif card pour ressembler au site web*/
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"]{
display: grid;
grid-template-columns: 2fr auto 1fr;
grid-template-rows: auto;
}
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-image{
grid-column: 3/4;
grid-row: 1/3;
}
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-content{
grid-column: 1/2;
grid-row: 1/2;
}
.k-panel[data-template="blog"] .k-item.k-cards-item[data-template="article"] .k-item-options{
grid-column: 2/3;
grid-row: 1/2;
align-items: start;
}
/* Logo sur la page de login */
.k-login-view .k-login-form::before {
content: '';
display: block;
width: 150px;
height: 150px;
margin: 0 auto 2rem auto;
background-image: url('logo-panel.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}

BIN
assets/css/logo-panel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -1,6 +1,12 @@
title: À propos
icon: users
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
# Contenu
content:
@ -30,7 +36,7 @@ tabs:
buttons: false
help: Section de texte centrée.
body:
label: corps
label: Corps
type: blocks
fieldsets:
heading:

View file

@ -38,7 +38,7 @@ tabs:
content:
type: fields
fields:
article_content:
body:
label: Contenu de l'article
type: blocks
fieldsets:

View file

@ -1,6 +1,12 @@
title: Blog
icon: text
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
# Intro
intro:
@ -33,6 +39,7 @@ tabs:
max: 1
layout: cards
image:
query: page.cover.toFile
cover: true
ratio: 16/9
info: "{{ page.date.toDate('d/m/Y') }}"
@ -40,8 +47,11 @@ tabs:
label: Articles
type: pages
headline: Liste des articles
layout: cardlets
layout: cards
size: full
image:
query: page.cover.toFile
ratio: 16/9
cover: true
template: article
info: "{{ page.date.toDate('d/m/Y') }}"

View file

@ -1,6 +1,12 @@
title: Expertise
icon: wand
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
content:
label: Contenu
@ -27,7 +33,7 @@ tabs:
required: true
help: "Ex: PLAY THE REAL."
body:
label: corps
label: Corps
type: blocks
fieldsets:
text:

View file

@ -14,10 +14,11 @@ icon: play
columns:
# Colonne principale
- width: 2/3
main:
width: 2/3
sections:
# Informations principales
main:
content:
type: fields
fields:
lettering:
@ -47,9 +48,10 @@ columns:
- link
# Sidebar
- width: 1/3
sidebar:
width: 1/3
sections:
info:
meta:
type: fields
fields:
thumbnail:
@ -83,12 +85,14 @@ columns:
help: Sans lien renseigner, le jeu aura une étiquette "coming soon" et ne sera pas jouable.
type: structure
fields:
link_label:
label:
label: Nom du bouton
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
url:
label: URL
required: true
type: url
width: 1/2

View file

@ -1,6 +1,12 @@
title: Accueil
icon: home
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
# Hero Section
hero:

View file

@ -1,6 +1,12 @@
title: Jouer
icon: play
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
games:
label: Jeux
@ -12,6 +18,7 @@ tabs:
layout: cards
size: medium
image:
query: page.thumbnail.toFile
cover: true
template: game
info: "{{ page.status_label }}"

View file

@ -1,6 +1,12 @@
title: Portfolio
icon: images
status:
draft:
label: Brouillon
text: La page est accessible uniquement pour les éditeurs connectés ou via un lien secret
listed:
label: Public
text: La page est accessible par tout le monde
tabs:
content:
label: Contenu
@ -13,6 +19,7 @@ tabs:
layout: cards
size: medium
image:
query: page.thumbnail.toFile
cover: true
template: project
info: "{{ page.catchphrase }}"

View file

@ -52,21 +52,18 @@ columns:
images:
type: fields
fields:
images_gallery_video:
images_gallery:
width: 2/3
label: Galerie vidéo d'images
label: Galerie d'image
type: files
layout: cards
size: medium
max: 1
accept: video/*
size: small
min: 6
accept: image/*
translate: false
image:
ratio: 2/3
cover: true
uploads:
template: video
help: Vidéo qui fait défiler une galerie d'images liée au jeu
template: image
help: "Une animation sera générée à partir des images de ce champ. Minimum optimal d'images : 9"
mockup:
width: 1/3
label: Image de mise en situation
@ -106,13 +103,15 @@ columns:
label: Mots clés
type: structure
fields:
keywords_label:
label: label
label:
label: Label
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
keywords_text:
label: text
placeholder: "Ex: Impact, Catégorie..."
text:
label: Texte
required: true
type: text
width: 1/2
@ -124,12 +123,14 @@ columns:
label: Liens externes
type: structure
fields:
link_label:
label:
label: Nom du bouton
required: true
type: text
width: 1/2
placeholder: "Ex: App Store, Site web..."
link_url:
url:
label: URL
required: true
type: url
width: 1/2

View file

@ -12,25 +12,19 @@ columns:
sortable: true
create: false
status: listed
- width: 1/2
fields:
contact_email:
label: Email
type: email
width: 1/3
translate: false
contact_phone:
label: Téléphone
type: tel
width: 1/3
width: 1/2
translate: false
contact_address:
label: Adresse
type: writer
buttons: false
nodes: false
width: 1/3
width: 1/2
placeholder: 33 rue Jean Dupont
social_links:
label: Liens réseaux sociaux
@ -39,11 +33,13 @@ columns:
fields:
label:
label: Nom
required: true
type: text
width: 1/3
placeholder: "Ex: LinkedIn, Instagram..."
url:
label: URL
required: true
type: url
width: 1/3
picto: