Commit 3a06df2f authored by Almouhannad's avatar Almouhannad

(F) Add layout comps

parent 5f17efcd
...@@ -7,6 +7,9 @@ import { AppRoutingModule } from './app-routing.module'; ...@@ -7,6 +7,9 @@ import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './components/root/app.component'; import { AppComponent } from './components/root/app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ToastrModule } from 'ngx-toastr'; import { ToastrModule } from 'ngx-toastr';
import { LayoutComponent } from './components/template/layout/layout.component';
import { HeaderComponent } from './components/template/header/header.component';
import { FooterComponent } from './components/template/footer/footer.component';
@NgModule({ @NgModule({
imports: [ imports: [
...@@ -26,7 +29,10 @@ import { ToastrModule } from 'ngx-toastr'; ...@@ -26,7 +29,10 @@ import { ToastrModule } from 'ngx-toastr';
// the subset of declarations that should be visible and usable in // the subset of declarations that should be visible and usable in
// the component templates of other modules // the component templates of other modules
declarations: [ declarations: [
AppComponent AppComponent,
LayoutComponent,
HeaderComponent,
FooterComponent
], ],
// identifies the root component that Angular should // identifies the root component that Angular should
......
import { Component } from '@angular/core';
@Component({
selector: 'app-footer',
templateUrl: './footer.component.html',
styleUrl: './footer.component.css'
})
export class FooterComponent {
}
import { Component } from '@angular/core';
@Component({
selector: 'app-header',
templateUrl: './header.component.html',
styleUrl: './header.component.css'
})
export class HeaderComponent {
}
import { Component } from '@angular/core';
@Component({
selector: 'app-layout',
templateUrl: './layout.component.html',
styleUrl: './layout.component.css'
})
export class LayoutComponent {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment