<x-app-layout title="Registration received">
    <div class="mx-auto max-w-md rounded-2xl border border-slate-200 bg-white p-8 text-center">
        <h1 class="text-xl font-semibold text-slate-900">Registration received</h1>
        <p class="mt-2 text-sm text-slate-600">
            @if ($registration->isApproved())
                You're approved. Use your join link when the webinar starts.
            @else
                Your registration is pending host approval.
            @endif
        </p>
        @if ($registration->isApproved())
            <a href="{{ route('meet.join', ['room' => $room, 'token' => $registration->access_token]) }}" class="btn-primary mt-6 inline-block">Join link</a>
        @endif
    </div>
</x-app-layout>
