From 8b3e3a898bd861c4299d3006a059b0ffe1da23f6 Mon Sep 17 00:00:00 2001 From: Benoit Schweblin Date: Fri, 4 Aug 2017 21:46:06 +0100 Subject: [PATCH] Menu items --- src/components/ExplorerNode.vue | 2 +- src/components/MenuItem.vue | 35 +++++++++ src/components/NavigationBar.vue | 1 + src/components/SideBar.vue | 60 +++++++++++++--- src/components/common/app.scss | 15 +++- src/data/markdownSample.md | 112 +++++++++++++++++++++++++++++ src/icons/ArrowLeft.vue | 5 ++ src/icons/Close.vue | 2 +- src/icons/CodeBraces.vue | 2 +- src/icons/Delete.vue | 2 +- src/icons/Eye.vue | 2 +- src/icons/FileImage.vue | 2 +- src/icons/FilePlus.vue | 2 +- src/icons/FolderMultiple.vue | 2 +- src/icons/FolderPlus.vue | 2 +- src/icons/FormatBold.vue | 2 +- src/icons/FormatHorizontalRule.vue | 2 +- src/icons/FormatItalic.vue | 2 +- src/icons/FormatListBulleted.vue | 2 +- src/icons/FormatListNumbers.vue | 2 +- src/icons/FormatQuoteClose.vue | 2 +- src/icons/FormatSize.vue | 2 +- src/icons/FormatStrikethrough.vue | 2 +- src/icons/HelpCircle.vue | 5 ++ src/icons/LinkVariant.vue | 2 +- src/icons/Login.vue | 5 ++ src/icons/Menu.vue | 2 +- src/icons/NavigationBar.vue | 2 +- src/icons/Pen.vue | 2 +- src/icons/Settings.vue | 2 +- src/icons/SidePreview.vue | 2 +- src/icons/StatusBar.vue | 2 +- src/icons/Table.vue | 2 +- src/icons/Target.vue | 2 +- src/icons/Toc.vue | 5 ++ src/icons/index.js | 8 +++ 36 files changed, 267 insertions(+), 36 deletions(-) create mode 100644 src/components/MenuItem.vue create mode 100644 src/data/markdownSample.md create mode 100644 src/icons/ArrowLeft.vue create mode 100644 src/icons/HelpCircle.vue create mode 100644 src/icons/Login.vue create mode 100644 src/icons/Toc.vue diff --git a/src/components/ExplorerNode.vue b/src/components/ExplorerNode.vue index b33e4af9..f5cd6179 100644 --- a/src/components/ExplorerNode.vue +++ b/src/components/ExplorerNode.vue @@ -1,5 +1,5 @@ @@ -23,10 +40,30 @@