header changed

This commit is contained in:
Benjamin Takats
2022-12-01 01:01:48 +01:00
parent 338731f5f7
commit 5ffa0cb4da

View File

@@ -10,11 +10,11 @@
<nav <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"> 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="{{ route('search.city', ['country' => $c]) }}" <a href="{{ route('search.city', ['country' => $c]) }}"
class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Städte</a> class="{{ request()->routeIs('search.city') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">Städte</a>
<a href="{{ route('search.lecturer', ['country' => $c]) }}" <a href="{{ route('search.lecturer', ['country' => $c]) }}"
class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Dozenten</a> class="{{ request()->routeIs('search.lecturer') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">Dozenten</a>
<a href="{{ route('search.venue', ['country' => $c]) }}" <a href="{{ route('search.venue', ['country' => $c]) }}"
class="mr-5 font-medium leading-6 text-gray-400 hover:text-gray-300">Veranstaltungs-Orte</a> class="{{ request()->routeIs('search.venue') ? 'text-amber-500 underline' : 'text-gray-400' }} mr-5 font-medium leading-6 hover:text-gray-300">Veranstaltungs-Orte</a>
</nav> </nav>
</div> </div>
@auth @auth