From 60fef3ee99705be644c25e578b666344af8af81d Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 5 Oct 2024 19:45:41 +0300 Subject: [PATCH] Restyle welcome --- public/script.js | 4 +- public/scripts/templates/welcome.html | 149 +++++++++++++------------- public/style.css | 6 ++ 3 files changed, 81 insertions(+), 78 deletions(-) diff --git a/public/script.js b/public/script.js index d82373400..7651cf3fd 100644 --- a/public/script.js +++ b/public/script.js @@ -658,7 +658,7 @@ async function getSystemMessages() { is_user: false, is_system: true, uses_system_ui: true, - mes: await renderTemplateAsync('welcome', { displayVersion } ), + mes: await renderTemplateAsync('welcome', { displayVersion }), }, group: { name: systemUserName, @@ -9106,7 +9106,7 @@ function doDrawerOpenClick() { const drawer = $(`#${targetDrawerID}`); const drawerToggle = drawer.find('.drawer-toggle'); const drawerWasOpenAlready = drawerToggle.parent().find('.drawer-content').hasClass('openDrawer'); - if (drawerWasOpenAlready || drawer.hasClass('resizing') ) { return; } + if (drawerWasOpenAlready || drawer.hasClass('resizing')) { return; } doNavbarIconClick.call(drawerToggle); } diff --git a/public/scripts/templates/welcome.html b/public/scripts/templates/welcome.html index df887c3ad..eaf49b986 100644 --- a/public/scripts/templates/welcome.html +++ b/public/scripts/templates/welcome.html @@ -1,95 +1,92 @@
- You can add more - - or - - from other websites. +
/?
in the chat bar
- /?
in the chat bar
+