diff --git a/OneGateApp/Data/DApp.cs b/OneGateApp/Data/DApp.cs index 52d5784..0f20bf0 100644 --- a/OneGateApp/Data/DApp.cs +++ b/OneGateApp/Data/DApp.cs @@ -35,6 +35,7 @@ public class DApp : IComparable, IShareable, IVersioned public bool IsGamingApp => !string.IsNullOrWhiteSpace(GameType); public bool IsRegularApp => !IsGamingApp; + public string? PreviewUrl => Previews?.FirstOrDefault(p => !string.IsNullOrWhiteSpace(p)); public string? GameTypeDisplayName => LocalizeGameType(GameType); public Dictionary NameLocalizer => field ??= JsonSerializer.Deserialize>(Name)!; public Dictionary? DescriptionLocalizer => Description is null ? null : field ??= JsonSerializer.Deserialize>(Description); diff --git a/OneGateApp/Pages/GamingPage.xaml b/OneGateApp/Pages/GamingPage.xaml index 3b23f36..b30c2f9 100644 --- a/OneGateApp/Pages/GamingPage.xaml +++ b/OneGateApp/Pages/GamingPage.xaml @@ -9,6 +9,7 @@ + @@ -30,42 +31,291 @@ - - - - - - - -