@extends('layouts.app') @php use Illuminate\Support\Str; @endphp @section('title', 'Community Lists — LoreKeepers') @section('description', 'Browse public game lists created by the LoreKeepers community.') @section('content')

Community Lists

Public game lists from LoreKeepers members

@auth My Lists @endauth
@if($lists->isEmpty())

No public lists yet.

@guest

Sign up and create the first one!

@endguest
@else
@foreach($lists as $list)

{{ $list->title }}

@if($list->description)

{{ $list->description }}

@else
@endif
{{ $list->list_games_count }} {{ Str::plural('game', $list->list_games_count) }} @if($list->user) {{ $list->user->username }} @endif
@endforeach
{{ $lists->links() }}
@endif
@endsection