Permalink
Browse files

feat(team): team component and route

  • Loading branch information...
jkuri committed Jul 30, 2017
1 parent 613d1d6 commit 84ce5e00c129e1934c2608fbc2e629edc6332e01
@@ -21,6 +21,7 @@ import { AppRepositoriesComponent } from './components/app-repositories';
import { AppRepositoryComponent } from './components/app-repository';
import { AppJobComponent } from './components/app-job';
import { AppSettingsComponent } from './components/app-settings';
import { AppTeamComponent } from './components/app-team';


@NgModule({
@@ -36,6 +37,7 @@ import { AppSettingsComponent } from './components/app-settings';
AppRepositoryComponent,
AppJobComponent,
AppSettingsComponent,
AppTeamComponent,
EqualValidator
],
imports: [
@@ -73,6 +75,11 @@ import { AppSettingsComponent } from './components/app-settings';
component: AppSettingsComponent,
canActivate: [AuthGuard]
},
{
path: 'team',
component: AppTeamComponent,
canActivate: [AuthGuard]
},
{
path: 'login',
component: AppLoginComponent
@@ -4,7 +4,7 @@
<a class="nav-item nav-logo" routerLink="/">
<img src="images/abstruse-text-logo.svg">
</a>
<a class="nav-item">
<a class="nav-item" routerLink="/team" routerLinkActive="is-active">
<img src="images/icons/team.svg" class="nav-item-icon">
Team
</a>
@@ -0,0 +1,26 @@
<app-header></app-header>

<nav class="nav sub-nav">
<div class="container">
<div class="nav-left">
<span class="nav-item">
<h1>Team</h1>
</span>
</div>
<div class="nav-center">

</div>
<div class="nav-right">
</div>
</div>
</nav>

<div class="container">
<div class="columns">
<div class="column is-12">
<div class="content">

</div>
</div>
</div>
</div>
@@ -0,0 +1,7 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-team',
templateUrl: 'app-team.component.html'
})
export class AppTeamComponent { }
@@ -0,0 +1 @@
export * from './app-team.component';

0 comments on commit 84ce5e0

Please sign in to comment.