small fixes

This commit is contained in:
Doar Mihai
2026-05-01 02:46:04 +03:00
parent 75978ba572
commit 75388cfb95
+34
View File
@@ -83,6 +83,20 @@
</div>
</div>
<!-- Auth links (desktop) -->
<div class="hidden sm:flex sm:items-center sm:space-x-4">
@auth
<a href="{{ route('admin.dashboard') }}" class="text-sm font-medium text-gray-500 hover:text-gray-700">Dashboard</a>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="text-sm font-medium text-gray-500 hover:text-gray-700">Log out</button>
</form>
@else
<a href="{{ route('login') }}" class="text-sm font-medium text-gray-500 hover:text-gray-700">Log in</a>
<a href="{{ route('register') }}" class="text-sm font-medium text-white bg-emerald-600 hover:bg-emerald-700 px-4 py-2 rounded-md">Register</a>
@endauth
</div>
<!-- Mobile menu button -->
<div class="flex items-center sm:hidden">
<button @click="mobileMenuOpen = !mobileMenuOpen"
@@ -120,6 +134,26 @@
Remote Jobs
</a>
</div>
<div class="pt-2 pb-3 border-t border-gray-200 space-y-1">
@auth
<a href="{{ route('admin.dashboard') }}" class="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700">
Dashboard
</a>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="w-full text-left block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700">
Log out
</button>
</form>
@else
<a href="{{ route('login') }}" class="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700">
Log in
</a>
<a href="{{ route('register') }}" class="block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700">
Register
</a>
@endauth
</div>
</div>
</nav>