Fix more absolute links.

This commit is contained in:
2024-08-25 15:01:05 -05:00
parent 58f6e08d3b
commit 31d7845edc
4 changed files with 6 additions and 6 deletions

View File

@@ -4,12 +4,12 @@
<div class="NavMenu PrimaryTheme ThemeVariant--Contrast">
<h1>Shogi</h1>
<p>
<a href="/">Home</a>
<a href="">Home</a>
</p>
<AuthorizeView>
<p>
<a href="/search">Search</a>
<a href="search">Search</a>
</p>
<p>
@@ -45,7 +45,7 @@
var sessionId = await Api.PostSession();
if (!string.IsNullOrEmpty(sessionId))
{
navigator.NavigateTo($"/play/{sessionId}");
navigator.NavigateTo($"play/{sessionId}");
}
}

View File

@@ -6,7 +6,7 @@
<h1 class="card-title">Oops!</h1>
<p class="card-text">Something went wrong.</p>
<p class="card-text">
<a href="/">Return to the home page</a>
<a href="">Return to the home page</a>
</p>
</div>
</div>

View File

@@ -10,7 +10,7 @@
</Authorized>
<NotAuthorized>
<p>Thanks for playing!</p>
<div class="alert alert-success">You're logged out. <a href="/login">Log in.</a></div>
<div class="alert alert-success">You're logged out. <a href="login">Log in.</a></div>
</NotAuthorized>
</AuthorizeView>
</main>

View File

@@ -17,7 +17,7 @@
{
<row>
<div>
<a href="/play/@session.SessionId">@session.Player1</a>
<a href="play/@session.SessionId">@session.Player1</a>
</div>
@if (string.IsNullOrEmpty(session.Player2))
{