diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj index 794cdd30..51f424aa 100644 --- a/MP.Stats/MP.Stats.csproj +++ b/MP.Stats/MP.Stats.csproj @@ -29,6 +29,13 @@ + + + + + + + PreserveNewest diff --git a/MP.Stats/Pages/_Host.cshtml b/MP.Stats/Pages/_Host.cshtml index 65bfed2c..c7466b07 100644 --- a/MP.Stats/Pages/_Host.cshtml +++ b/MP.Stats/Pages/_Host.cshtml @@ -14,7 +14,15 @@ MP.STATS - + @**@ + + + + + + + + @@ -32,6 +40,16 @@ 🗙 + + + + + + + + + + \ No newline at end of file diff --git a/MP.Stats/Startup.cs b/MP.Stats/Startup.cs index 5604ce52..57542753 100644 --- a/MP.Stats/Startup.cs +++ b/MP.Stats/Startup.cs @@ -10,9 +10,11 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; - using Microsoft.AspNetCore.Localization; using System.Globalization; +using Blazorise; +using Blazorise.Bootstrap; +using Blazorise.Icons.FontAwesome; namespace MP.Stats { @@ -76,6 +78,13 @@ namespace MP.Stats // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940 public void ConfigureServices(IServiceCollection services) { + services.AddBlazorise(options => + { + options.ChangeTextOnKeyPress = true; // optional + }) + .AddBootstrapProviders() + .AddFontAwesomeIcons(); + services.AddLocalization(); services.AddRazorPages(); diff --git a/MP.Stats/_Imports.razor b/MP.Stats/_Imports.razor index b335524c..1dc55d9a 100644 --- a/MP.Stats/_Imports.razor +++ b/MP.Stats/_Imports.razor @@ -8,3 +8,5 @@ @using Microsoft.JSInterop @using MP.Stats @using MP.Stats.Shared +@using Blazorise +@using Blazorise.Charts \ No newline at end of file