@inherits LayoutComponentBase
@using AyCode.Interfaces.StorageHandlers;
@using Newtonsoft.Json;
@using TIAMSharedUI.Pages
@using TIAMSharedUI.Shared.Components
@using TIAMWebApp.Shared.Application.Interfaces
@using TIAMWebApp.Shared.Application.Models.ClientSide;
@using AyCode.Blazor.Components;
@using TIAMWebApp.Shared.Application.Models;
@using TIAMWebApp.Shared.Application.Utility;
@using System.IdentityModel.Tokens.Jwt;
@inject NavigationManager NavManager
@inject IJSRuntime jsRuntime;
@inject ISecureStorageHandler SecureStorageHandler
@inject ISessionService sessionService;



<!--div-- class="page"-->
<div>
    <AppLaunchComponent />
    
    <Navbar/>
        <!--div class="my-sidebar">
            <NavMenu />
        </div-->
  
    <main>
        <article class="content">
            <CascadingValue Value=PopupMessageBox>
                @Body
            </CascadingValue>
        </article>
    </main>
    <div class="footer">
    </div>

    <PopupMessageBox @ref="PopupMessageBox" />

</div>


@code {

    public PopupMessageBox PopupMessageBox { get; private set; } = default!;
}
