Added more UI styling. Updated voice work search provider to send back English tag names, if applicable.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user