|
@@ -33,6 +33,12 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
+ (function () {
|
|
|
+ if (window.innerWidth < 600) {
|
|
|
+ switchShowDrawer();
|
|
|
+ }
|
|
|
+ })();
|
|
|
+
|
|
|
function logout() {
|
|
|
mainStore.logOut();
|
|
|
}
|
|
@@ -58,7 +64,7 @@ export default {
|
|
|
logout,
|
|
|
lang,
|
|
|
setLang,
|
|
|
- appName
|
|
|
+ appName,
|
|
|
};
|
|
|
},
|
|
|
beforeRouteEnter(to, from, next) {
|
|
@@ -85,10 +91,16 @@ const routeGuardAdmin = async (
|
|
|
<v-navigation-drawer persistent :rail="miniDrawer" v-model="showDrawer">
|
|
|
<v-sheet class="d-flex flex-column fill-height">
|
|
|
<v-sheet>
|
|
|
- <a class="d-flex justify-center mt-3">
|
|
|
+ <!-- <a href="https://ai.choozmo.com/ai-presenter/info/" class="d-flex justify-center mt-3">
|
|
|
<img src="@/assets/img/Choozmo-logo.png" alt="" class="logo-img" />
|
|
|
- </a>
|
|
|
+ </a> -->
|
|
|
<v-list>
|
|
|
+ <v-list-item
|
|
|
+ class="py-4"
|
|
|
+ @click="switchShowDrawer"
|
|
|
+ :prepend-icon="miniDrawer ? 'chevron_right' : 'chevron_left'"
|
|
|
+ >
|
|
|
+ </v-list-item>
|
|
|
<!-- <v-list-subheader><span v-show="!miniDrawer">Main menu</span></v-list-subheader> -->
|
|
|
<v-list-item to="/main/dashboard" prepend-icon="dashboard">
|
|
|
<v-list-item-title>{{ t("dashboard") }}</v-list-item-title>
|
|
@@ -140,12 +152,23 @@ const routeGuardAdmin = async (
|
|
|
<v-list-item-title>{{ t("logout") }}</v-list-item-title>
|
|
|
</v-list-item>
|
|
|
<v-divider></v-divider>
|
|
|
- <v-list-item
|
|
|
+ <a
|
|
|
+ href="https://ai.choozmo.com/ai-presenter/info/"
|
|
|
+ class="d-flex justify-center mt-3"
|
|
|
+ target="_blank"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ src="@/assets/img/Choozmo-logo.png"
|
|
|
+ alt="Choozmo-logo"
|
|
|
+ class="logo-img"
|
|
|
+ />
|
|
|
+ </a>
|
|
|
+ <!-- <v-list-item
|
|
|
@click="switchMiniDrawer"
|
|
|
:prepend-icon="miniDrawer ? 'chevron_right' : 'chevron_left'"
|
|
|
>
|
|
|
<v-list-item-title>{{ t("collapse") }}</v-list-item-title>
|
|
|
- </v-list-item>
|
|
|
+ </v-list-item> -->
|
|
|
</v-list>
|
|
|
</v-sheet>
|
|
|
</v-sheet>
|
|
@@ -163,7 +186,7 @@ const routeGuardAdmin = async (
|
|
|
<!-- <v-list-item to="/main/profile" append-icon="person">
|
|
|
<v-list-item-title>{{ t("userProfile") }}</v-list-item-title>
|
|
|
</v-list-item> -->
|
|
|
-
|
|
|
+
|
|
|
<!-- <v-list-item to="/main/profile" append-icon="language">
|
|
|
<v-list-item-title>{{ t("language") }}</v-list-item-title>
|
|
|
</v-list-item> -->
|
|
@@ -196,7 +219,7 @@ const routeGuardAdmin = async (
|
|
|
|
|
|
<v-footer class="pa-3" app>
|
|
|
<v-spacer></v-spacer>
|
|
|
- <span>© {{ appName }}</span>
|
|
|
+ <span>© ChoozMo</span>
|
|
|
</v-footer>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -212,7 +235,7 @@ const routeGuardAdmin = async (
|
|
|
}
|
|
|
|
|
|
.logo-img {
|
|
|
- max-width: 200px;
|
|
|
+ max-width: 150px;
|
|
|
}
|
|
|
|
|
|
.card-title {
|