Fixed links to use absolute path
This commit is contained in:
parent
20b2581a19
commit
d9a5ab53e5
|
@ -12,13 +12,13 @@
|
|||
<a id="logo" href="/home">[slink]</a>
|
||||
@if (Auth::check())
|
||||
<nav>
|
||||
<a href="profile"><img title="Profile" src="{{ asset('img/icons/profile.svg') }}"></a>
|
||||
<a href="logout"><img title="Logout" src="{{ asset('img/icons/logout.svg') }}"></a>
|
||||
<a href="/profile"><img title="Profile" src="{{ asset('img/icons/profile.svg') }}"></a>
|
||||
<a href="/logout"><img title="Logout" src="{{ asset('img/icons/logout.svg') }}"></a>
|
||||
</nav>
|
||||
@else
|
||||
<nav>
|
||||
<a href="register">Register</a>
|
||||
<a href="login">Log In</a>
|
||||
<a href="/register">Register</a>
|
||||
<a href="/login">Log In</a>
|
||||
</nav>
|
||||
@endif
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue