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>
|
<a id="logo" href="/home">[slink]</a>
|
||||||
@if (Auth::check())
|
@if (Auth::check())
|
||||||
<nav>
|
<nav>
|
||||||
<a href="profile"><img title="Profile" src="{{ asset('img/icons/profile.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>
|
<a href="/logout"><img title="Logout" src="{{ asset('img/icons/logout.svg') }}"></a>
|
||||||
</nav>
|
</nav>
|
||||||
@else
|
@else
|
||||||
<nav>
|
<nav>
|
||||||
<a href="register">Register</a>
|
<a href="/register">Register</a>
|
||||||
<a href="login">Log In</a>
|
<a href="/login">Log In</a>
|
||||||
</nav>
|
</nav>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue