diff --git a/site/blueprints/pages/about.yml b/site/blueprints/pages/about.yml index b0c3841..ad32cf0 100644 --- a/site/blueprints/pages/about.yml +++ b/site/blueprints/pages/about.yml @@ -8,38 +8,34 @@ tabs: icon: text columns: - width: 2/3 - sections: + fields: intro: - type: fields - fields: - intro_headline: - type: headline - label: Introduction - intro_title: - label: Titre principal - type: text - required: true - help: "Ex: NOUS FAISONS JOUER LE MONDE." - intro_text: - label: Sous-titre - type: textarea - size: small - principal_text: - label: Texte principal - type: textarea - size: small + type: writer + nodes: + - heading + headings: + - 1 + buttons: false + help: Section de texte centrée. + body: + type: blocks + fieldsets: + - type: text + extends: blocks/text + fields: + text: + type: writer + nodes: + - heading + headings: + - h3 + + - width: 1/3 sections: team: type: fields fields: - team_headline: - type: headline - label: Équipe - team_title: - label: Titre section Équipe - type: text - default: "Notre Équipe" team_members: label: Membres de l'équipe type: structure @@ -59,6 +55,7 @@ tabs: label: Photo type: files max: 1 + accept: image/* uploads: template: image # SEO diff --git a/site/blueprints/pages/article.yml b/site/blueprints/pages/article.yml index 7d00b91..4f59fa2 100644 --- a/site/blueprints/pages/article.yml +++ b/site/blueprints/pages/article.yml @@ -11,93 +11,93 @@ status: listed: label: Publié text: L'article est visible publiquement +tabs: + content: + label: Contenu + icon: text + columns: + # Colonne principale + main: + width: 2/3 + sections: + # En-tête + header: + type: fields + fields: + intro: + label: Introduction + type: textarea + size: small + help: "Résumé ou accroche de l'article" -columns: - # Colonne principale - main: - width: 2/3 - sections: - # En-tête - header: - type: fields - fields: - title: - label: Titre de l'article - type: text - required: true - intro: - label: Introduction / Chapeau - type: textarea - size: small - help: "Résumé ou accroche de l'article" + # Contenu + content: + type: fields + fields: + article_content: + 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 - # Contenu - content: - type: fields - fields: - article_content: - 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 + # Sidebar + sidebar: + width: 1/3 + sections: + # Métadonnées + meta: + type: fields + fields: + date: + label: Date de publication + type: date + required: true + default: today + cover: + label: Image de couverture + type: files + max: 1 + accept: image/* + uploads: + template: image - # Sidebar - sidebar: - width: 1/3 - sections: - # Métadonnées - meta: - type: fields - fields: - date: - label: Date de publication - type: date - required: true - default: today - cover: - label: Image de couverture - type: files - max: 1 - uploads: - template: image + # Recommandations + related: + type: fields + fields: + related_articles: + label: Articles recommandés + type: pages + query: site.find('blog').children.listed + max: 3 + help: "Articles similaires à afficher en bas de page" - # Recommandations - related: - type: fields - fields: - related_articles: - label: Articles recommandés - type: pages - query: site.find('blog').children.listed - max: 3 - help: "Articles similaires à afficher en bas de page" - - # SEO - seo: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 + # SEO + seo: + type: fields + fields: + meta_title: + label: Meta Title + type: text + meta_description: + label: Meta Description + type: textarea + size: small + maxlength: 160 diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index 8acc670..7830517 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -4,21 +4,20 @@ icon: text tabs: # Intro intro: - label: Introduction + label: Contenu icon: text sections: content: type: fields fields: - intro_title: - label: Titre - type: text - default: "NOS ARTICLES." - intro_text: - label: Texte d'introduction - type: textarea - size: small - help: "On décrypte pour vous les ressorts de la gamification, ses actualités et des cas d'étude." + intro: + type: writer + nodes: + - heading + headings: + - 1 + buttons: false + help: Section de texte centrée. articles_list: label: Articles type: pages @@ -35,16 +34,4 @@ tabs: # SEO seo: label: SEO - icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 + icon: search \ No newline at end of file diff --git a/site/blueprints/pages/expertise.yml b/site/blueprints/pages/expertise.yml index 6afc7b6..452b751 100644 --- a/site/blueprints/pages/expertise.yml +++ b/site/blueprints/pages/expertise.yml @@ -2,9 +2,8 @@ title: Expertise icon: wand tabs: - # Intro - intro: - label: Introduction + content: + label: Contenu icon: text columns: - width: 2/3 @@ -12,30 +11,18 @@ tabs: content: type: fields fields: - intro_title: - label: Titre principal + title: + label: Titre type: text required: true help: "Ex: PLAY THE REAL." - contenu: - label: Contenu + textes: + label: Texte type: blocks fieldsets: - text: - label: Texte + text_bloc: + label: bloc de texte type: text - - width: 1/3 - sections: - media: - type: fields - fields: - video: - label: Vidéo d'arrière-plan - type: files - max: 1 - uploads: - template: image - # SEO seo: label: SEO diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index f905629..f901145 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -14,55 +14,50 @@ icon: play columns: # Colonne principale - main: - width: 2/3 + - width: 2/3 sections: # Informations principales info: type: fields fields: - title: - label: Nom du jeu - type: text - required: true - help: "Ex: Mozzle" description: label: Description type: textarea size: medium - help: "Un thème, 5 mots cachés... mais chacun a une lettre manquante !" - rules: - label: Règles du jeu - type: blocks - fieldsets: - - heading - - text - - list # Sidebar - sidebar: - width: 1/3 + - width: 1/3 sections: # Visuel visual: type: fields fields: - cover: - label: Image de couverture + background_image: + label: Image d'arrière plan type: files max: 1 + accept: image/* uploads: template: image + help: Image affichée en arrière-plan quand le jeu est sélectionné + thumbnail: + label: Vignette + type: files + max: 1 + accept: image/* + uploads: + template: image + help: Petite image carrée représentant le jeu badge: label: Badge - type: select + type: tags + max: 1 options: - none: Aucun - new: NEW - coming_soon: Coming Soon - popular: Populaire + - NEW + - Populaire + help: Choisissez une suggestion ou tapez votre propre badge - # Statut et liens + # Statut status: type: fields fields: @@ -75,12 +70,20 @@ columns: available: Disponible coming_soon: Bientôt disponible maintenance: En maintenance - play_link: - label: Lien pour jouer - type: url - help: "URL vers le jeu intégré ou externe" - is_embedded: - label: Jeu intégré - type: toggle - text: Le jeu s'affiche directement sur la page - default: true + # Liens + links: + type: fields + fields: + play_links: + label: Lien(s) pour jouer + type: structure + fields: + link_label: + label: Nom du bouton + type: text + width: 1/2 + placeholder: "Ex: App Store, Site web..." + link_url: + label: URL + type: url + width: 1/2 diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml index a8f21d0..a129f8d 100644 --- a/site/blueprints/pages/home.yml +++ b/site/blueprints/pages/home.yml @@ -4,29 +4,29 @@ icon: home tabs: # Hero Section hero: - label: Hero - icon: star + label: Contenu + icon: text columns: - width: 2/3 sections: hero_content: type: fields fields: - hero_title: + title: label: Titre principal type: text required: true - help: "Ex: PLAY TO ENGAGE" - hero_subtitle: + subtitle: label: Sous-titre type: textarea size: small - help: "Ex: Nous transformons les interactions en défis pertinents et gratifiants" - hero_cta_text: + cta_text: + width: 1/2 label: Texte du bouton CTA type: text default: Explorer - hero_cta_link: + cta_link: + width: 1/2 label: Lien du bouton CTA type: pages max: 1 @@ -39,8 +39,9 @@ tabs: label: Vidéo d'arrière-plan type: files max: 1 + accept: video/* uploads: - template: image + template: video # SEO seo: label: SEO diff --git a/site/blueprints/pages/jouer.yml b/site/blueprints/pages/jouer.yml index 76bdc2f..14650c7 100644 --- a/site/blueprints/pages/jouer.yml +++ b/site/blueprints/pages/jouer.yml @@ -2,24 +2,6 @@ title: Jouer icon: play tabs: - # Intro - intro: - label: Introduction - icon: text - sections: - content: - type: fields - fields: - intro_title: - label: Titre - type: text - default: Jouer - intro_text: - label: Texte d'introduction - type: textarea - size: small - - # Jeux games: label: Jeux icon: grid @@ -39,15 +21,3 @@ tabs: seo: label: SEO icon: search - sections: - meta: - type: fields - fields: - meta_title: - label: Meta Title - type: text - meta_description: - label: Meta Description - type: textarea - size: small - maxlength: 160 diff --git a/site/blueprints/pages/portfolio.yml b/site/blueprints/pages/portfolio.yml index 5e0ceb5..75a3ac6 100644 --- a/site/blueprints/pages/portfolio.yml +++ b/site/blueprints/pages/portfolio.yml @@ -6,25 +6,16 @@ tabs: label: Contenu icon: text sections: - # Intro - intro: - type: fields - fields: - intro_title: - label: Titre - type: text - default: Portfolio - # Projets projects_list: type: pages headline: Liste des projets - layout: list + layout: cards size: medium image: cover: true template: project - info: "{{ page.category }}" + info: "{{ page.catchphrase }}" create: project # SEO diff --git a/site/blueprints/pages/project.yml b/site/blueprints/pages/project.yml index 7194d38..5527d3a 100644 --- a/site/blueprints/pages/project.yml +++ b/site/blueprints/pages/project.yml @@ -1,16 +1,16 @@ title: Projet icon: image -status: - draft: - label: Brouillon - text: Le projet n'est pas visible - unlisted: - label: Non listé - text: Le projet est accessible mais pas dans la liste - listed: - label: Publié - text: Le projet est visible publiquement +# status: +# draft: +# label: Brouillon +# text: Le projet n'est pas visible +# unlisted: +# label: Non listé +# text: Le projet est accessible mais pas dans la liste +# listed: +# label: Publié +# text: Le projet est visible publiquement columns: # Colonne principale @@ -21,12 +21,8 @@ columns: info: type: fields fields: - title: - label: Nom du projet - type: text - required: true - tagline: - label: Tagline + catchphrase: + label: Phrase d'accroche type: text help: "Ex: Transformez votre lecture en aventure." description: @@ -35,14 +31,29 @@ columns: size: medium help: Description complète du projet - # Galerie - gallery: - type: files - headline: Galerie d'images - layout: cards - size: medium - template: image - info: "{{ file.dimensions }}" + images: + type: fields + fields: + images_gallery_video: + width: 2/3 + label: Galerie vidéo d'images + type: files + layout: cards + size: medium + max: 1 + accept: video/* + uploads: + 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 + type: files + max: 1 + accept: image/* + uploads: + template: image + help: Écran de jeu mis en situation sur un appareil # Sidebar sidebar: @@ -52,12 +63,14 @@ columns: meta: type: fields fields: - cover: - label: Image de couverture + thumbnail: + label: Vignette type: files max: 1 + accept: image/* uploads: template: image + help: Petite image carrée représentant le jeu category: label: Catégorie type: text diff --git a/site/blueprints/site.yml b/site/blueprints/site.yml index 1c06e61..9560de0 100644 --- a/site/blueprints/site.yml +++ b/site/blueprints/site.yml @@ -1,7 +1,7 @@ title: World Game columns: - - width: 1/1 + - width: 1/2 sections: pages: type: pages @@ -12,92 +12,51 @@ columns: create: false status: listed - - width: 1/3 - sections: - identity: - type: fields + - width: 1/2 + fields: + contact_email: + label: Email + type: email + width: 1/3 + contact_phone: + label: Téléphone + type: tel + width: 1/3 + contact_address: + label: Adresse + type: writer + buttons: false + nodes: false + width: 1/3 + placeholder: 33 rue Jean Dupont + social_links: + label: Liens réseaux sociaux + type: structure fields: - identity_headline: - type: headline - label: Le studio - - site_title: - label: Nom du site + label: + label: Nom type: text - width: 1/2 - - site_tagline: - label: Tagline - type: text - width: 1/2 - - site_description: - label: Description SEO + width: 1/3 + placeholder: "Ex: LinkedIn, Instagram..." + url: + label: URL + type: url + width: 1/3 + picto: + label: Icône SVG type: textarea + width: 1/3 + buttons: false size: small + help: Collez le code SVG de l'icône - mentions_legales: - label: Mentions légales (PDF) - type: files - max: 1 - width: 1/2 - - - width: 1/3 + - width: 1/2 sections: contact: type: fields fields: - contact_headline: - type: headline - label: Contact - - contact_email: - label: Email - type: email - width: 1/2 - - contact_phone: - label: Téléphone - type: tel - width: 1/2 - - contact_address: - label: Adresse - type: text - width: 1/2 - placeholder: 33 rue Jean Dupont - - contact_postal: - label: Code postal - type: text - width: 1/2 - placeholder: 75000 Paris - - - width: 1/3 - sections: - social: - type: fields - fields: - social_headline: - type: headline - label: Réseaux sociaux - - social_linkedin: - label: LinkedIn - type: url - width: 1/2 - - social_twitter: - label: Twitter / X - type: url - width: 1/2 - - social_instagram: - label: Instagram - type: url - width: 1/2 - - social_youtube: - label: YouTube - type: url - width: 1/2 + mentions_legales: + label: Mentions légales (PDF) + type: files + max: 1 + accept: application/pdf \ No newline at end of file