feat: improved index

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-06-13 19:59:33 +02:00
parent 712ac3c020
commit 2a73df7f58

View file

@ -3,20 +3,34 @@
@inject AuthenticationStateProvider authStateProvider @inject AuthenticationStateProvider authStateProvider
<h1>BulletBoard</h1> <h1>BulletBoard</h1>
<span>This is a simple Imageboard made in Razor.</span> <p>
<br/> This is a simple <a href="https://en.wiktionary.org/wiki/imageboard">imageboard</a> made in <a href="https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor">Razor Server</a>.
<span>We're currently hosting @amountOfPosts Threads, @amountOfComments Comments and @amountOfUsers Users.</span>
<br/>
<span>@Details</span>
<AuthorizeView>
<Authorized>
<br/> <br/>
<a href="/sys/you">Edit your account</a> This project was made by Pierre, Jennifer and Eric.
<br/>
This project is licensed under the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html#license-text">GPL-3.0</a>.
<br/>
Click <a href="https://www.gnu.org/philosophy/free-sw.en.html">here</a> to learn more about free software.
<br/>
<br>
We're currently @amountOfUsers User(s), viewing @amountOfPosts Post(s) with @amountOfComments Comment(s).
<br/>
Click here to:
<AuthorizeView>
<Authorized>
<a href="/sys/you">Edit your account information</a>
</Authorized> </Authorized>
</AuthorizeView> <NotAuthorized>
<a href="/sys/register">Create an account to start posting</a>
<a>&emsp;</a>
or
<a>&emsp;</a>
<a href="/sys/login">Log into your account</a>
</NotAuthorized>
</AuthorizeView>
</p>
@code{ @code{
private string Details { get; set; }
private int amountOfPosts = -1; private int amountOfPosts = -1;
private int amountOfComments = -1; private int amountOfComments = -1;