mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
34 lines
1.7 KiB
PHP
34 lines
1.7 KiB
PHP
<x-layouts.auth.card>
|
|
<div class="flex flex-col gap-6">
|
|
<x-auth-header title="TRMNL BYOS Laravel" description="Server is up and running."/>
|
|
</div>
|
|
<header class="w-full lg:max-w-4xl max-w-[335px] text-sm mt-6 not-has-[nav]:hidden">
|
|
@if (Route::has('login'))
|
|
<nav class="flex items-center justify-end gap-4">
|
|
@auth
|
|
<a
|
|
href="{{ url('/dashboard') }}"
|
|
class="inline-block px-5 py-1.5 dark:text-[#EDEDEC] border-[#19140035] hover:border-[#1915014a] border text-[#1b1b18] dark:border-[#3E3E3A] dark:hover:border-[#62605b] rounded-sm text-sm leading-normal"
|
|
>
|
|
Dashboard
|
|
</a>
|
|
@else
|
|
<a
|
|
href="{{ route('login') }}"
|
|
class="inline-block px-5 py-1.5 dark:text-[#EDEDEC] text-[#1b1b18] border border-transparent hover:border-[#19140035] dark:hover:border-[#3E3E3A] rounded-sm text-sm leading-normal"
|
|
>
|
|
Log in
|
|
</a>
|
|
|
|
@if (Route::has('register'))
|
|
<a
|
|
href="{{ route('register') }}"
|
|
class="inline-block px-5 py-1.5 dark:text-[#EDEDEC] border-[#19140035] hover:border-[#1915014a] border text-[#1b1b18] dark:border-[#3E3E3A] dark:hover:border-[#62605b] rounded-sm text-sm leading-normal">
|
|
Register
|
|
</a>
|
|
@endif
|
|
@endauth
|
|
</nav>
|
|
@endif
|
|
</header>
|
|
</x-layouts.auth.card>
|