Skip to content

Commit d200cde

Browse files
authored
Merge pull request #6 from Freego1783/changing-architecture
changing architecture to something that makes more sense atm
2 parents db3aa28 + 79d2ca5 commit d200cde

File tree

9 files changed

+17
-12
lines changed

9 files changed

+17
-12
lines changed

Components/App.razor App.razor

File renamed without changes.

Components/Pages/Home.razor

-9
This file was deleted.

Pages/Home.razor

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@page "/"
2+
3+
<div>
4+
<h1>Hello, world!</h1>
5+
6+
Welcome to your new app.
7+
<TestComponent/>
8+
</div>
File renamed without changes.

Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.AspNetCore.Components.Web;
22
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
3-
using FightingFantasyCompanion.Components;
3+
using FightingFantasyCompanion;
44
using MudBlazor.Services;
55

66
var builder = WebAssemblyHostBuilder.CreateDefault(args);

Shared/Components/TestComponent.razor

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<h3>TestComponent</h3>
2+
3+
@code {
4+
5+
}
File renamed without changes.
File renamed without changes.

Components/_Imports.razor _Imports.razor

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@using Microsoft.AspNetCore.Components.WebAssembly.Http
88
@using Microsoft.JSInterop
99
@using FightingFantasyCompanion
10-
@using FightingFantasyCompanion.Components
11-
@using FightingFantasyCompanion.Components.Layout
10+
@using FightingFantasyCompanion.Pages
11+
@using FightingFantasyCompanion.Shared.Layout
12+
@using FightingFantasyCompanion.Shared.Components
1213
@using MudBlazor

0 commit comments

Comments
 (0)