UI: Footer mit Version und Build-Kanal hinzugefügt (Header bleibt clean)

This commit is contained in:
vibe-bot 2025-08-09 16:43:05 +02:00
parent e1d5c9eaa6
commit b11e7dd666
2 changed files with 15 additions and 1 deletions

View file

@ -470,6 +470,15 @@ export default function App() {
);
})}
</main>
{/* Footer: Version/Channel */}
<footer className="footer-info">
<span>
v{import.meta.env.VITE_APP_VERSION || ''}
{import.meta.env.VITE_BUILD_CHANNEL === 'nightly' && (
<span className="ml-2"> Nightly</span>
)}
</span>
</footer>
</div>
{showTop && (
<button type="button" className="back-to-top" aria-label="Nach oben" onClick={()=>window.scrollTo({top:0, behavior:'smooth'})}> Top</button>

View file

@ -632,7 +632,12 @@ header p {
.hint { opacity: .7; padding: 24px 0; }
/* footer-info entfernt */
/* Footer mit Version/Build-Kanal */
.footer-info {
opacity: .7;
font-size: 12px;
padding: 16px 0 8px;
}
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {