import { Component, EventEmitter, Output } from '@angular/core';
import { RouterLink } from '@angular/router';
import { ButtonModule } from 'primeng/button';

@Component({
  selector: 'app-navbar',
  imports: [RouterLink, ButtonModule],
  templateUrl: './navbar.component.html',
  styleUrl: './navbar.component.scss',
  standalone: true
})
export class NavbarComponent {
  @Output() sidebarToggle = new EventEmitter<void>();
  pageTitle: string = 'Starter Page';

  toggleSidebar() {
    this.sidebarToggle.emit();
  }

}
