proximity search for book cases

This commit is contained in:
Benjamin Takats
2022-12-07 18:16:07 +01:00
parent ce8f87db6f
commit c8bd4a63c5
14 changed files with 331 additions and 115 deletions

View File

@@ -6,7 +6,27 @@
</x-slot>
<x-slot name="content">
<div class="space-y-4 mt-16 flex flex-col justify-center">
<div class="space-y-4 mt-16 flex flex-col justify-center min-h-[600px]">
<div class="my-4">
<div class="border-b border-gray-200 pb-5">
<h3 class="text-lg font-medium leading-6 text-gray-200">Bisher waren hier</h3>
</div>
<ul role="list" class="divide-y divide-gray-200">
@foreach($currentModal?->orangePills ?? [] as $orangePill)
<li class="flex py-4">
<img class="h-10 w-10 rounded-full" src="{{ $orangePill->user->profile_photo_url }}" alt="">
<div class="ml-3">
<p class="text-sm text-gray-200">
{{ $orangePill->user->name }} hat am {{ $orangePill->date->asDateTime() }} {{ $orangePill->amount }} Bitcoin-Bücher hinzugefügt
</p>
</div>
</li>
@endforeach
</ul>
</div>
<div class="col-span-6 sm:col-span-4">
<x-input
min="1"
@@ -36,6 +56,9 @@
<x-slot name="footer">
<x-jet-secondary-button wire:click="resetModal" wire:loading.attr="disabled">
@lang('Close')
</x-jet-secondary-button>
<x-jet-secondary-button wire:click="submit" wire:loading.attr="disabled">
💊 @lang('Orange Pill Now')
</x-jet-secondary-button>
</x-slot>