Added more components
This commit is contained in:
parent
b48ab87cc6
commit
d8057be1b4
28 changed files with 436 additions and 31 deletions
15
src/app/highlight/highlight.component.html
Normal file
15
src/app/highlight/highlight.component.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<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">
|
||||
<iov-post-card [post]="post">
|
||||
</iov-post-card>
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
||||
</iov-section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue