tabs added

This commit is contained in:
Benjamin Takats
2022-12-01 21:49:00 +01:00
parent 6b46732ea1
commit 8e8bd81afe
20 changed files with 140 additions and 21 deletions

View File

@@ -9,7 +9,9 @@
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 {{ 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>
<option {{ route('search.venue', ['country' => 'de']) ? 'selected' : '' }}>Veranstalungs-Orte
</option>
<option {{ route('search.course', ['country' => 'de']) ? 'selected' : '' }}>Kurse</option>
</select>
</div>
<!-- Tabs at small breakpoint and up -->
@@ -28,6 +30,12 @@
<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.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.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>