<Router AppAssembly="@typeof(Routes).Assembly">
    <Found Context="routeData">
        <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
        <FocusOnNavigate RouteData="@routeData" Selector="h1" />
    </Found>
    <NotFound>
        <LayoutView Layout="@typeof(MainLayout)">
            <PageTitle>Dashboard - Not Found</PageTitle>
            <section class="dashboard-section">
                <h1 class="h4 mb-3">Not Found</h1>
                <p class="mb-0">The requested dashboard page does not exist.</p>
            </section>
        </LayoutView>
    </NotFound>
</Router>
