almeira-web/pacifictrans-app/public/index.html

60 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<title>Pacific Trans GO</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0f172a;
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
padding: 1.5rem;
}
.logo {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #06b6d4, #2563eb);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
margin-bottom: 1.25rem;
box-shadow: 0 10px 25px rgba(6, 182, 212, 0.35);
}
h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
p { color: #94a3b8; font-size: 0.9rem; max-width: 320px; line-height: 1.5; margin-bottom: 1.5rem; }
.spinner {
width: 32px;
height: 32px;
border: 3px solid rgba(255, 255, 255, 0.15);
border-top-color: #06b6d4;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
</style>
</head>
<body>
<div class="logo">🚗</div>
<h1>Pacific Trans GO</h1>
<p>Conectando con la Central de Despacho Cali - Buenaventura...</p>
<div class="spinner"></div>
<script>
// Si no está dentro de Capacitor o falla el server.url, redirigir
setTimeout(() => {
window.location.href = 'https://pacifictrans.almeira.com.co';
}, 1500);
</script>
</body>
</html>