feat: replace obsolete spinners with branded UI loading component

This commit is contained in:
2026-03-04 11:17:16 -05:00
parent b45f53417a
commit 84e98b6213
10 changed files with 179 additions and 21 deletions

View File

@ -7,6 +7,7 @@ import type { Taxi } from '@/types'
import FavoriteButton from '@/components/FavoriteButton.vue'
import { getImageUrl } from '@/utils/imageUrl'
import AuthGuard from '@/components/common/AuthGuard.vue'
import LoadingBranded from '@/components/common/LoadingBranded.vue'
const { t } = useI18n()
const taxiStore = useTaxiStore()
@ -119,8 +120,7 @@ function getShiftLabel(shift: string) {
</div>
<div v-if="taxiStore.isLoading" class="state-container">
<span class="material-icons spin">refresh</span>
<p>{{ t('taxi.loadingTaxis') }}</p>
<LoadingBranded :message="t('taxi.loadingTaxis') || 'Cargando taxis...'" icon="local_taxi" />
</div>
<div v-else-if="taxiStore.error" class="state-container">