Fix more absolute links.
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user