feat: add navbar component to the application

This commit is contained in:
Jan-Marlon Leibl 2025-02-12 11:26:48 +01:00
parent e6f054f10e
commit 61add61113
No known key found for this signature in database
GPG key ID: E7B6F77BF5EDB6F7
6 changed files with 125 additions and 2 deletions

View file

@ -0,0 +1,18 @@
import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
@Component({
selector: 'app-navbar',
templateUrl: './navbar.component.html',
styleUrls: ['./navbar.component.scss'],
standalone: true,
imports: [CommonModule, RouterModule]
})
export class NavbarComponent {
isMenuOpen = false;
toggleMenu() {
this.isMenuOpen = !this.isMenuOpen;
}
}