Page menu PT1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import {Component, inject} from '@angular/core';
|
||||
import {Router} from "@angular/router";
|
||||
|
||||
@Component({
|
||||
selector: 'app-menu-nav',
|
||||
imports: [],
|
||||
templateUrl: './menu-nav.component.html',
|
||||
styleUrl: './menu-nav.component.css'
|
||||
})
|
||||
export class MenuNav {
|
||||
private router = inject(Router)
|
||||
|
||||
openNav() {
|
||||
this.router.navigate(['/messages']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user