@extends('layouts.public') @section('title', 'Badge verification') @php $config = match ($state) { 'valid' => ['title' => 'Valid badge', 'text' => 'This badge is genuine and the registration is approved.', 'tone' => 'bg-emerald-500', 'icon' => 'M5 13l4 4L19 7'], 'revoked' => ['title' => 'Badge revoked', 'text' => 'This badge has been revoked. Do not admit — refer to the registration desk.', 'tone' => 'bg-coral-500', 'icon' => 'M6 18L18 6M6 6l12 12'], 'expired' => ['title' => 'Badge expired', 'text' => 'This badge is no longer valid for entry.', 'tone' => 'bg-amber-500', 'icon' => 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'], 'not_approved' => ['title' => 'Not approved', 'text' => 'The registration linked to this badge is not currently approved.', 'tone' => 'bg-amber-500', 'icon' => 'M12 9v4m0 4h.01M10.3 3.9L2.4 18a2 2 0 001.7 3h15.8a2 2 0 001.7-3L13.7 3.9a2 2 0 00-3.4 0z'], default => ['title' => 'Badge not recognised', 'text' => 'We could not find this badge. It may be forged or damaged.', 'tone' => 'bg-coral-500', 'icon' => 'M6 18L18 6M6 6l12 12'], }; @endphp @section('content')

Badge verification

{{ $config['title'] }}

{{ $config['text'] }}

@if ($name)
Name
{{ $name }}
@if ($category)
Category
{{ $category }}
@endif
Event
{{ $event }}
Venue
{{ $venue }}
@endif

Identity details are intentionally limited on this page.

@endsection