WIP: Proceed with frontend implementation

This commit is contained in:
Simon Grimme
2022-07-21 21:17:04 +02:00
parent cc1e02a1ca
commit 38028b7e49
17 changed files with 124 additions and 19 deletions
@@ -0,0 +1,14 @@
<div fxFlexFill>
<div class="fullscreen-overlay" *ngIf="this.loading" fxLayout="column" fxLayoutAlign="center center">
<mat-spinner></mat-spinner>
<h2>Loading library...</h2>
</div>
<div fxLayout="row" fxLayoutAlign="center center">
<div *ngIf="!this.loading && this.detectedGames.length === 0">
<h2>Your game library is empty!</h2>
</div>
<div fxLayout="row" fxLayoutGap="12px" [style.margin-top.px]="12" *ngIf="!this.loading && this.detectedGames.length > 0">
<game-cover fxLayout="column" *ngFor="let game of detectedGames" [game]="game"></game-cover>
</div>
</div>
</div>