Skip to content

Commit 5f09478

Browse files
committed
Update the project
1 parent f195102 commit 5f09478

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+571
-406
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
2-
<Router AppAssembly="@typeof(Program).Assembly">
1+
<Router AppAssembly="@typeof(App).Assembly">
32
<Found Context="routeData">
43
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4+
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
55
</Found>
66
<NotFound>
7+
<PageTitle>Not found</PageTitle>
78
<LayoutView Layout="@typeof(MainLayout)">
8-
<p>Sorry, there's nothing at this address.</p>
9+
<p role="alert">Sorry, there's nothing at this address.</p>
910
</LayoutView>
1011
</NotFound>
1112
</Router>

BlazorMVVMToDo/BlazorMVVMToDo.csproj

Lines changed: 0 additions & 7 deletions
This file was deleted.

BlazorMVVMToDo/Pages/Error.razor

Lines changed: 0 additions & 16 deletions
This file was deleted.

BlazorMVVMToDo/Pages/Index.razor

Lines changed: 0 additions & 7 deletions
This file was deleted.

BlazorMVVMToDo/Program.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

BlazorMVVMToDo/Shared/MainLayout.razor

Lines changed: 0 additions & 15 deletions
This file was deleted.

BlazorMVVMToDo/Shared/NavMenu.razor

Lines changed: 0 additions & 32 deletions
This file was deleted.

BlazorMVVMToDo/Startup.cs

Lines changed: 0 additions & 61 deletions
This file was deleted.

BlazorMVVMToDo/wwwroot/css/bootstrap/bootstrap.min.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

BlazorMVVMToDo/wwwroot/css/bootstrap/bootstrap.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

BlazorMVVMToDo/wwwroot/css/site.css

Lines changed: 0 additions & 183 deletions
This file was deleted.

BlazorMVVMToDo/wwwroot/favicon.ico

-31.3 KB
Binary file not shown.

BlazorMVVMToDo/Components/ToDoFormComponent.razor renamed to Components/ToDoFormComponent.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<hr />
1+
@using UsingMVVMPattern.Models;
2+
@using UsingMVVMPattern.ViewModels;
3+
<hr />
24

35

46
<EditForm Model="@ViewModel.ToDoItem" OnValidSubmit="@SaveTodoItem">

BlazorMVVMToDo/Components/ToDoListComponent.razor renamed to Components/ToDoListComponent.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
@if (ViewModel?.ToDoItemList == null)
1+
@using UsingMVVMPattern.Models;
2+
@using UsingMVVMPattern.ViewModels;
3+
@if (ViewModel?.ToDoItemList == null)
24
{
35
<p><em>Loading...</em></p>
46
}

0 commit comments

Comments
 (0)