-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.razor
31 lines (28 loc) · 1.11 KB
/
App.razor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@
@using Blazored.Toast.Configuration
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, that page doesn't exist!</p>
<p>This is most likely due to a typo.
However, if you found an invalid link report it on our <a target="_blank" href="https://github.com/amytho/pdf-acc-toolset/issues">Issues Page</a>.
</p>
</LayoutView>
</NotFound>
</Router>
<!-- Toast messages (notifications)-->
<div class="pdf-toast">
<BlazoredToasts
ShowProgressBar="true"
Position="ToastPosition.TopRight"
Timeout="7"
PauseProgressOnHover="true"
/>
</div>
<!-- Custom component for toast messages -->
<Pdf_Acc_Toolset.Pages.Toasts.Notification />