Auth Login Register LARAVEL BREEZE

PHOTO EMBED

Fri Dec 16 2022 13:58:49 GMT+0000 (Coordinated Universal Time)

Saved by @GodFather #php

@if (Route::has('login'))
        <div class="hidden fixed top-0 right-0 px-6 py-4">
            @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
content_copyCOPY