make logo a hyperlink to site baseURL (home)
This commit is contained in:
parent
54de4a3c78
commit
ff3367ac42
@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<header>
|
<header>
|
||||||
<img v-if="showLogo !== undefined" :src="logoURL" />
|
<a :href="home">
|
||||||
|
<img v-if="showLogo !== undefined" :src="logoURL" />
|
||||||
|
</a>
|
||||||
<action
|
<action
|
||||||
v-if="showMenu !== undefined"
|
v-if="showMenu !== undefined"
|
||||||
class="menu-button"
|
class="menu-button"
|
||||||
@ -32,7 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { logoURL } from "@/utils/constants";
|
import { logoURL, baseURL } from "@/utils/constants";
|
||||||
|
|
||||||
import Action from "@/components/header/Action";
|
import Action from "@/components/header/Action";
|
||||||
|
|
||||||
@ -45,6 +47,7 @@ export default {
|
|||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
logoURL,
|
logoURL,
|
||||||
|
home: baseURL + "/",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user