navigation.blade.php 1.1 KB

1234567891011121314151617181920212223242526
  1. <nav class="-mx-3 flex flex-1 justify-end">
  2. @auth
  3. <a
  4. href="{{ url('/dashboard') }}"
  5. class="rounded-md px-3 py-2 text-black ring-1 ring-transparent transition hover:text-black/70 focus:outline-none focus-visible:ring-[#FF2D20] dark:text-white dark:hover:text-white/80 dark:focus-visible:ring-white"
  6. >
  7. Dashboard
  8. </a>
  9. @else
  10. <a
  11. href="{{ route('login') }}"
  12. class="rounded-md px-3 py-2 text-black ring-1 ring-transparent transition hover:text-black/70 focus:outline-none focus-visible:ring-[#FF2D20] dark:text-white dark:hover:text-white/80 dark:focus-visible:ring-white"
  13. >
  14. Log in
  15. </a>
  16. @if (Route::has('register'))
  17. <a
  18. href="{{ route('register') }}"
  19. class="rounded-md px-3 py-2 text-black ring-1 ring-transparent transition hover:text-black/70 focus:outline-none focus-visible:ring-[#FF2D20] dark:text-white dark:hover:text-white/80 dark:focus-visible:ring-white"
  20. >
  21. Register
  22. </a>
  23. @endif
  24. @endauth
  25. </nav>