2025-04-02 10:13:46 +08:00
|
|
|
<nav class="-mx-3 flex flex-1 justify-end">
|
|
|
|
@auth
|
|
|
|
<a
|
|
|
|
href="{{ url('/dashboard') }}"
|
|
|
|
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"
|
|
|
|
>
|
|
|
|
Dashboard
|
|
|
|
</a>
|
|
|
|
@else
|
|
|
|
<a
|
|
|
|
href="{{ route('login') }}"
|
|
|
|
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"
|
|
|
|
>
|
2025-04-02 11:45:12 +08:00
|
|
|
登入
|
2025-04-02 10:13:46 +08:00
|
|
|
</a>
|
|
|
|
|
|
|
|
@if (Route::has('register'))
|
|
|
|
<a
|
|
|
|
href="{{ route('register') }}"
|
|
|
|
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"
|
|
|
|
>
|
2025-04-02 11:45:12 +08:00
|
|
|
註冊
|
2025-04-02 10:13:46 +08:00
|
|
|
</a>
|
|
|
|
@endif
|
|
|
|
@endauth
|
|
|
|
</nav>
|