import { LayoutService } from '@/layout/service/layout.service';
import { Component, inject } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { SUPER_ADMIN_MENU_ITEMS } from '../constants';

@Component({
  selector: 'superAdmin-layout',
  templateUrl: './layout.component.html',
  imports: [RouterOutlet],
})
export class LayoutComponent {
  private readonly layoutService = inject(LayoutService);

  ngOnInit() {
    this.layoutService.setMenuItems(SUPER_ADMIN_MENU_ITEMS);
  }
}
