Created
December 20, 2022 22:57
-
-
Save Shelob9/dec33a87fa81ead9229b0989d4ead5fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (Route::has('login')) | |
<div class="hidden fixed top-0 right-0 px-6 py-4 sm:block"> | |
@auth | |
<a href="{{ url('/dashboard') }}" class="text-sm text-gray-700 dark:text-gray-500 underline">Dashboard</a> | |
@else | |
<a href="{{ route('login') }}" class="text-sm text-gray-700 dark:text-gray-500 underline">Log in</a> | |
@if (Route::has('register')) | |
<a href="{{ route('register') }}" class="ml-4 text-sm text-gray-700 dark:text-gray-500 underline">Register</a> | |
@endif | |
@endauth | |
</div> | |
@endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment