From 5c0487c90fd3b5167d2984a0def62e76fcece9e4 Mon Sep 17 00:00:00 2001 From: Boris Waaub Date: Wed, 11 Feb 2026 19:57:48 +0100 Subject: [PATCH] =?UTF-8?q?feat(contact):=20am=C3=A9liorer=20le=20formulai?= =?UTF-8?q?re=20de=20contact=20avec=20des=20informations=20sur=20les=20d?= =?UTF-8?q?=C3=A9veloppeurs=20et=20un=20QR=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/contact.md | 12 +++- content/resources/technical-documentation.md | 13 ---- static/css/style.css | 12 ++++ .../layouts/shortcodes/contact-form.html | 70 +++++++++++-------- 4 files changed, 62 insertions(+), 45 deletions(-) diff --git a/content/contact.md b/content/contact.md index 8f9cc29..b559193 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,8 +1,16 @@ --- -title: Contact +title: "Nous contacter" layout: "simple" contactForm: + title: "Formulaire de contact" action: "http://localhost:3001/contact" + developers: + title: "Échanger avec les développeurs" + description: "Il existe un salon sur la messagerie Matrix, pour échanger avec les développeurs de Chill." + linkLabel: "#chill-social-admin:matrix.org" + linkUrl: "https://matrix.to/#/#chill-social-admin:matrix.org" + qrLabel: "ou scannez le code QR :" + qrImg: "/images/chill-admin.png" fields: - name: "sujet" label: "Sujet" @@ -33,7 +41,7 @@ faq: - description : "Voici une liste de questions les plus souvent posées sur CHILL." - faqPath: content/faq.md" --- - {{< contact-form >}} + {{< faq >}} diff --git a/content/resources/technical-documentation.md b/content/resources/technical-documentation.md index 299b539..4c713ef 100644 --- a/content/resources/technical-documentation.md +++ b/content/resources/technical-documentation.md @@ -22,19 +22,6 @@ Les tickets concernant le code de Chill se situent par conséquent dans ce dép La documentation technique de Chill se trouve à l'adresse suivante: http://docs.chill.social/en/latest/ -
Échanger avec les développeurs
- -Il existe un salon sur la messagerie Matrix, pour échanger avec les développeurs de Chill. - -Pour le rejoindre cliquez sur le lien ci-dessous, - -[#chill-social-admin:matrix.org](https://matrix.to/#/#chill-social-admin:matrix.org) - -ou scannez le code qr - - - -
Contribuer, devenir prestataire
Si vous souhaitez contribuer au code de Chill et peut-être devenir prestataire du logiciel, jetez un oeil à la page [Contributing](https://gitlab.com/Chill-Projet/chill-bundles/-/blob/master/CONTRIBUTING.md). diff --git a/static/css/style.css b/static/css/style.css index 498c5ec..2174ff8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -2419,6 +2419,10 @@ body { height: 100%; } +.h-40 { + height: 10rem; +} + .max-h-12 { max-height: 3rem; } @@ -2475,6 +2479,10 @@ body { width: 100%; } +.w-40 { + width: 10rem; +} + .\!max-w-none { max-width: none !important; } @@ -3302,6 +3310,10 @@ body { color: rgb(255 255 255 / var(--tw-text-opacity, 1)); } +.underline { + text-decoration-line: underline; +} + .\!no-underline { text-decoration-line: none !important; } diff --git a/themes/chill-theme/layouts/shortcodes/contact-form.html b/themes/chill-theme/layouts/shortcodes/contact-form.html index 296ad4f..af55501 100644 --- a/themes/chill-theme/layouts/shortcodes/contact-form.html +++ b/themes/chill-theme/layouts/shortcodes/contact-form.html @@ -1,10 +1,11 @@ {{ $form := .Page.Params.contactForm }} -
-
+ + + +

{{ $form.title }}

{{ range $form.fields }}
- {{ if eq .type "textarea" }} {{ else if eq .type "select" }} @@ -23,38 +24,47 @@
-
- + }); +
+ +{{ with $form.developers }} +
+

{{ .title }}

+

{{ .description }}

+

Pour le rejoindre cliquez sur le lien ci-dessous :

+ {{ .linkLabel }} +

{{ .qrLabel }}

+ Chill Admin QR Code +
+{{ end }}