@extends('daylight::layouts.app')

@section('title', __('daylight::content.menus'))

@section('content')
    <x-daylight::page-header :title="__('daylight::content.menus')">
        @can('create:menus')
            <x-daylight::buttons.primary href="{{ route('daylight.content.menus.create') }}" element="a">
                {{ __('daylight::content.create_new_menu') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages />

    <livewire:menu-table/>
@endsection
