App banane ke liye backend + database + APIs zaroori hain OTP Login/Register system City-wise vehicle availability Fare calculation (distance, time, vehicle type ke basis par) Booking status (Placed → Accepted → Delivered) Driver assignment & live tracking Payment gateway integration (UPI, COD, Wallet, Cards) Notifications (SMS / Push) - Initial Deployment
086d4f7 verified Download index.html from desididi/logoswift: direct link, hf CLI and curl.
- Browser
- Download file 56.2 kB
-
https://huggingface.co/spaces/desididi/logoswift/resolve/main/index.html
- Command line
-
hf download hf://spaces/desididi/logoswift/index.html
-
curl -L -o index.html https://huggingface.co/spaces/desididi/logoswift/resolve/main/index.html
56.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LogiSwift - On-Demand Logistics</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3b82f6',
secondary: '#1e40af',
accent: '#f97316'
}
}
}
}
</script>
<style>
* {
font-family: 'Poppins', sans-serif;
}
.map-container {
height: 300px;
background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
border-radius: 12px;
position: relative;
overflow: hidden;
}
.map-overlay {
position: absolute;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
repeating-linear-gradient(0deg, transparent, transparent 19px, #e5e7eb 20px),
repeating-linear-gradient(90deg, transparent, transparent 19px, #e5e7eb 20px);
}
.route-marker {
position: absolute;
width: 12px;
height: 12px;
background: #ef4444;
border-radius: 50%;
border: 2px solid white;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.route-line {
position: absolute;
height: 4px;
background: #3b82f6;
border-radius: 2px;
transform-origin: left center;
}
.vehicle-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);
}
.order-timeline {
position: relative;
padding-left: 25px;
}
.order-timeline::before {
content: '';
position: absolute;
left: 6px;
top: 0;
height: 100%;
width: 2px;
background: #d1d5db;
}
.timeline-step {
position: relative;
margin-bottom: 20px;
}
.timeline-step::before {
content: '';
position: absolute;
left: -25px;
top: 5px;
width: 14px;
height: 14px;
border-radius: 50%;
background: #d1d5db;
}
.timeline-step.active::before {
background: #10b981;
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.timeline-step.completed::before {
background: #10b981;
}
.input-group:focus-within {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.slide-fade-enter-active {
transition: all 0.3s ease;
}
.slide-fade-leave-active {
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}
.slide-fade-enter, .slide-fade-leave-to {
transform: translateX(10px);
opacity: 0;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 2s infinite;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Sticky Header -->
<header class="sticky top-0 z-50 bg-white shadow-sm">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div class="flex items-center">
<div class="text-2xl font-bold text-primary flex items-center">
<i class="fas fa-truck-moving mr-2"></i>
<span>LogiSwift</span>
</div>
<nav class="hidden md:flex md:ml-12 space-x-8">
<a href="#" class="font-medium hover:text-primary transition">Enterprise</a>
<a href="#" class="font-medium hover:text-primary transition">Driver Partner</a>
<a href="#" class="font-medium hover:text-primary transition">Support</a>
</nav>
</div>
<div class="flex items-center space-x-4">
<button id="openAppBtn" class="bg-primary hover:bg-secondary text-white font-medium py-2 px-6 rounded-lg transition flex items-center">
<i class="fas fa-bolt mr-2"></i> Open App
</button>
<button class="md:hidden text-gray-700">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="py-16 bg-gradient-to-br from-blue-50 to-indigo-50">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-12 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold text-gray-900 leading-tight">
On-Demand Logistics
<span class="text-primary">Simplified</span>
</h1>
<p class="mt-4 text-xl text-gray-600 max-w-lg">
Book trucks, tempos, two-wheelers and more in just 60 seconds.
Affordable, reliable, and hassle-free goods transportation.
</p>
<div class="mt-8 flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-gray-900 hover:bg-gray-800 text-white font-medium py-3 px-6 rounded-lg flex items-center justify-center">
<i class="fab fa-google-play mr-3"></i>
<div class="text-left">
<div class="text-xs">GET IT ON</div>
<div class="text-lg">Google Play</div>
</div>
</button>
<button class="bg-gray-900 hover:bg-gray-800 text-white font-medium py-3 px-6 rounded-lg flex items-center justify-center">
<i class="fab fa-apple mr-3"></i>
<div class="text-left">
<div class="text-xs">Download on the</div>
<div class="text-lg">App Store</div>
</div>
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="relative w-80 h-96 bg-white rounded-2xl shadow-xl border-8 border-gray-800 overflow-hidden">
<!-- Mock App Screen -->
<div class="h-full flex flex-col">
<!-- App Header -->
<div class="bg-primary text-white p-4">
<div class="flex justify-between items-center">
<div class="font-bold text-lg">LogiSwift</div>
<div class="flex space-x-2">
<i class="fas fa-user"></i>
<i class="fas fa-bell"></i>
</div>
</div>
</div>
<!-- Map View -->
<div class="flex-1 relative">
<div class="map-container">
<div class="map-overlay"></div>
<div class="route-marker" style="top: 20%; left: 30%;"></div>
<div class="route-marker" style="top: 70%; left: 75%;"></div>
<div class="route-line" style="top: 45%; left: 31%; width: 40%; transform: rotate(20deg);"></div>
<div class="absolute bottom-4 left-4 bg-white rounded-lg shadow-md p-3 w-64">
<div class="font-medium text-gray-900">Estimated Fare</div>
<div class="text-2xl font-bold mt-1">₹ 350</div>
<div class="text-sm text-gray-500 mt-2">4.2 km • 15 min</div>
</div>
</div>
</div>
<!-- Booking Form -->
<div class="p-4 border-t">
<div class="flex items-center bg-gray-100 rounded-lg p-3">
<div class="mr-3 text-gray-500">
<i class="fas fa-map-marker-alt"></i>
</div>
<div>
<div class="text-xs text-gray-500">PICKUP LOCATION</div>
<div class="font-medium">Connaught Place, Delhi</div>
</div>
</div>
</div>
</div>
</div>
<div class="absolute -bottom-6 -right-6 w-32 h-32 bg-orange-500 rounded-full opacity-20"></div>
<div class="absolute -top-6 -left-6 w-24 h-24 bg-blue-500 rounded-full opacity-20"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
<div class="p-6">
<div class="text-4xl md:text-5xl font-bold text-primary">5M+</div>
<div class="mt-2 text-gray-600">Happy Customers</div>
</div>
<div class="p-6">
<div class="text-4xl md:text-5xl font-bold text-primary">25M+</div>
<div class="mt-2 text-gray-600">Successful Deliveries</div>
</div>
<div class="p-6">
<div class="text-4xl md:text-5xl font-bold text-primary">50+</div>
<div class="mt-2 text-gray-600">Cities Covered</div>
</div>
<div class="p-6">
<div class="text-4xl md:text-5xl font-bold text-primary">15K+</div>
<div class="mt-2 text-gray-600">Driver Partners</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center max-w-2xl mx-auto">
<h2 class="text-3xl font-bold text-gray-900">Our Transportation Services</h2>
<p class="mt-4 text-gray-600">
From small parcels to large shipments, we have the perfect vehicle for your needs
</p>
</div>
<div class="mt-12 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Truck Service -->
<div class="vehicle-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
<div class="h-48 bg-gradient-to-r from-cyan-500 to-blue-500 flex items-center justify-center">
<i class="fas fa-truck text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900">Truck</h3>
<p class="mt-2 text-gray-600">Ideal for heavy and bulky shipments</p>
<div class="mt-4 flex items-center">
<div class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-weight-hanging mr-1"></i> Up to 2500kg
</div>
<div class="ml-3 bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-rupee-sign mr-1"></i> ₹15/km
</div>
</div>
</div>
</div>
<!-- Two Wheeler Service -->
<div class="vehicle-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
<div class="h-48 bg-gradient-to-r from-green-500 to-emerald-500 flex items-center justify-center">
<i class="fas fa-motorcycle text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900">Two Wheeler</h3>
<p class="mt-2 text-gray-600">Fast delivery for small packages</p>
<div class="mt-4 flex items-center">
<div class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-weight-hanging mr-1"></i> Up to 20kg
</div>
<div class="ml-3 bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-rupee-sign mr-1"></i> ₹10/km
</div>
</div>
</div>
</div>
<!-- Packers & Movers -->
<div class="vehicle-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
<div class="h-48 bg-gradient-to-r from-amber-500 to-orange-500 flex items-center justify-center">
<i class="fas fa-boxes text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900">Packers & Movers</h3>
<p class="mt-2 text-gray-600">Complete relocation solutions</p>
<div class="mt-4 flex items-center">
<div class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-home mr-1"></i> Full House
</div>
<div class="ml-3 bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-rupee-sign mr-1"></i> Custom Quote
</div>
</div>
</div>
</div>
<!-- Intercity Courier -->
<div class="vehicle-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
<div class="h-48 bg-gradient-to-r from-purple-500 to-indigo-500 flex items-center justify-center">
<i class="fas fa-plane text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900">Intercity Courier</h3>
<p class="mt-2 text-gray-600">Express delivery between cities</p>
<div class="mt-4 flex items-center">
<div class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-bolt mr-1"></i> 24-48 Hours
</div>
<div class="ml-3 bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded">
<i class="fas fa-rupee-sign mr-1"></i> ₹20/km
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center max-w-2xl mx-auto">
<h2 class="text-3xl font-bold text-gray-900">How LogiSwift Works</h2>
<p class="mt-4 text-gray-600">
Simple steps to get your goods delivered quickly and safely
</p>
</div>
<div class="mt-12 grid grid-cols-1 md:grid-cols-4 gap-8">
<div class="text-center p-6">
<div class="w-20 h-20 bg-blue-100 rounded-full flex items-center justify-center mx-auto">
<div class="w-16 h-16 bg-blue-200 rounded-full flex items-center justify-center">
<i class="fas fa-map-marker-alt text-primary text-2xl"></i>
</div>
</div>
<h3 class="mt-4 text-xl font-bold text-gray-900">Set Locations</h3>
<p class="mt-2 text-gray-600">Enter pickup and drop locations</p>
</div>
<div class="text-center p-6">
<div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto">
<div class="w-16 h-16 bg-green-200 rounded-full flex items-center justify-center">
<i class="fas fa-truck text-green-600 text-2xl"></i>
</div>
</div>
<h3 class="mt-4 text-xl font-bold text-gray-900">Choose Vehicle</h3>
<p class="mt-2 text-gray-600">Select the right vehicle for your goods</p>
</div>
<div class="text-center p-6">
<div class="w-20 h-20 bg-yellow-100 rounded-full flex items-center justify-center mx-auto">
<div class="w-16 h-16 bg-yellow-200 rounded-full flex items-center justify-center">
<i class="fas fa-money-check-alt text-yellow-600 text-2xl"></i>
</div>
</div>
<h3 class="mt-4 text-xl font-bold text-gray-900">Confirm Booking</h3>
<p class="mt-2 text-gray-600">Review price and confirm booking</p>
</div>
<div class="text-center p-6">
<div class="w-20 h-20 bg-purple-100 rounded-full flex items-center justify-center mx-auto">
<div class="w-16 h-16 bg-purple-200 rounded-full flex items-center justify-center">
<i class="fas fa-box-open text-purple-600 text-2xl"></i>
</div>
</div>
<h3 class="mt-4 text-xl font-bold text-gray-900">Track Delivery</h3>
<p class="mt-2 text-gray-600">Real-time tracking until delivery</p>
</div>
</div>
</div>
</section>
<!-- App Preview Section -->
<section class="py-16 bg-gradient-to-br from-primary to-secondary">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<div class="text-white max-w-md">
<h2 class="text-3xl font-bold">Download Our App</h2>
<p class="mt-4 opacity-90">
Experience the convenience of booking transport for your goods anytime, anywhere.
Get real-time tracking, multiple payment options, and exclusive offers.
</p>
<div class="mt-8 flex space-x-4">
<button class="bg-white text-gray-900 hover:bg-gray-100 font-medium py-3 px-6 rounded-lg flex items-center">
<i class="fab fa-google-play mr-3 text-lg"></i>
<div class="text-left">
<div class="text-xs">GET IT ON</div>
<div class="text-lg">Google Play</div>
</div>
</button>
<button class="bg-white text-gray-900 hover:bg-gray-100 font-medium py-3 px-6 rounded-lg flex items-center">
<i class="fab fa-apple mr-3 text-lg"></i>
<div class="text-left">
<div class="text-xs">Download on the</div>
<div class="text-lg">App Store</div>
</div>
</button>
</div>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="absolute top-10 left-10 w-64 h-96 bg-white bg-opacity-20 rounded-3xl"></div>
<div class="absolute top-5 left-5 w-64 h-96 bg-white bg-opacity-10 rounded-3xl"></div>
<div class="relative w-64 h-96 bg-white rounded-2xl shadow-2xl overflow-hidden">
<!-- Mock Phone Screen -->
<div class="h-full flex flex-col">
<!-- Status Bar -->
<div class="flex justify-between items-center px-4 pt-4 text-xs">
<div>9:41</div>
<div class="flex space-x-1">
<i class="fas fa-signal"></i>
<i class="fas fa-wifi"></i>
<i class="fas fa-battery-full"></i>
</div>
</div>
<!-- App Content -->
<div class="flex-1 p-4">
<div class="text-center mt-4">
<div class="w-16 h-16 bg-blue-500 rounded-xl flex items-center justify-center mx-auto">
<i class="fas fa-box text-white text-2xl"></i>
</div>
<h3 class="font-bold text-lg mt-4">Your Package is Arriving</h3>
<p class="text-gray-500 text-sm mt-2">Estimated time: 12:45 PM</p>
</div>
<!-- Tracking Map -->
<div class="mt-6 relative">
<div class="h-40 rounded-xl overflow-hidden">
<div class="map-container">
<div class="map-overlay"></div>
<div class="route-marker" style="top: 25%; left: 25%;"></div>
<div class="route-marker" style="top: 65%; left: 70%;"></div>
<div class="route-line" style="top: 45%; left: 26%; width: 40%; transform: rotate(25deg);"></div>
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white">
<i class="fas fa-truck"></i>
</div>
</div>
</div>
</div>
</div>
<!-- Driver Info -->
<div class="mt-4 flex items-center justify-between">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 overflow-hidden">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Driver">
</div>
<div class="ml-3">
<div class="font-medium">Rajesh Kumar</div>
<div class="text-sm text-gray-500">DL 04 AB 1234</div>
</div>
</div>
<div class="flex space-x-2">
<button class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<i class="fas fa-phone text-blue-600"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="text-center max-w-2xl mx-auto">
<h2 class="text-3xl font-bold text-gray-900">What Our Customers Say</h2>
<p class="mt-4 text-gray-600">
Don't just take our word for it - hear from businesses who use LogiSwift daily
</p>
</div>
<div class="mt-12 grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center">
<div class="text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<div class="ml-auto text-gray-400 text-sm">2 days ago</div>
</div>
<p class="mt-4 text-gray-700">
"As a small business owner, LogiSwift has transformed how I handle deliveries. The prices are fair and the drivers are always professional."
</p>
<div class="mt-4 flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 overflow-hidden">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Customer">
</div>
<div class="ml-3">
<div class="font-medium">Priya Sharma</div>
<div class="text-sm text-gray-500">Boutique Owner, Delhi</div>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center">
<div class="text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<div class="ml-auto text-gray-400 text-sm">1 week ago</div>
</div>
<p class="mt-4 text-gray-700">
"The real-time tracking feature is a game-changer. I always know exactly where my shipments are, which helps me manage customer expectations."
</p>
<div class="mt-4 flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 overflow-hidden">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Customer">
</div>
<div class="ml-3">
<div class="font-medium">Amit Patel</div>
<div class="text-sm text-gray-500">E-commerce Business, Mumbai</div>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center">
<div class="text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="ml-auto text-gray-400 text-sm">3 weeks ago</div>
</div>
<p class="mt-4 text-gray-700">
"Moving office was a breeze with their packers and movers service. Professional team, careful handling, and on-time delivery."
</p>
<div class="mt-4 flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 overflow-hidden">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M12 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 11a1 1 0 0 1-2 0v-2a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v2a1 1 0 0 1-2 0v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v2z'/%3E%3C/svg%3E" alt="Customer">
</div>
<div class="ml-3">
<div class="font-medium">Neha Gupta</div>
<div class="text-sm text-gray-500">IT Company, Bangalore</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center max-w-2xl mx-auto">
<h2 class="text-3xl font-bold text-gray-900">Frequently Asked Questions</h2>
<p class="mt-4 text-gray-600">
Everything you need to know about our services
</p>
</div>
<div class="mt-12 max-w-3xl mx-auto">
<div class="space-y-4">
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="flex justify-between items-center w-full p-5 text-left font-medium text-gray-900">
<span>How do I book a vehicle?</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="p-5 border-t border-gray-200">
<p class="text-gray-600">
Simply open our app or website, enter your pickup and drop locations, select the type of vehicle you need, review the fare estimate, and confirm your booking. It takes less than a minute!
</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="flex justify-between items-center w-full p-5 text-left font-medium text-gray-900">
<span>What payment methods do you accept?</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="p-5 border-t border-gray-200">
<p class="text-gray-600">
We accept Cash on Delivery (COD), UPI, credit/debit cards, and net banking. You can also add money to your LogiSwift wallet for faster payments.
</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="flex justify-between items-center w-full p-5 text-left font-medium text-gray-900">
<span>Can I track my shipment in real-time?</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="p-5 border-t border-gray-200">
<p class="text-gray-600">
Yes! Once your booking is confirmed and the driver is on the way, you can track the vehicle in real-time through our app or website.
</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="flex justify-between items-center w-full p-5 text-left font-medium text-gray-900">
<span>How are fares calculated?</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="p-5 border-t border-gray-200">
<p class="text-gray-600">
Fares are calculated based on distance, vehicle type, and time of day. We use the shortest possible route and our pricing is transparent - you'll see the fare estimate before confirming your booking.
</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="flex justify-between items-center w-full p-5 text-left font-medium text-gray-900">
<span>What if I need to cancel my booking?</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="p-5 border-t border-gray-200">
<p class="text-gray-600">
You can cancel your booking anytime before the driver arrives at pickup location with no cancellation fee. For cancellations after driver arrival, a minimal fee may apply.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<div class="text-2xl font-bold text-primary flex items-center">
<i class="fas fa-truck-moving mr-2"></i>
<span>LogiSwift</span>
</div>
<p class="mt-4 text-gray-400">
On-demand logistics platform connecting businesses with reliable transportation solutions.
</p>
<div class="mt-6 flex space-x-4">
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-primary transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-primary transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-primary transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-primary transition">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Services</h3>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition">Truck Booking</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Two Wheeler Delivery</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Packers & Movers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Intercity Courier</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Enterprise Solutions</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Company</h3>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Contact Us</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-map-marker-alt mt-1 mr-3 text-primary"></i>
<span class="text-gray-400">123 Business Park, Sector 44, Gurgaon, Haryana 122002</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt mr-3 text-primary"></i>
<span class="text-gray-400">+91 98765 43210</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-3 text-primary"></i>
<span class="text-gray-400">support@logiswift.com</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
<p>© 2023 LogiSwift Technologies Pvt. Ltd. All rights reserved.</p>
</div>
</div>
</footer>
<!-- App Login Modal -->
<div id="loginModal" class="fixed inset-0 bg-black bg-opacity-70 z-50 hidden flex items-center justify-center p-4">
<div class="bg-white rounded-xl w-full max-w-md overflow-hidden">
<div class="bg-primary text-white p-6">
<h2 class="text-2xl font-bold">Welcome to LogiSwift</h2>
<p class="mt-1 opacity-90">Sign in to book your next delivery</p>
</div>
<div class="p-6">
<div class="mb-6">
<label class="block text-gray-700 mb-2">Enter Mobile Number</label>
<div class="flex">
<div class="bg-gray-100 border-r px-4 py-3 rounded-l-lg">+91</div>
<input type="tel" placeholder="9876543210" class="flex-1 border p-3 rounded-r-lg focus:outline-none focus:ring-2 focus:ring-primary">
</div>
</div>
<button id="getOtpBtn" class="w-full bg-primary hover:bg-secondary text-white font-medium py-3 rounded-lg transition">
Send OTP
</button>
<div id="otpSection" class="mt-6 hidden">
<label class="block text-gray-700 mb-2">Enter OTP</label>
<div class="flex space-x-2">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<input type="tel" maxlength="1" class="w-1/6 p-3 text-center border rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
</div>
<div class="mt-3 text-sm text-gray-500">
OTP sent to your mobile number. Valid for 5 minutes.
</div>
<button id="verifyOtpBtn" class="w-full bg-primary hover:bg-secondary text-white font-medium py-3 rounded-lg mt-6 transition">
Verify & Continue
</button>
</div>
<div class="mt-6 text-center text-sm text-gray-500">
By continuing, you agree to our <a href="#" class="text-primary">Terms of Service</a> and <a href="#" class="text-primary">Privacy Policy</a>
</div>
</div>
</div>
</div>
<script>
// API Base URL - Update this with your actual backend URL
const API_BASE_URL = 'https://api.logiswift.com/v1';
// User session management
let currentUser = JSON.parse(localStorage.getItem('currentUser')) || null;
let authToken = localStorage.getItem('authToken') || null;
// Check if user is logged in on page load
if (currentUser && authToken) {
updateUIForLoggedInUser();
}
// OTP Login/Register System
document.getElementById('openAppBtn').addEventListener('click', function() {
if (currentUser) {
// User is already logged in, redirect to app dashboard
window.location.href = '/dashboard';
} else {
document.getElementById('loginModal').classList.remove('hidden');
document.getElementById('loginModal').classList.add('flex');
}
});
document.getElementById('getOtpBtn').addEventListener('click', async function() {
const phoneNumber = document.querySelector('input[type="tel"]').value;
if (!phoneNumber || phoneNumber.length !== 10) {
alert('Please enter a valid 10-digit mobile number');
return;
}
try {
const response = await fetch(`${API_BASE_URL}/auth/send-otp`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
phone: `+91${phoneNumber}`
})
});
const data = await response.json();
if (data.success) {
document.getElementById('otpSection').classList.remove('hidden');
this.classList.add('hidden');
} else {
alert('Failed to send OTP: ' + data.message);
}
} catch (error) {
alert('Error sending OTP. Please try again.');
}
});
document.getElementById('verifyOtpBtn').addEventListener('click', async function() {
const otpInputs = document.querySelectorAll('#otpSection input');
const otp = Array.from(otpInputs).map(input => input.value).join('');
const phoneNumber = document.querySelector('input[type="tel"]').value;
if (otp.length !== 6) {
alert('Please enter the complete 6-digit OTP');
return;
}
try {
const response = await fetch(`${API_BASE_URL}/auth/verify-otp`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
phone: `+91${phoneNumber}`,
otp: otp
})
});
const data = await response.json();
if (data.success) {
currentUser = data.user;
authToken = data.token;
// Store user session
localStorage.setItem('currentUser', JSON.stringify(currentUser));
localStorage.setItem('authToken', authToken);
updateUIForLoggedInUser();
document.getElementById('loginModal').classList.add('hidden');
// Show welcome notification
showNotification('Login successful! Welcome to LogiSwift.', 'success');
} else {
alert('Invalid OTP. Please try again.');
}
} catch (error) {
alert('Error verifying OTP. Please try again.');
}
});
// City-wise Vehicle Availability
async function checkVehicleAvailability(city, vehicleType) {
try {
const response = await fetch(`${API_BASE_URL}/vehicles/availability?city=${city}&type=${vehicleType}`, {
headers: {
'Authorization': `Bearer ${authToken}`
}
});
const data = await response.json();
return data.available;
} catch (error) {
console.error('Error checking vehicle availability:', error);
return false;
}
}
// Fare Calculation
async function calculateFare(pickupLocation, dropLocation, vehicleType) {
try {
const response = await fetch(`${API_BASE_URL}/fare/calculate`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
},
body: JSON.stringify({
pickup: pickupLocation,
drop: dropLocation,
vehicleType: vehicleType
})
});
const data = await response.json();
return data.fare;
} catch (error) {
console.error('Error calculating fare:', error);
return null;
}
}
// Booking Management
async function createBooking(bookingData) {
try {
const response = await fetch(`${API_BASE_URL}/bookings`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
},
body: JSON.stringify(bookingData)
});
const data = await response.json();
return data.booking;
} catch (error) {
console.error('Error creating booking:', error);
return null;
}
}
async function updateBookingStatus(bookingId, status) {
try {
const response = await fetch(`${API_BASE_URL}/bookings/${bookingId}/status`, {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
},
body: JSON.stringify({ status })
});
return response.ok;
} catch (error) {
console.error('Error updating booking status:', error);
return false;
}
}
// Payment Integration
async function processPayment(bookingId, paymentMethod, paymentData) {
try {
const response = await fetch(`${API_BASE_URL}/payments/process`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
},
body: JSON.stringify({
bookingId,
paymentMethod,
...paymentData
})
});
const data = await response.json();
return data.success;
} catch (error) {
console.error('Error processing payment:', error);
return false;
}
}
// Live Tracking
function initLiveTracking(bookingId) {
// WebSocket connection for real-time tracking
const ws = new WebSocket(`wss://api.logiswift.com/tracking/${bookingId}?token=${authToken}`);
ws.onmessage = function(event) {
const trackingData = JSON.parse(event.data);
updateTrackingUI(trackingData);
};
return ws;
}
// Notifications
function showNotification(message, type = 'info') {
// Create and show notification UI
const notification = document.createElement('div');
notification.className = `fixed top-4 right-4 p-4 rounded-lg shadow-lg ${
type === 'success' ? 'bg-green-500' :
type === 'error' ? 'bg-red-500' : 'bg-blue-500'
} text-white`;
notification.textContent = message;
document.body.appendChild(notification);
setTimeout(() => {
notification.remove();
}, 5000);
}
// Update UI for logged in user
function updateUIForLoggedInUser() {
const openAppBtn = document.getElementById('openAppBtn');
if (currentUser) {
openAppBtn.innerHTML = `<i class="fas fa-user mr-2"></i> My Account`;
}
}
// Utility Functions
function updateTrackingUI(trackingData) {
// Update map and UI with live tracking data
console.log('Tracking update:', trackingData);
}
// Close modal when clicking outside
document.getElementById('loginModal').addEventListener('click', function(e) {
if (e.target === this) {
this.classList.add('hidden');
}
});
// Auto-focus next OTP input
const otpInputs = document.querySelectorAll('#otpSection input');
otpInputs.forEach((input, index) => {
input.addEventListener('input', () => {
if (input.value && index < otpInputs.length - 1) {
otpInputs[index + 1].focus();
}
});
input.addEventListener('keydown', (e) => {
if (e.key === 'Backspace' && !input.value && index > 0) {
otpInputs[index - 1].focus();
}
});
});
// Initialize service worker for push notifications
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js')
.then(() => console.log('Service Worker registered'))
.catch(err => console.log('Service Worker registration failed:', err));
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=desididi/logoswift" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LogiSwift - On-Demand Logistics</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3b82f6',
secondary: '#1e40af',
accent: '#f97316'
}
}
}
}
</script>
<style>
* {
font-family: 'Poppins', sans-serif;
}
.map-container {
height: 300px;
background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
border-radius: 12px;
position: relative;
overflow: hidden;
}
.map-overlay {
position: absolute;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
repeating-linear-gradient(0deg, transparent, transparent 19px, #e5e7eb 20px),
repeating-linear-gradient(90deg, transparent, transparent 19px, #e5e7eb 20px);
}
.route-marker {
position: absolute;
width: 12px;
height: 12px;
background: #ef4444;
border-radius: 50%;
border: 2px solid white;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.route-line {
position: absolute;
height: 4px;
background: #3b82f6;
border-radius: 2px;
transform-origin: left center;
}
.vehicle-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);
}
.order-timeline {
position: relative;
padding-left: 25px;
}
.order-timeline::before {
content: '';
position: absolute;
left: 6px;
top: 0;
height: 100%;
width: 2px;
background: #d1d5db;
}
.timeline-step {
position: relative;
margin-bottom: 20px;
}
.timeline-step::before {
content: '';
position: absolute;
left: -25px;
top: 5px;
width: 14px;
height: 14px;
border-radius: 50%;
background: #d1d5db;
}
.timeline-step.active::before {