Nightly: Header zeigt 'Nightly' Badge auf Port 3001 (Feature Version)

This commit is contained in:
vibe-bot 2025-08-09 02:19:53 +02:00
parent eac3cdecad
commit 067a92b7c4

View file

@ -177,7 +177,12 @@ export default function App() {
<header className="flex items-center justify-between p-6">
<div className="flex items-center">
<div>
<h1 className="text-4xl font-bold">Jukebox 420</h1>
<h1 className="text-4xl font-bold">
Jukebox 420
{window.location.hostname.includes('localhost') && window.location.port === '3001' && (
<span className="text-sm text-red-400 ml-2">Nightly</span>
)}
</h1>
<p className="text-7xl font-bold mt-2">{clock}</p>
</div>
</div>