Skip to content

Commit e2991ac

Browse files
committed
User avatar on navigation menu linking to profile as well
1 parent d485cc5 commit e2991ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/views/layouts/master.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;"> {{ csrf_field() }}
8181
</form>
8282
<li><a href="/user/{{Auth::user()->id}}">My Profile</a></li>
83+
<a href="/user/{{Auth::user()->id}}"><img class="avatar" src="/uploads/avatars/{{ Auth::user()->avatar }} " style="width:30px; height:auto; border-radius:50%; margin-top:4%;"></a>
8384
</ul>
8485
</div><!--/.nav-collapse -->
8586
</div>

0 commit comments

Comments
 (0)