correct auth in blade

This commit is contained in:
Benjamin Takats
2022-11-30 17:11:41 +01:00
parent 2b3f099c10
commit 841877812b
3 changed files with 7 additions and 5 deletions

View File

@@ -19,7 +19,9 @@
<body class="font-sans antialiased bg-21gray dark">
<x-jet-banner />
<div class="min-h-screen">
@livewire('navigation-menu')
@auth
@livewire('navigation-menu')
@endauth
<!-- Page Heading -->
@if (isset($header))
<header class="bg-white shadow">

View File

@@ -18,7 +18,7 @@
</div>
@auth
<div></div>
@elseauth
@else
<div class="inline-flex items-center ml-5 text-lg space-x-6 lg:justify-end">
<a href="{{ route('nova.login') }}"
class="text-base font-medium leading-6 text-gray-400 hover:text-gray-300 whitespace-no-wrap transition duration-150 ease-in-out">