From 0ea3bd0859aba4ae30f4ac0d8685421ee4600528 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Mon, 1 Jun 2026 11:35:50 -0500 Subject: [PATCH] Tour example Added tour example in a subroute of the app. --- app/app.vue | 8 ++++++++ app/components/PublicationDetail.vue | 12 ++++++++++++ lang/es.json | 3 ++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/app/app.vue b/app/app.vue index 310f99a..4554b28 100755 --- a/app/app.vue +++ b/app/app.vue @@ -123,6 +123,14 @@ const steps = [ side: "right", }, }, + { + element: ".favorites_toggle", + popover: { + title: t('tour.favorites_button'), + description: t('tour.favorites_toggle'), + side: "bottom" + } + } ] const tourConfig = { diff --git a/app/components/PublicationDetail.vue b/app/components/PublicationDetail.vue index 385668d..394793f 100644 --- a/app/components/PublicationDetail.vue +++ b/app/components/PublicationDetail.vue @@ -70,6 +70,8 @@ const props = defineProps<{ const emits = defineEmits(['close']) +const nuxtApp = useNuxtApp() + const { locale } = useI18n() const favorites = useFavoritesStore() @@ -828,6 +830,15 @@ const items = computed(() => {