mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
some new tables
This commit is contained in:
@@ -9,10 +9,9 @@
|
||||
</a>
|
||||
<nav
|
||||
class="flex flex-wrap items-center mb-5 text-lg md:mb-0 md:pl-8 md:ml-8 md:border-l md:border-gray-800">
|
||||
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Städte</a>
|
||||
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Dozenten</a>
|
||||
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Kurse</a>
|
||||
<a href="#_" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Termine</a>
|
||||
<a href="{{ route('search.city', ['country' => 'de']) }}" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Städte</a>
|
||||
<a href="{{ route('search.lecturer', ['country' => 'de']) }}" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Dozenten</a>
|
||||
<a href="{{ route('search.venue', ['country' => 'de']) }}" class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Veranstaltungs-Orte</a>
|
||||
</nav>
|
||||
</div>
|
||||
@auth
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
<div>
|
||||
{{-- Be like water. --}}
|
||||
<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-7xl mx-auto px-10">
|
||||
<livewire:frontend.search-tabs/>
|
||||
<livewire:tables.course-table :country="$country->code"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
<livewire:frontend.footer/>
|
||||
</div>
|
||||
|
||||
@@ -7,10 +7,9 @@
|
||||
<label for="current-tab" class="sr-only">Select a tab</label>
|
||||
<select id="current-tab" name="current-tab"
|
||||
class="block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm">
|
||||
<option selected>Städte</option>
|
||||
<option>Dozenten</option>
|
||||
<option>Kurse</option>
|
||||
<option>Termine</option>
|
||||
<option {{ route('search.city', ['country' => 'de']) ? 'selected' : '' }}>Städte</option>
|
||||
<option {{ route('search.lecturer', ['country' => 'de']) ? 'selected' : '' }}>Dozenten</option>
|
||||
<option {{ route('search.venue', ['country' => 'de']) ? 'selected' : '' }}>Veranstalungs-Orte</option>
|
||||
</select>
|
||||
</div>
|
||||
<!-- Tabs at small breakpoint and up -->
|
||||
@@ -26,11 +25,9 @@
|
||||
<a href="{{ route('search.lecturer', ['country' => 'de']) }}"
|
||||
class="{{ request()->routeIs('search.lecturer') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Dozenten</a>
|
||||
|
||||
<a href="{{ route('search.course', ['country' => 'de']) }}"
|
||||
class="{{ request()->routeIs('search.course') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Kurse</a>
|
||||
<a href="{{ route('search.venue', ['country' => 'de']) }}"
|
||||
class="{{ request()->routeIs('search.venue') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Veranstaltungs-Orte</a>
|
||||
|
||||
<a href="{{ route('search.event', ['country' => 'de']) }}"
|
||||
class="{{ request()->routeIs('search.event') ? $currentTab : $notCurrentTab }} whitespace-nowrap pb-4 px-1 border-b-2 font-medium text-sm">Termine</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
13
resources/views/livewire/frontend/search-venue.blade.php
Normal file
13
resources/views/livewire/frontend/search-venue.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<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-7xl mx-auto px-10">
|
||||
<livewire:frontend.search-tabs/>
|
||||
<livewire:tables.venue-table :country="$country->code"/>
|
||||
</div>
|
||||
</section>
|
||||
{{-- FOOTER --}}
|
||||
<livewire:frontend.footer/>
|
||||
</div>
|
||||
Reference in New Issue
Block a user