From 45bc7c147b55896050ed4ca625999bfde0dcd407 Mon Sep 17 00:00:00 2001 From: physphile Date: Sat, 4 Feb 2023 01:28:57 +0300 Subject: [PATCH 1/2] add desktop nav --- .eslintrc | 3 +- src/App.vue | 85 ++++++------ src/components/ButtonIcon.vue | 38 ++++++ src/components/DropdownMenu.vue | 9 +- src/components/NavbarTop.vue | 58 -------- src/components/NavbarTopBack.vue | 50 ------- src/components/NavbarTopPlain.vue | 38 ------ src/components/OptionsButton.vue | 48 ------- src/components/ToolbarBack.vue | 61 +++++++++ ...barTopCalendar.vue => ToolbarCalendar.vue} | 128 ++++++++++-------- src/components/ToolbarPlain.vue | 48 +++++++ src/components/index.js | 3 + src/mixins/captureNavigation.js | 23 ++++ src/mixins/index.js | 2 +- .../{windowWidthMixin.js => windowWidth.js} | 5 + src/style.css | 6 + 16 files changed, 300 insertions(+), 305 deletions(-) create mode 100644 src/components/ButtonIcon.vue delete mode 100644 src/components/NavbarTop.vue delete mode 100644 src/components/NavbarTopBack.vue delete mode 100644 src/components/NavbarTopPlain.vue delete mode 100644 src/components/OptionsButton.vue create mode 100644 src/components/ToolbarBack.vue rename src/components/{NavbarTopCalendar.vue => ToolbarCalendar.vue} (58%) create mode 100644 src/components/ToolbarPlain.vue create mode 100644 src/components/index.js create mode 100644 src/mixins/captureNavigation.js rename src/mixins/{windowWidthMixin.js => windowWidth.js} (73%) diff --git a/.eslintrc b/.eslintrc index 8f89698..abaeae4 100644 --- a/.eslintrc +++ b/.eslintrc @@ -27,6 +27,7 @@ } ], "object-shorthand": "warn", - "vue/html-self-closing": "warn" + "vue/html-self-closing": "warn", + "no-console": "warn" } } diff --git a/src/App.vue b/src/App.vue index d2b613f..70509f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,58 +1,55 @@ - - + diff --git a/src/components/ButtonIcon.vue b/src/components/ButtonIcon.vue new file mode 100644 index 0000000..343e17e --- /dev/null +++ b/src/components/ButtonIcon.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/components/DropdownMenu.vue b/src/components/DropdownMenu.vue index f486bef..dce8125 100644 --- a/src/components/DropdownMenu.vue +++ b/src/components/DropdownMenu.vue @@ -1,11 +1,11 @@