From 6af59b613d30a134eb341f633f23360706a6dc02 Mon Sep 17 00:00:00 2001 From: nkanaev Date: Tue, 7 Jul 2026 00:10:09 +0100 Subject: [PATCH] frontend: fix login page logo --- src/frontend/css/app.css | 2 +- src/frontend/js/login.ts | 6 +++++- src/frontend/js/templates/login.html | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/frontend/css/app.css b/src/frontend/css/app.css index 5312e11..cdc8bd4 100644 --- a/src/frontend/css/app.css +++ b/src/frontend/css/app.css @@ -617,7 +617,7 @@ a, margin: 0 auto; padding: 1rem; } -.login-page img { +.login-page .logo svg { width: 4rem; height: 4rem; display: block; diff --git a/src/frontend/js/login.ts b/src/frontend/js/login.ts index b3fdc58..0c37f41 100644 --- a/src/frontend/js/login.ts +++ b/src/frontend/js/login.ts @@ -1,9 +1,13 @@ import template from './templates/login.html' with {type: 'text'} +import icons from './icons' export default { template: template, data: function () { - return { hasError: false } + return { + logo: icons.anchor, + hasError: false, + } }, created: function () { this.$setLang(window.app.settings.language) diff --git a/src/frontend/js/templates/login.html b/src/frontend/js/templates/login.html index 862f496..22e38a9 100644 --- a/src/frontend/js/templates/login.html +++ b/src/frontend/js/templates/login.html @@ -1,6 +1,6 @@
- +
{{ $t('login_error') }}