mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
filters changed
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div>
|
||||
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
|
||||
</x-button>
|
||||
</div>
|
||||
{{--<div>
|
||||
<x-button amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
Umkreis-Suche Bücher-Schrank {{ $row->name }} (5km)
|
||||
</x-button>
|
||||
</div>--}}
|
||||
@if($type === 'school')
|
||||
<div>
|
||||
<x-button amber wire:click="proximitySearch({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-person-chalkboard mr-2"></i>
|
||||
Umkreis-Suche Kurs-Termin {{ $row->name }} (100km)
|
||||
</x-button>
|
||||
</div>
|
||||
@endif
|
||||
@if($type === 'bookCase')
|
||||
<div>
|
||||
<x-button amber wire:click="proximitySearchForBookCases({{ $row->id }})" class="text-21gray">
|
||||
<i class="fa fa-thin fa-book mr-2"></i>
|
||||
Umkreis-Suche Bücher-Schrank {{ $row->name }} (5km)
|
||||
</x-button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
12
resources/views/livewire/book-case/city-table.blade.php
Normal file
12
resources/views/livewire/book-case/city-table.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="bg-21gray flex flex-col h-screen justify-between">
|
||||
{{-- HEADER --}}
|
||||
<livewire:frontend.header :country="$country"/>
|
||||
{{-- MAIN --}}
|
||||
<section class="w-full mb-12">
|
||||
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4" id="table">
|
||||
<livewire:tables.city-table :country="$country->code" type="bookCase"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
<livewire:frontend.footer/>
|
||||
</div>
|
||||
@@ -51,6 +51,10 @@
|
||||
@endif
|
||||
@endif
|
||||
@if(str(request()->route()->getName())->contains('bookCases.'))
|
||||
<a href="{{ route('bookCases.table.city', ['country' => $c]) }}"
|
||||
class="{{ request()->routeIs('bookCases.table.city') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
|
||||
Stadt-Suche
|
||||
</a>
|
||||
<a href="{{ route('bookCases.table.bookcases', ['country' => $c]) }}"
|
||||
class="{{ request()->routeIs('bookCases.table.bookcases') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">
|
||||
Bücher-Schränke
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
</div>
|
||||
<div
|
||||
class="row-span-2 col-span-full sm:col-span-1 md:col-start-3 xl:col-start-3 sm:row-start-3 md:row-start-1 xl:row-start-3">
|
||||
<a href="{{ route('bookCases.table.bookcases', ['country' => $c]) }}"
|
||||
<a href="{{ route('bookCases.table.city', ['country' => $c]) }}"
|
||||
class="relative flex flex-col items-start justify-end w-full h-full overflow-hidden bg-black shadow-lg rounded-xl group"
|
||||
style="aspect-ratio: 1/1;">
|
||||
<div class="absolute inset-0 w-full h-full">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{-- MAIN --}}
|
||||
<section class="w-full mb-12">
|
||||
<div class="max-w-screen-2xl mx-auto px-2 sm:px-10 space-y-4" id="table">
|
||||
<livewire:tables.city-table :country="$country->code"/>
|
||||
<livewire:tables.city-table :country="$country->code" type="school"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
|
||||
Reference in New Issue
Block a user