1
Fork 0

typescript(simio-client): my second attempt at trying to deploy to gh pages

This commit is contained in:
Matei Adriel 2019-04-10 21:37:48 +03:00 committed by prescientmoon
parent 27d9a7c8f3
commit ec6097e6dc
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
22 changed files with 799 additions and 192599 deletions
typescript/simio-client/src
app/components/menu
environments

View file

@ -0,0 +1,35 @@
import { Component, OnInit } from '@angular/core';
import { AuthService } from 'src/app/core/services/auth.service';
interface MenuRoute{
path:string;
icon:string;
name:string;
description?:string;
}
@Component({
selector: 'app-menu',
templateUrl: './menu.component.html',
styleUrls: ['./menu.component.scss']
})
export class MenuComponent implements OnInit {
menuRoutes:MenuRoute[] = [{
path:"account",
icon:"person",
name:"account",
description:"all about you"
},{
path:"logs",
icon:"library_books",
name:"logs",
description:"server logs"
}]
constructor( public auth:AuthService ) { }
ngOnInit() {
}
}

View file

@ -1,3 +1,11 @@
export const environment = {
production: true
production: true,
firebase: {
apiKey: "AIzaSyBMhf35HijKKSRZdRYt_eBNLGadhQKdZVY",
authDomain: "planets-io.firebaseapp.com",
databaseURL: "https://planets-io.firebaseio.com",
projectId: "planets-io",
storageBucket: "planets-io.appspot.com",
messagingSenderId: "209812924936"
}
};