From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。

---
 HotelPms.Client.Blazor/App.razor |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/HotelPms.Client.Blazor/App.razor b/HotelPms.Client.Blazor/App.razor
new file mode 100644
index 0000000..57b44fc
--- /dev/null
+++ b/HotelPms.Client.Blazor/App.razor
@@ -0,0 +1,27 @@
+@using Microsoft.AspNetCore.Authorization
+@inject IGlobalLoadingSpinner globalLoadingSpinner
+<Router AppAssembly="@typeof(App).Assembly">
+    <Found Context="routeData">
+        <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
+    </Found>
+    <NotFound>
+        <PageTitle>Not found</PageTitle>
+        <LayoutView Layout="@typeof(MainLayout)">
+            <p role="alert">Sorry, there's nothing at this address.</p>
+        </LayoutView>
+    </NotFound>
+</Router>
+@code
+{
+    protected override void OnInitialized()
+    {        
+        base.OnInitialized();
+    }
+
+    protected async override Task OnAfterRenderAsync(bool firstRender)
+    {
+        await base.OnAfterRenderAsync(firstRender);
+        await globalLoadingSpinner.HideLogoAsync();
+        await globalLoadingSpinner.HideAsync();
+    }
+}
\ No newline at end of file

--
Gitblit v1.10.0