File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 2222 </head >
2323 <body class =" antialiased" >
2424 <div class =" relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center py-4 sm:pt-0" >
25- @if ( Route :: has ( ' login ' ) )
25+
2626 <div class =" hidden fixed top-0 right-0 px-6 py-4 sm:block" >
2727 @auth
2828 <a href =" {{ url (' /home' ) } }" class =" text-sm text-gray-700 underline" >Home</a >
3232 @if (Route:: has (' register' ) )
3333 <a href =" {{ route (' register' ) } }" class =" ml-4 text-sm text-gray-700 underline" >Register</a >
3434 @endif
35+ @endauth
3536
36-
37- @if (Auth:: guard (' admin' )-> check () && Route:: has (' dashboard' ) )
37+ @if ( auth ()-> guard (' admin' )-> check () && Route:: has (' dashboard' ) )
3838 <a href =" {{ route (' dashboard' ) } }" class =" ml-4 text-sm text-gray-700 underline" >Dashboard</a >
39- @else
40- @if (Route:: has (' admin.login' ) )
41- <a href =" {{ route (' admin.login' ) } }" class =" ml-4 text-sm text-gray-700 underline" >Admin Login</a >
42- @endif
43- @endif
44-
45-
46- @endauth
39+ @else
40+ <a href =" {{ route (' admin.login' ) } }" class =" ml-4 text-sm text-gray-700 underline" >Admin Login</a >
41+ @endif
4742 </div >
48- @endif
4943
5044 <div class =" max-w-6xl mx-auto sm:px-6 lg:px-8" >
5145 <div class =" flex justify-center pt-8 sm:justify-start sm:pt-0" >
You can’t perform that action at this time.
0 commit comments