make logo a hyperlink to site baseURL (home)

This commit is contained in:
Jitesh Doshi 2023-02-01 19:22:02 -05:00
parent 54de4a3c78
commit ff3367ac42

View File

@ -1,6 +1,8 @@
<template>
<header>
<img v-if="showLogo !== undefined" :src="logoURL" />
<a :href="home">
<img v-if="showLogo !== undefined" :src="logoURL" />
</a>
<action
v-if="showMenu !== undefined"
class="menu-button"
@ -32,7 +34,7 @@
</template>
<script>
import { logoURL } from "@/utils/constants";
import { logoURL, baseURL } from "@/utils/constants";
import Action from "@/components/header/Action";
@ -45,6 +47,7 @@ export default {
data: function () {
return {
logoURL,
home: baseURL + "/",
};
},
methods: {