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

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

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

    <x-daylight::session-messages/>

    <livewire:daylight::page-table/>
@endsection
