[WIP] Добавил переход на главную страницу при клике на иконку, заменил иконку уведомления об ошибке, поправил стили

This commit is contained in:
megavrilinvv
2023-03-02 18:06:24 +03:00
parent 943454c091
commit 486bfdf9c1
5 changed files with 38 additions and 3 deletions

View File

@@ -1,7 +1,11 @@
<template lang="pug">
.header-wrapper.relative.flex.justify-center.box-border.py-2.pl-4_75px.pr-6
.flex.items-center.box-border.cursor-pointer.mr-auto
img.logo-img.mr-29_25px(src="@/assets/images/logo.svg", alt="Logo")
img.logo-img.mr-29_25px(
src="@/assets/images/logo.svg",
alt="Logo",
@click="redirectHomePage"
)
header-inputs
.flex.ml-auto
q-btn.mr-9(
@@ -103,6 +107,9 @@ export default {
},
},
methods: {
redirectHomePage() {
this.$router.push("/calendar");
},
logout() {
localStorage.removeItem("tokenAccess");
this.$router.go("/login");