diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/NavBar.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 0cae182..6497804 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -1,7 +1,7 @@ <template> <nav class="navbar"> <div class="title"> - <img class="logo" :src="logoPath" /> + <img v-if="logo" class="logo" :src="logo" /> <router-link class="title-name" to="/">{{ title }}</router-link> </div> <div class="space"></div> @@ -31,7 +31,7 @@ export default { routes: Array, externalRoutes: Array, title: String, - logoPath: String + logo: String }, data: function() { return { @@ -49,6 +49,11 @@ export default { <style scoped> .navbar { + font-family: "Roboto Slab", serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + color: #181818; + box-sizing: border-box; width: 100vw; height: 80px; |