V1.5.0: Version bump + Download-Button Redesign
- Version auf 1.5.0 in allen Packages, CI, Dockerfile, Electron - Download-Button im gleichen Design wie Version-Badge (bg-secondary, radius, hover accent) - CI Registry auf adriahub (192.168.1.100:9080) umgestellt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d6082f8dcf
commit
17dcd6073f
9 changed files with 33 additions and 15 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gaming-hub-web",
|
||||
"version": "1.0.0",
|
||||
"version": "1.5.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export default function App() {
|
|||
return () => { es?.close(); clearTimeout(retryTimer); };
|
||||
}, []);
|
||||
|
||||
const version = (import.meta as any).env?.VITE_APP_VERSION ?? '1.0.0';
|
||||
const version = (import.meta as any).env?.VITE_APP_VERSION ?? '1.5.0';
|
||||
|
||||
// Tab icon mapping
|
||||
const tabIcons: Record<string, string> = {
|
||||
|
|
@ -137,7 +137,8 @@ export default function App() {
|
|||
download
|
||||
title="Desktop App herunterladen"
|
||||
>
|
||||
{'\u2B07\uFE0F'}
|
||||
<span className="hub-download-icon">{'\u2B07\uFE0F'}</span>
|
||||
<span className="hub-download-label">Desktop App</span>
|
||||
</a>
|
||||
)}
|
||||
<span className="hub-version">v{version}</span>
|
||||
|
|
|
|||
|
|
@ -189,14 +189,31 @@ html, body {
|
|||
}
|
||||
|
||||
.hub-download-btn {
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
font-family: var(--font);
|
||||
text-decoration: none;
|
||||
opacity: 0.6;
|
||||
transition: opacity var(--transition);
|
||||
color: var(--text-muted);
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.hub-download-btn:hover {
|
||||
opacity: 1;
|
||||
color: var(--accent);
|
||||
background: rgba(var(--accent-rgb), 0.1);
|
||||
}
|
||||
.hub-download-icon {
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
}
|
||||
.hub-download-label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.hub-version {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue