Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@page "/"
@page "/welcome"
@namespace CulinaryCommand.Components.Pages
@namespace CulinaryCommand.Components.Layout
@layout CulinaryCommand.Components.Layout.PublicLayout


<PageTitle>Culinary Command - Product Overview</PageTitle>

<div class="welcome">
Expand All @@ -15,7 +17,7 @@
<a href="#pricing">Pricing</a>
<a href="#faq">About</a>
</div>
<a class="btn-cta" href="/signin">Get Started <i class="bi bi-arrow-right"></i></a>
<a class="btn-cta" href="/account">Get Started <i class="bi bi-arrow-right"></i></a>
</nav>

<section class="hero-banner">
Expand Down
2 changes: 1 addition & 1 deletion CulinaryCommandApp/Components/Pages/PostLogin.razor
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{
status = "Not authenticated. Redirecting…";
StateHasChanged();
Nav.NavigateTo("/", replace: true); // NO forceLoad
Nav.NavigateTo("/account", replace: true); // NO forceLoad
return;
}

Expand Down
2 changes: 1 addition & 1 deletion CulinaryCommandApp/Components/Routes.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
|| routeData.PageType == typeof(CulinaryCommand.Components.Pages.SignUp)
|| routeData.PageType == typeof(CulinaryCommand.Components.Pages.AdminSignUp)
|| routeData.PageType == typeof(CulinaryCommand.Components.Pages.Home)
|| routeData.PageType == typeof(CulinaryCommand.Components.Pages.Welcome))
|| routeData.PageType == typeof(CulinaryCommand.Components.Layout.Welcome))
{
<RouteView RouteData="@routeData" />
}
Expand Down
Loading