feat: Boards can now be browsed without account

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-13 07:57:20 +02:00
parent 5a201fd565
commit 9bb208d011

View file

@ -5,8 +5,6 @@
<img class="banner" src="img/static/banner/@board.Tag ban.png" alt="No Banner found"/> <img class="banner" src="img/static/banner/@board.Tag ban.png" alt="No Banner found"/>
<PageTitle>/@board.Tag/ - @board.Topic - BulletBoard</PageTitle> <PageTitle>/@board.Tag/ - @board.Topic - BulletBoard</PageTitle>
<AuthorizeView>
<Authorized>
<div class="boardHeader"> <div class="boardHeader">
<h3>@board.Topic Board</h3> <h3>@board.Topic Board</h3>
<PostForm board="@board"/> <PostForm board="@board"/>
@ -36,14 +34,6 @@
<em>Loading Posts...</em> <em>Loading Posts...</em>
</p> </p>
} }
</Authorized>
<NotAuthorized>
<div class="notLoggedIn">
<span>You are not logged in.</span>
<a class="navbar-brand" href="/sys/login">Please login first.</a>
</div>
</NotAuthorized>
</AuthorizeView>
@code { @code {
@ -64,4 +54,5 @@
[Parameter] [Parameter]
[Required] [Required]
public BoardData board { get; set; } public BoardData board { get; set; }
} }