diff --git a/Components/App.razor b/Components/App.razor
index 0390ee7..de47482 100644
--- a/Components/App.razor
+++ b/Components/App.razor
@@ -5,6 +5,12 @@
+
+
+
+
+
+
diff --git a/Components/Layout/MainLayout.razor b/Components/Layout/MainLayout.razor
index 9e253ba..57d4973 100644
--- a/Components/Layout/MainLayout.razor
+++ b/Components/Layout/MainLayout.razor
@@ -1,20 +1,30 @@
@inherits LayoutComponentBase
+@using MudBlazor
-
-
+
+
+
-
-
+
+
+ @Body
+
+
-
- @Body
-
-
-
+@code {
+ private MudTheme _myCustomTheme = new MudTheme()
+ {
+ Typography = new Typography()
+ {
+ // Hier liegt der Fix: DefaultTypography statt Default
+ Default = new DefaultTypography() { FontFamily = new[] { "Urbanist", "sans-serif" } }
+ },
+ LayoutProperties = new LayoutProperties()
+ {
+ DefaultBorderRadius = "0px"
+ }
+ };
+}
An unhandled error has occurred.
diff --git a/Program.cs b/Program.cs
index 98b1fcc..b383c02 100644
--- a/Program.cs
+++ b/Program.cs
@@ -1,10 +1,22 @@
using ZahlenAnalyse.Web.Components;
+using MudBlazor.Services;
+using Raven.Client.Documents;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
+builder.Services.AddMudServices();
+
+var store = new DocumentStore
+{
+ Urls = new[] { "http://localhost:8080" },
+ Database = "ZahlenAnalyse"
+};
+store.Initialize();
+builder.Services.AddSingleton(store);
+
var app = builder.Build();