diff --git a/assets/css/custom-panel.css b/assets/css/custom-panel.css index 6ca7059..1517354 100644 --- a/assets/css/custom-panel.css +++ b/assets/css/custom-panel.css @@ -89,53 +89,13 @@ .k-header-title{ font-family: var(--font-title); } -.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{ +.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; } \ No newline at end of file diff --git a/assets/css/logo-panel.png b/assets/css/logo-panel.png deleted file mode 100644 index ac3e6fd..0000000 Binary files a/assets/css/logo-panel.png and /dev/null differ diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index ec4aa35..61691eb 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -1,12 +1,6 @@ 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: @@ -36,7 +30,7 @@ tabs: buttons: false help: Section de texte centrée. body: - label: Corps + label: corps type: blocks fieldsets: heading: diff --git a/site/blueprints/pages/article.yml b/site/blueprints/pages/article.yml index eaaf2e7..ef55481 100644 --- a/site/blueprints/pages/article.yml +++ b/site/blueprints/pages/article.yml @@ -38,7 +38,7 @@ tabs: content: type: fields fields: - body: + article_content: label: Contenu de l'article type: blocks fieldsets: diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index d072031..5d8ab39 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -1,12 +1,6 @@ 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: @@ -39,7 +33,6 @@ tabs: max: 1 layout: cards image: - query: page.cover.toFile cover: true ratio: 16/9 info: "{{ page.date.toDate('d/m/Y') }}" @@ -47,11 +40,8 @@ tabs: label: Articles type: pages headline: Liste des articles - layout: cards - size: full + layout: cardlets image: - query: page.cover.toFile - ratio: 16/9 cover: true template: article info: "{{ page.date.toDate('d/m/Y') }}" diff --git a/site/blueprints/pages/expertise.yml b/site/blueprints/pages/expertise.yml index 1226e6a..0205c8f 100644 --- a/site/blueprints/pages/expertise.yml +++ b/site/blueprints/pages/expertise.yml @@ -1,12 +1,6 @@ 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 @@ -33,7 +27,7 @@ tabs: required: true help: "Ex: PLAY THE REAL." body: - label: Corps + label: corps type: blocks fieldsets: text: diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index 72c95ae..97dfea7 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -14,11 +14,10 @@ icon: play columns: # Colonne principale - main: - width: 2/3 + - width: 2/3 sections: # Informations principales - content: + main: type: fields fields: lettering: @@ -48,10 +47,9 @@ columns: - link # Sidebar - sidebar: - width: 1/3 + - width: 1/3 sections: - meta: + info: type: fields fields: thumbnail: @@ -85,14 +83,12 @@ columns: help: Sans lien renseigner, le jeu aura une étiquette "coming soon" et ne sera pas jouable. type: structure fields: - label: + link_label: label: Nom du bouton - required: true type: text width: 1/2 placeholder: "Ex: App Store, Site web..." - url: + link_url: label: URL - required: true type: url width: 1/2 diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index 2bb73e3..2ea6155 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -1,12 +1,6 @@ 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: diff --git a/site/blueprints/pages/jouer.yml b/site/blueprints/pages/jouer.yml index ce81dbe..cd6e93e 100644 --- a/site/blueprints/pages/jouer.yml +++ b/site/blueprints/pages/jouer.yml @@ -1,12 +1,6 @@ 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 @@ -18,7 +12,6 @@ tabs: layout: cards size: medium image: - query: page.thumbnail.toFile cover: true template: game info: "{{ page.status_label }}" diff --git a/site/blueprints/pages/portfolio.yml b/site/blueprints/pages/portfolio.yml index 74bf948..0748cef 100644 --- a/site/blueprints/pages/portfolio.yml +++ b/site/blueprints/pages/portfolio.yml @@ -1,12 +1,6 @@ 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 @@ -19,7 +13,6 @@ tabs: layout: cards size: medium image: - query: page.thumbnail.toFile cover: true template: project info: "{{ page.catchphrase }}" diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 3802c5c..fcfbca6 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -52,18 +52,21 @@ columns: images: type: fields fields: - images_gallery: + images_gallery_video: width: 2/3 - label: Galerie d'image + label: Galerie vidéo d'images type: files layout: cards - size: small - min: 6 - accept: image/* + size: medium + max: 1 + accept: video/* translate: false + image: + ratio: 2/3 + cover: true uploads: - template: image - help: "Une animation sera générée à partir des images de ce champ. Minimum optimal d'images : 9" + template: video + help: Vidéo qui fait défiler une galerie d'images liée au jeu mockup: width: 1/3 label: Image de mise en situation @@ -103,15 +106,13 @@ columns: label: Mots clés type: structure fields: - label: - label: Label - required: true + keywords_label: + label: label type: text width: 1/2 - placeholder: "Ex: Impact, Catégorie..." - text: - label: Texte - required: true + placeholder: "Ex: App Store, Site web..." + keywords_text: + label: text type: text width: 1/2 @@ -123,14 +124,12 @@ columns: label: Liens externes type: structure fields: - label: + link_label: label: Nom du bouton - required: true type: text width: 1/2 placeholder: "Ex: App Store, Site web..." - url: + link_url: label: URL - required: true type: url width: 1/2 diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index 867c9b2..7d5a376 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -12,19 +12,25 @@ columns: sortable: true create: false status: listed + - width: 1/2 fields: contact_email: label: Email type: email - width: 1/2 + width: 1/3 + translate: false + contact_phone: + label: Téléphone + type: tel + width: 1/3 translate: false contact_address: label: Adresse type: writer buttons: false nodes: false - width: 1/2 + width: 1/3 placeholder: 33 rue Jean Dupont social_links: label: Liens réseaux sociaux @@ -33,13 +39,11 @@ 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: