fix(ui): about page header and clean typecheck
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

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.
This commit is contained in:
1xDed committed 2026-11-28 02:18:36 +03:00
1 parent 23cdfb010d
commit 67c69208c4
3 files changed
+24 -9

No files matched your search

+16 -2
View File
@@ -6,9 +6,19 @@
justify-content: flex-start; justify-content: flex-start;
width: 100%; width: 100%;
} }
&-header {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.35em;
}
&-logo{ &-logo{
width: 60%; width: min(300px, 60%);
object-fit: cover; height: auto;
object-fit: contain;
}
&-version {
opacity: 0.75;
} }
&-table{ &-table{
display: flex; display: flex;
@@ -39,4 +49,8 @@
max-width: 60%; max-width: 60%;
margin-top: 2em; margin-top: 2em;
} }
}
body.has-player-bar .settings-about-container .MuiFab-root {
bottom: calc(2em + 104px);
} }
+7 -6
View File
@@ -27,11 +27,12 @@ function RouteComponent() {
return ( return (
<div className="settings-page-scrollY settings-about-container"> <div className="settings-page-scrollY settings-about-container">
{/* <Typography variant="h4">About</Typography> */} <div className="settings-about-header">
<img src={blinkLogo} alt="Blink" className="settings-about-logo" /> <img src={blinkLogo} alt="Blink" className="settings-about-logo" />
<Typography sx={{ opacity: 0.8, marginTop: "-4em" }}> <Typography className="settings-about-version">
v{version} v{version}
</Typography> </Typography>
</div>
<div className="settings-about-table"> <div className="settings-about-table">
<div className="settings-about-table-row"> <div className="settings-about-table-row">
<Typography variant="subtitle1">Server Name</Typography> <Typography variant="subtitle1">Server Name</Typography>
@@ -44,7 +45,7 @@ function RouteComponent() {
<Typography variant="subtitle1">{systemInfo.data.Version}</Typography> <Typography variant="subtitle1">{systemInfo.data.Version}</Typography>
</div> </div>
<div className="settings-about-table-row"> <div className="settings-about-table-row">
<Typography variant="subtitle1">Update Available</Typography> <Typography variant="subtitle1">Update</Typography>
<Typography variant="subtitle1"> <Typography variant="subtitle1">
{updateInfo.data {updateInfo.data
? `v${updateInfo.data.version}` ? `v${updateInfo.data.version}`
+1 -1
View File
@@ -25,7 +25,7 @@
"noEmit": true, // Do not emit output (meaning do not compile code, only perform type checking) "noEmit": true, // Do not emit output (meaning do not compile code, only perform type checking)
"jsx": "react", // Support JSX in .tsx files "jsx": "react", // Support JSX in .tsx files
"sourceMap": true, // Generate corrresponding .map file "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 "noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters "noUnusedParameters": true, // Report errors on unused parameters
"incremental": true, // Enable incremental compilation by reading/writing information from prior compilations to a file on disk "incremental": true, // Enable incremental compilation by reading/writing information from prior compilations to a file on disk