From: Adam Dullage Date: Thu, 4 Aug 2022 20:18:39 +0000 (+0100) Subject: Added navigation bar X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5fc14a7f170c5a8c78e1a9ab6cc9886348b0ed41;p=flatnotes.git Added navigation bar --- diff --git a/flatnotes/src/components/App.js b/flatnotes/src/components/App.js index 81549cc..345a3e0 100644 --- a/flatnotes/src/components/App.js +++ b/flatnotes/src/components/App.js @@ -4,6 +4,7 @@ import { Viewer } from "@toast-ui/vue-editor"; import RecentlyModified from "./RecentlyModified"; import LoadingIndicator from "./LoadingIndicator"; import Login from "./Login"; +import NavBar from "./NavBar"; import api from "../api"; import * as constants from "../constants"; @@ -12,12 +13,15 @@ import EventBus from "../eventBus"; import * as helpers from "../helpers"; export default { + name: "App", + components: { Viewer, Editor, RecentlyModified, LoadingIndicator, Login, + NavBar, }, data: function() { diff --git a/flatnotes/src/components/App.vue b/flatnotes/src/components/App.vue index 23e8e62..4539274 100644 --- a/flatnotes/src/components/App.vue +++ b/flatnotes/src/components/App.vue @@ -1,40 +1,20 @@ diff --git a/flatnotes/src/components/Login.vue b/flatnotes/src/components/Login.vue index 0f9ee7b..4e759a3 100644 --- a/flatnotes/src/components/Login.vue +++ b/flatnotes/src/components/Login.vue @@ -1,6 +1,6 @@