Skip to content

Commit

Permalink
Just Keep Swimming 🐠
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Newhouse committed Oct 25, 2024
1 parent a3d0a73 commit 280dc55
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/Livewire/App/Checkin.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public function getPartialProperty()
{
if (! auth()->check()) {
return 'need-to-login';
} elseif (! isset($this->ticket)) {
return 'no-ticket';
} elseif ($this->ticket === null) {
return 'need-ticket';
} elseif ($this->ticket->order->isReservation()) {
Expand Down
Binary file added public/img/mblgtacc2024-name-badge-blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions resources/views/components/name-badge.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div {{ $attributes->merge(['class' => 'relative']) }}>
<div class="absolute flex items-center justify-center w-full h-1/2 bottom-8">
<div>
<h1 id="name" class="mb-2 text-4xl font-semibold leading-none tracking-wide text-center font-raleway">{{ $user->name }}</h1>
<h1 id="name" class="mb-2 text-4xl font-semibold leading-none tracking-wide text-center font-sans">{{ $user->name }}</h1>
<p id="pronouns" class="mb-1 font-sans text-2xl leading-none text-center">{{ $user->pronouns }}</p>
</div>
</div>
<img src="{{ $event->getFirstMediaUrl('name_badge') ?? asset('img/mblgtacc30-name-badge-blank.jpg') }}" class="w-full" alt="Name Badge Background">
<img src="{{ asset('img/mblgtacc2024-name-badge-blank.png') }}" class="w-full" alt="Name Badge Background">

{{ $slot }}
</div>
5 changes: 5 additions & 0 deletions resources/views/livewire/app/checkin/no-ticket.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="space-y-4">
<div class="px-4 py-2 text-gray-200 bg-red-500 rounded">
<p>You do not have a ticket.</p>
</div>
</div>

0 comments on commit 280dc55

Please sign in to comment.