File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
src/tailwindcss-stubs/resources/views Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 60
60
</a >
61
61
@endif
62
62
63
- <p class =" w-full text-xs text-center text-grey-dark mt-8 -mb-4" >
64
- Don't have an account?
65
- <a class =" text-blue hover:text-blue-dark no-underline" href =" {{ route (' register' ) } }" >
66
- Register
67
- </a >
68
- </p >
63
+ @if (Route:: has (' register' ) )
64
+ <p class =" w-full text-xs text-center text-grey-dark mt-8 -mb-4" >
65
+ Don't have an account?
66
+ <a class =" text-blue hover:text-blue-dark no-underline" href =" {{ route (' register' ) } }" >
67
+ Register
68
+ </a >
69
+ </p >
70
+ @endif
69
71
</div >
70
72
</form >
71
73
Original file line number Diff line number Diff line change 25
25
<div class =" flex-1 text-right" >
26
26
@guest
27
27
<a class =" no-underline hover:underline text-grey-lightest text-sm p-3" href =" {{ route (' login' ) } }" >{{ __ (' Login' ) } } </a >
28
- <a class =" no-underline hover:underline text-grey-lightest text-sm p-3" href =" {{ route (' register' ) } }" >{{ __ (' Register' ) } } </a >
28
+ @if (Route:: has (' register' ) )
29
+ <a class =" no-underline hover:underline text-grey-lightest text-sm p-3" href =" {{ route (' register' ) } }" >{{ __ (' Register' ) } } </a >
30
+ @endif
29
31
@else
30
32
<span class =" text-grey-lightest text-sm pr-4" >{{ Auth:: user ()-> name } } </span >
31
33
Original file line number Diff line number Diff line change 21
21
<a href =" {{ url (' /home' ) } }" class =" no-underline hover:underline text-sm font-normal text-teal-darker uppercase" >{{ __ (' Home' ) } } </a >
22
22
@else
23
23
<a href =" {{ route (' login' ) } }" class =" no-underline hover:underline text-sm font-normal text-teal-darker uppercase pr-6" >{{ __ (' Login' ) } } </a >
24
- <a href =" {{ route (' register' ) } }" class =" no-underline hover:underline text-sm font-normal text-teal-darker uppercase" >{{ __ (' Register' ) } } </a >
24
+ @if (Route:: has (' register' ) )
25
+ <a href =" {{ route (' register' ) } }" class =" no-underline hover:underline text-sm font-normal text-teal-darker uppercase" >{{ __ (' Register' ) } } </a >
26
+ @endif
25
27
@endauth
26
28
</div >
27
29
@endif
You can’t perform that action at this time.
0 commit comments