Added more UI styling. Updated voice work search provider to send back English tag names, if applicable.
All checks were successful
ci / build-test (push) Successful in 2m15s
ci / publish-image (push) Has been skipped

This commit is contained in:
2025-11-15 22:37:15 -05:00
parent 634050c06f
commit 75900a90ef
10 changed files with 245 additions and 12 deletions

View File

@@ -1,7 +1,14 @@
namespace JSMR.UI.Blazor.Services;
using JSMR.Application.VoiceWorks.Queries.Search;
namespace JSMR.UI.Blazor.Services;
public static class ImageUrlProvider
{
public static string GetImageUrl(VoiceWorkSearchResult voiceWork, string size)
{
return GetImageURL(voiceWork.OriginalProductId ?? voiceWork.ProductId, voiceWork.HasImage, voiceWork.SalesDate, size);
}
public static string GetImageURL(string? productId, bool hasImage, DateTime? salesDate, string size)
{
string folder = "modpub";