import { Component, OnInit } from '@angular/core';
import { NbMenuItem } from '@nebular/theme';
import { Router } from '@angular/router';
import { IApiService } from '../services/ApiService/ApiService';


@Component({
  selector: 'page-layout',
  template: `

    <ngx-one-column-layout>
    <nb-menu [items]="menu"></nb-menu>
        <router-outlet ></router-outlet>
    </ngx-one-column-layout>
  `,
})
export class PagesLayoutComponent{

  menu:NbMenuItem[] = [{
    icon: 'image',
    title: 'Raids',
    link: '/frontcraft/raids',
  },{
    icon: 'people',
    title: 'Characters',
    link: '/frontcraft/characters',
  },{
    icon: 'book-open-outline',
    title: 'Loot Rules',
    link: '/frontcraft/rules',
  }]
  
  constructor(){}

}