refactor(app): rename components

This commit is contained in:
Dmitry Nehaychik 2017-04-28 15:14:05 +03:00
parent afc24fe88f
commit 4fe5c69d8e
10 changed files with 17 additions and 17 deletions

View file

@ -1,8 +1,8 @@
import { Component } from '@angular/core';
@Component({
selector: 'base-footer',
styleUrls: ['./base-footer.component.scss'],
selector: 'footer',
styleUrls: ['./footer.component.scss'],
template: `
<span class="created-by">Created with by <b><a href="https://akveo.com" target="_blank">Akveo</a></b> 2017</span>
<div class="socials">
@ -13,5 +13,5 @@ import { Component } from '@angular/core';
</div>
`,
})
export class BaseFooterComponent {
export class FooterComponent {
}

View file

@ -4,8 +4,8 @@ import { NgaSidebarService, NgaMenuService } from '@nga/theme';
import { NgaThemeService } from '@nga/theme/services/theme.service';
@Component({
selector: 'base-header',
styleUrls: ['./base-header.component.scss'],
selector: 'header',
styleUrls: ['./header.component.scss'],
template: `
<div class="left">
<i class="control-icon ion ion-navicon" (click)="toggleSidebar()"></i>
@ -21,7 +21,7 @@ import { NgaThemeService } from '@nga/theme/services/theme.service';
</div>
`,
})
export class BaseHeaderComponent {
export class HeaderComponent {
constructor(private sidebarService: NgaSidebarService,
private menuService: NgaMenuService,
private themeService: NgaThemeService) {

View file

@ -1,3 +1,3 @@
export * from '../components/base-header/base-header.component';
export * from '../components/base-footer/base-footer.component';
export * from './header/header.component';
export * from './footer/footer.component';
export * from '../components/search-input/search-input.component';