From ff34fe0d0a30be17591392c902024d03c31940ec Mon Sep 17 00:00:00 2001 From: Tobias Wohlleben Date: Fri, 6 Sep 2024 15:19:18 +0200 Subject: [PATCH] Revert "ant design (WIP)" This reverts commit 7ed00cf42df3ef647cc0a853ccf1563faae052b3. --- RBLNews.Maui/MauiProgram.cs | 3 +-- RBLNews.Shared/Components/Pages/Home.razor | 2 -- RBLNews.Shared/Components/Routes.razor | 2 +- RBLNews.Shared/RBLNews.Shared.csproj | 1 - RBLNews.Shared/_Imports.razor | 5 +---- RBLNews.Web/Components/App.razor | 1 - RBLNews.Web/Components/_Imports.razor | 3 --- RBLNews.Web/Program.cs | 1 - 8 files changed, 3 insertions(+), 15 deletions(-) diff --git a/RBLNews.Maui/MauiProgram.cs b/RBLNews.Maui/MauiProgram.cs index 41ec4ae..ddc3fa6 100644 --- a/RBLNews.Maui/MauiProgram.cs +++ b/RBLNews.Maui/MauiProgram.cs @@ -15,10 +15,9 @@ namespace RBLNews.Maui }); builder.Services.AddMauiBlazorWebView(); - builder.Services.AddAntDesign(); #if DEBUG - builder.Services.AddBlazorWebViewDeveloperTools(); + builder.Services.AddBlazorWebViewDeveloperTools(); builder.Logging.AddDebug(); #endif diff --git a/RBLNews.Shared/Components/Pages/Home.razor b/RBLNews.Shared/Components/Pages/Home.razor index 8d46994..16dac31 100644 --- a/RBLNews.Shared/Components/Pages/Home.razor +++ b/RBLNews.Shared/Components/Pages/Home.razor @@ -3,5 +3,3 @@

Hello, world!

Welcome to your new app. - - \ No newline at end of file diff --git a/RBLNews.Shared/Components/Routes.razor b/RBLNews.Shared/Components/Routes.razor index 5c460c7..4baf985 100644 --- a/RBLNews.Shared/Components/Routes.razor +++ b/RBLNews.Shared/Components/Routes.razor @@ -3,4 +3,4 @@ - \ No newline at end of file + diff --git a/RBLNews.Shared/RBLNews.Shared.csproj b/RBLNews.Shared/RBLNews.Shared.csproj index c5d1461..cfa77dc 100644 --- a/RBLNews.Shared/RBLNews.Shared.csproj +++ b/RBLNews.Shared/RBLNews.Shared.csproj @@ -12,7 +12,6 @@ - diff --git a/RBLNews.Shared/_Imports.razor b/RBLNews.Shared/_Imports.razor index 954960d..7728512 100644 --- a/RBLNews.Shared/_Imports.razor +++ b/RBLNews.Shared/_Imports.razor @@ -1,4 +1 @@ -@* ANT CSS DESIGN IMPORT -------------------- *@ -@using AntDesign - -@using Microsoft.AspNetCore.Components.Web +@using Microsoft.AspNetCore.Components.Web diff --git a/RBLNews.Web/Components/App.razor b/RBLNews.Web/Components/App.razor index f3beb30..47303d8 100644 --- a/RBLNews.Web/Components/App.razor +++ b/RBLNews.Web/Components/App.razor @@ -13,7 +13,6 @@ - diff --git a/RBLNews.Web/Components/_Imports.razor b/RBLNews.Web/Components/_Imports.razor index 1e752a2..1e484f4 100644 --- a/RBLNews.Web/Components/_Imports.razor +++ b/RBLNews.Web/Components/_Imports.razor @@ -2,9 +2,6 @@ @using RBLNews.Shared @using RBLNews.Shared.Components -@* ANT CSS DESIGN IMPORT -------------------- *@ -@using AntDesign - @* DEFAULT IMPORTS -------------------------- *@ @using System.Net.Http @using System.Net.Http.Json diff --git a/RBLNews.Web/Program.cs b/RBLNews.Web/Program.cs index 7fafb41..c5f0c5f 100644 --- a/RBLNews.Web/Program.cs +++ b/RBLNews.Web/Program.cs @@ -5,7 +5,6 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddRazorComponents() .AddInteractiveServerComponents(); -builder.Services.AddAntDesign(); var app = builder.Build();