From 67c69208c4ae221ac2f73145fb2220b0eeda8221 Mon Sep 17 00:00:00 2001 From: 1xDed Date: Sat, 28 Nov 2026 02:18:36 +0300 Subject: [PATCH] fix(ui): about page header and clean typecheck Separates the logo from the version label, keeps the support button above the player bar, and disables declaration emit for this app so tsc --noEmit passes cleanly. --- src/routes/_api/settings/about.scss | 18 ++++++++++++++++-- src/routes/_api/settings/about.tsx | 13 +++++++------ tsconfig.json | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/src/routes/_api/settings/about.scss b/src/routes/_api/settings/about.scss index 4337040..221962c 100644 --- a/src/routes/_api/settings/about.scss +++ b/src/routes/_api/settings/about.scss @@ -6,9 +6,19 @@ justify-content: flex-start; width: 100%; } + &-header { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.35em; + } &-logo{ - width: 60%; - object-fit: cover; + width: min(300px, 60%); + height: auto; + object-fit: contain; + } + &-version { + opacity: 0.75; } &-table{ display: flex; @@ -39,4 +49,8 @@ max-width: 60%; margin-top: 2em; } +} + +body.has-player-bar .settings-about-container .MuiFab-root { + bottom: calc(2em + 104px); } \ No newline at end of file diff --git a/src/routes/_api/settings/about.tsx b/src/routes/_api/settings/about.tsx index c698a9e..9579058 100644 --- a/src/routes/_api/settings/about.tsx +++ b/src/routes/_api/settings/about.tsx @@ -27,11 +27,12 @@ function RouteComponent() { return (
- {/* About */} - Blink - - v{version} - +
+ Blink + + v{version} + +
Server Name @@ -44,7 +45,7 @@ function RouteComponent() { {systemInfo.data.Version}
- Update Available + Update {updateInfo.data ? `v${updateInfo.data.version}` diff --git a/tsconfig.json b/tsconfig.json index 4234b80..e795fab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,7 @@ "noEmit": true, // Do not emit output (meaning do not compile code, only perform type checking) "jsx": "react", // Support JSX in .tsx files "sourceMap": true, // Generate corrresponding .map file - "declaration": true, // Generate corresponding .d.ts file + "declaration": false, // App build; Vite does not emit declarations "noUnusedLocals": true, // Report errors on unused locals "noUnusedParameters": true, // Report errors on unused parameters "incremental": true, // Enable incremental compilation by reading/writing information from prior compilations to a file on disk