Fix more absolute links.
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
<div class="NavMenu PrimaryTheme ThemeVariant--Contrast">
|
<div class="NavMenu PrimaryTheme ThemeVariant--Contrast">
|
||||||
<h1>Shogi</h1>
|
<h1>Shogi</h1>
|
||||||
<p>
|
<p>
|
||||||
<a href="/">Home</a>
|
<a href="">Home</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<AuthorizeView>
|
<AuthorizeView>
|
||||||
<p>
|
<p>
|
||||||
<a href="/search">Search</a>
|
<a href="search">Search</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
var sessionId = await Api.PostSession();
|
var sessionId = await Api.PostSession();
|
||||||
if (!string.IsNullOrEmpty(sessionId))
|
if (!string.IsNullOrEmpty(sessionId))
|
||||||
{
|
{
|
||||||
navigator.NavigateTo($"/play/{sessionId}");
|
navigator.NavigateTo($"play/{sessionId}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<h1 class="card-title">Oops!</h1>
|
<h1 class="card-title">Oops!</h1>
|
||||||
<p class="card-text">Something went wrong.</p>
|
<p class="card-text">Something went wrong.</p>
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
<a href="/">Return to the home page</a>
|
<a href="">Return to the home page</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</Authorized>
|
</Authorized>
|
||||||
<NotAuthorized>
|
<NotAuthorized>
|
||||||
<p>Thanks for playing!</p>
|
<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>
|
</NotAuthorized>
|
||||||
</AuthorizeView>
|
</AuthorizeView>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
{
|
{
|
||||||
<row>
|
<row>
|
||||||
<div>
|
<div>
|
||||||
<a href="/play/@session.SessionId">@session.Player1</a>
|
<a href="play/@session.SessionId">@session.Player1</a>
|
||||||
</div>
|
</div>
|
||||||
@if (string.IsNullOrEmpty(session.Player2))
|
@if (string.IsNullOrEmpty(session.Player2))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user