Agregar botón de Inicio junto a Cerrar Sesión
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 54s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 54s
Cambios en app.vue: - Agregar botón Inicio con icono home - Botón apunta a https://inicio.nucleoriofrio.com - Color verde coherente con tema de la app - Posicionado junto al botón de Cerrar Sesión El botón usa scope extensions para navegar dentro de la PWA.
This commit is contained in:
@@ -140,6 +140,14 @@
|
|||||||
|
|
||||||
<!-- Sesión -->
|
<!-- Sesión -->
|
||||||
<div class="flex justify-center gap-3">
|
<div class="flex justify-center gap-3">
|
||||||
|
<UButton
|
||||||
|
icon="i-heroicons-home"
|
||||||
|
color="green"
|
||||||
|
variant="soft"
|
||||||
|
@click="navigateToHome"
|
||||||
|
>
|
||||||
|
Inicio
|
||||||
|
</UButton>
|
||||||
<UButton
|
<UButton
|
||||||
icon="i-heroicons-arrow-right-on-rectangle"
|
icon="i-heroicons-arrow-right-on-rectangle"
|
||||||
color="gray"
|
color="gray"
|
||||||
@@ -212,6 +220,10 @@ const clear = () => {
|
|||||||
clearTranscription()
|
clearTranscription()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const navigateToHome = () => {
|
||||||
|
window.location.href = 'https://inicio.nucleoriofrio.com'
|
||||||
|
}
|
||||||
|
|
||||||
// Configurar meta tags para PWA
|
// Configurar meta tags para PWA
|
||||||
useHead({
|
useHead({
|
||||||
link: [
|
link: [
|
||||||
|
|||||||
Reference in New Issue
Block a user