|
|
@@ -11,7 +11,7 @@ |
|
|
|
<div class="overlay" [ngClass]="{ 'active' : show_sort_popup }"></div> |
|
|
|
|
|
|
|
<section class="header-bar"> |
|
|
|
<h2 *ngIf="!showSearchBar"> Find malls near you </h2> |
|
|
|
<h2 *ngIf="!showSearchBar"> <img src="assets/custom/logo.png"> Find malls near you </h2> |
|
|
|
<input type="text" *ngIf="showSearchBar" placeholder="Search Malls" [(ngModel)]="searchTerm" (input)="searchAllMalls()" autocomplete="off" #searchbar> |
|
|
|
<button (click)="toggleSearchBar()"> |
|
|
|
<ion-icon *ngIf="!showSearchBar" src="assets/custom/search.svg"></ion-icon> |
|
|
@@ -19,14 +19,14 @@ |
|
|
|
</button> |
|
|
|
</section> |
|
|
|
|
|
|
|
<div class="top-bar-holder"> |
|
|
|
<!-- <div class="top-bar-holder"> |
|
|
|
<div class="tabs-holder"> |
|
|
|
<button (click)="selected_tab = 'you'" class="tab" [ngClass]="{'active' : selected_tab === 'you'}"> For you </button> |
|
|
|
<button (click)="selected_tab = 'recomended'" class="tab" [ngClass]="{'active' : selected_tab === 'recomended'}"> Recommended </button> |
|
|
|
<button (click)="selected_tab = 'trendy'" class="tab" [ngClass]="{'active' : selected_tab === 'trendy'}"> Trendy </button> |
|
|
|
<button (click)="selected_tab = 'recent'" class="tab" [ngClass]="{'active' : selected_tab === 'recent'}"> Recent </button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
<div class="results-utilities-holder no-padding"> |
|
|
|
<h5> Categories </h5> |
|
|
@@ -34,6 +34,12 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="food-types-holder"> |
|
|
|
<ng-container *ngIf="selectedFoodType"> |
|
|
|
<button (click)="selectedFoodType=''; getMallsByLocation()"> |
|
|
|
<img src="assets/custom/001-house.svg"> |
|
|
|
<span> ALL </span> |
|
|
|
</button> |
|
|
|
</ng-container> |
|
|
|
<ng-container *ngFor="let foodType of foodTypes"> |
|
|
|
<button (click)="getMallsByFoodType(foodType.name)" [ngClass]="{'active' : selectedFoodType === foodType.name}"> |
|
|
|
<img [src]="foodType.icon" alt=""> <span> {{ foodType.name }} </span> |
|
|
|