Refactor: Map UI improvements, ETA metrics, Schedule fixes, and Transport Detail styling

This commit is contained in:
2026-02-28 10:39:20 -05:00
parent 8d967814f9
commit 621da9e4c3
4 changed files with 163 additions and 59 deletions

View File

@ -1,10 +1,15 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { ref, onMounted, computed } from 'vue'
import { useI18n } from 'vue-i18n'
import { useRoute } from 'vue-router'
const { t } = useI18n()
const route = useRoute()
// Solo mostrar el header con tabs en las vistas principales
const isMainView = computed(() => {
return route.name === 'TaxisLocales' || route.name === 'ViajesTuristicos'
})
const mountError = ref(false)
const reloadPage = () => {
@ -24,7 +29,7 @@ onMounted(async () => {
<template>
<div class="taxi-view">
<header class="header-main">
<header v-if="isMainView" class="header-main">
<h1 class="brand-title">{{ t('taxi.title') }}</h1>
<div class="hub-tabs">
<div class="tabs-background">