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 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 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 /> <ResourcePreloader />
<link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]" /> <link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]" />
<link rel="stylesheet" href="@Assets["app.css"]" /> <link rel="stylesheet" href="@Assets["app.css"]" />
<link rel="stylesheet" href="@Assets["ZahlenAnalyse.Web.styles.css"]" /> <link rel="stylesheet" href="@Assets["ZahlenAnalyse.Web.styles.css"]" />
<ImportMap /> <ImportMap />
<link rel="icon" type="image/png" href="favicon.png" /> <link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet /> <HeadOutlet @rendermode="InteractiveServer" />
</head> </head>
<body> <body>
<Routes /> <Routes @rendermode="InteractiveServer" />
<ReconnectModal /> <ReconnectModal />
<script src="@Assets["_framework/blazor.web.js"]"></script> <script src="@Assets["_framework/blazor.web.js"]"></script>
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
</body> </body>
</html> </html>
-1
View File
@@ -16,7 +16,6 @@
{ {
Typography = new Typography() Typography = new Typography()
{ {
// Hier liegt der Fix: DefaultTypography statt Default
Default = new DefaultTypography() { FontFamily = new[] { "Urbanist", "sans-serif" } } Default = new DefaultTypography() { FontFamily = new[] { "Urbanist", "sans-serif" } }
}, },
LayoutProperties = new LayoutProperties() 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.body1">Willkommen zurück, @context.User.Identity?.Name!</MudText>
<MudText Typo="Typo.body2" Color="Color.Secondary">Deine Pocket-ID (Sub): @_userId</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 Abmelden
</MudButton> </MudButton>
</Authorized> </Authorized>
<NotAuthorized> <NotAuthorized>
<MudText Typo="Typo.body1" Class="mb-2">Bitte melde dich an, um deine Workspaces zu verwalten.</MudText> <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 Mit Pocket-ID anmelden
</MudButton> </MudButton>
</NotAuthorized> </NotAuthorized>
+1
View File
@@ -9,3 +9,4 @@
@using ZahlenAnalyse.Web @using ZahlenAnalyse.Web
@using ZahlenAnalyse.Web.Components @using ZahlenAnalyse.Web.Components
@using ZahlenAnalyse.Web.Components.Layout @using ZahlenAnalyse.Web.Components.Layout
@using MudBlazor