<x-app-layout>
    <x-slot name="header">{{__('Stories Management')}}</x-slot>

    <x-container>
        <x-card>
            <livewire:game-engine.admin.stories.table/>

            <x-slot name="actions">
                @can('create', \game_engine()->storyClass())
                    <x-link :href="route('game-engine.admin.stories.create')">
                        {{__("Create Story")}}
                    </x-link>
                @endcan
            </x-slot>
        </x-card>
    </x-container>
</x-app-layout>
