Commit 58bcdc8e751ab3e9809642a0f1ba12a894819d13
1 parent
d22a2640
修改导航栏,添加Blog跳转至博客
Showing
2 changed files
with
9 additions
and
0 deletions
components/Header.vue
... | ... | @@ -30,6 +30,11 @@ |
30 | 30 | <v-tab :value="4" to="/contact"><span @click="handleTabClick" |
31 | 31 | class="text-grey-lighten-3 tw-font-bold">Contact</span> |
32 | 32 | </v-tab> |
33 | + <v-tab> | |
34 | + <span class="text-grey-lighten-3 tw-font-bold"> | |
35 | + <a href="http://blog.canrud.com/" target="" title="Blog">Blog</a> | |
36 | + </span> | |
37 | + </v-tab> | |
33 | 38 | </v-tabs> |
34 | 39 | </div> |
35 | 40 | </div> | ... | ... |
components/MobileHeader.vue
... | ... | @@ -36,6 +36,10 @@ |
36 | 36 | <v-divider></v-divider> |
37 | 37 | <v-list-item to="/contact" title="Contact" value="contact" @click="handleTabClick" |
38 | 38 | color="blue-darken-1"></v-list-item> |
39 | + <v-divider></v-divider> | |
40 | + <v-list-item title="Blog" value="blog" color="blue-darken-1"> | |
41 | + <a href="http://blog.canrud.com/" target="" title="Blog">Blog</a> | |
42 | + </v-list-item> | |
39 | 43 | </v-list> |
40 | 44 | </v-navigation-drawer> |
41 | 45 | </v-layout> | ... | ... |