Made footer slightly better
This commit is contained in:
parent
f23e34c807
commit
cabb4eb2f3
@ -38,9 +38,9 @@
|
|||||||
<div class="container-fluid bg-light">
|
<div class="container-fluid bg-light">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="d-inline-block py-3">
|
<div class="d-inline-block py-3">
|
||||||
<div class="d-inline-block mr-5">
|
<div class="align-top d-inline-block mr-5">
|
||||||
<h5>MAIN MENU</h5>
|
<h5>MAIN MENU</h5>
|
||||||
<ul style="padding-left: 20px;">
|
<ul style="list-style-type: none; padding-left: 0;">
|
||||||
<li>
|
<li>
|
||||||
<a [routerLink]="['/about']">About</a>
|
<a [routerLink]="['/about']">About</a>
|
||||||
</li>
|
</li>
|
||||||
@ -52,11 +52,21 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-inline-block mx-5">
|
<div class="align-top d-inline-block mr-5">
|
||||||
<h5>PRODUCTS</h5>
|
<h5>PRODUCTS</h5>
|
||||||
|
<ul style="list-style-type: none; padding-left: 0; columns: 3;">
|
||||||
|
<li *ngFor="let c of categories | async">
|
||||||
|
<a [routerLink]="['/store', c.name]">{{c.name}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-inline-block ml-5">
|
<div class="align-top d-inline-block">
|
||||||
<h5>REVIEWS</h5>
|
<h5>CONTACT</h5>
|
||||||
|
<p>
|
||||||
|
Toll Free:1-888-422-7737
|
||||||
|
<br> Local: 416-744-2723
|
||||||
|
<br> Fax: 416-744-4078
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,16 +1,21 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
import {Router} from '@angular/router';
|
import {Router} from '@angular/router';
|
||||||
import {ElectronService} from 'ngx-electron';
|
import {ElectronService} from 'ngx-electron';
|
||||||
|
import {AngularFirestore} from 'angularfire2/firestore';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
templateUrl: 'app.component.html'
|
templateUrl: 'app.component.html'
|
||||||
})
|
})
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
constructor(private router: Router, public electron: ElectronService) {}
|
categories;
|
||||||
|
|
||||||
|
constructor(private router: Router, private db: AngularFirestore, public electron: ElectronService) {
|
||||||
|
this.categories = this.db.collection('categories').valueChanges();
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
if(this.electron.isElectronApp) {
|
if (this.electron.isElectronApp) {
|
||||||
this.router.navigate(['/formulaManager']);
|
this.router.navigate(['/formulaManager']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user