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
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:
1 parent
23cdfb010d
commit
67c69208c4
3 files changed
+21
-6
No files matched your search
@@ -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;
|
||||
@@ -40,3 +50,7 @@
|
||||
margin-top: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
body.has-player-bar .settings-about-container .MuiFab-root {
|
||||
bottom: calc(2em + 104px);
|
||||
}
|
||||
@@ -27,11 +27,12 @@ function RouteComponent() {
|
||||
|
||||
return (
|
||||
<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" />
|
||||
<Typography sx={{ opacity: 0.8, marginTop: "-4em" }}>
|
||||
<Typography className="settings-about-version">
|
||||
v{version}
|
||||
</Typography>
|
||||
</div>
|
||||
<div className="settings-about-table">
|
||||
<div className="settings-about-table-row">
|
||||
<Typography variant="subtitle1">Server Name</Typography>
|
||||
@@ -44,7 +45,7 @@ function RouteComponent() {
|
||||
<Typography variant="subtitle1">{systemInfo.data.Version}</Typography>
|
||||
</div>
|
||||
<div className="settings-about-table-row">
|
||||
<Typography variant="subtitle1">Update Available</Typography>
|
||||
<Typography variant="subtitle1">Update</Typography>
|
||||
<Typography variant="subtitle1">
|
||||
{updateInfo.data
|
||||
? `v${updateInfo.data.version}`
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user