Skip to content

Commit 1ba0741

Browse files
prof pic links to root
1 parent e3dcdd2 commit 1ba0741

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

components/SideBar.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
>
55
<ul class="flex flex-col items-start font-semibold tracking-wider">
66
<li class="self-center">
7-
<img
8-
class="w-24 h-24 border-4 border-double rounded-full border-primary"
9-
src="~/assets/images/prof-pic.jpg"
10-
alt="Jeremy Ward"
11-
/>
7+
<nuxt-link :to="{ name: 'index' }">
8+
<img
9+
class="w-24 h-24 border-4 border-double rounded-full border-primary"
10+
src="~/assets/images/prof-pic.jpg"
11+
alt="Jeremy Ward"
12+
/>
13+
</nuxt-link>
1214
</li>
1315
<li>
1416
<nuxt-link to="/about" @click="console.log('hey there')">
@@ -88,4 +90,7 @@ li > a::before {
8890
content: '/';
8991
color: #ff124f;
9092
}
93+
li:first-child > a::before {
94+
content: '';
95+
}
9196
</style>

0 commit comments

Comments
 (0)