From bf2f0d3a65084296651ed954102832f7f53b73d6 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 31 Oct 2024 17:51:10 +0100 Subject: [PATCH] add informations field --- assets/css/src/event-presentation.css | 14 +++++++++++++- site/blueprints/pages/event.yml | 3 +++ site/templates/event.php | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/assets/css/src/event-presentation.css b/assets/css/src/event-presentation.css index 1a567f5..d7b7ec1 100644 --- a/assets/css/src/event-presentation.css +++ b/assets/css/src/event-presentation.css @@ -16,10 +16,22 @@ margin: var(--space-m) 0; } -.presentation__description { +.presentation__description, +.presentation__informations { font-size: var(--font-size-s); } +.presentation__informations { + margin-top: 0.5rem; +} + +.presentation__informations figure { + display: inline-block; + width: 2.3rem; + margin: 0 0.5rem; + transform: translateY(30%); +} + @media screen and (max-width: 1085px) { .presentation { grid-template-columns: 1fr; diff --git a/site/blueprints/pages/event.yml b/site/blueprints/pages/event.yml index 3e05f6c..d5ec8cb 100644 --- a/site/blueprints/pages/event.yml +++ b/site/blueprints/pages/event.yml @@ -166,6 +166,9 @@ tabs: type: writer description: type: writer + informations: + type: textarea + - width: 1/1 fields: production: diff --git a/site/templates/event.php b/site/templates/event.php index 867b5fb..e423470 100644 --- a/site/templates/event.php +++ b/site/templates/event.php @@ -28,6 +28,7 @@

authors() ?>

chapo() ?>
description() ?>
+
informations()->kti() ?>