refactor: update drawer
This commit is contained in:
parent
9bc9e0f1d5
commit
9126270de6
2 changed files with 14 additions and 20 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
import { computed, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { Icon } from '@iconify/vue';
|
||||
|
||||
|
|
@ -94,20 +94,14 @@ function navigateTo(label: string, destination: string) {
|
|||
v-model="leftDrawerOpen"
|
||||
side="left"
|
||||
:breakpoint="599"
|
||||
:width="$q.screen.lt.md ? 200 : 300"
|
||||
:width="$q.screen.lt.md ? 200 : 256"
|
||||
>
|
||||
<div class="main-bar">
|
||||
<div
|
||||
class="column items-center justify-center q-pa-xl cursor-pointer"
|
||||
@click="$router.push('/')"
|
||||
id="btn-drawer-home"
|
||||
>
|
||||
<q-img src="/logo.png" style="width: 70%; height: 70%">
|
||||
<template #error>
|
||||
<img src="/logo.png" alt="" width="100%" />
|
||||
</template>
|
||||
</q-img>
|
||||
</div>
|
||||
<div
|
||||
class="column items-center justify-center q-pa-xl cursor-pointer"
|
||||
@click="$router.push('/')"
|
||||
id="btn-drawer-home"
|
||||
>
|
||||
<q-img src="/logo.png" style="width: 80%; height: 70%" />
|
||||
</div>
|
||||
|
||||
<div id="drawer-menu" class="q-pr-sm">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue