Skip to content
Snippets Groups Projects
Commit 0211de8f authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

feat(posts): add button to show more

parent cde7ffe2
No related branches found
No related tags found
2 merge requests!244Dev,!243feat/US17-posts-pagination
......@@ -27,6 +27,11 @@
<app-post-card [post]="news" class="col" *ngFor="let news of allPosts"></app-post-card>
</div>
</div>
<div *ngIf="!lastPage" fxLayout="row" fxLayoutAlign="center center">
<button class="btn-primary small" (click)="loadMore()">
<div class="rowBtn" fxLayout="row" fxLayoutAlign="center center">Voir plus</div>
</button>
</div>
</div>
</div>
</div>
......@@ -239,3 +239,6 @@ h2 {
margin-bottom: 0;
}
}
.btn-primary {
margin-bottom: 20px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment