fix: resolve login page CSS styling issues

- Map /login route to static login.html file to serve embedded CSS correctly
- Redirect /login to /login.html for proper static file delivery
- Fix NavigationContext namespace ambiguity in App.razor (MudBlazor vs ASP.NET)
- Fix StatusCodePages middleware path validation (StartsWithSegments → StartsWith)

Login page now displays with:
- Gradient background with frosted glass card design
- Properly styled form inputs and validation
- Professional Material Design appearance
- Working client-side authentication flow

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-06 00:35:26 +09:00
parent e993adf936
commit acf7b8cfc4
5 changed files with 32 additions and 2 deletions
@@ -35,7 +35,7 @@
</html>
@code {
private async Task OnNavigateAsync(NavigationContext context)
private async Task OnNavigateAsync(Microsoft.AspNetCore.Components.Routing.NavigationContext context)
{
// /Account/* paths are Razor Pages, not Blazor components
// Force browser navigation instead of Blazor routing