Files
marechai/Marechai/App.razor

38 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2020-06-01 02:12:50 +01:00
@{
2020-12-20 21:34:13 +00:00
/******************************************************************************
2020-06-01 02:12:50 +01:00
// MARECHAI: Master repository of computing history artifacts information
// ----------------------------------------------------------------------------
//
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
2020-12-31 23:24:15 +00:00
// Copyright © 2003-2021 Natalia Portillo
2020-06-01 02:12:50 +01:00
*******************************************************************************/
}
2020-05-24 02:12:37 +01:00
<CascadingAuthenticationState>
2020-05-21 15:05:03 +01:00
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
2020-12-20 21:34:13 +00:00
<AuthorizeRouteView DefaultLayout="@typeof(MainLayout)" RouteData="@routeData" />
2020-05-21 15:05:03 +01:00
</Found>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
</CascadingAuthenticationState>