@using NetinaShop.AdminPanel.PWA.Pages
@inject NavigationManager NavigationManager
<Router AppAssembly="@typeof(App).Assembly">
    <Found Context="routeData">
        <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
            <NotAuthorized>
                <LoginPage/>
            </NotAuthorized>
        </AuthorizeRouteView>      
        
        <FocusOnNavigate RouteData="@routeData" Selector="h1"/>
        
    </Found>
    <NotFound>
        <PageTitle>پیدا نشد</PageTitle>
        <NotFoundPage/>
    </NotFound>
    
    
</Router>
