adds loading text to lobby

This commit is contained in:
2025-08-17 21:56:16 +02:00
parent a64d9fea31
commit d6cfdf66c6
+14 -1
View File
@@ -353,7 +353,7 @@ export default function Lobby() {
))}{" "} ))}{" "}
</div> </div>
</div> </div>
{!songLoading && currentSong && ( {!songLoading && currentSong ? (
<div className="flex flex-col items-center justify-start"> <div className="flex flex-col items-center justify-start">
<h2 <h2
className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`} className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`}
@@ -366,6 +366,19 @@ export default function Lobby() {
{currentSong.name} {currentSong.name}
</h2> </h2>
</div> </div>
) : (
<div className="flex flex-col items-center justify-start">
<h2
className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`}
>
Loading
</h2>
<h2
className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`}
>
...
</h2>
</div>
)} )}
</div> </div>