From 9ad0277d11ac7fa80800837f20777769ddbecfaf Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 24 Nov 2022 01:00:30 +0100 Subject: [PATCH] new navbar --- assets/style.css | 4 - components/Appbar.vue | 264 +++++---------------------------------- components/Calendar.vue | 53 +++++--- components/Footer.vue | 4 +- components/NavBar.vue | 29 +++++ components/NavHeader.vue | 97 ++++++++++++++ components/NavSearch.vue | 30 +++++ pages/about.vue | 2 +- 8 files changed, 222 insertions(+), 261 deletions(-) create mode 100644 components/NavBar.vue create mode 100644 components/NavHeader.vue create mode 100644 components/NavSearch.vue diff --git a/assets/style.css b/assets/style.css index ddfd06a5..ffa9f91f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -9,10 +9,6 @@ li { margin-left: 10px; } -.v-main { - padding-top: 176px !important; -} - .v-dialog .theme--dark.v-card { background-color: #434343; } diff --git a/components/Appbar.vue b/components/Appbar.vue index 0d3e9db0..e7f5bc14 100644 --- a/components/Appbar.vue +++ b/components/Appbar.vue @@ -1,251 +1,43 @@ + \ No newline at end of file diff --git a/components/Calendar.vue b/components/Calendar.vue index ffd7ce43..45b1b902 100644 --- a/components/Calendar.vue +++ b/components/Calendar.vue @@ -1,40 +1,50 @@ diff --git a/components/NavHeader.vue b/components/NavHeader.vue new file mode 100644 index 00000000..cb964d92 --- /dev/null +++ b/components/NavHeader.vue @@ -0,0 +1,97 @@ + + \ No newline at end of file diff --git a/components/NavSearch.vue b/components/NavSearch.vue new file mode 100644 index 00000000..52e3fd5a --- /dev/null +++ b/components/NavSearch.vue @@ -0,0 +1,30 @@ + + + \ No newline at end of file diff --git a/pages/about.vue b/pages/about.vue index 12abcb56..32dc8e60 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -6,7 +6,7 @@ v-container v-card-text(v-else v-html='about') v-card-actions(v-if='$auth.user && $auth.user.is_admin') v-spacer - v-btn(color='primary' text + v-btn(color='primary' outlined @click='save') {{$t('common.save')}}