Improved ArticleTile
This commit is contained in:
parent
1601e80dfb
commit
4de4efba64
|
@ -1,13 +1,17 @@
|
|||
@using Wave.Data
|
||||
|
||||
<ArticleLink Article="Article">
|
||||
<article class="card card-compact bg-base-200 text-base-content rounded-none h-full">
|
||||
<article class="card card-compact min-h-56 bg-base-200 text-base-content rounded-sm h-full">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title line-clamp-2">@Article.Title</h3>
|
||||
<small class="text-sm">By @Article.Author.Name</small>
|
||||
<p class="flex-none line-clamp-3">
|
||||
<small class="text-sm">@Article.PublishDate.ToString("d")</small>
|
||||
<p class="flex-none line-clamp-5">
|
||||
@Article.Body
|
||||
</p>
|
||||
<div class="flex-1 flex items-end">
|
||||
|
||||
<small>@Article.Author.Name</small>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</ArticleLink>
|
||||
|
|
2
Wave/wwwroot/css/main.min.css
vendored
2
Wave/wwwroot/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue