diff --git a/components/NavBar.vue b/components/NavBar.vue new file mode 100644 index 0000000..4db24b2 --- /dev/null +++ b/components/NavBar.vue @@ -0,0 +1,25 @@ + + + diff --git a/layouts/Layout.vue b/layouts/Layout.vue index eb73e02..8117804 100644 --- a/layouts/Layout.vue +++ b/layouts/Layout.vue @@ -4,13 +4,15 @@ {{ $site.title }}
+ - - + +
@@ -19,12 +21,14 @@ import HomePage from "../components/Home"; import PostPage from "../components/Post"; import FooterBar from '../components/FooterBar'; +import NavBar from '../components/NavBar'; export default { components: { HomePage, PostPage, FooterBar, + NavBar, }, computed: { isHome() { diff --git a/styles/index.styl b/styles/index.styl index bcfe428..cd6fafd 100644 --- a/styles/index.styl +++ b/styles/index.styl @@ -58,15 +58,23 @@ code // Shared // ----------------------------------------- .header - margin 50px auto + margin 50px auto 40px text-align center - a + .site-name font-size fontSize + 2 letter-spacing 5px text-transform uppercase color textColor + .navbar + margin 10px 10px 0 + + .navbar-item + margin-right 10px + color metaColor + text-decoration underline + .searchbar-input display block margin 5px auto 0