Fixed links to use absolute path

This commit is contained in:
Notoric 2024-06-10 23:07:48 +01:00
parent 20b2581a19
commit d9a5ab53e5
1 changed files with 4 additions and 4 deletions

View File

@ -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>