Added contents
This commit is contained in:
parent
d8057be1b4
commit
24decc9de4
52 changed files with 537 additions and 139 deletions
|
|
@ -1,15 +1,14 @@
|
|||
<iov-section [noHeight]="true">
|
||||
<p class="text-center text-base">
|
||||
<h2 class="text-2xl font-bold my-8" *ngIf="posts.length > 0">Latest blog post</h2>
|
||||
<div class="grid grid-cols-3 justify-items-center bg-slate-100 gap-8">
|
||||
<div *ngFor="let post of posts">
|
||||
<div *ngFor="let post of posts.slice(0,3)">
|
||||
<iov-post-card [post]="post">
|
||||
</iov-post-card>
|
||||
</div>
|
||||
<a class="font-bold text-primary ring-secondary border-l-8" routerLink="/blog">View all posts</a>
|
||||
</div>
|
||||
<div class="text-center" *ngIf="posts.length === 0">
|
||||
<p class="text-base">No posts yet.</p>
|
||||
<br>
|
||||
<a class="text-base" routerLink="/blog">View all posts</a>
|
||||
<br>
|
||||
</div>
|
||||
</iov-section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue