Track Gallery front end

- For now uses a table but will replace with graphical media cards
This commit is contained in:
2025-09-01 16:50:08 -04:00
parent 3d79df725c
commit f0d60190cc
9 changed files with 176 additions and 60 deletions
+20
View File
@@ -0,0 +1,20 @@
using DeepDrftWeb.Client.Clients;
using DeepDrftWeb.Client.ViewModels;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using NetBlocks.Models;
namespace DeepDrftWeb.Client;
public static class Startup
{
public static void ConfigureDomainServices(IServiceCollection services, string baseAddress)
{
// HTTP Client for Server API
services.AddScoped(_ => new HttpClient { BaseAddress = new Uri(baseAddress) });
// Track Client
services.AddSingleton(new ClientConfig(baseAddress));
services.AddScoped<TrackClient>();
services.AddScoped<TrackGalleryViewModel>();
}
}