Styled store categories

This commit is contained in:
Zakary Timson 2018-07-14 11:56:56 -04:00
parent 70c7f1133c
commit 177a671c69

View File

@ -1,13 +1,15 @@
<div class="container"> <div class="container-fluid" style="background-color: #53709f;">
<div class="row py-5"> <div class="container">
<ng-container *ngFor="let c of categories | async"> <div class="row py-5">
<mat-card *ngIf="c.ready"> <ng-container *ngFor="let c of categories | async">
<img mat-card-image [src]="c.image | async" [alt]="c.name"> <mat-card *ngIf="c.ready" class="m-3">
<mat-divider class="custom-line"></mat-divider> <img mat-card-image [src]="c.image | async" [alt]="c.name" style="width: 200px; height: 200px;">
<mat-card-content> <mat-divider class="custom-line"></mat-divider>
<h3>{{c.name}}</h3> <mat-card-content>
</mat-card-content> <h5>{{c.name}}</h5>
</mat-card> </mat-card-content>
</ng-container> </mat-card>
</ng-container>
</div>
</div> </div>
</div> </div>