fix: prevent Google Translate from breaking Material Icons and fix lang attribute

This commit is contained in:
2026-03-31 18:29:55 -05:00
parent a9b906099e
commit a60b079d94
43 changed files with 459 additions and 320 deletions

View File

@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(find /c/Users/2002s/Documents/sibu2.0 -name .cursorrules -o -name *.mdc)"
]
}
}

132
CLAUDE.md Normal file
View File

@ -0,0 +1,132 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
SIBU (Sistema de Transporte) is a PWA for public transportation in Panama. It has two main parts:
- **Backend**: FastAPI + SQLModel + PostgreSQL (in `backend/`), managed with `uv`
- **Frontend**: Vue 3 + Vite + TypeScript + Tailwind CSS (in `frontend/`), managed with `bun`
The frontend uses **Supabase** for auth and real-time data, while the backend provides the REST API. Both can be used together or independently.
---
## Commands
### Development
```bash
make dev # Run both backend + frontend concurrently
make dev-backend # Backend only → http://localhost:8000
make dev-frontend # Frontend only → http://localhost:5173
```
### Install
```bash
make setup # Install all deps + instructions
make install-backend # uv sync
make install-frontend # bun install
```
### Migrations
```bash
make migrate-up # Apply all pending
make migrate-down # Rollback last
make migrate-create NAME=nombre # Create new migration
make migrate-history # Show history
```
### Lint & Format
```bash
make lint-backend # ruff check --fix
make format-backend # ruff format
make lint-frontend # bun run build (type-check via vue-tsc)
```
### Tests
```bash
make test-backend # uv run pytest
make test-frontend # bun run test
```
### Database utilities
```bash
make seed # Seed initial data
make db-reset # Drop all tables + recreate (asks for confirmation)
make import-coordinates ROUTE="Boquete>David" # Import coords from Supabase
make import-coordinates ALL=true
```
---
## Package Management Rules
- **Backend**: NEVER edit `pyproject.toml` manually — use `uv add <package>`
- **Frontend**: NEVER edit `package.json` manually — use `bun add <package>`
---
## Environment Variables
### Backend (`backend/.env.development`)
```
DATABASE_URL=postgresql+asyncpg://localhost:5432/sibu_dev
ENVIRONMENT=development
DEBUG=true
```
### Frontend (`frontend/.env.development`)
```
VITE_API_URL=http://localhost:8000
VITE_GOOGLE_MAPS_API_KEY=...
VITE_SUPABASE_URL=...
VITE_SUPABASE_ANON_KEY=...
```
---
## Architecture
### Frontend Architecture
**Auth** is handled by Supabase (`src/supabase.ts`). The `useAuthStore` (Pinia) listens to `onAuthStateChange` and only reloads the user profile on `SIGNED_IN` / `INITIAL_SESSION` events — not on `TOKEN_REFRESHED` — to avoid network hangs on mobile wake.
**User roles**: `PASSENGER` (default), `DRIVER`, `PROMOTER`, `ADMIN`. The router (`src/router/index.ts`) enforces role-based access via `meta.requiresAuth` and `meta.role`. Auth check has a 3-second timeout to avoid blocking the UI.
**State**: Pinia stores in `src/stores/` — one per domain (`auth`, `route`, `busStop`, `map`, `shuttle`, `taxi`, `coupon`, `favorites`, `schedule`, `theme`). State is persisted via `pinia-plugin-persistedstate`.
**Services** (`src/services/`) are thin API clients — one per resource. They call the FastAPI backend or Supabase directly.
**Composables** (`src/composables/`) contain map logic: `useGoogleMaps`, `useMapState`, `useDirectionsRoute`, `useETA`, `useParadaCercana`, `useFlujoPrincipal`.
**Routing structure**:
- `/` — Landing
- `/map` — Main Google Maps view
- `/routes`, `/schedules`, `/bus-stop/:id` — Transit info
- `/transporte/viajes-turisticos` — Tourist shuttles (nested layout)
- `/transporte/taxis-locales` — Local taxis
- `/discover`, `/coupons`, `/favorites`, `/profile` — App features
- `/admin`, `/driver`, `/promoter` — Role-protected dashboards
**PWA**: Configured with `vite-plugin-pwa`. Service worker uses `autoUpdate`. API routes (`/api`, `/rest/v1`) are excluded from navigation fallback to prevent blank screens.
**i18n**: `vue-i18n` with `es` and `en` locales in `src/i18n/locales/`.
### Backend Architecture
```
backend/app/
├── api/ # Route handlers (FastAPI routers)
├── core/ # config.py (pydantic-settings), database.py, seed.py
├── models/ # SQLModel table models
├── schemas/ # Pydantic request/response schemas
└── services/ # Business logic layer
```
Config is loaded from `app/core/config.py` using `pydantic-settings`. Database sessions use async SQLAlchemy via `asyncpg`. All API routes use the `/api/` prefix.
### Vue Component Conventions
- Always use `<script setup>` with TypeScript
- Import paths use the `@/` alias for `src/`
- Components are split: `components/` (reusable), `views/` (full screens)
- Map-related components live in `components/map/`

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="es">
<head>
<meta charset="UTF-8" />

View File

@ -25,7 +25,7 @@
<div class="sib-header-plain">
<div class="user-profile-optimized">
<div class="user-avatar-main">
<span class="material-icons user-icon-accent">person</span>
<span class="material-icons user-icon-accent notranslate" translate="no">person</span>
<div v-if="authStore.isAuthenticated" class="status-dot-active"></div>
</div>
<div class="user-info-text">
@ -39,11 +39,11 @@
<div v-if="authStore.isAdmin || authStore.isDriver || authStore.isPromoter" class="sidebar-group">
<div class="group-label">{{ t('menu.management') }}</div>
<div v-if="authStore.isAdmin" class="sidebar-link" @click="navigateTo('/admin')">
<span class="material-icons">shield_person</span>
<span class="material-icons notranslate" translate="no">shield_person</span>
<span class="link-text">{{ t('menu.adminPanel') }}</span>
</div>
<div v-if="authStore.isDriver && !authStore.isAdmin" class="sidebar-link" @click="navigateTo('/driver')">
<span class="material-icons">minor_crash</span>
<span class="material-icons notranslate" translate="no">minor_crash</span>
<span class="link-text">{{ t('menu.driverPanel') }}</span>
</div>
</div>
@ -51,24 +51,24 @@
<div v-if="!authStore.isAdmin" class="sidebar-group">
<div class="group-label">{{ t('menu.operations') }}</div>
<div class="sidebar-link" @click="navigateTo('/favorites')">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
<span class="link-text">{{ t('menu.favorites') }}</span>
</div>
<div class="sidebar-link" @click="toggleLanguage">
<span class="material-icons">translate</span>
<span class="material-icons notranslate" translate="no">translate</span>
<span class="link-text">{{ t('menu.translate') }}</span>
</div>
</div>
<div class="sidebar-link theme-toggle-row" @click="themeStore.toggleDarkMode">
<span class="material-icons">{{ themeStore.isDarkMode ? 'light_mode' : 'dark_mode' }}</span>
<span class="material-icons notranslate" translate="no">{{ themeStore.isDarkMode ? 'light_mode' : 'dark_mode' }}</span>
<span class="link-text">{{ themeStore.isDarkMode ? t('menu.lightMode') : t('menu.darkMode') }}</span>
</div>
<div v-if="!authStore.isAdmin" class="sidebar-group">
<div class="group-label">{{ t('menu.support') }}</div>
<div class="sidebar-link report-link-solid" @click="openReportModal">
<span class="material-icons">report_problem</span>
<span class="material-icons notranslate" translate="no">report_problem</span>
<span class="link-text">{{ t('menu.sendReport') }}</span>
</div>
</div>
@ -76,10 +76,10 @@
<div class="sidebar-footer-fixed">
<button v-if="!authStore.isAuthenticated" class="session-btn login-solid" @click="navigateTo('/login')">
<span class="material-icons">login</span> {{ t('menu.login') }}
<span class="material-icons notranslate" translate="no">login</span> {{ t('menu.login') }}
</button>
<button v-else class="session-btn logout-solid" @click="handleLogout">
<span class="material-icons">logout</span> {{ t('menu.logout') }}
<span class="material-icons notranslate" translate="no">logout</span> {{ t('menu.logout') }}
</button>
<div class="sib-tag-footer">SIB SYSTEM v1.2.0</div>
</div>

View File

@ -78,7 +78,7 @@ onUnmounted(() => {
:class="{ active: isActive(item.path) }"
@click.stop="navigateTo(item.path)"
>
<span class="material-icons">{{ item.icon }}</span>
<span class="material-icons notranslate" translate="no">{{ item.icon }}</span>
<span class="nav-label">{{ t('navigation.' + item.name) }}</span>
</div>
</nav>

View File

@ -35,7 +35,7 @@
Lat: {{ formData.latitude.toFixed(6) }}, Lon: {{ formData.longitude.toFixed(6) }}
</div>
<button @click="getCurrentLocation" class="gps-button" :disabled="isLoadingGps">
<span class="material-icons">my_location</span>
<span class="material-icons notranslate" translate="no">my_location</span>
{{ isLoadingGps ? 'Localizando...' : 'Usar GPS Preciso' }}
</button>
</div>

View File

@ -90,27 +90,27 @@ watch(() => props.isOpen, async (isOpen) => {
/>
</div>
<p v-if="busStop.address" class="stop-address">
<span class="material-icons text-sm">location_on</span>
<span class="material-icons text-sm notranslate" translate="no">location_on</span>
{{ busStop.address }}
</p>
</div>
<button class="close-btn" @click="emit('close')">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
<!-- Amenities Chips -->
<div v-if="busStop" class="amenities-container">
<div v-if="busStop.has_shelter" class="amenity-chip" title="Shelter available">
<span class="material-icons md-16">roofing</span>
<span class="material-icons md-16 notranslate" translate="no">roofing</span>
<span>Cubierta</span>
</div>
<div v-if="busStop.has_seating" class="amenity-chip" title="Seating available">
<span class="material-icons md-16">event_seat</span>
<span class="material-icons md-16 notranslate" translate="no">event_seat</span>
<span>Asientos</span>
</div>
<div v-if="busStop.is_accessible" class="amenity-chip" title="Wheelchair accessible">
<span class="material-icons md-16">accessible</span>
<span class="material-icons md-16 notranslate" translate="no">accessible</span>
<span>Accesible</span>
</div>
</div>
@ -121,13 +121,13 @@ watch(() => props.isOpen, async (isOpen) => {
<div class="arrivals-header">
<h4 class="section-title">Próximos Buses</h4>
<div v-if="!isLoading" class="gps-badge" :class="hasGps ? 'gps-on' : 'gps-off'">
<span class="material-icons md-16">{{ hasGps ? 'gps_fixed' : 'gps_off' }}</span>
<span class="material-icons md-16 notranslate" translate="no">{{ hasGps ? 'gps_fixed' : 'gps_off' }}</span>
<span>{{ hasGps ? 'Tiempo real' : 'Horario' }}</span>
</div>
</div>
<div v-if="isLoading" class="loading-state">
<span class="material-icons spin">refresh</span>
<span class="material-icons spin notranslate" translate="no">refresh</span>
<p>Obteniendo horarios...</p>
</div>
@ -139,7 +139,7 @@ watch(() => props.isOpen, async (isOpen) => {
:style="{ animationDelay: `${index * 0.07}s` }"
>
<div class="route-info">
<span class="material-icons bus-icon">directions_bus</span>
<span class="material-icons bus-icon notranslate" translate="no">directions_bus</span>
<div class="route-texts">
<span class="route-name">{{ arrival.routeName }}</span>
<span class="departure-hint">Sale: {{ formatTo12Hour(arrival.departureTime) }}</span>
@ -162,7 +162,7 @@ watch(() => props.isOpen, async (isOpen) => {
</div>
<div v-else class="empty-state">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
<p>Sin servicio disponible en este momento</p>
<span class="empty-hint">Prueba más tarde o revisa el horario completo</span>
</div>
@ -171,11 +171,11 @@ watch(() => props.isOpen, async (isOpen) => {
<!-- Footer / Actions -->
<div class="modal-footer">
<button class="action-btn secondary" @click="startInternalNavigation">
<span class="material-icons md-18">navigation</span>
<span class="material-icons md-18 notranslate" translate="no">navigation</span>
Cómo llegar
</button>
<button class="action-btn primary" @click="loadArrivals">
<span class="material-icons md-18">refresh</span>
<span class="material-icons md-18 notranslate" translate="no">refresh</span>
Actualizar
</button>
</div>

View File

@ -5,7 +5,7 @@
@click.stop="handleToggle"
:title="isFavorited ? 'Quitar de favoritos' : 'Agregar a favoritos'"
>
<span class="material-icons heart-icon">
<span class="material-icons heart-icon notranslate" translate="no">
{{ isFavorited ? 'favorite' : 'favorite_border' }}
</span>
</button>

View File

@ -4,11 +4,11 @@
<div class="modal-container glass-effect">
<div class="modal-header">
<div class="title-with-icon">
<span class="material-icons report-icon">report_problem</span>
<span class="material-icons report-icon notranslate" translate="no">report_problem</span>
<h2>{{ t('report.title') }}</h2>
</div>
<button class="close-btn" @click="close">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>

View File

@ -58,7 +58,7 @@ const handleLogin = async () => {
<div class="field-container">
<label>{{ t('auth.emailLabel') }}</label>
<div class="input-inner">
<span class="material-icons i-icon">mail_outline</span>
<span class="material-icons i-icon notranslate" translate="no">mail_outline</span>
<input
v-model="email"
type="email"
@ -73,7 +73,7 @@ const handleLogin = async () => {
<label>{{ t('auth.passLabel') }}</label>
</div>
<div class="input-inner">
<span class="material-icons i-icon">lock_outline</span>
<span class="material-icons i-icon notranslate" translate="no">lock_outline</span>
<input
v-model="password"
:type="showPassword ? 'text' : 'password'"
@ -81,7 +81,7 @@ const handleLogin = async () => {
required
/>
<button type="button" class="eye-btn" @click="showPassword = !showPassword">
<span class="material-icons">{{ showPassword ? 'visibility_off' : 'visibility' }}</span>
<span class="material-icons notranslate" translate="no">{{ showPassword ? 'visibility_off' : 'visibility' }}</span>
</button>
</div>
</div>
@ -98,7 +98,7 @@ const handleLogin = async () => {
<!-- Error UI -->
<Transition name="shake">
<div v-if="errorMessage" class="error-toast">
<span class="material-icons">warning_amber</span>
<span class="material-icons notranslate" translate="no">warning_amber</span>
<span>{{ errorMessage }}</span>
</div>
</Transition>
@ -106,7 +106,7 @@ const handleLogin = async () => {
<button type="submit" class="submit-action" :disabled="isLoading">
<span v-if="isLoading" class="loader-white"></span>
<span v-else>{{ t('auth.loginTab') }}</span>
<span v-if="!isLoading" class="material-icons">arrow_forward</span>
<span v-if="!isLoading" class="material-icons notranslate" translate="no">arrow_forward</span>
</button>
<div class="switch-footer">

View File

@ -58,7 +58,7 @@ const handleRegister = async () => {
<div class="register-form-content">
<div v-if="isSuccess" class="success-wrap">
<div class="glow-circle">
<span class="material-icons">check_circle</span>
<span class="material-icons notranslate" translate="no">check_circle</span>
</div>
<h2>¡Bienvenido!</h2>
<p>Tu cuenta ha sido creada exitosamente.</p>
@ -77,7 +77,7 @@ const handleRegister = async () => {
<div class="field-container">
<label>{{ t('auth.fullNameLabel') }}</label>
<div class="input-inner">
<span class="material-icons i-icon">badge</span>
<span class="material-icons i-icon notranslate" translate="no">badge</span>
<input
v-model="fullName"
type="text"
@ -90,7 +90,7 @@ const handleRegister = async () => {
<div class="field-container">
<label>{{ t('auth.emailLabel') }}</label>
<div class="input-inner">
<span class="material-icons i-icon">mail_outline</span>
<span class="material-icons i-icon notranslate" translate="no">mail_outline</span>
<input
v-model="email"
type="email"
@ -103,7 +103,7 @@ const handleRegister = async () => {
<div class="field-container">
<label>{{ t('auth.passLabel') }}</label>
<div class="input-inner">
<span class="material-icons i-icon">lock_outline</span>
<span class="material-icons i-icon notranslate" translate="no">lock_outline</span>
<input
v-model="password"
:type="showPassword ? 'text' : 'password'"
@ -112,7 +112,7 @@ const handleRegister = async () => {
minlength="8"
/>
<button type="button" class="eye-btn" @click="showPassword = !showPassword">
<span class="material-icons">{{ showPassword ? 'visibility_off' : 'visibility' }}</span>
<span class="material-icons notranslate" translate="no">{{ showPassword ? 'visibility_off' : 'visibility' }}</span>
</button>
</div>
</div>
@ -129,7 +129,7 @@ const handleRegister = async () => {
<!-- Error UI -->
<Transition name="shake">
<div v-if="errorMessage" class="error-toast">
<span class="material-icons">warning_amber</span>
<span class="material-icons notranslate" translate="no">warning_amber</span>
<span>{{ errorMessage }}</span>
</div>
</Transition>
@ -137,7 +137,7 @@ const handleRegister = async () => {
<button type="submit" class="submit-action" :disabled="isLoading">
<span v-if="isLoading" class="loader-white"></span>
<span v-else>{{ t('auth.registerTab') }}</span>
<span v-if="!isLoading" class="material-icons">person_add_alt</span>
<span v-if="!isLoading" class="material-icons notranslate" translate="no">person_add_alt</span>
</button>
<div class="switch-footer">

View File

@ -48,7 +48,7 @@ function goToLogin() {
>
<div class="auth-card glass-effect">
<div class="auth-icon-circle">
<span class="material-icons">lock</span>
<span class="material-icons notranslate" translate="no">lock</span>
</div>
<h3 class="auth-title">{{ props.title }}</h3>
@ -56,7 +56,7 @@ function goToLogin() {
<div class="auth-actions">
<button class="primary-btn" @click="goToRegister">
<span class="material-icons">person_add</span>
<span class="material-icons notranslate" translate="no">person_add</span>
{{ props.actionLabel }}
</button>
<button class="secondary-btn" @click="goToLogin">

View File

@ -17,7 +17,7 @@ defineProps({
<div class="loading-branded-container">
<div class="loading-pulse-ring">
<div class="loading-icon-wrap">
<span class="material-icons loading-icon">{{ icon }}</span>
<span class="material-icons loading-icon notranslate" translate="no">{{ icon }}</span>
</div>
</div>
<div class="loading-text-wrap">

View File

@ -8,7 +8,7 @@ defineProps<{
<div class="offers-container" :class="{ 'is-close': isClose }">
<div class="loader">
<div class="box">
<span class="material-icons offer-icon">{{ isClose ? 'close' : 'local_offer' }}</span>
<span class="material-icons offer-icon notranslate" translate="no">{{ isClose ? 'close' : 'local_offer' }}</span>
</div>
<!-- Anillos de energía flotantes -->
<div class="energy-ring"></div>

View File

@ -6,7 +6,7 @@
@click="$emit('click')"
>
<div class="banner-icon-bg">
<span class="material-icons text-white text-[16px]">directions_bus</span>
<span class="material-icons text-white text-[16px] notranslate" translate="no">directions_bus</span>
</div>
<div class="flex flex-col flex-1 truncate ml-2" style="min-width: 0;">
@ -32,7 +32,7 @@
@click.stop="$emit('close')"
class="ml-2 shrink-0 flex items-center gap-1 px-2.5 py-1 rounded-full bg-red-50 dark:bg-red-900/30 text-red-500 dark:text-red-400 text-[11px] font-bold hover:bg-red-100 dark:hover:bg-red-900/50 transition-colors"
>
<span class="material-icons" style="font-size:14px">close</span>
<span class="material-icons notranslate" style="font-size:14px" translate="no">close</span>
Cerrar ruta
</button>
</div>

View File

@ -33,7 +33,7 @@
@click="showTooltip = !showTooltip"
class="flex items-center justify-center w-8 h-8 rounded-full bg-gray-100 dark:bg-gray-800 text-gray-500 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors"
>
<span class="material-icons text-xl">info</span>
<span class="material-icons text-xl notranslate" translate="no">info</span>
</button>
<!-- Contenido del Tooltip -->
@ -43,7 +43,7 @@
class="absolute top-10 right-0 w-64 p-4 bg-gray-900/95 dark:bg-white/95 text-white dark:text-gray-900 rounded-2xl shadow-2xl backdrop-blur-sm text-[11px] leading-relaxed border border-white/20 dark:border-gray-200 pointer-events-auto"
>
<div class="flex items-start gap-2 mb-2">
<span class="material-icons text-yellow-400 text-sm">warning</span>
<span class="material-icons text-yellow-400 text-sm notranslate" translate="no">warning</span>
<span class="font-bold uppercase tracking-wider text-[10px]">Información de horarios</span>
</div>
<p class="opacity-90">
@ -61,7 +61,7 @@
<!-- Cabecera de la parada -->
<div v-if="stopName && !isLoading" class="mt-4 flex items-start gap-4 pb-4 border-b border-gray-100 dark:border-gray-800">
<div class="bg-blue-100 dark:bg-blue-900/40 p-3 rounded-2xl flex-shrink-0">
<span class="material-icons text-blue-600 dark:text-blue-400 text-3xl">place</span>
<span class="material-icons text-blue-600 dark:text-blue-400 text-3xl notranslate" translate="no">place</span>
</div>
<div class="flex-1">
<h3 class="text-sm font-bold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-1">Tu parada asignada</h3>
@ -69,7 +69,7 @@
{{ stopName }}
</h2>
<div class="flex items-center gap-2 mt-2 text-sm text-gray-600 dark:text-gray-300 font-medium">
<span class="material-icons text-sm text-gray-400">directions_walk</span>
<span class="material-icons text-sm text-gray-400 notranslate" translate="no">directions_walk</span>
A {{ Math.round(walkDuration / 60) }} min caminando
<span class="text-gray-300 dark:text-gray-600"></span>
{{ Math.round(walkDistance) }} metros
@ -89,7 +89,7 @@
<!-- Sin servicio -->
<div v-else-if="buses.length === 0" class="p-6 text-center">
<span class="material-icons text-4xl text-gray-300 mb-2">event_busy</span>
<span class="material-icons text-4xl text-gray-300 mb-2 notranslate" translate="no">event_busy</span>
<p class="text-gray-500 dark:text-gray-400 font-medium italic">
{{ t('schedules.noSchedules') }}
</p>
@ -116,7 +116,7 @@
'bg-gray-400 dark:bg-gray-600': bus.estado === 'pasó'
}"
>
<span class="material-icons text-[20px]">{{ bus.estado === 'pasó' ? 'history' : 'directions_bus' }}</span>
<span class="material-icons text-[20px] notranslate" translate="no">{{ bus.estado === 'pasó' ? 'history' : 'directions_bus' }}</span>
</div>
<div class="flex flex-col">
@ -125,7 +125,7 @@
</span>
<div class="flex flex-col gap-0">
<span class="text-[11px] font-semibold text-gray-500 dark:text-gray-400 flex items-center gap-1">
<span class="material-icons" style="font-size: 12px">schedule</span>
<span class="material-icons notranslate" style="font-size: 12px" translate="no">schedule</span>
{{ (bus.estado === 'en_camino' || bus.estado === 'pasó') ? 'Salió' : 'Sale' }} {{ bus.hora_salida }}
</span>
<span class="text-[10px] font-medium text-gray-500 dark:text-gray-400 pl-4">

View File

@ -7,7 +7,7 @@
<span class="sheet-title">Actividades </span>
</div>
<button class="sheet-close" @click="$emit('close')">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
@ -18,7 +18,7 @@
>
<div class="sheet-card-area">
<button class="sheet-nav" @click="$emit('prev')" :disabled="coupons.length < 2">
<span class="material-icons">chevron_left</span>
<span class="material-icons notranslate" translate="no">chevron_left</span>
</button>
<Transition name="carousel-slide" mode="out-in">
@ -45,7 +45,7 @@
</Transition>
<button class="sheet-nav" @click="$emit('next')" :disabled="coupons.length < 2">
<span class="material-icons">chevron_right</span>
<span class="material-icons notranslate" translate="no">chevron_right</span>
</button>
</div>
</AuthGuard>

View File

@ -9,7 +9,7 @@
@click="$emit('open')"
:title="t('map.search')"
>
<span class="material-icons">search</span>
<span class="material-icons notranslate" translate="no">search</span>
</div>
<!-- Normal Trigger -->
@ -18,7 +18,7 @@
class="uber-search-trigger-compact"
@click="$emit('open')"
>
<span class="material-icons search-icon">directions_bus</span>
<span class="material-icons search-icon notranslate" translate="no">directions_bus</span>
<span class="trigger-label">{{ t('map.viewRoutes') }}</span>
</div>
@ -31,13 +31,13 @@
<div v-if="showPanel" class="uber-search-panel">
<div class="uber-search-header">
<button class="back-btn" @click="$emit('close')">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
</button>
<div class="search-title">{{ t('map.availableRoutes') }}</div>
</div>
<!-- Search Input -->
<div class="search-input-wrapper">
<span class="material-icons search-field-icon">search</span>
<span class="material-icons search-field-icon notranslate" translate="no">search</span>
<input
v-model="searchQuery"
type="text"
@ -57,13 +57,13 @@
@click="$emit('select-route', route)"
>
<div class="result-icon">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
</div>
<div class="result-content">
<div class="result-name">{{ route.name }}</div>
<div class="result-address">{{ t('map.busRoute') }}</div>
</div>
<span class="material-icons check-icon">
<span class="material-icons check-icon notranslate" translate="no">
{{ route.id === selectedRouteId ? 'check_circle' : 'chevron_right' }}
</span>
</div>

View File

@ -4,7 +4,7 @@
<button class="back-link" @click="router.push('/admin')">&larr; Volver al Panel</button>
<h1>Gestionar Paradas</h1>
<button class="add-button" @click="openCreate">
<span class="material-icons">add</span> Nueva Parada
<span class="material-icons notranslate" translate="no">add</span> Nueva Parada
</button>
</div>
@ -24,10 +24,10 @@
</div>
<div class="stop-actions">
<button class="icon-btn edit" @click="openEdit(stop)">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="icon-btn delete" @click="confirmDelete(stop)">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</div>

View File

@ -204,7 +204,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
<div class="admin-editor-view">
<div class="nexus-admin-header">
<button class="back-btn" @click="router.back()">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
</button>
<h1>{{ isEditing ? 'Editar Actividad' : 'Nueva Actividad' }}</h1>
</div>
@ -213,7 +213,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
<!-- FORM PANEL -->
<section class="form-panel nexus-glass">
<div class="section-title">
<span class="material-icons">storefront</span>
<span class="material-icons notranslate" translate="no">storefront</span>
<h2>Datos de la Actividad</h2>
</div>
@ -228,7 +228,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
<div class="file-upload-wrapper">
<input type="file" @change="handleImageChange" accept="image/*" id="file-input">
<label for="file-input" class="file-label">
<span class="material-icons">cloud_upload</span>
<span class="material-icons notranslate" translate="no">cloud_upload</span>
{{ selectedFileName || 'SELECCIONAR FOTO' }}
</label>
</div>
@ -360,7 +360,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
@change="handleGalleryFiles"
>
<label for="gallery-input" class="gallery-upload-label">
<span class="material-icons" style="font-size:36px">add_photo_alternate</span>
<span class="material-icons notranslate" style="font-size:36px" translate="no">add_photo_alternate</span>
<span>Agregar fotos a la galería</span>
<span style="font-size:0.75rem; color: #fee715; margin-top: 4px;">
💡 <strong>Mejor visual:</strong> Usa formato horizontal / apaisado (16:9) como <strong>1200x675px</strong>.
@ -378,7 +378,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
>
<img :src="src" alt="Foto galeria" />
<button class="thumb-remove" @click="removeGalleryItem(idx)" type="button">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
</div>
@ -386,7 +386,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
</div>
<button class="deploy-btn" :disabled="isLoading" @click="saveBusiness">
<span class="material-icons">{{ isLoading ? 'sync' : 'save' }}</span>
<span class="material-icons notranslate" translate="no">{{ isLoading ? 'sync' : 'save' }}</span>
{{ isLoading ? 'GUARDANDO...' : 'GUARDAR ACTIVIDAD' }}
</button>
@ -397,7 +397,7 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
<!-- PREVIEW PANEL -->
<section class="preview-panel">
<div class="section-title white">
<span class="material-icons">visibility</span>
<span class="material-icons notranslate" translate="no">visibility</span>
<h2>Visualización en App</h2>
</div>
@ -418,9 +418,9 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
</section>
<div class="pills-row-preview">
<div class="pill" v-if="businessForm.area"><span class="material-icons">location_on</span> {{ businessForm.area }}</div>
<div class="pill" v-if="businessForm.schedule"><span class="material-icons">schedule</span> {{ businessForm.schedule }}</div>
<div class="pill" v-if="businessForm.phone"><span class="material-icons">phone</span> {{ businessForm.phone }}</div>
<div class="pill" v-if="businessForm.area"><span class="material-icons notranslate" translate="no">location_on</span> {{ businessForm.area }}</div>
<div class="pill" v-if="businessForm.schedule"><span class="material-icons notranslate" translate="no">schedule</span> {{ businessForm.schedule }}</div>
<div class="pill" v-if="businessForm.phone"><span class="material-icons notranslate" translate="no">phone</span> {{ businessForm.phone }}</div>
</div>
<section class="biz-section">
@ -458,17 +458,17 @@ const catEmoji = computed(() => CATEGORY_EMOJI[businessForm.value.category || ''
<!-- Social links -->
<div class="social-links mt-4">
<button class="social-btn social-wa" v-if="businessForm.whatsapp">
<span class="material-icons">chat</span> WhatsApp
<span class="material-icons notranslate" translate="no">chat</span> WhatsApp
</button>
<button class="social-btn social-ig" v-if="businessForm.instagram">
<span class="material-icons">photo_camera</span> Instagram
<span class="material-icons notranslate" translate="no">photo_camera</span> Instagram
</button>
</div>
</section>
<!-- Sticky CTA -->
<div class="cta-bar">
<button class="cta-map"><span class="material-icons">near_me</span> Ver en el Mapa</button>
<button class="cta-map"><span class="material-icons notranslate" translate="no">near_me</span> Ver en el Mapa</button>
</div>
</div>
</div>

View File

@ -5,7 +5,7 @@
<h1>Gestión de Taxis</h1>
<div class="header-actions">
<button class="btn-primary" @click="openRegisterModal">
<span class="material-icons">add</span>
<span class="material-icons notranslate" translate="no">add</span>
Nuevo Taxi
</button>
</div>
@ -20,7 +20,7 @@
<div class="card-header">
<div class="avatar">
<AppImage v-if="taxi.image_url" :src="taxi.image_url" type="taxi" alt="Taxi" />
<span v-else class="material-icons">local_taxi</span>
<span v-else class="material-icons notranslate" translate="no">local_taxi</span>
</div>
<div class="info">
<h3>{{ taxi.owner_name }}</h3>
@ -49,17 +49,17 @@
</div>
<div class="card-actions">
<button class="btn-icon" @click.stop="editTaxi(taxi)" title="Editar">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="btn-icon delete" @click.stop="deleteTaxi(taxi)" title="Eliminar">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</div>
</div>
</div>
<div v-else class="empty-state">
<span class="material-icons">local_taxi</span>
<span class="material-icons notranslate" translate="no">local_taxi</span>
<p>No hay taxis en el directorio</p>
</div>
</div>

View File

@ -10,19 +10,19 @@
<!-- Sector: Inteligencia y Control -->
<section class="admin-section">
<div class="section-header">
<span class="material-icons">insights</span>
<span class="material-icons notranslate" translate="no">insights</span>
<h2>Inteligencia y Control</h2>
</div>
<div class="category-grid">
<div class="action-card" @click="router.push('/admin/analytics')">
<div class="card-icon"><span class="material-icons">analytics</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">analytics</span></div>
<div class="card-content">
<h3>Análisis</h3>
<p>Métricas en tiempo real.</p>
</div>
</div>
<div class="action-card" @click="router.push('/admin/reports')">
<div class="card-icon"><span class="material-icons">report_problem</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">report_problem</span></div>
<div class="card-content">
<h3>Reportes</h3>
<p>Incidencias de usuarios.</p>
@ -34,26 +34,26 @@
<!-- Sector: Infraestructura de Transporte -->
<section class="admin-section">
<div class="section-header">
<span class="material-icons">settings_input_component</span>
<span class="material-icons notranslate" translate="no">settings_input_component</span>
<h2>Infraestructura</h2>
</div>
<div class="category-grid">
<div class="action-card" @click="router.push('/admin/routes')">
<div class="card-icon"><span class="material-icons">navigation</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">navigation</span></div>
<div class="card-content">
<h3>Rutas</h3>
<p>Gestión de trayectos.</p>
</div>
</div>
<div class="action-card" @click="router.push('/admin/bus-stops')">
<div class="card-icon"><span class="material-icons">location_on</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">location_on</span></div>
<div class="card-content">
<h3>Paradas</h3>
<p>Puntos de abordaje.</p>
</div>
</div>
<div class="action-card" @click="router.push('/admin/schedules')">
<div class="card-icon"><span class="material-icons">schedule</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">schedule</span></div>
<div class="card-content">
<h3>Horarios</h3>
<p>Frecuencias y salidas.</p>
@ -65,12 +65,12 @@
<!-- Sector: Flota y Servicios -->
<section class="admin-section">
<div class="section-header">
<span class="material-icons">delivery_dining</span>
<span class="material-icons notranslate" translate="no">delivery_dining</span>
<h2>Flota y Servicios</h2>
</div>
<div class="category-grid">
<div class="action-card" @click="router.push('/admin/shuttles')">
<div class="card-icon"><span class="material-icons">airport_shuttle</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">airport_shuttle</span></div>
<div class="card-content">
<h3>Shuttles</h3>
<p>Viajes turísticos.</p>
@ -78,7 +78,7 @@
</div>
<div class="action-card" @click="router.push('/admin/drivers')">
<div class="card-icon"><span class="material-icons">badge</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">badge</span></div>
<div class="card-content">
<h3>Conductores</h3>
<p>Gestión de personal.</p>
@ -90,19 +90,19 @@
<!-- Sector: Comercial -->
<section class="admin-section">
<div class="section-header">
<span class="material-icons">hub</span>
<span class="material-icons notranslate" translate="no">hub</span>
<h2>Ecosistema Comercial</h2>
</div>
<div class="category-grid">
<div class="action-card promoter-card" @click="router.push('/promoter')">
<div class="card-icon"><span class="material-icons">storefront</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">storefront</span></div>
<div class="card-content">
<h3>Negocios</h3>
<p>Promos y locales.</p>
</div>
</div>
<div class="action-card promoter-card" @click="router.push('/promoter')">
<div class="card-icon"><span class="material-icons">local_activity</span></div>
<div class="card-icon"><span class="material-icons notranslate" translate="no">local_activity</span></div>
<div class="card-content">
<h3>Actividades</h3>
<p>Experiencias y tours.</p>

View File

@ -2,7 +2,7 @@
<div class="admin-reports">
<div class="header">
<button class="back-link" @click="$router.push('/admin')">
<span class="material-icons">arrow_back</span> Volver al Panel
<span class="material-icons notranslate" translate="no">arrow_back</span> Volver al Panel
</button>
<h1>Reportes de Usuarios</h1>
</div>
@ -27,7 +27,7 @@
<div v-for="report in sortedReports" :key="report.id" class="report-card" :class="report.status">
<div class="report-header">
<div class="user-info">
<span class="material-icons">account_circle</span>
<span class="material-icons notranslate" translate="no">account_circle</span>
<div>
<h3>{{ report.user_name || 'Usuario Anónimo' }}</h3>
<span class="date">{{ formatDate(report.created_at) }}</span>
@ -48,14 +48,14 @@
@click="handleUpdateStatus(report.id, 'resolved')"
class="btn-resolve"
>
<span class="material-icons">check_circle</span> Marcar como Resuelto
<span class="material-icons notranslate" translate="no">check_circle</span> Marcar como Resuelto
</button>
<button
v-else-if="report.status === 'resolved'"
@click="handleUpdateStatus(report.id, 'archived')"
class="btn-archive"
>
<span class="material-icons">archive</span> Archivar
<span class="material-icons notranslate" translate="no">archive</span> Archivar
</button>
</div>
</div>
@ -63,7 +63,7 @@
</div>
<div v-else class="no-results">
<span class="material-icons">info</span>
<span class="material-icons notranslate" translate="no">info</span>
<p>No hay reportes nuevos en este momento.</p>
</div>
</div>

View File

@ -4,7 +4,7 @@
<button class="back-link" @click="handleBack">&larr; Volver</button>
<h1>Gestión de Rutas</h1>
<button v-if="!selectedRoute" class="add-button" @click="createRoute">
<span class="material-icons">add</span> Nueva Ruta
<span class="material-icons notranslate" translate="no">add</span> Nueva Ruta
</button>
</div>
@ -13,7 +13,7 @@
<div v-if="selectedRoute" class="map-container">
<div id="route-map" class="route-map"></div>
<div class="map-hint">
<span class="material-icons">info</span>
<span class="material-icons notranslate" translate="no">info</span>
Haz clic en el mapa para crear una nueva parada en las coordenadas seleccionadas. Puedes añadir paradas registradas desde la lista a la derecha.
</div>
</div>
@ -25,7 +25,7 @@
<!-- Create Form (Simplified) -->
<div v-if="isCreating" class="create-route-form nexus-glass">
<div class="form-header">
<span class="material-icons">route</span>
<span class="material-icons notranslate" translate="no">route</span>
<h3>Nueva Ruta</h3>
</div>
@ -47,7 +47,7 @@
<div class="form-footer">
<button class="cancel-btn" @click="isCreating = false">Cancelar</button>
<button class="save-btn" :disabled="!isFormValid" @click="confirmCreateRoute">
<span class="material-icons">save</span> Guardar Ruta
<span class="material-icons notranslate" translate="no">save</span> Guardar Ruta
</button>
</div>
</div>
@ -59,7 +59,7 @@
<p>{{ route.origin_city }} &rarr; {{ route.destination_city }}</p>
<div class="status" :class="route.status">{{ translateStatus(route.status) }}</div>
</div>
<span class="material-icons">chevron_right</span>
<span class="material-icons notranslate" translate="no">chevron_right</span>
</div>
<div v-if="routes.length === 0 && !isCreating" class="empty-state">No hay rutas registradas.</div>
</div>
@ -112,7 +112,7 @@
<div class="origin-dest-row">
<div class="form-group origin-stop-group">
<label>
<span class="material-icons md-16">trip_origin</span>
<span class="material-icons md-16 notranslate" translate="no">trip_origin</span>
Parada de Inicio (donde sale el bus)
</label>
<select v-model="selectedRoute.origin_stop_id" @change="updateRouteDetails">
@ -124,7 +124,7 @@
</div>
<div class="form-group dest-stop-group">
<label>
<span class="material-icons md-16">place</span>
<span class="material-icons md-16 notranslate" translate="no">place</span>
Parada de Fin (destino final)
</label>
<select v-model="selectedRoute.destination_stop_id" @change="updateRouteDetails">
@ -176,13 +176,13 @@
</div>
<div class="stop-controls">
<button class="move-btn" @click="moveStop(stop, index, -1)" :disabled="index === 0">
<span class="material-icons">expand_less</span>
<span class="material-icons notranslate" translate="no">expand_less</span>
</button>
<button class="move-btn" @click="moveStop(stop, index, 1)" :disabled="index === routeStops.length - 1">
<span class="material-icons">expand_more</span>
<span class="material-icons notranslate" translate="no">expand_more</span>
</button>
<button class="remove-btn" @click="removeStop(stop)">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
</div>

View File

@ -3,7 +3,7 @@
<div class="glass-container">
<div class="header">
<button class="back-link" @click="router.push('/admin')">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
Volver al Panel
</button>
<h1 class="premium-title">Gestión de Horarios</h1>
@ -12,7 +12,7 @@
<!-- Route Selection -->
<div class="selection-card glass-morphism">
<div class="input-w-icon">
<span class="material-icons">route</span>
<span class="material-icons notranslate" translate="no">route</span>
<select v-model="selectedRouteId" @change="loadSchedules" class="premium-select">
<option value="">-- Selecciona una ruta para gestionar --</option>
<option v-for="route in routes" :key="route.id" :value="route.id">
@ -26,7 +26,7 @@
<div class="actions-header">
<h2 class="section-title">Horarios Configurados</h2>
<button class="add-btn premium-btn" @click="showAddForm = true">
<span class="material-icons">add</span> Nuevo Horario
<span class="material-icons notranslate" translate="no">add</span> Nuevo Horario
</button>
</div>
@ -38,21 +38,21 @@
<div class="form-group">
<label>Hora de Salida</label>
<div class="input-wrapper">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
<input v-model="form.departure_time" type="time" required>
</div>
</div>
<div class="form-group">
<label>Frecuencia (min)</label>
<div class="input-wrapper">
<span class="material-icons">update</span>
<span class="material-icons notranslate" translate="no">update</span>
<input v-model.number="form.frequency_minutes" type="number" placeholder="30">
</div>
</div>
<div class="form-group">
<label>Tipo de Día</label>
<div class="input-wrapper">
<span class="material-icons">calendar_today</span>
<span class="material-icons notranslate" translate="no">calendar_today</span>
<select v-model="form.schedule_type">
<option value="weekday">Día de Semana</option>
<option value="weekend">Fin de Semana</option>
@ -83,11 +83,11 @@
<!-- Schedules List -->
<div class="schedules-list">
<div v-if="isLoadingSchedules" class="loader-container">
<span class="material-icons spin">refresh</span>
<span class="material-icons spin notranslate" translate="no">refresh</span>
<p>Cargando horarios...</p>
</div>
<div v-else-if="schedules.length === 0" class="empty-state glass-morphism">
<span class="material-icons">event_busy</span>
<span class="material-icons notranslate" translate="no">event_busy</span>
<p>No hay horarios configurados para esta ruta.</p>
</div>
<div v-else class="grid-container">
@ -111,10 +111,10 @@
</div>
<div class="action-buttons">
<button class="icon-btn edit-btn" @click="editSchedule(schedule)" title="Editar">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="icon-btn delete-btn" @click="handleDelete(schedule.id)" title="Eliminar">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</div>
@ -125,7 +125,7 @@
<div v-else class="no-selection-state">
<div class="icon-circle">
<span class="material-icons">list_alt</span>
<span class="material-icons notranslate" translate="no">list_alt</span>
</div>
<h3>Gestión de Despachos</h3>
<p>Selecciona una ruta del menú superior para administrar los horarios de salida y frecuencia.</p>

View File

@ -104,7 +104,7 @@ async function saveShuttle() {
<div class="admin-shuttles-view">
<div class="nexus-admin-header">
<button class="back-btn" @click="router.push('/admin')">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
</button>
<h1>Generador de Shuttles Turísticos</h1>
<div class="header-status">ID: SHUTTLE-MARK-I</div>
@ -114,7 +114,7 @@ async function saveShuttle() {
<!-- FORM PANEL -->
<section class="form-panel nexus-glass">
<div class="section-title">
<span class="material-icons">edit_note</span>
<span class="material-icons notranslate" translate="no">edit_note</span>
<h2>Datos del Servicio</h2>
</div>
@ -129,7 +129,7 @@ async function saveShuttle() {
<div class="file-upload-wrapper">
<input type="file" @change="handleImageChange" accept="image/*" id="file-input" />
<label for="file-input" class="file-label">
<span class="material-icons">cloud_upload</span>
<span class="material-icons notranslate" translate="no">cloud_upload</span>
{{ selectedFileName || 'SELECCIONAR IMAGEN' }}
</label>
<p class="upload-hint">Recomendado: 1200x900px (4:3)</p>
@ -211,7 +211,7 @@ async function saveShuttle() {
<div class="form-group">
<label class="toggle-container">
<div class="toggle-text">
<span class="material-icons">translate</span>
<span class="material-icons notranslate" translate="no">translate</span>
<span>¿Habla Inglés? (Bilingüe)</span>
</div>
<div class="nexus-switch">
@ -222,7 +222,7 @@ async function saveShuttle() {
</div>
<button class="deploy-btn" :disabled="isLoading" @click="saveShuttle">
<span class="material-icons">{{ isLoading ? 'sync' : 'rocket_launch' }}</span>
<span class="material-icons notranslate" translate="no">{{ isLoading ? 'sync' : 'rocket_launch' }}</span>
{{ isLoading ? 'PROCESANDO...' : 'PUBLICAR EN SIB' }}
</button>
@ -233,7 +233,7 @@ async function saveShuttle() {
<!-- PREVIEW PANEL -->
<section class="preview-panel">
<div class="section-title white">
<span class="material-icons">visibility</span>
<span class="material-icons notranslate" translate="no">visibility</span>
<h2>Previsualización en Directo</h2>
</div>
@ -244,7 +244,7 @@ async function saveShuttle() {
<div class="shuttle-main-info">
<div class="shuttle-header-mini">
<div class="company-badge">
<span class="material-icons">business</span>
<span class="material-icons notranslate" translate="no">business</span>
{{ shuttleForm.company_name }}
</div>
<div class="price-pill">
@ -256,17 +256,17 @@ async function saveShuttle() {
<div class="shuttle-route-compact">
<span class="route-text">{{ shuttleForm.origin }}</span>
<span class="material-icons route-arrow">arrow_forward</span>
<span class="material-icons route-arrow notranslate" translate="no">arrow_forward</span>
<span class="route-text">{{ shuttleForm.destination }}</span>
</div>
<div class="shuttle-tags">
<div class="vehicle-tag-mini">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
{{ shuttleForm.vehicle_type }}
</div>
<div class="expand-indicator">
<span class="material-icons">expand_less</span>
<span class="material-icons notranslate" translate="no">expand_less</span>
</div>
</div>
</div>
@ -277,21 +277,21 @@ async function saveShuttle() {
<div class="shuttle-body">
<div class="info-row">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
<div>
<p class="label">DURACIÓN ESTIMADA</p>
<p class="value">{{ shuttleForm.estimated_duration }}</p>
</div>
</div>
<div class="info-row">
<span class="material-icons">event</span>
<span class="material-icons notranslate" translate="no">event</span>
<div>
<p class="label">SALIDAS</p>
<p class="value">{{ shuttleForm.departure_times }}</p>
</div>
</div>
<div class="info-row" v-if="shuttleForm.english_speaking">
<span class="material-icons">g_translate</span>
<span class="material-icons notranslate" translate="no">g_translate</span>
<div>
<p class="label">IDIOMA</p>
<p class="value">Español · English</p>
@ -311,7 +311,7 @@ async function saveShuttle() {
<span class="price-label-big">por persona</span>
</div>
<div class="price-row-secondary" v-if="shuttleForm.price_private_trip">
<span class="material-icons price-icon-secondary">directions_car</span>
<span class="material-icons price-icon-secondary notranslate" translate="no">directions_car</span>
<span class="price-amount-secondary">${{ shuttleForm.price_private_trip }}</span>
<span class="price-label-secondary">viaje privado</span>
</div>
@ -320,7 +320,7 @@ async function saveShuttle() {
<!-- Botones de contacto -->
<div class="contact-buttons-preview">
<button class="btn-whatsapp-preview">
<span class="material-icons">chat</span>
<span class="material-icons notranslate" translate="no">chat</span>
WhatsApp
</button>
</div>

View File

@ -37,7 +37,7 @@ const toggleAuth = () => {
<!-- Top Navigation -->
<nav class="auth-nav">
<button @click="router.push('/map')" class="glass-btn back-btn">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
<span>{{ t('auth.back') }}</span>
</button>
</nav>
@ -50,15 +50,15 @@ const toggleAuth = () => {
<p class="brand-tagline">{{ t('auth.brandingSubtitle') }}</p>
<div class="brand-features">
<div class="feature-item">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
<span>Rutas en tiempo real</span>
</div>
<div class="feature-item">
<span class="material-icons">payments</span>
<span class="material-icons notranslate" translate="no">payments</span>
<span>Ofertas exclusivas</span>
</div>
<div class="feature-item">
<span class="material-icons">location_on</span>
<span class="material-icons notranslate" translate="no">location_on</span>
<span>Paradas inteligentes</span>
</div>
</div>

View File

@ -169,11 +169,11 @@ const hasSocials = computed(() =>
<!-- ERROR -->
<div v-else-if="fetchError" class="state-full">
<span class="material-icons state-icon">wifi_off</span>
<span class="material-icons state-icon notranslate" translate="no">wifi_off</span>
<h3 class="state-title">{{ t('business.offlineTitle') }}</h3>
<p class="state-sub">{{ t('business.offlineDesc') }}</p>
<button class="btn-retry" @click="fetchData">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.retry') }}
</button>
</div>
@ -196,7 +196,7 @@ const hasSocials = computed(() =>
<!-- Top controls -->
<button class="hero-btn hero-back" @click="goBack" :aria-label="t('common.back')">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
</button>
<div class="hero-fav">
<FavoriteButton
@ -238,7 +238,7 @@ const hasSocials = computed(() =>
:target="pill.href ? '_blank' : undefined"
:rel="pill.href ? 'noopener noreferrer' : undefined"
>
<span class="material-icons pill-icon">{{ pill.icon }}</span>
<span class="material-icons pill-icon notranslate" translate="no">{{ pill.icon }}</span>
<span class="pill-text">{{ pill.text }}</span>
</a>
</div>
@ -275,10 +275,10 @@ const hasSocials = computed(() =>
<!-- Nav arrows (only if >1 image) -->
<template v-if="galleryImages.length > 1">
<button class="car-arrow car-arrow-left" @click="prevSlide" :aria-label="t('business.previous')">
<span class="material-icons">chevron_left</span>
<span class="material-icons notranslate" translate="no">chevron_left</span>
</button>
<button class="car-arrow car-arrow-right" @click="nextSlide" :aria-label="t('business.next')">
<span class="material-icons">chevron_right</span>
<span class="material-icons notranslate" translate="no">chevron_right</span>
</button>
<!-- Dots -->
@ -353,7 +353,7 @@ const hasSocials = computed(() =>
class="social-btn social-maps"
@click="openMaps"
>
<span class="material-icons social-maps-icon">place</span>
<span class="material-icons social-maps-icon notranslate" translate="no">place</span>
<span class="social-label">Google Maps</span>
</button>
@ -399,7 +399,7 @@ const hasSocials = computed(() =>
class="cta-map"
@click="openMaps"
>
<span class="material-icons">near_me</span>
<span class="material-icons notranslate" translate="no">near_me</span>
{{ t('business.viewMap') }}
</button>
<button
@ -407,7 +407,7 @@ const hasSocials = computed(() =>
class="cta-call"
@click="callPhone"
>
<span class="material-icons">phone</span>
<span class="material-icons notranslate" translate="no">phone</span>
{{ t('business.call') }}
</button>
</div>

View File

@ -83,10 +83,10 @@ function getCategoryIcon(category?: string | null) {
<div class="coupons-view">
<header class="mobile-header">
<button class="icon-btn-back" @click="$router.back()">
<span class="material-icons">arrow_back</span>
<span class="material-icons notranslate" translate="no">arrow_back</span>
</button>
<div class="header-center">
<span class="material-icons brand-icon">local_offer</span>
<span class="material-icons brand-icon notranslate" translate="no">local_offer</span>
<h1>{{ t('coupons.title') }}</h1>
</div>
<div class="header-right"></div>
@ -94,7 +94,7 @@ function getCategoryIcon(category?: string | null) {
<div class="search-section">
<div class="search-bar-rounded">
<span class="material-icons search-icon">search</span>
<span class="material-icons search-icon notranslate" translate="no">search</span>
<input
v-model="searchQuery"
type="text"
@ -103,7 +103,7 @@ function getCategoryIcon(category?: string | null) {
>
</div>
<button class="filter-btn-square" @click="showFilterSheet = true">
<span class="material-icons">tune</span>
<span class="material-icons notranslate" translate="no">tune</span>
</button>
</div>
@ -113,17 +113,17 @@ function getCategoryIcon(category?: string | null) {
</div>
<div v-if="couponStore.isLoading" class="loading-container">
<span class="material-icons spin">refresh</span>
<span class="material-icons spin notranslate" translate="no">refresh</span>
<p>{{ t('coupons.loadingCoupons') }}</p>
</div>
<div v-else-if="couponStore.error" class="error-container">
<span class="material-icons">error_outline</span>
<span class="material-icons notranslate" translate="no">error_outline</span>
<p>{{ t('common.error') }}: {{ couponStore.error }}</p>
</div>
<div v-else-if="filteredCoupons.length === 0" class="empty-container">
<span class="material-icons">search_off</span>
<span class="material-icons notranslate" translate="no">search_off</span>
<p>{{ t('coupons.noResults') }}</p>
</div>
@ -143,7 +143,7 @@ function getCategoryIcon(category?: string | null) {
<div class="offer-image-wrapper">
<AppImage :src="coupon.image_url" :alt="coupon.title" type="coupon" imgClass="offer-img" />
<div class="status-badge" :class="{ 'tmr': coupon.title.toLowerCase().includes('mañana') || (coupon.description?.toLowerCase().includes('mañana') ?? false) }">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
{{ coupon.title.toLowerCase().includes('mañana') ? t('coupons.tomorrow') : t('coupons.active') }}
</div>
<div class="favorite-button-wrapper">
@ -173,9 +173,9 @@ function getCategoryIcon(category?: string | null) {
</div>
<div class="sheet-body">
<div v-for="cat in CATEGORIES" :key="cat.value" class="filter-option" @click="selectedCategory = cat.value; showFilterSheet = false">
<span class="material-icons">{{ getCategoryIcon(cat.value) }}</span>
<span class="material-icons notranslate" translate="no">{{ getCategoryIcon(cat.value) }}</span>
<span>{{ cat.label }}</span>
<span v-if="selectedCategory === cat.value" class="material-icons check">check_circle</span>
<span v-if="selectedCategory === cat.value" class="material-icons check notranslate" translate="no">check_circle</span>
</div>
</div>
<div class="sheet-footer">
@ -192,7 +192,7 @@ function getCategoryIcon(category?: string | null) {
<div class="modal-header-new">
<h3>{{ t('coupons.offerDetails') }}</h3>
<button class="close-btn-round" @click="showRedeemModal = false">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
@ -205,13 +205,13 @@ function getCategoryIcon(category?: string | null) {
<h2 class="modal-business-title">{{ selectedCoupon.business?.name }}</h2>
<div class="benefit-highlight-box">
<span class="material-icons icon-label">local_offer</span>
<span class="material-icons icon-label notranslate" translate="no">local_offer</span>
<span>{{ selectedCoupon.title }}</span>
</div>
<div class="info-block">
<div class="block-header">
<span class="material-icons icon-desc">description</span>
<span class="material-icons icon-desc notranslate" translate="no">description</span>
<h4>{{ t('coupons.description') }}</h4>
</div>
<p class="block-text">{{ selectedCoupon.description || t('coupons.noDescription') }}</p>
@ -219,7 +219,7 @@ function getCategoryIcon(category?: string | null) {
<div class="info-block">
<div class="block-header">
<span class="material-icons icon-date">calendar_today</span>
<span class="material-icons icon-date notranslate" translate="no">calendar_today</span>
<h4>{{ t('coupons.validity') }}</h4>
</div>
<div class="validity-badge">
@ -229,7 +229,7 @@ function getCategoryIcon(category?: string | null) {
<div v-if="selectedCoupon.category" class="info-block">
<div class="block-header">
<span class="material-icons icon-cat">category</span>
<span class="material-icons icon-cat notranslate" translate="no">category</span>
<h4>{{ t('coupons.category') }}</h4>
</div>
<div class="category-badge-simple">
@ -241,7 +241,7 @@ function getCategoryIcon(category?: string | null) {
<div class="modal-footer-new">
<button class="location-btn-green" @click="handleDirections">
<span class="material-icons">place</span>
<span class="material-icons notranslate" translate="no">place</span>
{{ t('coupons.viewLocation') }}
</button>
</div>

View File

@ -163,7 +163,7 @@ function resetFilters() {
<!-- Búsqueda -->
<div class="search-wrap">
<span class="material-icons search-icon">search</span>
<span class="material-icons search-icon notranslate" translate="no">search</span>
<input
v-model="searchQuery"
type="text"
@ -171,7 +171,7 @@ function resetFilters() {
:placeholder="t('discover.searchPlaceholder')"
/>
<button v-if="searchQuery" class="search-clear" @click="searchQuery = ''">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
</header>
@ -181,24 +181,24 @@ function resetFilters() {
<div class="filters-row">
<!-- Filtro Categoría -->
<div class="filter-select-wrap">
<span class="material-icons filter-icon">category</span>
<span class="material-icons filter-icon notranslate" translate="no">category</span>
<select v-model="selectedCategory" class="filter-select">
<option v-for="cat in categories" :key="cat" :value="cat">
{{ catEmoji(cat) }} {{ catName(cat) }}
</option>
</select>
<span class="material-icons select-arrow">expand_more</span>
<span class="material-icons select-arrow notranslate" translate="no">expand_more</span>
</div>
<!-- Filtro Área -->
<div class="filter-select-wrap">
<span class="material-icons filter-icon">location_on</span>
<span class="material-icons filter-icon notranslate" translate="no">location_on</span>
<select v-model="selectedArea" class="filter-select">
<option v-for="area in areas" :key="area" :value="area">
{{ area === 'Todas' ? t('discover.allAreas') : area }}
</option>
</select>
<span class="material-icons select-arrow">expand_more</span>
<span class="material-icons select-arrow notranslate" translate="no">expand_more</span>
</div>
</div>
</div>
@ -209,10 +209,10 @@ function resetFilters() {
</div>
<div v-else-if="error" class="state-center">
<span class="material-icons error-icon">error_outline</span>
<span class="material-icons error-icon notranslate" translate="no">error_outline</span>
<p class="error-text">{{ error }}</p>
<button class="cta-btn" @click="loadBusinesses()">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.retry') }}
</button>
</div>
@ -227,7 +227,7 @@ function resetFilters() {
{{ t('discover.results', { count: filteredBusinesses.length }) }}
</span>
<button class="reset-btn" @click="resetFilters">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.clear') }}
</button>
</div>
@ -253,7 +253,7 @@ function resetFilters() {
</div>
<div v-else class="empty-state">
<span class="material-icons empty-icon">search_off</span>
<span class="material-icons empty-icon notranslate" translate="no">search_off</span>
<h2 class="empty-title">{{ t('discover.noResults') }}</h2>
<p class="empty-sub">{{ t('discover.noResultsDesc') }}</p>
</div>
@ -300,7 +300,7 @@ function resetFilters() {
</div>
<div v-if="businesses.length === 0" class="empty-state">
<span class="material-icons empty-icon">storefront</span>
<span class="material-icons empty-icon notranslate" translate="no">storefront</span>
<h2 class="empty-title">{{ t('discover.empty') }}</h2>
<p class="empty-sub">{{ t('discover.emptyDesc') }}</p>
</div>

View File

@ -10,7 +10,7 @@
<!-- Verification Status Banner -->
<div v-if="!isVerified" class="status-banner pending">
<span class="material-icons">hourglass_empty</span>
<span class="material-icons notranslate" translate="no">hourglass_empty</span>
<div class="banner-text">
<h3>Tu cuenta está pendiente de verificación</h3>
<p>Un administrador revisará tus documentos pronto. Mientras tanto, algunas funciones están limitadas.</p>
@ -18,7 +18,7 @@
</div>
<div v-else class="status-banner verified">
<span class="material-icons">verified</span>
<span class="material-icons notranslate" translate="no">verified</span>
<div class="banner-text">
<h3>Cuenta Verificada</h3>
<p>¡Felicidades! Tu cuenta está activa y puedes operar en el sistema.</p>
@ -62,12 +62,12 @@
:class="isInService ? 'service-btn stop' : 'service-btn start'"
:disabled="!isVerified || isLocating"
>
<span class="material-icons">{{ isInService ? 'location_off' : 'location_on' }}</span>
<span class="material-icons notranslate" translate="no">{{ isInService ? 'location_off' : 'location_on' }}</span>
{{ isInService ? 'Detener Servicio' : 'Iniciar Servicio' }}
</button>
<div v-if="isLocating" class="locating-spinner">
<span class="material-icons spin">refresh</span>
<span class="material-icons spin notranslate" translate="no">refresh</span>
Obteniendo ubicación...
</div>
</div>

View File

@ -104,7 +104,7 @@ const hasVisibleItems = computed(() =>
:class="{ 'chip--active': selectedFilter === f.key }"
@click="selectedFilter = f.key"
>
<span class="material-icons chip-icon">{{ f.icon }}</span>
<span class="material-icons chip-icon notranslate" translate="no">{{ f.icon }}</span>
{{ f.label }}
</button>
</div>
@ -129,14 +129,14 @@ const hasVisibleItems = computed(() =>
<h2 class="empty-title">{{ t('favorites.empty.title') }}</h2>
<p class="empty-sub">{{ t('favorites.empty.description') }}</p>
<button class="cta-btn" @click="router.push('/map')">
<span class="material-icons">explore</span>
<span class="material-icons notranslate" translate="no">explore</span>
{{ t('favorites.cta.exploreNow') }}
</button>
</div>
<!-- Empty de categoría -->
<div v-else-if="!hasVisibleItems" class="empty-state empty-state--sm">
<span class="material-icons empty-cat-icon">search_off</span>
<span class="material-icons empty-cat-icon notranslate" translate="no">search_off</span>
<p class="empty-sub">{{ t('favorites.empty.noResultsCategory') }}</p>
</div>
@ -146,7 +146,7 @@ const hasVisibleItems = computed(() =>
<!-- RUTAS -->
<section v-if="visibleRoutes.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
<span>{{ t('favorites.tabs.routes') }}</span>
</div>
<div class="card-list">
@ -157,14 +157,14 @@ const hasVisibleItems = computed(() =>
@click="navigateToItem(item)"
>
<div class="card-thumb card-thumb--yellow">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
</div>
<div class="card-info">
<p class="card-name">{{ item.item_name }}</p>
<p class="card-sub">{{ t('favorites.viewSchedules') }}</p>
</div>
<button class="heart-btn heart-btn--active" @click.stop="removeFavorite($event, item.item_type, item.item_id)" :title="t('favorites.removeTitle')">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
</div>
</div>
@ -173,7 +173,7 @@ const hasVisibleItems = computed(() =>
<!-- TAXIS -->
<section v-if="visibleTaxis.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">local_taxi</span>
<span class="material-icons notranslate" translate="no">local_taxi</span>
<span>{{ t('favorites.tabs.taxis') }}</span>
</div>
<div class="card-list">
@ -197,10 +197,10 @@ const hasVisibleItems = computed(() =>
@click.stop
title="Llamar ahora"
>
<span class="material-icons">phone_in_talk</span>
<span class="material-icons notranslate" translate="no">phone_in_talk</span>
</a>
<button class="heart-btn heart-btn--active" @click.stop="removeFavorite($event, item.item_type, item.item_id)" :title="t('favorites.removeTitle')">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
</div>
</div>
@ -209,7 +209,7 @@ const hasVisibleItems = computed(() =>
<!-- SHUTTLES -->
<section v-if="visibleShuttles.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">airport_shuttle</span>
<span class="material-icons notranslate" translate="no">airport_shuttle</span>
<span>Viajes Turísticos</span>
</div>
<div class="card-list">
@ -227,7 +227,7 @@ const hasVisibleItems = computed(() =>
<p class="card-sub">Ver detalles</p>
</div>
<button class="heart-btn heart-btn--active" @click.stop="removeFavorite($event, item.item_type, item.item_id)">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
</div>
</div>
@ -236,7 +236,7 @@ const hasVisibleItems = computed(() =>
<!-- NEGOCIOS -->
<section v-if="visibleBusinesses.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">store</span>
<span class="material-icons notranslate" translate="no">store</span>
<span>{{ t('favorites.tabs.businesses') }}</span>
</div>
<div class="biz-grid">
@ -249,7 +249,7 @@ const hasVisibleItems = computed(() =>
<div class="biz-img">
<AppImage :src="item.item_image" type="business" :alt="item.item_name" />
<button class="heart-btn heart-btn--active heart-btn--overlay" @click.stop="removeFavorite($event, item.item_type, item.item_id)">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
<span class="biz-badge">{{ t('favorites.tabs.businesses') }}</span>
</div>
@ -264,7 +264,7 @@ const hasVisibleItems = computed(() =>
<!-- EVENTOS / CUPONES -->
<section v-if="visibleCoupons.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">confirmation_number</span>
<span class="material-icons notranslate" translate="no">confirmation_number</span>
<span>{{ t('favorites.tabs.coupons') }}</span>
</div>
<div class="card-list">
@ -276,14 +276,14 @@ const hasVisibleItems = computed(() =>
>
<div class="card-thumb card-thumb--event">
<AppImage v-if="item.item_image" :src="item.item_image" type="coupon" class="thumb-img" />
<span v-else class="material-icons">local_activity</span>
<span v-else class="material-icons notranslate" translate="no">local_activity</span>
</div>
<div class="card-info">
<p class="card-name">{{ item.item_name }}</p>
<span class="badge-avail">{{ t('favorites.tabs.coupons') }}</span>
</div>
<button class="heart-btn heart-btn--active" @click.stop="removeFavorite($event, item.item_type, item.item_id)" :title="t('favorites.removeTitle')">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
</div>
</div>
@ -292,7 +292,7 @@ const hasVisibleItems = computed(() =>
<!-- PARADAS -->
<section v-if="visibleStops.length > 0" class="fav-section">
<div class="section-label">
<span class="material-icons">location_on</span>
<span class="material-icons notranslate" translate="no">location_on</span>
<span>{{ t('navigation.routes') }}</span>
</div>
<div class="card-list">
@ -303,14 +303,14 @@ const hasVisibleItems = computed(() =>
@click="navigateToItem(item)"
>
<div class="card-thumb card-thumb--blue">
<span class="material-icons">location_on</span>
<span class="material-icons notranslate" translate="no">location_on</span>
</div>
<div class="card-info">
<p class="card-name">{{ item.item_name }}</p>
<span class="badge-avail">{{ t('favorites.saved') }}</span>
</div>
<button class="heart-btn heart-btn--active" @click.stop="removeFavorite($event, item.item_type, item.item_id)">
<span class="material-icons">favorite</span>
<span class="material-icons notranslate" translate="no">favorite</span>
</button>
</div>
</div>

View File

@ -13,7 +13,7 @@
</button>
<button class="btn-glow" @click="launchApp">
<span>Abrir app</span>
<span class="material-icons">arrow_forward</span>
<span class="material-icons notranslate" translate="no">arrow_forward</span>
</button>
</div>
</div>
@ -45,11 +45,11 @@
<div class="hero__btns fade-in-up" style="animation-delay: 0.4s;">
<button class="btn-primary" @click="launchApp">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
Rastrear mi bus
</button>
<button class="btn-secondary" @click="scrollToInstall">
<span class="material-icons">help_outline</span>
<span class="material-icons notranslate" translate="no">help_outline</span>
Instalación
</button>
</div>
@ -62,7 +62,7 @@
<div class="feature-card reveal">
<div class="feature-card__icon-wrap cyan-glow">
<span class="material-icons feature-card__icon">my_location</span>
<span class="material-icons feature-card__icon notranslate" translate="no">my_location</span>
</div>
<h3 class="feature-card__title">Monitoreo Exacto</h3>
<p class="feature-card__desc">Conoce la ubicación exacta de cada unidad y el tiempo real que tardará en llegar a tu parada. Se acabaron las esperas a ciegas.</p>
@ -70,7 +70,7 @@
<div class="feature-card reveal" style="transition-delay: 0.1s;">
<div class="feature-card__icon-wrap yellow-glow">
<span class="material-icons feature-card__icon">local_offer</span>
<span class="material-icons feature-card__icon notranslate" translate="no">local_offer</span>
</div>
<h3 class="feature-card__title">Ofertas Locales</h3>
<p class="feature-card__desc">Descubre negocios cerca de tu ruta y accede a descuentos exclusivos mientras esperas o viajas.</p>
@ -78,7 +78,7 @@
<div class="feature-card reveal" style="transition-delay: 0.2s;">
<div class="feature-card__icon-wrap pink-glow">
<span class="material-icons feature-card__icon">bolt</span>
<span class="material-icons feature-card__icon notranslate" translate="no">bolt</span>
</div>
<h3 class="feature-card__title">Acceso Instantáneo</h3>
<p class="feature-card__desc">Nuestra tecnología PWA la instala directo en tu pantalla de inicio en segundos, sin pasar por los molestos registros de la App Store.</p>
@ -121,11 +121,11 @@
</li>
<li>
<div class="icard__step-num">2</div>
<div>Toca el botón <strong>Compartir</strong> <span class="material-icons step-inline-icon">ios_share</span></div>
<div>Toca el botón <strong>Compartir</strong> <span class="material-icons step-inline-icon notranslate" translate="no">ios_share</span></div>
</li>
<li>
<div class="icard__step-num">3</div>
<div>Selecciona <strong>Agregar a inicio</strong> <span class="material-icons step-inline-icon">add_box</span></div>
<div>Selecciona <strong>Agregar a inicio</strong> <span class="material-icons step-inline-icon notranslate" translate="no">add_box</span></div>
</li>
</ol>
</div>
@ -134,7 +134,7 @@
<div class="icard reveal" style="transition-delay: 0.15s;">
<div class="icard__header">
<div class="icard__icon icard__icon--android">
<span class="material-icons">android</span>
<span class="material-icons notranslate" translate="no">android</span>
</div>
<div>
<h3 class="icard__device">Android</h3>
@ -161,7 +161,7 @@
<div class="install__footer reveal">
<button class="btn-primary btn-primary--large" @click="launchApp">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
Continuar a la Aplicación
</button>
</div>

View File

@ -612,7 +612,7 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
<div class="map-floating-controls">
<button v-if="isLoaded && !showPromos && featuredActivities.length > 0" class="activities-fab pulse" @click="showPromos = true">
<span class="material-icons">local_activity</span>
<span class="material-icons notranslate" translate="no">local_activity</span>
<span v-if="featuredActivities.length > 0" class="activities-badge">{{ featuredActivities.length }}</span>
</button>
@ -625,7 +625,7 @@ watch([() => authStore.userProfile?.auto_location, isLoaded], ([canLocate, loade
@click="locateUser"
>
<div class="btn-content">
<span class="material-icons">my_location</span>
<span class="material-icons notranslate" translate="no">my_location</span>
<span v-if="isMapMoved" class="btn-text">Volver a Mi Ubicación</span>
</div>
</button>

View File

@ -127,10 +127,10 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="avatar-container">
<div v-if="userPhoto" class="avatar-img" :style="{ backgroundImage: `url(${getFullUrl(userPhoto)})` }"></div>
<div v-else class="avatar-placeholder">
<span class="material-icons">person</span>
<span class="material-icons notranslate" translate="no">person</span>
</div>
<button class="edit-badge" @click="showEditModal = true">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
</div>
@ -140,7 +140,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="badge-row">
<span class="role-badge">{{ userRole }}</span>
<span v-if="autoLocation" class="smart-badge">
<span class="material-icons">gps_fixed</span>
<span class="material-icons notranslate" translate="no">gps_fixed</span>
Smart Location
</span>
</div>
@ -148,7 +148,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="header-actions">
<button class="logout-icon-btn" @click="handleLogout" :title="t('profile.logoutTitle')">
<span class="material-icons">logout</span>
<span class="material-icons notranslate" translate="no">logout</span>
</button>
</div>
</div>
@ -162,7 +162,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div v-if="couponStore.myCoupons.length === 0" class="empty-coupons">
<div class="empty-icon-circle">
<span class="material-icons">confirmation_number</span>
<span class="material-icons notranslate" translate="no">confirmation_number</span>
</div>
<h3>{{ t('profile.emptyCoupons') }}</h3>
<p>{{ t('profile.exploreOffers') }}</p>
@ -189,7 +189,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
class="btn-use"
@click="showQR(userCoupon.redemption_code, userCoupon.coupon?.title || '')"
>
<span class="material-icons">qr_code_2</span>
<span class="material-icons notranslate" translate="no">qr_code_2</span>
{{ t('profile.viewCode') }}
</button>
</div>
@ -207,7 +207,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="modal-header">
<h2>{{ t('profile.editProfile') }}</h2>
<button class="close-btn" @click="showEditModal = false">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>
@ -216,10 +216,10 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="photo-preview-container">
<div v-if="photoPreview" class="preview-img" :style="{ backgroundImage: `url(${getFullUrl(photoPreview)})` }"></div>
<div v-else class="preview-placeholder">
<span class="material-icons">person</span>
<span class="material-icons notranslate" translate="no">person</span>
</div>
<label for="photo-input" class="photo-label">
<span class="material-icons">photo_camera</span>
<span class="material-icons notranslate" translate="no">photo_camera</span>
</label>
</div>
<input id="photo-input" type="file" @change="handlePhotoChange" accept="image/*" hidden>
@ -248,7 +248,7 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div class="modal-actions">
<button type="button" class="btn-cancel" @click="showEditModal = false">{{ t('profile.cancel') }}</button>
<button type="submit" class="btn-save" :disabled="isUpdating">
<span v-if="isUpdating" class="material-icons spin">refresh</span>
<span v-if="isUpdating" class="material-icons spin notranslate" translate="no">refresh</span>
{{ isUpdating ? t('profile.saving') : t('profile.save') }}
</button>
</div>
@ -260,17 +260,17 @@ const getFullUrl = (path: string) => getImageUrl(path)
<div v-if="showQRModal" class="modal-overlay" @click.self="showQRModal = false">
<div class="qr-modal">
<button class="close-modal" @click="showQRModal = false">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
<div class="qr-header">
<span class="material-icons">verified</span>
<span class="material-icons notranslate" translate="no">verified</span>
<h3>{{ t('profile.qrTitle') }}</h3>
</div>
<p class="promo-title">{{ selectedTitle }}</p>
<div class="qr-content">
<div class="qr-placeholder">
<span class="material-icons">qr_code_2</span>
<span class="material-icons notranslate" translate="no">qr_code_2</span>
</div>
<div class="redemption-box">
<p>{{ t('profile.qrCode') }}</p>

View File

@ -322,11 +322,11 @@ async function toggleCouponStatus(coupon: Coupon) {
<button v-if="activeTab === 'businesses'" class="primary-btn" @click="openCreateBusinessModal">
<span class="material-icons">add</span>
<span class="material-icons notranslate" translate="no">add</span>
Crear Actividad / Negocio
</button>
<button v-if="activeTab === 'shuttles'" class="primary-btn" @click="$router.push('/admin/shuttles')">
<span class="material-icons">rocket_launch</span>
<span class="material-icons notranslate" translate="no">rocket_launch</span>
Nuevo Shuttle
</button>
</div>
@ -335,11 +335,11 @@ async function toggleCouponStatus(coupon: Coupon) {
<!-- Global Search Bar (Visible in Promos/Businesses) -->
<div class="search-filter-bar">
<div class="search-box">
<span class="material-icons">search</span>
<span class="material-icons notranslate" translate="no">search</span>
<input v-model="searchQuery" type="text" :placeholder="activeTab === 'businesses' ? 'Buscar negocio o actividad...' : 'Buscar shuttle...'">
</div>
<div class="filter-box">
<span class="material-icons">filter_alt</span>
<span class="material-icons notranslate" translate="no">filter_alt</span>
<select v-model="categoryFilter">
<option v-for="cat in categories" :key="cat" :value="cat">{{ cat }}</option>
</select>
@ -349,12 +349,12 @@ async function toggleCouponStatus(coupon: Coupon) {
<div v-if="activeTab === 'promotions'">
<div class="coupons-section">
<div v-if="isLoading" class="loading-state">
<span class="material-icons spin">refresh</span>
<span class="material-icons spin notranslate" translate="no">refresh</span>
Cargando promociones...
</div>
<div v-else-if="coupons.length === 0" class="empty-state">
<span class="material-icons">sentiment_dissatisfied</span>
<span class="material-icons notranslate" translate="no">sentiment_dissatisfied</span>
<p>No hay cupones creados aún.</p>
</div>
@ -378,7 +378,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<div>
<strong>{{ coupon.title }}</strong>
<div class="business-tag">
<span class="material-icons">store</span>
<span class="material-icons notranslate" translate="no">store</span>
{{ coupon.business?.name || 'Comercio Local' }}
</div>
</div>
@ -402,10 +402,10 @@ async function toggleCouponStatus(coupon: Coupon) {
<td class="text-center">
<div class="action-buttons justify-center">
<button class="icon-btn edit" @click="openEditModal(coupon)">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="icon-btn delete" @click="deleteCoupon(coupon.id)">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</td>
@ -419,7 +419,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<!-- Businesses Tab -->
<div v-if="activeTab === 'businesses'">
<div v-if="businesses.length === 0" class="empty-state">
<span class="material-icons">store_front</span>
<span class="material-icons notranslate" translate="no">store_front</span>
<p>Aún no has registrado ningún negocio local o actividad.</p>
</div>
<div v-else class="table-card">
@ -448,18 +448,18 @@ async function toggleCouponStatus(coupon: Coupon) {
<td class="text-center"><span class="badge area-badge">{{ biz.area }}</span></td>
<td class="text-center">
<div class="contact-info align-center">
<span v-if="biz.phone"><span class="material-icons">phone</span> {{ biz.phone }}</span>
<span v-if="biz.social_media" class="social-tag"><span class="material-icons">share</span> {{ biz.social_media }}</span>
<span v-if="biz.phone"><span class="material-icons notranslate" translate="no">phone</span> {{ biz.phone }}</span>
<span v-if="biz.social_media" class="social-tag"><span class="material-icons notranslate" translate="no">share</span> {{ biz.social_media }}</span>
</div>
</td>
<td class="address-cell text-center">{{ biz.address }}</td>
<td class="text-center">
<div class="action-buttons justify-center">
<button class="icon-btn edit" @click="openEditBusinessModal(biz)">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="icon-btn delete" @click="deleteBusiness(biz.id)">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</td>
@ -472,7 +472,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<!-- Shuttles Tab -->
<div v-if="activeTab === 'shuttles'">
<div v-if="shuttles.length === 0" class="empty-state">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
<p>No hay shuttles turísticos registrados.</p>
</div>
<div v-else class="table-card">
@ -495,7 +495,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<div>
<strong>{{ shuttle.route_name }}</strong>
<div class="business-tag">
<span class="material-icons">business</span>
<span class="material-icons notranslate" translate="no">business</span>
{{ shuttle.company_name }}
</div>
</div>
@ -517,7 +517,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<td class="text-center">
<div class="action-buttons justify-center">
<button class="icon-btn delete" @click="deleteShuttle(shuttle.id)">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</td>
@ -535,7 +535,7 @@ async function toggleCouponStatus(coupon: Coupon) {
<div class="modal-header">
<h2>{{ isEditing ? 'Editar Cupón' : 'Nuevo Cupón' }}</h2>
<button class="close-btn" @click="showModal = false">
<span class="material-icons">close</span>
<span class="material-icons notranslate" translate="no">close</span>
</button>
</div>

View File

@ -83,7 +83,7 @@ const correlimientos = computed(() => {
<!-- Header -->
<div class="px-6 pt-12 pb-4 flex items-center justify-between sticky top-0 z-50 bg-white/80 dark:bg-background-dark/80 backdrop-blur-md">
<button @click="router.back()" class="size-10 flex items-center justify-center rounded-full bg-slate-100 dark:bg-card-dark text-slate-600 dark:text-gray-300 active:scale-95 transition-transform">
<span class="material-icons text-[20px]">arrow_back</span>
<span class="material-icons text-[20px] notranslate" translate="no">arrow_back</span>
</button>
<h1 class="text-xl font-extrabold tracking-tight text-primary uppercase italic">SIB</h1>
<div class="size-10"></div>
@ -97,7 +97,7 @@ const correlimientos = computed(() => {
class="flex-1 py-3 px-4 rounded-[2rem] flex items-center justify-center gap-2 text-sm font-bold transition-all"
:class="activeTab === 'routes' ? 'bg-primary shadow-lg text-slate-900' : 'bg-transparent text-slate-500 dark:text-gray-500'"
>
<span class="material-icons text-lg">directions_bus</span>
<span class="material-icons text-lg notranslate" translate="no">directions_bus</span>
{{ t('routesView.busTab') }}
</button>
<button
@ -105,7 +105,7 @@ const correlimientos = computed(() => {
class="flex-1 py-3 px-4 rounded-[2rem] flex items-center justify-center gap-2 text-sm font-bold transition-all"
:class="activeTab === 'taxis' ? 'bg-primary shadow-lg text-slate-900' : 'bg-transparent text-slate-500 dark:text-gray-500'"
>
<span class="material-icons text-lg">local_taxi</span>
<span class="material-icons text-lg notranslate" translate="no">local_taxi</span>
{{ t('routesView.taxiTab') }}
</button>
</div>
@ -115,7 +115,7 @@ const correlimientos = computed(() => {
<div v-if="activeTab === 'routes'" class="space-y-4">
<div class="relative group">
<div class="flex items-center gap-3 px-4 h-14 rounded-2xl border border-slate-200 dark:border-white/10 bg-white dark:bg-input-dark">
<span class="material-icons text-primary font-bold">location_on</span>
<span class="material-icons text-primary font-bold notranslate" translate="no">location_on</span>
<input
v-model="originSearch"
@keyup.enter="handleBusSearch"
@ -126,7 +126,7 @@ const correlimientos = computed(() => {
</div>
<div class="relative group">
<div class="flex items-center gap-3 px-4 h-14 rounded-2xl border border-slate-200 dark:border-white/10 bg-white dark:bg-input-dark">
<span class="material-icons text-primary font-bold">flag</span>
<span class="material-icons text-primary font-bold notranslate" translate="no">flag</span>
<input
v-model="destinationSearch"
@keyup.enter="handleBusSearch"
@ -144,7 +144,7 @@ const correlimientos = computed(() => {
<div class="flex-1 space-y-4">
<div class="relative">
<div class="flex items-center gap-3 px-4 h-14 rounded-2xl border border-slate-200 dark:border-white/10 bg-white dark:bg-input-dark">
<span class="material-icons text-primary font-bold">near_me</span>
<span class="material-icons text-primary font-bold notranslate" translate="no">near_me</span>
<select
v-model="selectedCorregimiento"
@change="handleTaxiFilter"
@ -153,7 +153,7 @@ const correlimientos = computed(() => {
<option value="">{{ t('routesView.allCorregimientos') }}</option>
<option v-for="c in correlimientos" :key="c" :value="c">{{ c }}</option>
</select>
<span class="material-icons ml-auto text-gray-500 text-sm">unfold_more</span>
<span class="material-icons ml-auto text-gray-500 text-sm notranslate" translate="no">unfold_more</span>
</div>
</div>
</div>
@ -164,7 +164,7 @@ const correlimientos = computed(() => {
class="size-10 rounded-lg border-2 border-primary flex items-center justify-center bg-transparent cursor-pointer transition-colors"
:class="englishOnly ? 'bg-primary' : ''"
>
<span class="material-icons text-slate-900" v-if="englishOnly">check</span>
<span class="material-icons text-slate-900 notranslate" v-if="englishOnly" translate="no">check</span>
</div>
</div>
</div>
@ -197,7 +197,7 @@ const correlimientos = computed(() => {
<div class="flex justify-between items-center">
<div class="flex items-center gap-4">
<div class="size-14 rounded-2xl bg-primary/10 flex items-center justify-center text-primary">
<span class="material-icons text-[32px]">directions_bus</span>
<span class="material-icons text-[32px] notranslate" translate="no">directions_bus</span>
</div>
<div>
<div class="flex items-center gap-2">
@ -243,7 +243,7 @@ const correlimientos = computed(() => {
<div class="flex items-center gap-4">
<div class="size-14 rounded-2xl bg-primary/10 flex items-center justify-center text-primary overflow-hidden">
<img v-if="taxi.image_url" :src="taxi.image_url" loading="lazy" decoding="async" class="w-full h-full object-cover">
<span v-else class="material-icons text-[32px]">local_taxi</span>
<span v-else class="material-icons text-[32px] notranslate" translate="no">local_taxi</span>
</div>
<div>
<div class="flex items-center gap-2">

View File

@ -233,13 +233,13 @@ onUnmounted(() => {
>
<div class="trigger-left">
<div class="trigger-icon">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
</div>
<span class="trigger-text" :class="{ 'trigger-text--selected': hasLocalSelection }">
{{ routeStore.isLoadingRoutes ? t('schedules.loadingRoutes') : (localSelectedRouteName || t('schedules.placeholder')) }}
</span>
</div>
<span class="material-icons trigger-arrow" :class="{ 'trigger-arrow--up': dropdownOpen }">
<span class="material-icons trigger-arrow notranslate" :class="{ 'trigger-arrow--up': dropdownOpen } notranslate" translate="no">
expand_more
</span>
</button>
@ -262,9 +262,9 @@ onUnmounted(() => {
:class="{ 'dropdown-item--active': r.id === localSelectedRouteId }"
@click.stop="pickRoute(r.id, r.name)"
>
<span class="material-icons dropdown-item-icon">directions_bus</span>
<span class="material-icons dropdown-item-icon notranslate" translate="no">directions_bus</span>
<span class="dropdown-item-name">{{ r.name }}</span>
<span v-if="r.id === localSelectedRouteId" class="material-icons dropdown-item-check">check</span>
<span v-if="r.id === localSelectedRouteId" class="material-icons dropdown-item-check notranslate" translate="no">check</span>
</button>
<div v-if="routeStore.allRoutes.length === 0" class="dropdown-empty">
{{ t('schedules.noRoutesAvailable') }}
@ -315,7 +315,7 @@ onUnmounted(() => {
<!-- Sin resultados en el filtro -->
<div v-else-if="filteredSchedules.length === 0" class="empty-state empty-state--sm">
<span class="material-icons empty-cat-icon">schedule</span>
<span class="material-icons empty-cat-icon notranslate" translate="no">schedule</span>
<p class="empty-sub">{{ t('schedules.noSchedules') }}</p>
<button class="chip-link" @click="dayFilter = 'all'">{{ t('schedules.viewAll') || 'Ver todos los horarios' }}</button>
</div>
@ -347,14 +347,14 @@ onUnmounted(() => {
</div>
<p class="route-name">{{ localSelectedRouteName }}</p>
<p class="card-detail">
<span class="material-icons card-detail-icon">schedule</span>
<span class="material-icons card-detail-icon notranslate" translate="no">schedule</span>
{{ DAY_TYPES[schedule.schedule_type] || schedule.schedule_type }}
</p>
</div>
<!-- Badge estado -->
<div class="status-badge" :class="dayFilter === 'today' ? `status-badge--${getBusStatus(schedule.departure_time)}` : 'status-badge--upcoming'">
<span class="material-icons status-icon">
<span class="material-icons status-icon notranslate" translate="no">
{{ (dayFilter === 'today' && getBusStatus(schedule.departure_time) === 'departing') ? 'directions_run' :
(dayFilter === 'today' && getBusStatus(schedule.departure_time) === 'ontime') ? 'check_circle' :
(dayFilter === 'today' && getBusStatus(schedule.departure_time) === 'passed') ? 'history' : 'access_time' }}

View File

@ -3,7 +3,7 @@
<div class="header-section">
<div class="top-row">
<button class="download-btn" @click="generateReport">
<span class="material-icons">description</span>
<span class="material-icons notranslate" translate="no">description</span>
Descargar Informe
</button>
<div class="badge">INTELIGENCIA ESTRATÉGICA</div>
@ -19,7 +19,7 @@
:class="{ active: activeTab === 'overview' }"
@click="activeTab = 'overview'"
>
<span class="material-icons">dashboard</span>
<span class="material-icons notranslate" translate="no">dashboard</span>
Visión General
</button>
<button
@ -27,7 +27,7 @@
:class="{ active: activeTab === 'transport' }"
@click="activeTab = 'transport'"
>
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
Logística de Transporte
</button>
<button
@ -35,13 +35,13 @@
:class="{ active: activeTab === 'commerce' }"
@click="activeTab = 'commerce'"
>
<span class="material-icons">storefront</span>
<span class="material-icons notranslate" translate="no">storefront</span>
Inteligencia Comercial
</button>
</div>
<div v-if="loading" class="loading-state">
<span class="material-icons spin">sync</span>
<span class="material-icons spin notranslate" translate="no">sync</span>
<p>Sincronizando con la red...</p>
</div>
@ -52,14 +52,14 @@
<div class="main-content">
<div class="kpi-grid">
<div class="kpi-card user-active">
<div class="kpi-icon"><span class="material-icons">person</span></div>
<div class="kpi-icon"><span class="material-icons notranslate" translate="no">person</span></div>
<div class="kpi-data">
<span class="kpi-value">{{ stats.users?.registered_active || 0 }}</span>
<span class="kpi-label">Usuarios Registrados Activos</span>
</div>
</div>
<div class="kpi-card">
<div class="kpi-icon"><span class="material-icons">analytics</span></div>
<div class="kpi-icon"><span class="material-icons notranslate" translate="no">analytics</span></div>
<div class="kpi-data">
<span class="kpi-value">{{ totalInteractionCount }}</span>
<span class="kpi-label">Interacciones Totales Hoy</span>
@ -69,7 +69,7 @@
<section class="analysis-section mini">
<div class="section-header">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
<h2>Mapa de Calor Horario</h2>
</div>
<div class="chart-container large">
@ -79,7 +79,7 @@
</div>
<aside class="side-info">
<div class="info-box">
<span class="material-icons">groups</span>
<span class="material-icons notranslate" translate="no">groups</span>
<h4>Control de Tráfico</h4>
<p>Esta sección muestra la salud general de la app. Si la línea de invitados supera por mucho a la de registrados, es momento de lanzar una campaña de fidelización.</p>
</div>
@ -94,7 +94,7 @@
<!-- RUTAS -->
<section class="analysis-section">
<div class="section-header">
<span class="material-icons">bar_chart</span>
<span class="material-icons notranslate" translate="no">bar_chart</span>
<h2>Rutas Turísticas más Consultadas</h2>
</div>
<div class="chart-container">
@ -105,7 +105,7 @@
<!-- CASETAS -->
<section class="analysis-section">
<div class="section-header">
<span class="material-icons">location_on</span>
<span class="material-icons notranslate" translate="no">location_on</span>
<h2>Puntos de Interés: Casetas (Paradas)</h2>
</div>
<div class="data-table-wrapper">
@ -135,7 +135,7 @@
<!-- RENDIMIENTO SHUTTLES -->
<section class="analysis-section">
<div class="section-header">
<span class="material-icons">trending_up</span>
<span class="material-icons notranslate" translate="no">trending_up</span>
<h2>Tasa de Reservación (Shuttles)</h2>
</div>
<div class="data-table-wrapper">
@ -154,8 +154,8 @@
<td>{{ data.views }}</td>
<td>
<div style="display:flex; gap: 12px; align-items:center;">
<span title="WhatsApp" style="display:flex; align-items:center; gap:2px;"><span class="material-icons" style="font-size:14px; color:#25D366;">chat</span> {{ data.whatsapp }}</span>
<span title="Llamadas" style="display:flex; align-items:center; gap:2px;"><span class="material-icons" style="font-size:14px; color:#cbd5e1;">phone</span> {{ data.calls }}</span>
<span title="WhatsApp" style="display:flex; align-items:center; gap:2px;"><span class="material-icons notranslate" style="font-size:14px; color:#25D366;" translate="no">chat</span> {{ data.whatsapp }}</span>
<span title="Llamadas" style="display:flex; align-items:center; gap:2px;"><span class="material-icons notranslate" style="font-size:14px; color:#cbd5e1;" translate="no">phone</span> {{ data.calls }}</span>
</div>
</td>
<td>
@ -172,7 +172,7 @@
</div>
<aside class="side-info">
<div class="info-box accent">
<span class="material-icons">local_shipping</span>
<span class="material-icons notranslate" translate="no">local_shipping</span>
<h4>Optimización de Logística</h4>
<p>Identifique paradas saturadas para coordinar con los conductores. Las rutas con conversión mayor al 15% son candidatas para ser rutas 'Express'.</p>
</div>
@ -186,14 +186,14 @@
<div class="main-content">
<div class="kpi-grid">
<div class="kpi-card">
<div class="kpi-icon promo"><span class="material-icons">confirmation_number</span></div>
<div class="kpi-icon promo"><span class="material-icons notranslate" translate="no">confirmation_number</span></div>
<div class="kpi-data">
<span class="kpi-value">{{ stats.summary?.total_promo_clicks || 0 }}</span>
<span class="kpi-label">Cupones Activados</span>
</div>
</div>
<div class="kpi-card">
<div class="kpi-icon biz"><span class="material-icons">storefront</span></div>
<div class="kpi-icon biz"><span class="material-icons notranslate" translate="no">storefront</span></div>
<div class="kpi-data">
<span class="kpi-value">{{ stats.summary?.total_biz_views || 0 }}</span>
<span class="kpi-label">Visitas a Negocios</span>
@ -203,7 +203,7 @@
<section class="analysis-section">
<div class="section-header">
<span class="material-icons">ads_click</span>
<span class="material-icons notranslate" translate="no">ads_click</span>
<h2>Impacto de Aliados Comerciales</h2>
</div>
<div class="business-list">
@ -211,11 +211,11 @@
<!-- Business Header -->
<div class="business-header">
<div class="business-title-info">
<div class="biz-icon-box"><span class="material-icons">storefront</span></div>
<div class="biz-icon-box"><span class="material-icons notranslate" translate="no">storefront</span></div>
<h3>{{ name }}</h3>
</div>
<div class="business-total-badge">
<span class="material-icons">data_exploration</span>
<span class="material-icons notranslate" translate="no">data_exploration</span>
<span><b>{{ data.views + data.social + data.calls + data.location + data.promos + data.favs }}</b> Interacciones</span>
</div>
</div>
@ -223,35 +223,35 @@
<!-- Details Grid -->
<div class="business-details-grid">
<div class="detail-item">
<span class="material-icons" style="color:#cbd5e1">visibility</span>
<span class="material-icons notranslate" style="color:#cbd5e1" translate="no">visibility</span>
<div class="detail-info">
<span class="detail-value">{{ data.views }}</span>
<span class="detail-label">Vistas del Local</span>
</div>
</div>
<div class="detail-item">
<span class="material-icons" style="color:#25D366">chat</span>
<span class="material-icons notranslate" style="color:#25D366" translate="no">chat</span>
<div class="detail-info">
<span class="detail-value">{{ data.social }}</span>
<span class="detail-label">Redes / WP</span>
</div>
</div>
<div class="detail-item">
<span class="material-icons" style="color:#f87171">phone</span>
<span class="material-icons notranslate" style="color:#f87171" translate="no">phone</span>
<div class="detail-info">
<span class="detail-value">{{ data.calls }}</span>
<span class="detail-label">Llamadas Directas</span>
</div>
</div>
<div class="detail-item">
<span class="material-icons" style="color:#60a5fa">place</span>
<span class="material-icons notranslate" style="color:#60a5fa" translate="no">place</span>
<div class="detail-info">
<span class="detail-value">{{ data.location }}</span>
<span class="detail-label">Usos del Mapa</span>
</div>
</div>
<div class="detail-item">
<span class="material-icons" style="color:#e91e63">favorite</span>
<span class="material-icons notranslate" style="color:#e91e63" translate="no">favorite</span>
<div class="detail-info">
<span class="detail-value">{{ data.favs }}</span>
<span class="detail-label">Veces Favorito</span>
@ -263,7 +263,7 @@
<div class="business-coupons-section" :class="{ 'has-coupons': Object.keys(data.coupons || {}).length > 0 }">
<div class="coupons-header">
<div style="display:flex; align-items:center; gap: 8px;">
<span class="material-icons" style="color:#fee715">confirmation_number</span>
<span class="material-icons notranslate" style="color:#fee715" translate="no">confirmation_number</span>
<h4>Tráfico por Promociones</h4>
</div>
<div class="status-pill-wrap">
@ -276,18 +276,18 @@
<div v-if="Object.keys(data.coupons || {}).length > 0" class="coupon-list">
<div v-for="(couponData, couponName) in data.coupons" :key="couponName" class="coupon-item">
<div class="coupon-name-box">
<span class="material-icons" style="font-size:14px; color:var(--text-secondary)">local_offer</span>
<span class="material-icons notranslate" style="font-size:14px; color:var(--text-secondary)" translate="no">local_offer</span>
<span class="coupon-name">{{ couponName }}</span>
</div>
<div class="coupon-stats">
<span class="stat" title="Clicks a la promo"><span class="material-icons">visibility</span> {{ couponData.views }}</span>
<span class="stat" title="Clicks al mapa desde promo"><span class="material-icons">place</span> {{ couponData.location }}</span>
<span class="stat" title="Clicks a la promo"><span class="material-icons notranslate" translate="no">visibility</span> {{ couponData.views }}</span>
<span class="stat" title="Clicks al mapa desde promo"><span class="material-icons notranslate" translate="no">place</span> {{ couponData.location }}</span>
</div>
</div>
</div>
<div v-else class="no-coupons">
<span class="material-icons">info</span> No hay promociones generadas.
<span class="material-icons notranslate" translate="no">info</span> No hay promociones generadas.
</div>
</div>
@ -297,7 +297,7 @@
</div>
<aside class="side-info">
<div class="info-box">
<span class="material-icons">shopping_bag</span>
<span class="material-icons notranslate" translate="no">shopping_bag</span>
<h4>Retorno Comercial</h4>
<p>Analice qué negocios están monetizando mejor el tráfico de SIB. Use estos datos para ofrecer espacios publicitarios premium a los negocios con salud 'Baja'.</p>
</div>

View File

@ -34,11 +34,11 @@ onMounted(async () => {
<div class="hub-tabs">
<div class="tabs-background">
<router-link to="/transporte/taxis" class="hub-tab" active-class="active" exact-active-class="active">
<span class="material-icons">local_taxi</span>
<span class="material-icons notranslate" translate="no">local_taxi</span>
{{ t('taxi.tabLocal') }}
</router-link>
<router-link to="/transporte/viajes-turisticos" class="hub-tab" active-class="active" :class="{ 'active': route.path.includes('viajes-turisticos') }">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
{{ t('taxi.tabIntercity') }}
</router-link>
<div class="tab-slider" :class="{ 'slide-right': !route.path.includes('taxis') }"></div>
@ -47,10 +47,10 @@ onMounted(async () => {
</header>
<div v-if="mountError" class="error-container">
<span class="material-icons">error_outline</span>
<span class="material-icons notranslate" translate="no">error_outline</span>
<p>{{ t('taxi.errorLoading') }}</p>
<button @click="reloadPage" class="retry-btn">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.retry') }}
</button>
</div>

View File

@ -69,7 +69,7 @@ const getTripTypeLabel = (type: string) => {
<!-- Header con botón volver (Solid background to avoid overlap on scroll) -->
<div class="sticky top-0 z-50 bg-[var(--bg-primary)] border-b border-border flex items-center gap-3 px-4 py-3 shadow-md" style="padding-top: max(env(safe-area-inset-top), 12px);">
<button @click="volver" class="p-2 rounded-full hover:bg-[var(--hover-bg)] flex items-center justify-center transition">
<span class="material-icons text-[var(--text-primary)]">arrow_back</span>
<span class="material-icons text-[var(--text-primary)] notranslate" translate="no">arrow_back</span>
</button>
<h1 class="font-bold text-[var(--text-primary)] text-lg truncate flex-1">
{{ shuttle?.company_name || t('shuttle.detailTitle') }}
@ -90,7 +90,7 @@ const getTripTypeLabel = (type: string) => {
<!-- Error -->
<div v-else-if="error" class="flex flex-col items-center justify-center h-64 px-6 text-center">
<span class="material-icons text-red-500 text-5xl mb-3">error_outline</span>
<span class="material-icons text-red-500 text-5xl mb-3 notranslate" translate="no">error_outline</span>
<p class="text-red-500 font-medium">{{ error }}</p>
<button @click="volver" class="mt-6 px-6 py-2 bg-text-primary text-surface font-bold rounded-full shadow hover:opacity-90 transition">
{{ t('common.back') }}
@ -108,7 +108,7 @@ const getTripTypeLabel = (type: string) => {
imgClass="w-full h-full object-cover"
/>
<div class="absolute bottom-3 left-3 bg-[var(--bg-primary)]/90 backdrop-blur-sm px-3 py-1 rounded-full text-sm font-bold shadow-sm flex items-center gap-1">
<span class="material-icons text-sm" style="color: var(--active-color)">directions_bus</span>
<span class="material-icons text-sm notranslate" style="color: var(--active-color)" translate="no">directions_bus</span>
{{ shuttle.vehicle_type }}
</div>
</div>
@ -126,7 +126,7 @@ const getTripTypeLabel = (type: string) => {
<div class="flex flex-col items-center px-4 shrink-0">
<span class="text-xs text-[var(--text-secondary)] font-bold mb-1">{{ shuttle.estimated_duration }}</span>
<div class="w-16 border-t-2 border-dashed border-border relative my-1">
<span class="material-icons absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--text-secondary)] bg-[var(--bg-secondary)] px-1 text-sm">east</span>
<span class="material-icons absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--text-secondary)] bg-[var(--bg-secondary)] px-1 text-sm notranslate" translate="no">east</span>
</div>
</div>
@ -148,19 +148,19 @@ const getTripTypeLabel = (type: string) => {
<div class="grid grid-cols-2 gap-4 pt-4 border-t border-border">
<div class="flex flex-col gap-1">
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm">schedule</span> {{ t('shuttle.departureTimes') }}</span>
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm notranslate" translate="no">schedule</span> {{ t('shuttle.departureTimes') }}</span>
<span class="font-semibold text-[var(--text-primary)] bg-[var(--bg-primary)] p-2 rounded-lg text-sm text-center border border-border">
{{ shuttle.departure_times }}
</span>
</div>
<div class="flex flex-col gap-1">
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm">swap_horiz</span> {{ t('shuttle.tripType') }}</span>
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm notranslate" translate="no">swap_horiz</span> {{ t('shuttle.tripType') }}</span>
<span class="font-semibold text-[var(--text-primary)] bg-[var(--bg-primary)] p-2 rounded-lg text-sm text-center border border-border">
{{ getTripTypeLabel(shuttle.trip_type) }}
</span>
</div>
<div class="flex flex-col gap-1" v-if="shuttle.english_speaking">
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm">g_translate</span> {{ t('shuttle.languages') }}</span>
<span class="text-xs text-[var(--text-secondary)] uppercase tracking-wider font-semibold flex items-center gap-1"><span class="material-icons text-sm notranslate" translate="no">g_translate</span> {{ t('shuttle.languages') }}</span>
<span class="font-semibold text-[var(--text-primary)] bg-[var(--bg-primary)] p-2 rounded-lg text-sm text-center border border-border">
Español · English
</span>
@ -197,7 +197,7 @@ const getTripTypeLabel = (type: string) => {
class="flex justify-center items-center gap-2 p-3.5 bg-[#25D366] text-white rounded-xl font-bold hover:opacity-90 transition active:scale-95"
@click="analyticsService.logEvent({ event_name: 'shuttle_contact', entity_type: 'shuttle', entity_id: shuttle.id, entity_name: shuttle.company_name || 'shuttle', properties: { action: 'whatsapp' } })"
>
<span class="material-icons">chat</span>
<span class="material-icons notranslate" translate="no">chat</span>
{{ t('shuttle.bookWhatsapp') }}
</a>
@ -206,7 +206,7 @@ const getTripTypeLabel = (type: string) => {
class="flex justify-center items-center gap-2 p-3.5 bg-[var(--bg-primary)] text-[var(--text-primary)] rounded-xl font-bold hover:bg-[var(--hover-bg)] transition active:scale-95 border border-border"
@click="analyticsService.logEvent({ event_name: 'shuttle_contact', entity_type: 'shuttle', entity_id: shuttle.id, entity_name: shuttle.company_name || 'shuttle', properties: { action: 'call' } })"
>
<span class="material-icons">phone_in_talk</span>
<span class="material-icons notranslate" translate="no">phone_in_talk</span>
{{ t('shuttle.callOperator') }}
</a>
</div>

View File

@ -136,7 +136,7 @@ function getShiftLabel(shift: string) {
</div>
<div class="lang-toggle-side">
<div class="lang-pill" :class="{ 'lang-pill--active': onlyEnglish }" @click="onlyEnglish = !onlyEnglish">
<span class="material-icons">{{ onlyEnglish ? 'check_circle' : 'language' }}</span>
<span class="material-icons notranslate" translate="no">{{ onlyEnglish ? 'check_circle' : 'language' }}</span>
<span>English</span>
</div>
</div>
@ -148,10 +148,10 @@ function getShiftLabel(shift: string) {
</div>
<div v-else-if="taxiStore.error" class="state-container">
<span class="material-icons">error_outline</span>
<span class="material-icons notranslate" translate="no">error_outline</span>
<p>{{ taxiStore.error }}</p>
<button class="retry-btn" @click="taxiStore.loadTaxis()">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.retry') || 'Reintentar' }}
</button>
</div>
@ -176,11 +176,11 @@ function getShiftLabel(shift: string) {
<div class="driver-info">
<div class="flex items-center gap-2 mb-0.5">
<h3 class="driver-name">{{ taxi.owner_name }}</h3>
<span v-if="taxi.is_accessible" class="material-icons text-blue-500 text-sm" title="Accesible para personas con discapacidad">accessible</span>
<span v-if="taxi.is_accessible" class="material-icons text-blue-500 text-sm notranslate" title="Accesible para personas con discapacidad" translate="no">accessible</span>
</div>
<div class="driver-meta">
<div class="rating-stars">
<span class="material-icons star-filled">star</span>
<span class="material-icons star-filled notranslate" translate="no">star</span>
<span class="rating-value">{{ (taxi.rating || 5).toFixed(1) }}</span>
</div>
<span class="meta-dot">·</span>
@ -199,22 +199,22 @@ function getShiftLabel(shift: string) {
<div class="card-details">
<div class="detail-item" v-if="taxi.corregimiento">
<span class="material-icons detail-icon">location_on</span>
<span class="material-icons detail-icon notranslate" translate="no">location_on</span>
<span class="detail-text">{{ taxi.corregimiento }}</span>
</div>
<div class="detail-item" v-if="taxi.vehicle_type">
<span class="material-icons detail-icon">local_taxi</span>
<span class="material-icons detail-icon notranslate" translate="no">local_taxi</span>
<span class="detail-text">{{ taxi.vehicle_type }}</span>
</div>
<div class="detail-item" v-if="taxi.english_speaking">
<span class="material-icons detail-icon">g_translate</span>
<span class="material-icons detail-icon notranslate" translate="no">g_translate</span>
<span class="detail-text">{{ t('taxi.englishLabel') }}</span>
</div>
</div>
<div class="card-actions">
<a :href="`tel:${taxi.phone_number}`" class="call-btn-premium" @click="handleCall(taxi)">
<span class="material-icons">phone_in_talk</span>
<span class="material-icons notranslate" translate="no">phone_in_talk</span>
<div class="btn-content">
<span class="btn-label">{{ t('taxi.callNow') }}</span>
<span class="btn-subtext">{{ taxi.phone_number }}</span>
@ -227,7 +227,7 @@ function getShiftLabel(shift: string) {
<div ref="observerTarget" class="h-10 w-full mt-4"></div>
<div v-if="filteredTaxis.length === 0" class="empty-state">
<span class="material-icons">no_accounts</span>
<span class="material-icons notranslate" translate="no">no_accounts</span>
<p>{{ t('taxi.noTaxisAvailable') }}</p>
</div>
</div>

View File

@ -98,10 +98,10 @@ onUnmounted(() => {
</div>
<div v-else-if="shuttleStore.error" class="state-container">
<span class="material-icons">error_outline</span>
<span class="material-icons notranslate" translate="no">error_outline</span>
<p>{{ shuttleStore.error }}</p>
<button class="retry-btn" @click="shuttleStore.loadShuttles()">
<span class="material-icons">refresh</span>
<span class="material-icons notranslate" translate="no">refresh</span>
{{ t('common.retry') || 'Reintentar' }}
</button>
</div>
@ -128,7 +128,7 @@ onUnmounted(() => {
alt="Shuttle"
/>
<div class="company-tag" v-if="shuttle.company_name">
<span class="material-icons">business</span>
<span class="material-icons notranslate" translate="no">business</span>
{{ shuttle.company_name }}
</div>
</div>
@ -137,18 +137,18 @@ onUnmounted(() => {
<div class="route-header">
<div class="route-main">
<span class="location-name">{{ shuttle.origin }}</span>
<span class="material-icons separator-icon">east</span>
<span class="material-icons separator-icon notranslate" translate="no">east</span>
<span class="location-name">{{ shuttle.destination }}</span>
</div>
</div>
<div class="card-meta">
<div class="meta-tag">
<span class="material-icons">directions_bus</span>
<span class="material-icons notranslate" translate="no">directions_bus</span>
<span>{{ shuttle.vehicle_type }}</span>
</div>
<div class="meta-tag" v-if="shuttle.estimated_duration">
<span class="material-icons">schedule</span>
<span class="material-icons notranslate" translate="no">schedule</span>
<span>{{ shuttle.estimated_duration }}</span>
</div>
</div>
@ -159,7 +159,7 @@ onUnmounted(() => {
<span class="price-val">${{ shuttle.price_per_person }}</span>
</div>
<button class="view-details-btn">
<span class="material-icons">chevron_right</span>
<span class="material-icons notranslate" translate="no">chevron_right</span>
</button>
</div>
</div>
@ -167,7 +167,7 @@ onUnmounted(() => {
<!-- EMPTY STATE -->
<div v-if="filteredShuttles.length === 0" class="empty-state">
<span class="material-icons">directions_bus_filled</span>
<span class="material-icons notranslate" translate="no">directions_bus_filled</span>
<p>{{ t('shuttle.noShuttles') }}</p>
</div>
</div>