Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
Simo committed 2026-07-11 20:37:56 +02:00
1 parent 4a1e1115b3
commit 4d515bc400
338 files changed
+5949 -28144

No files matched your search

+8 -3
View File
@@ -80,7 +80,8 @@ function parseNowPlaying(data: unknown): string {
if (np) return np;
// { song, artist } / { title, artist } at the top level.
const top = joinSongArtist(data.song, data.artist) ?? joinSongArtist(data.title, data.artist);
const top =
joinSongArtist(data.song, data.artist) ?? joinSongArtist(data.title, data.artist);
if (top) return top;
// AzureCast: { now_playing: { song: { title, artist, text } } }.
@@ -277,7 +278,9 @@ export default function RadioPlayer() {
height: "8px",
borderRadius: "999px",
background: playing ? "#16a34a" : muted,
boxShadow: playing ? "0 0 0 3px color-mix(in srgb, #16a34a 22%, transparent)" : "none",
boxShadow: playing
? "0 0 0 3px color-mix(in srgb, #16a34a 22%, transparent)"
: "none",
}}
/>
<span style={{ overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>
@@ -301,7 +304,9 @@ export default function RadioPlayer() {
</div>
<span
aria-label={listeners != null ? `${listeners.toLocaleString()} listeners` : "Listeners"}
aria-label={
listeners != null ? `${listeners.toLocaleString()} listeners` : "Listeners"
}
style={{
flex: "none",
display: "inline-flex",