@extends('layouts.app') @section('title', 'A little spin. A little possibility.') @section('content')
YOUR NEXT LUCKY MOMENT

Good things
come around.

A little anticipation. A little luck.
Give the wheel a spin and see what’s waiting for you.

@guest
YOUR SEAT AT THE WHEEL

Every lucky story starts here.

Create your player account, then ask an admin for spin credits. One credit. One chance to discover a reward.

Create a player account ↗
Already a member? Sign in
@else @if(auth()->user()->is_admin)
ADMINISTRATOR VIEW

Your wheel, your way.

Manage prizes, assign wheel slots, and give your players their next chance.

Open admin studio ↗ @else
WELCOME BACK, {{ auth()->user()->name }}
{{ auth()->user()->spin_credits }}spin credits
1 credit per spin

{{ auth()->user()->spin_credits > 0 ? 'Ready when you are. Make it a lucky one.' : 'Contact your admin to receive spin credits.' }}

@endif @endguest
✧   {{ $slots->count() }} prize slots◎   Members only↻   One credit per spin
THE LUCKY WHEELNO. 001 / CLUB EDITION
✧✧
✦ A little spin. A little possibility. ✦

Each reward has its own chance of being selected.
Equal-sized slots don’t mean equal odds.

THE POSSIBILITIES

A wheel full of surprises.

Explore the current wheel
@foreach($slots->unique('prize_id') as $slot)
✦

{{ $slot->prize->name }}

{{ $slot->prize->description }}

@endforeach
@auth @if(!auth()->user()->is_admin)
YOUR LUCKY MOMENTS

Recent spins.

@if($history->isEmpty())
Your story is just getting started. Your spin results will appear here.
@else
@foreach($history as $spin)@endforeach
RewardDateSpin
✦ {{ $spin->prize_name }}{{ $spin->created_at->format('d M Y, H:i') }} {{ config('app.timezone') }}#{{ $spin->id }}
@endif
@endif @endauth
✦
YOUR LUCKY MOMENT

Your result has been saved to your player account.
Contact your admin to arrange any prize collection.

@endsection @push('scripts') @endpush