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 6060 </a >
6161 @endif
6262
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
6971 </div >
7072 </form >
7173
Original file line number Diff line number Diff line change 2525 <div class =" flex-1 text-right" >
2626 @guest
2727 <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
2931 @else
3032 <span class =" text-grey-lightest text-sm pr-4" >{{ Auth:: user ()-> name } } </span >
3133
Original file line number Diff line number Diff line change 2121 <a href =" {{ url (' /home' ) } }" class =" no-underline hover:underline text-sm font-normal text-teal-darker uppercase" >{{ __ (' Home' ) } } </a >
2222 @else
2323 <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
2527 @endauth
2628 </div >
2729 @endif
You can’t perform that action at this time.
0 commit comments