Improved ArticleView layout

This commit is contained in:
Mia Rose Winter 2024-01-17 19:40:32 +01:00
parent 32c8a2fe6e
commit 7774f046e4
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E

View file

@ -10,12 +10,7 @@
<PageTitle>Wave - @Article.Title</PageTitle>
<h1 class="text-3xl lg:text-5xl font-light">@Article.Title</h1>
<AuthorizeView Policy="ArticleEditPermissions">
<Authorized>
<a class="btn btn-info my-3" href="article/@Article.Id/edit">Edit</a>
</Authorized>
</AuthorizeView>
<p class="mb-6">
<p class="mb-3">
<small class="text-sm text-neutral-content">
<time datetime="@Article.PublishDate.ToString("u")"
title="@Article.PublishDate.ToString("g")">
@ -29,6 +24,11 @@
}
</small>
</p>
<AuthorizeView Policy="ArticleEditPermissions">
<Authorized>
<a class="btn btn-info mb-3" href="article/@Article.Id/edit">Edit</a>
</Authorized>
</AuthorizeView>
<hr class="my-3" />