Front End

- MudBlazor Theme Manager tryout
 - Navigation bar rework
 - Icons and styles rework
 - Track Gallery & Card layout redesign for SPA
 - Track Player bottom bar
This commit is contained in:
daniel-c-harvey
2025-09-05 22:27:12 -04:00
parent 7f78545a02
commit 3766d4e010
20 changed files with 522 additions and 112 deletions
@@ -1,9 +1,28 @@
using Microsoft.AspNetCore.Components;
using DeepDrftModels.Entities;
using DeepDrftWeb.Client.Clients;
namespace DeepDrftWeb.Client.Controls;
public partial class TracksGallery : ComponentBase
{
private Stream? _audioStream = null;
[Parameter] public IEnumerable<TrackEntity> Tracks { get; set; } = Enumerable.Empty<TrackEntity>();
[Inject] public required TrackMediaClient Client { get; set; }
private async Task HandlePlayClick(TrackEntity track)
{
if (_audioStream == null)
{
_audioStream = await Client.GetTrackMedia(track.EntryKey);
PlayAudio();
}
}
private void PlayAudio()
{
throw new NotImplementedException();
}
}