-Welcome to your new app.
-
-
\ No newline at end of file
+Welcome to your new app.
\ No newline at end of file
diff --git a/GC-local-web-frontend/Program.cs b/GC-local-web-frontend/Program.cs
index 4224509..cfd1692 100644
--- a/GC-local-web-frontend/Program.cs
+++ b/GC-local-web-frontend/Program.cs
@@ -10,5 +10,7 @@ builder.Services.AddScoped(sp => new HttpClient
{
BaseAddress = new Uri("http://localhost")
});
+builder.Services.AddAntDesign();
+
await builder.Build().RunAsync();
\ No newline at end of file
diff --git a/GC-local-web-frontend/wwwroot/index.html b/GC-local-web-frontend/wwwroot/index.html
index 612ad8c..849d03f 100644
--- a/GC-local-web-frontend/wwwroot/index.html
+++ b/GC-local-web-frontend/wwwroot/index.html
@@ -1,4 +1,5 @@
+
@@ -8,6 +9,7 @@
+
@@ -19,6 +21,7 @@
Reload🗙
+
diff --git a/MudAdmin/App.razor b/MudAdmin/App.razor
new file mode 100644
index 0000000..dcdcd36
--- /dev/null
+++ b/MudAdmin/App.razor
@@ -0,0 +1,11 @@
+
+
+
+
+
+ Not found
+
+
Sorry, there's nothing at this address.
+
+
+
\ No newline at end of file
diff --git a/MudAdmin/MudAdmin.csproj b/MudAdmin/MudAdmin.csproj
new file mode 100644
index 0000000..9231942
--- /dev/null
+++ b/MudAdmin/MudAdmin.csproj
@@ -0,0 +1,20 @@
+
+
+
+ net6.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MudAdmin/MudAdmin.sln b/MudAdmin/MudAdmin.sln
new file mode 100644
index 0000000..7541c3c
--- /dev/null
+++ b/MudAdmin/MudAdmin.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31717.71
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MudAdmin", "MudAdmin.csproj", "{D6DF8A15-5B8D-4302-90D2-FC71264B18CC}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D6DF8A15-5B8D-4302-90D2-FC71264B18CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D6DF8A15-5B8D-4302-90D2-FC71264B18CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D6DF8A15-5B8D-4302-90D2-FC71264B18CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D6DF8A15-5B8D-4302-90D2-FC71264B18CC}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {58C61F27-917C-435B-8900-9B3CE8F8DCD4}
+ EndGlobalSection
+EndGlobal
\ No newline at end of file
diff --git a/MudAdmin/Pages/Counter.razor b/MudAdmin/Pages/Counter.razor
new file mode 100644
index 0000000..cf7aaff
--- /dev/null
+++ b/MudAdmin/Pages/Counter.razor
@@ -0,0 +1,18 @@
+@page "/counter"
+
+Counter
+
+Counter
+Current count: @currentCount
+Click me
+
+
+@code {
+ private int currentCount = 0;
+
+ private void IncrementCount()
+ {
+ currentCount++;
+ }
+
+}
\ No newline at end of file
diff --git a/MudAdmin/Pages/FetchData.razor b/MudAdmin/Pages/FetchData.razor
new file mode 100644
index 0000000..0774129
--- /dev/null
+++ b/MudAdmin/Pages/FetchData.razor
@@ -0,0 +1,62 @@
+@page "/fetchdata"
+@inject HttpClient Http
+@using MudAdmin.Shared
+
+Weather forecast
+
+Weather forecast
+This component demonstrates fetching data from the server.
+@if (forecasts == null)
+{
+
+}
+else
+{
+
+
+
+ Date
+
+
+ Temp. (C)
+
+
+ Temp. (F)
+
+
+ Summary
+
+
+
+ @context.Date
+ @context.TemperatureC
+ @context.TemperatureF
+ @context.Summary
+
+
+
+
+
+}
+
+
+@code {
+ private WeatherForecast[]? forecasts;
+
+ protected override async Task OnInitializedAsync()
+ {
+ forecasts = await Http.GetFromJsonAsync("sample-data/weather.json");
+ }
+
+ public class WeatherForecast
+ {
+ public DateTime Date { get; set; }
+
+ public int TemperatureC { get; set; }
+
+ public string? Summary { get; set; }
+
+ public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
+ }
+
+}
\ No newline at end of file
diff --git a/MudAdmin/Pages/Index.razor b/MudAdmin/Pages/Index.razor
new file mode 100644
index 0000000..62270c4
--- /dev/null
+++ b/MudAdmin/Pages/Index.razor
@@ -0,0 +1,12 @@
+@page "/"
+
+Index
+
+Hello, world!
+Welcome to your new app, powered by MudBlazor!
+
+ You can find documentation and examples on our website here:
+
+ www.mudblazor.com
+
+
\ No newline at end of file
diff --git a/MudAdmin/Pages/User.razor b/MudAdmin/Pages/User.razor
new file mode 100644
index 0000000..7d4970b
--- /dev/null
+++ b/MudAdmin/Pages/User.razor
@@ -0,0 +1,12 @@
+@page "/user/{CardId:long}"
+
+User
+
+@CardId
+
+@code {
+ [Parameter]
+ public long CardId { get; set; }
+
+
+}
\ No newline at end of file
diff --git a/MudAdmin/Pages/Users.razor b/MudAdmin/Pages/Users.razor
new file mode 100644
index 0000000..9cfb6af
--- /dev/null
+++ b/MudAdmin/Pages/Users.razor
@@ -0,0 +1,49 @@
+@page "/users"
+@using models = SharedProject.models
+@inject NavigationManager NavigationManager
+
+Users
+
+
+ @foreach (var user in users)
+ {
+
+
+
+
+ @user.PlayerName
+
+
+
+ Card ID
+ @user.CardId
+
+
+ Test
+
+
+
+ }
+
+
+@code {
+ private List users;
+
+ private static readonly Random RANDOM = Random.Shared;
+
+ protected override void OnInitialized()
+ {
+ base.OnInitialized();
+ users = new List();
+ for (var i = 0; i < 5; i++)
+ {
+ users.Add(new models.User(RANDOM.NextInt64(7000000000000000, 8000000000000000), i.ToString()));
+ }
+ }
+
+ private void OnClick(models.User user)
+ {
+ NavigationManager.NavigateTo($"user/{user.CardId}");
+ }
+
+}
\ No newline at end of file
diff --git a/MudAdmin/Program.cs b/MudAdmin/Program.cs
new file mode 100644
index 0000000..fef3f2b
--- /dev/null
+++ b/MudAdmin/Program.cs
@@ -0,0 +1,13 @@
+using Microsoft.AspNetCore.Components.Web;
+using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
+using MudAdmin;
+using MudBlazor.Services;
+
+var builder = WebAssemblyHostBuilder.CreateDefault(args);
+builder.RootComponents.Add("#app");
+builder.RootComponents.Add("head::after");
+
+builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
+builder.Services.AddMudServices();
+
+await builder.Build().RunAsync();
\ No newline at end of file
diff --git a/MudAdmin/Properties/launchSettings.json b/MudAdmin/Properties/launchSettings.json
new file mode 100644
index 0000000..bb34c40
--- /dev/null
+++ b/MudAdmin/Properties/launchSettings.json
@@ -0,0 +1,30 @@
+{
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:65283",
+ "sslPort": 44398
+ }
+ },
+ "profiles": {
+ "IIS Express": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ },
+ "Mudblazor.Template": {
+ "commandName": "Project",
+ "dotnetRunMessages": "true",
+ "launchBrowser": true,
+ "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
+ "applicationUrl": "https://localhost:5001;http://localhost:5000",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ }
+ }
+}
diff --git a/MudAdmin/Shared/MainLayout.razor b/MudAdmin/Shared/MainLayout.razor
new file mode 100644
index 0000000..7d9b80b
--- /dev/null
+++ b/MudAdmin/Shared/MainLayout.razor
@@ -0,0 +1,35 @@
+@inherits LayoutComponentBase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MudAdmin
+
+
+
+
+
+ @Body
+
+
+
+
+@code {
+ bool _drawerOpen = true;
+
+ void DrawerToggle()
+ {
+ _drawerOpen = !_drawerOpen;
+ }
+
+}
\ No newline at end of file
diff --git a/MudAdmin/Shared/NavMenu.razor b/MudAdmin/Shared/NavMenu.razor
new file mode 100644
index 0000000..b3c37b3
--- /dev/null
+++ b/MudAdmin/Shared/NavMenu.razor
@@ -0,0 +1,6 @@
+
+ Home
+ Counter
+ Fetch data
+ Users
+
\ No newline at end of file
diff --git a/MudAdmin/_Imports.razor b/MudAdmin/_Imports.razor
new file mode 100644
index 0000000..bb4ee19
--- /dev/null
+++ b/MudAdmin/_Imports.razor
@@ -0,0 +1,11 @@
+@using System.Net.Http
+@using System.Net.Http.Json
+@using Microsoft.AspNetCore.Components.Forms
+@using Microsoft.AspNetCore.Components.Routing
+@using Microsoft.AspNetCore.Components.Web
+@using Microsoft.AspNetCore.Components.Web.Virtualization
+@using Microsoft.AspNetCore.Components.WebAssembly.Http
+@using Microsoft.JSInterop
+@using MudBlazor
+@using MudAdmin
+@using MudAdmin.Shared
\ No newline at end of file
diff --git a/MudAdmin/wwwroot/favicon.ico b/MudAdmin/wwwroot/favicon.ico
new file mode 100644
index 0000000..47ad60e
Binary files /dev/null and b/MudAdmin/wwwroot/favicon.ico differ
diff --git a/MudAdmin/wwwroot/index.html b/MudAdmin/wwwroot/index.html
new file mode 100644
index 0000000..18b9b16
--- /dev/null
+++ b/MudAdmin/wwwroot/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+ MudAdmin
+
+
+
+
+
+
+