Skip to content

Commit

Permalink
Update Blog.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 23, 2024
1 parent 2742efc commit 23c3466
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MyApp/Components/Pages/Blog.razor
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@
</div>
</div>
}
@if (remainingPosts.Count >= 15)
{
<div class="mt-8 text-center">
<a class="text-sm font-semibold hover:underline" href="@Posts.GetPostsLink()">view all posts</a>
</div>
}
</div>
<div class="w-1/3">
<div class="pl-8">
Expand Down

0 comments on commit 23c3466

Please sign in to comment.