AcaMate_Web/Program/Layout/MainLayout.razor
Seonkyu.kim 3ffec93958 [] 로그인 및 화면 구조 변경
1. 회원가입 후 자동 로그인
2. 로그인 후 페이지 처리
3. 로딩 인디케이터 동작 구조 변경
2025-06-09 17:45:53 +09:00

45 lines
1.1 KiB
Plaintext

@inherits LayoutComponentBase
@implements IDisposable
<div class="min-h-screen flex flex-col bg-gray-50 text-gray-900">
<!-- Top 영역 -->
@* <TopBanner /> *@
@if (!isHidePrjTop)
{
<TopProjectNav />
}
<!-- 본문 영역 -->
<div class="flex flex-1 flex-col md:flex-row">
@* <!-- 사이드 메뉴 --> *@
@* <div class="hidden md:block md:w-64 bg-white shadow"> *@
@* <SideNav /> *@
@* </div> *@
<!-- 본문 컨텐츠 -->
@* <main class="flex-1 p-4 sm:p-6 md:p-8"> *@
<main class="flex-1 w-full w-max-960 mx-auto">
@Body
</main>
</div>
<!-- 플로팅 버튼 -->
<FloatingButton />
<!-- 하단 메뉴 -->
<BottomNav />
<Footer />
@if (LoadingService.IsLoading)
{
<div class="fixed inset-0 bg-black/80 flex items-center justify-center z-50">
<div class="bg-gray-200/60 px-6 py-4 rounded-lg">
<div class="animate-spin h-8 w-8 border-4 border-gray-600 border-t-transparent rounded-full"></div>
</div>
</div>
}
</div>