feat: replace obsolete spinners with branded UI loading component
This commit is contained in:
@ -5,6 +5,7 @@ import { useRouteStore } from '@/stores/route'
|
||||
import { useTaxiStore } from '@/stores/taxi'
|
||||
import { analyticsService } from '@/services/analyticsService'
|
||||
import FavoriteButton from '@/components/FavoriteButton.vue'
|
||||
import LoadingBranded from '@/components/common/LoadingBranded.vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
const { t } = useI18n()
|
||||
@ -175,8 +176,11 @@ const correlimientos = computed(() => {
|
||||
</h2>
|
||||
|
||||
<!-- Loading Results -->
|
||||
<div v-if="routeStore.isLoadingRoutes || taxiStore.isLoading" class="flex justify-center py-10">
|
||||
<div class="w-10 h-10 border-4 border-primary/20 border-t-primary rounded-full animate-spin"></div>
|
||||
<div v-if="routeStore.isLoadingRoutes || taxiStore.isLoading" class="flex justify-center py-10 w-full">
|
||||
<LoadingBranded
|
||||
:message="activeTab === 'routes' ? t('routesView.loadingRoutes', 'Cargando Rutas y Paradas') : t('routesView.loadingDrivers', 'Buscando Conductores Disponibles')"
|
||||
:icon="activeTab === 'routes' ? 'directions_bus' : 'local_taxi'"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- Bus Routes List -->
|
||||
|
||||
Reference in New Issue
Block a user