This commit is contained in:
2026-05-29 12:02:36 +02:00
parent 8001ff8ced
commit 2d05a18a0d
4 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -11,19 +11,22 @@
<link href="https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<ResourcePreloader />
<link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]" />
<link rel="stylesheet" href="@Assets["app.css"]" />
<link rel="stylesheet" href="@Assets["ZahlenAnalyse.Web.styles.css"]" />
<ImportMap />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
<HeadOutlet @rendermode="InteractiveServer" />
</head>
<body>
<Routes />
<Routes @rendermode="InteractiveServer" />
<ReconnectModal />
<script src="@Assets["_framework/blazor.web.js"]"></script>
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
</body>
</html>
-1
View File
@@ -16,7 +16,6 @@
{
Typography = new Typography()
{
// Hier liegt der Fix: DefaultTypography statt Default
Default = new DefaultTypography() { FontFamily = new[] { "Urbanist", "sans-serif" } }
},
LayoutProperties = new LayoutProperties()
+2 -2
View File
@@ -9,13 +9,13 @@
<MudText Typo="Typo.body1">Willkommen zurück, @context.User.Identity?.Name!</MudText>
<MudText Typo="Typo.body2" Color="Color.Secondary">Deine Pocket-ID (Sub): @_userId</MudText>
<MudButton Link="/logout" Variant="Variant.Filled" Color="Color.Error" Class="mt-2">
<MudButton Href="/logout" Variant="Variant.Filled" Color="Color.Error" Class="mt-2">
Abmelden
</MudButton>
</Authorized>
<NotAuthorized>
<MudText Typo="Typo.body1" Class="mb-2">Bitte melde dich an, um deine Workspaces zu verwalten.</MudText>
<MudButton Link="/login" Variant="Variant.Filled" Color="Color.Primary">
<MudButton Href="/login" Variant="Variant.Filled" Color="Color.Primary">
Mit Pocket-ID anmelden
</MudButton>
</NotAuthorized>
+1
View File
@@ -9,3 +9,4 @@
@using ZahlenAnalyse.Web
@using ZahlenAnalyse.Web.Components
@using ZahlenAnalyse.Web.Components.Layout
@using MudBlazor