Permalink
Browse files

feat(ui): dashboard init component

  • Loading branch information...
jkuri committed Sep 14, 2017
1 parent 70ccb53 commit 1740ab6a18588fd648cd612e8bd247f846b89dd9
@@ -31,6 +31,7 @@ import { AppUserComponent } from './components/app-user';
import { AppSettingsComponent } from './components/app-settings';
import { AppTeamComponent } from './components/app-team';
import { AppLogsComponent } from './components/app-logs';
import { AppDashboardComponent } from './components/app-dashboard';


@NgModule({
@@ -50,6 +51,7 @@ import { AppLogsComponent } from './components/app-logs';
AppTeamComponent,
AppUserComponent,
AppLogsComponent,
AppDashboardComponent,
EqualValidator,
SafeHtmlPipe,
ToTimePipe
@@ -61,6 +63,11 @@ import { AppLogsComponent } from './components/app-logs';
{
path: '',
pathMatch: 'full',
component: AppDashboardComponent,
canActivate: [AuthGuard]
},
{
path: 'builds',
component: AppBuildsComponent,
canActivate: [AuthGuard]
},
@@ -0,0 +1,3 @@
<app-header></app-header>


@@ -0,0 +1,12 @@
import { Component } from '@angular/core';
import { SocketService } from '../../services/socket.service';

@Component({
selector: 'app-dashboard',
templateUrl: 'app-dashboard.component.html'
})
export class AppDashboardComponent {

constructor(private socketService: SocketService) { }

}
@@ -0,0 +1 @@
export * from './app-dashboard.component';
@@ -4,6 +4,9 @@
<a class="nav-item nav-logo" routerLink="/">
<img src="images/abstruse-text-logo.svg">
</a>
<a class="nav-item nav-team is-hidden-mobile" routerLink="/builds" routerLinkActive="is-active">
Builds
</a>
<a class="nav-item nav-team is-hidden-mobile" routerLink="/team" routerLinkActive="is-active" *ngIf="user">
Team
</a>

0 comments on commit 1740ab6

Please sign in to comment.