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

@section('title', __('Pages'))

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

    <x-daylight::session-messages/>

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