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

    <x-container>
        @if(game_engine()->user()->current_organization_id)
            <x-card>
                @foreach(game_engine()->user()->current_organization->stories as $story)
                    <a class="rounded-md border cursor-pointer" href="{{route('game-engine.play', $story)}}">
                        {{$story->title}}
                    </a>
                @endforeach
            </x-card>
        @endif
    </x-container>
</x-app-layout>
