diff --git a/RomRepoMgr.Blazor/Components/Layout/MainLayout.razor b/RomRepoMgr.Blazor/Components/Layout/MainLayout.razor index fe28016..06c4d6f 100644 --- a/RomRepoMgr.Blazor/Components/Layout/MainLayout.razor +++ b/RomRepoMgr.Blazor/Components/Layout/MainLayout.razor @@ -2,10 +2,9 @@ - RomRepoMgr.Blazor + ROM Repository Manager -
@Body diff --git a/RomRepoMgr.Blazor/Components/Layout/NavMenu.razor b/RomRepoMgr.Blazor/Components/Layout/NavMenu.razor deleted file mode 100644 index 963bc94..0000000 --- a/RomRepoMgr.Blazor/Components/Layout/NavMenu.razor +++ /dev/null @@ -1,19 +0,0 @@ -@rendermode InteractiveServer - - - -@code { - private bool expanded = true; -} \ No newline at end of file diff --git a/RomRepoMgr.Blazor/Components/Pages/Counter.razor b/RomRepoMgr.Blazor/Components/Pages/Counter.razor deleted file mode 100644 index c0215cc..0000000 --- a/RomRepoMgr.Blazor/Components/Pages/Counter.razor +++ /dev/null @@ -1,22 +0,0 @@ -@page "/counter" -@rendermode InteractiveServer - -Counter - -

Counter

- -
- Current count: @currentCount -
- -Click me - -@code { - private int currentCount = 0; - - private void IncrementCount() - { - currentCount++; - } - -} \ No newline at end of file diff --git a/RomRepoMgr.Blazor/Components/Pages/Home.razor b/RomRepoMgr.Blazor/Components/Pages/Home.razor index 96714a2..6f0e1f0 100644 --- a/RomRepoMgr.Blazor/Components/Pages/Home.razor +++ b/RomRepoMgr.Blazor/Components/Pages/Home.razor @@ -1,7 +1,11 @@ @page "/" -Home +ROM Repository Manager -

Hello, world!

- -Welcome to your new Fluent Blazor app. \ No newline at end of file + + Import DATs + Export DAT + Remove DAT + Import ROMs + Export ROMs + diff --git a/RomRepoMgr.Blazor/Components/Pages/Weather.razor b/RomRepoMgr.Blazor/Components/Pages/Weather.razor deleted file mode 100644 index 20f4ec8..0000000 --- a/RomRepoMgr.Blazor/Components/Pages/Weather.razor +++ /dev/null @@ -1,51 +0,0 @@ -@page "/weather" -@attribute [StreamRendering] - -Weather - -

Weather

- -

This component demonstrates showing data.

- - - - - - - - - -@code { - private IQueryable? forecasts; - - protected override async Task OnInitializedAsync() - { - // Simulate asynchronous loading to demonstrate streaming rendering - await Task.Delay(500); - - var startDate = DateOnly.FromDateTime(DateTime.Now); - - var summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - forecasts = Enumerable.Range(1, 5) - .Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = summaries[Random.Shared.Next(summaries.Length)] - }) - .AsQueryable(); - } - - private class WeatherForecast - { - public DateOnly Date { get; set; } - public int TemperatureC { get; set; } - public string? Summary { get; set; } - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - } - -} \ No newline at end of file