From ff8fe38a19e2ddf81d4fe1cd12bb4dd67aab313d Mon Sep 17 00:00:00 2001 From: ilhooq Date: Mon, 9 Sep 2024 21:28:02 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9liorations=20esth=C3=A9tiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/site/layouts/main.php | 10 ++++++---- modules/site/views/assistant/index.php | 2 ++ vite/src/ChatApp.svelte | 2 +- vite/src/styles/_hamburger.scss | 6 ++++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/modules/site/layouts/main.php b/modules/site/layouts/main.php index 69c7601..baedf16 100644 --- a/modules/site/layouts/main.php +++ b/modules/site/layouts/main.php @@ -5,7 +5,9 @@ $user = $this->params['user']; assert($user instanceof Piko\User); -if (!$this->title) $this->title = 'Openai'; +$headerDark = $this->params['header_dark']?? false; + +if (!$this->title) $this->title = 'IA Assistant'; ?> @@ -25,13 +27,13 @@ if (!$this->title) $this->title = 'Openai';