@page "/Users/{baid:int}/Songs/{songId:int}" @using Blazored.LocalStorage @using TaikoWebUI.Components.Song @inject IGameDataService GameDataService @inject HttpClient Client @inject AuthService AuthService @inject NavigationManager NavigationManager @inject ILocalStorageService LocalStorage @inject BreadcrumbsStateContainer BreadcrumbsStateContainer @if (AuthService.LoginRequired && (!AuthService.IsLoggedIn || (AuthService.GetLoggedInBaid() != Baid && !AuthService.IsAdmin))) { NavigationManager.NavigateTo(AuthService.IsLoggedIn ? "/" : "/Login"); } else { if (response is not null) { @songTitle @songArtist } }