Agregar botón de Inicio junto a Cerrar Sesión
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:
2025-10-17 04:14:36 -06:00
parent d155c69f59
commit 996481f94a

View File

@@ -140,6 +140,14 @@
<!-- Sesión -->
<div class="flex justify-center gap-3">
<UButton
icon="i-heroicons-home"
color="green"
variant="soft"
@click="navigateToHome"
>
Inicio
</UButton>
<UButton
icon="i-heroicons-arrow-right-on-rectangle"
color="gray"
@@ -212,6 +220,10 @@ const clear = () => {
clearTranscription()
}
const navigateToHome = () => {
window.location.href = 'https://inicio.nucleoriofrio.com'
}
// Configurar meta tags para PWA
useHead({
link: [