Spaces:
Running

swiftwheels / index.html
Lengel's picture
Implementar as funções completas para motorista
425022c verified
Raw History Blame Contribute Delete
16.2 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SwiftWheels Express - Seu transporte rápido e seguro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.hero-gradient {
background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}
.driver-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.input-focus:focus {
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<i data-feather="navigation" class="text-blue-500 h-6 w-6"></i>
<span class="ml-2 text-xl font-bold text-blue-600">SwiftWheels</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Viagens</a>
<a href="motorista.html" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Motoristas</a>
<a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Empresas</a>
<a href="#" class="text-gray-700 hover:text-blue-600 px-3 py-2 text-sm font-medium">Ajuda</a>
</div>
<div class="flex items-center">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full text-sm font-medium flex items-center">
<i data-feather="user" class="h-4 w-4 mr-2"></i>
Entrar
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="hero-gradient text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold leading-tight mb-4">Viagens rápidas e seguras com apenas um toque</h1>
<p class="text-xl mb-8">Chegue onde você precisa com motoristas verificados e preços transparentes.</p>
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-full font-bold flex items-center justify-center">
<i data-feather="download" class="h-5 w-5 mr-2"></i>
Baixar o app
</button>
<button class="bg-transparent border-2 border-white hover:bg-white hover:text-blue-600 px-6 py-3 rounded-full font-bold flex items-center justify-center">
<i data-feather="play" class="h-5 w-5 mr-2"></i>
Assistir vídeo
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="http://static.photos/technology/640x360/5" alt="App SwiftWheels" class="rounded-lg shadow-xl">
</div>
</div>
</div>
</div>
<!-- Ride Booking -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
<div class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Para onde vamos?</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="map-pin" class="text-gray-400"></i>
</div>
<input type="text" class="pl-10 w-full rounded-lg border-gray-300 py-3 input-focus" placeholder="Local de partida">
</div>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="flag" class="text-gray-400"></i>
</div>
<input type="text" class="pl-10 w-full rounded-lg border-gray-300 py-3 input-focus" placeholder="Destino">
</div>
<button class="bg-blue-500 hover:bg-blue-600 text-white rounded-lg py-3 px-6 font-bold">
Solicitar viagem
</button>
</div>
</div>
</div>
<!-- Ride Options -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<h2 class="text-2xl font-bold text-gray-800 mb-8 text-center">Nossas opções de viagem</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- SwiftX -->
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 hover:shadow-lg">
<div class="bg-blue-100 p-4">
<i data-feather="car" class="h-8 w-8 text-blue-600"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">SwiftX</h3>
<p class="text-gray-600 mb-4">Viagens econômicas para qualquer lugar</p>
<div class="flex items-center text-blue-600">
<span class="font-bold">R$15,00</span>
<span class="text-sm ml-1">tarifa base</span>
</div>
</div>
</div>
<!-- SwiftBlack -->
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 hover:shadow-lg">
<div class="bg-black p-4">
<i data-feather="car" class="h-8 w-8 text-white"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">SwiftBlack</h3>
<p class="text-gray-600 mb-4">Carros premium com motoristas experientes</p>
<div class="flex items-center text-blue-600">
<span class="font-bold">R$25,00</span>
<span class="text-sm ml-1">tarifa base</span>
</div>
</div>
</div>
<!-- SwiftSUV -->
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 hover:shadow-lg">
<div class="bg-gray-800 p-4">
<i data-feather="truck" class="h-8 w-8 text-white"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">SwiftSUV</h3>
<p class="text-gray-600 mb-4">Espaço extra para grupos ou bagagem</p>
<div class="flex items-center text-blue-600">
<span class="font-bold">R$20,00</span>
<span class="text-sm ml-1">tarifa base</span>
</div>
</div>
</div>
<!-- SwiftBike -->
<div class="bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 hover:shadow-lg">
<div class="bg-green-100 p-4">
<i data-feather="bicycle" class="h-8 w-8 text-green-600"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">SwiftBike</h3>
<p class="text-gray-600 mb-4">Motos para viagens rápidas e econômicas</p>
<div class="flex items-center text-blue-600">
<span class="font-bold">R$10,00</span>
<span class="text-sm ml-1">tarifa base</span>
</div>
</div>
</div>
</div>
</div>
<!-- How It Works -->
<div class="bg-gray-100 py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-2xl font-bold text-gray-800 mb-12 text-center">Como funciona</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="text-center">
<div class="bg-white rounded-full h-20 w-20 flex items-center justify-center mx-auto mb-4 shadow-md">
<i data-feather="smartphone" class="h-8 w-8 text-blue-600"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">1. Solicite</h3>
<p class="text-gray-600">Abra o app e informe seu destino</p>
</div>
<div class="text-center">
<div class="bg-white rounded-full h-20 w-20 flex items-center justify-center mx-auto mb-4 shadow-md">
<i data-feather="car" class="h-8 w-8 text-blue-600"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">2. Motorista a caminho</h3>
<p class="text-gray-600">Um motorista aceita sua solicitação</p>
</div>
<div class="text-center">
<div class="bg-white rounded-full h-20 w-20 flex items-center justify-center mx-auto mb-4 shadow-md">
<i data-feather="flag" class="h-8 w-8 text-blue-600"></i>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">3. Chegue ao destino</h3>
<p class="text-gray-600">Pague de forma fácil e segura pelo app</p>
</div>
</div>
</div>
</div>
<!-- Driver Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Ganhe dinheiro dirigindo</h2>
<p class="text-lg text-gray-600 mb-6">Torne-se um motorista SwiftWheels e ganhe flexibilidade e ótimos rendimentos.</p>
<ul class="space-y-3 mb-8">
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 h-5 w-5 mr-2 mt-0.5"></i>
<span class="text-gray-700">Ganhe quando e como quiser</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 h-5 w-5 mr-2 mt-0.5"></i>
<span class="text-gray-700">Pagamentos semanais direto na sua conta</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 h-5 w-5 mr-2 mt-0.5"></i>
<span class="text-gray-700">Suporte 24/7 para motoristas</span>
</li>
</ul>
<a href="motorista.html" class="bg-black hover:bg-gray-800 text-white px-6 py-3 rounded-full font-bold">
Torne-se um motorista
</a>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="http://static.photos/people/640x360/12" alt="Motorista SwiftWheels" class="rounded-lg shadow-xl">
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-bold mb-4">SwiftWheels</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Sobre nós</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Carreiras</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Imprensa</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Produtos</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Viagens</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Entregas</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Refeições</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Para empresas</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Cidades</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">São Paulo</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Rio de Janeiro</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Belo Horizonte</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Brasília</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Suporte</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Central de ajuda</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Segurança</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contato</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i data-feather="navigation" class="text-blue-500 h-6 w-6"></i>
<span class="ml-2 text-lg font-bold text-white">SwiftWheels</span>
</div>
<div class="flex space-x-6">
<a href="#"><i data-feather="facebook" class="text-gray-400 hover:text-white h-5 w-5"></i></a>
<a href="#"><i data-feather="twitter" class="text-gray-400 hover:text-white h-5 w-5"></i></a>
<a href="#"><i data-feather="instagram" class="text-gray-400 hover:text-white h-5 w-5"></i></a>
<a href="#"><i data-feather="linkedin" class="text-gray-400 hover:text-white h-5 w-5"></i></a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Simple animation for ride options
document.addEventListener('DOMContentLoaded', function() {
const rideOptions = document.querySelectorAll('.grid-cols-4 > div');
rideOptions.forEach((option, index) => {
option.style.opacity = '0';
option.style.transform = 'translateY(20px)';
option.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;
setTimeout(() => {
option.style.opacity = '1';
option.style.transform = 'translateY(0)';
}, 100);
});
});
</script>
</body>
</html>