diff --git a/App.razor b/App.razor index b43127c..ba4fb94 100644 --- a/App.razor +++ b/App.razor @@ -1,10 +1,31 @@ - + + + @* *@ + Not found diff --git a/Front.csproj b/Front.csproj index c7e0319..7104658 100644 --- a/Front.csproj +++ b/Front.csproj @@ -29,9 +29,6 @@ - - - diff --git a/Program/Layout/MainLayout.razor b/Program/Layout/MainLayout.razor index 2604c48..c31225c 100644 --- a/Program/Layout/MainLayout.razor +++ b/Program/Layout/MainLayout.razor @@ -9,6 +9,7 @@
+ @* *@ @Body
diff --git a/Program/Views/Project/About.razor.cs b/Program/Views/Project/About.razor.cs index 145471c..d1722ad 100644 --- a/Program/Views/Project/About.razor.cs +++ b/Program/Views/Project/About.razor.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Components; -namespace Front.Program.Views.Company; +namespace Front.Program.Views.Project; public partial class About : ComponentBase { diff --git a/Program/Views/Project/RedirectPage.razor b/Program/Views/Project/RedirectPage.razor new file mode 100644 index 0000000..1d13264 --- /dev/null +++ b/Program/Views/Project/RedirectPage.razor @@ -0,0 +1 @@ +@page "/" diff --git a/Program/Views/Project/RedirectPage.razor.cs b/Program/Views/Project/RedirectPage.razor.cs new file mode 100644 index 0000000..521d797 --- /dev/null +++ b/Program/Views/Project/RedirectPage.razor.cs @@ -0,0 +1,15 @@ +using Microsoft.AspNetCore.Components; + +namespace Front.Program.Views.Project; + +public partial class RedirectPage : ComponentBase +{ + [Inject] + private NavigationManager NavigationManager { get; set; } = default!; + + protected override void OnInitialized() + { + // Redirect to the desired URL + NavigationManager.NavigateTo("/about",true); + } +} \ No newline at end of file diff --git a/Program/Views/Project/TopBanner.razor b/Program/Views/Project/TopBanner.razor index 90f1369..9293b44 100644 --- a/Program/Views/Project/TopBanner.razor +++ b/Program/Views/Project/TopBanner.razor @@ -5,7 +5,6 @@ @* *@
-
Icon @@ -16,5 +15,4 @@
-