link to Carpa
This commit is contained in:
parent
1409763544
commit
69030d2001
|
|
@ -22,6 +22,9 @@ const { total: favTotal } = storeToRefs(favorites)
|
||||||
const history = useHistoryStore()
|
const history = useHistoryStore()
|
||||||
const { total: histTotal } = storeToRefs(history)
|
const { total: histTotal } = storeToRefs(history)
|
||||||
|
|
||||||
|
const toCarpa = () => {
|
||||||
|
window.location.href = `https://carpa.com/${$i18n.locale.value}`;
|
||||||
|
}
|
||||||
|
|
||||||
const links = computed(() => {
|
const links = computed(() => {
|
||||||
const links = [
|
const links = [
|
||||||
|
|
@ -118,9 +121,9 @@ const links = computed(() => {
|
||||||
class="bg-elevated/25 bg-gradient-to-tr from-blue-100 to-white" :ui="{ footer: 'lg:border-t lg:border-default' }">
|
class="bg-elevated/25 bg-gradient-to-tr from-blue-100 to-white" :ui="{ footer: 'lg:border-t lg:border-default' }">
|
||||||
<template #header="{ collapsed }">
|
<template #header="{ collapsed }">
|
||||||
<div v-if="!collapsed" class="mt-2 flex justify-center">
|
<div v-if="!collapsed" class="mt-2 flex justify-center">
|
||||||
<img src="/logo.svg" class="w-full" alt="Buscador - La Gran Carpa Catedral" />
|
<img v-on:click="toCarpa" src="/logo.svg" class="w-full cursor-pointer" alt="Buscador - La Gran Carpa Catedral" />
|
||||||
</div>
|
</div>
|
||||||
<img v-if="collapsed" src="/logo_round.svg" class="w-full" alt="Buscador - La Gran Carpa Catedral" />
|
<img v-if="collapsed" v-on:click="toCarpa" src="/logo_round.svg" class="w-full cursor-pointer" alt="Buscador - La Gran Carpa Catedral" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #default="{ collapsed }">
|
<template #default="{ collapsed }">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue