Skip to content

Commit 0161a0b

Browse files
committed
top nav avatar
1 parent f8d4fb0 commit 0161a0b

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

public/build/assets/css/styles-523f0dca4c.css renamed to public/build/assets/css/styles-e754b3c447.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/css/styles.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/rev-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"assets/css/styles.css": "assets/css/styles-523f0dca4c.css",
2+
"assets/css/styles.css": "assets/css/styles-e754b3c447.css",
33
"assets/js/scripts.js": "assets/js/scripts-0abc76776e.js"
44
}

resources/assets/sass/main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,4 +1182,11 @@ div#preview-box {
11821182

11831183
.infos span.introduction {
11841184
color: #b0b0b0;
1185+
}
1186+
.avatar-topnav {
1187+
width: 26px;
1188+
margin-right: 5px;
1189+
margin-top: -3px;
1190+
border: 1px solid white;
1191+
border-radius: 50%;
11851192
}

resources/views/layouts/partials/nav.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040
<li>
4141
<a href="{{ route('users.show', $currentUser->id) }}">
42-
<i class="fa fa-user"></i> {{{ $currentUser->name }}}
42+
<img class="avatar-topnav" alt="Summer" src="{{ $currentUser->present()->gravatar }}">
43+
{{{ $currentUser->name }}}
4344
</a>
4445
</li>
4546
<li>

0 commit comments

Comments
 (0)