update routing client
This commit is contained in:
parent
d7b7bc7be0
commit
218b2de59a
18 changed files with 377 additions and 148 deletions
|
|
@ -1,8 +1,12 @@
|
|||
import { NgIf } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-layout-header',
|
||||
templateUrl: './header.component.html',
|
||||
imports: [NgIf],
|
||||
standalone: true,
|
||||
})
|
||||
export class HeaderComponent {}
|
||||
export class HeaderComponent {
|
||||
constructor() {}
|
||||
}
|
||||
|
|
|
|||
5
client/src/app/core/layout/layout.component.html
Normal file
5
client/src/app/core/layout/layout.component.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<app-layout-header></app-layout-header>
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
|
||||
<app-layout-footer></app-layout-footer>
|
||||
12
client/src/app/core/layout/layout.component.ts
Normal file
12
client/src/app/core/layout/layout.component.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { HeaderComponent } from './header.component';
|
||||
import { FooterComponent } from './footer.component';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-layout',
|
||||
templateUrl: './layout.component.html',
|
||||
standalone: true,
|
||||
imports: [HeaderComponent, FooterComponent, RouterModule],
|
||||
})
|
||||
export class LayoutComponent {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue