mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-10 10:24:20 +01:00
refactor(app): rename components
This commit is contained in:
parent
afc24fe88f
commit
4fe5c69d8e
10 changed files with 17 additions and 17 deletions
|
|
@ -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 {
|
||||
}
|
||||
|
|
@ -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) {
|
||||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue