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

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

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

    <x-daylight::session-messages/>

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