Skip to content
Snippets Groups Projects
Commit 538e9967 authored by Antonin COQUET's avatar Antonin COQUET
Browse files

feat: add a loader gif on news loadding

parent 894f84b0
No related branches found
No related tags found
3 merge requests!178release V1.10.0,!135Dev,!130feat: add a loader gif on news loadding
<div *ngIf="!isPublishMode" class="section-container" fxLayout="row" fxLayoutGap="32px">
<div fxLayout="column" class="list-container" fxLayoutGap="16px">
<div *ngIf="isLoading" class="loader">
<img class="loader-gif" src="/assets/gif/loader_circle.gif" alt />
</div>
<div *ngIf="!isLoading" fxLayout="column" class="list-container" fxLayoutGap="16px">
<div fxLayout="column" *ngIf="displayTags()">
<div fxLayout="row wrap" fxLayoutAlign="none center" fxLayoutGap="8px">
<div
......@@ -76,7 +79,7 @@
</div>
</div>
</div>
<div fxLayout="column" fxLayoutAlign=" center" class="project-container desktop">
<div *ngIf="!isLoading" fxLayout="column" fxLayoutAlign=" center" class="project-container desktop">
<div class="background-project-container">
<div class="project-content" fxLayout="column">
<app-svg-icon [iconClass]="'icon-80'" [iconColor]="'inherit'" [type]="'post'" [icon]="'appels'"></app-svg-icon>
......
......@@ -3,6 +3,15 @@
@import '../../../../assets/scss/shapes';
@import '../../../../assets/scss/breakpoint';
.loader {
width: 100%;
text-align: center;
.loader-gif {
min-width: 10%;
min-height: 10%;
}
}
.section-container {
background: $grey-6;
min-height: 68vh;
......
src/assets/gif/loader_circle.gif

90 KiB

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