temovingandstorage / index.html
revspace's picture
the viewport should be full width and full height. stretch to the edges and no scroll up/down/left/right is possible. Make the main logo larger. On mobile view, the 'Continue' button should be *above* where the user's keyboard would rise to when they click into a text field. We don't want it being covered up, - Follow Up Deployment
1b89ade verified
Raw History Blame Contribute Delete
19.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>T&E Moving and Storage | Jacksonville's Local & Long Distance Movers</title>
<meta name="description" content="Jacksonville, FL's most trusted long distance and local moving company. Transparent pricing, 25+ years experience. Get your no-surprise quote—fast.">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #F9FAFC;
}
.form-step {
display: none;
}
.form-step.active {
display: block;
}
.progress-bar {
height: 4px;
transition: width 0.3s ease;
}
input:focus, select:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.radio-option {
transition: all 0.2s ease;
}
.radio-option:hover {
background-color: #f3f4f6;
}
.radio-option.selected {
border-color: #3B82F6;
background-color: #EFF6FF;
}
@media (max-width: 640px) {
.form-step {
padding-bottom: 100px;
}
.next-step, .prev-step {
position: fixed;
bottom: 20px;
left: 20px;
right: 20px;
width: calc(100% - 40px);
z-index: 10;
}
}
</style>
</head>
<body class="flex items-center justify-center h-screen w-screen overflow-hidden p-4">
<div class="w-full max-w-md bg-white rounded-xl shadow-lg overflow-hidden">
<!-- Header -->
<div class="bg-blue-600 text-white p-6 text-center">
<img src="https://temovingandstorage.com/images/logo-main.png" alt="T&E Moving and Storage" class="h-16 mx-auto mb-3">
<h1 class="text-xl font-bold mb-1">REACH OUT FOR A FREE QUOTE</h1>
<p class="text-sm opacity-90">Jacksonville's Trusted Movers for Local & Long Distance</p>
</div>
<!-- Progress bar -->
<div class="h-1 bg-gray-200">
<div class="progress-bar bg-blue-500" style="width: 0%"></div>
</div>
<!-- Form container -->
<div class="p-6">
<!-- Step 1: Moving Type -->
<div class="form-step active" data-step="1">
<h2 class="text-lg font-semibold text-center mb-6">What kind of move?</h2>
<div class="space-y-3">
<label class="radio-option block border rounded-lg p-4 cursor-pointer">
<input type="radio" name="move_type" value="Local (FL, < 100 miles)" class="hidden" required>
<div class="flex items-center">
<div class="w-5 h-5 rounded-full border border-gray-300 mr-3 flex-shrink-0 flex items-center justify-center">
<div class="w-3 h-3 rounded-full bg-blue-500 hidden"></div>
</div>
<span>Local (FL, < 100 miles)</span>
</div>
</label>
<label class="radio-option block border rounded-lg p-4 cursor-pointer">
<input type="radio" name="move_type" value="Long Distance (100+ miles)" class="hidden" required>
<div class="flex items-center">
<div class="w-5 h-5 rounded-full border border-gray-300 mr-3 flex-shrink-0 flex items-center justify-center">
<div class="w-3 h-3 rounded-full bg-blue-500 hidden"></div>
</div>
<span>Long Distance (100+ miles)</span>
</div>
</label>
<label class="radio-option block border rounded-lg p-4 cursor-pointer">
<input type="radio" name="move_type" value="Business / Commercial" class="hidden" required>
<div class="flex items-center">
<div class="w-5 h-5 rounded-full border border-gray-300 mr-3 flex-shrink-0 flex items-center justify-center">
<div class="w-3 h-3 rounded-full bg-blue-500 hidden"></div>
</div>
<span>Business / Commercial</span>
</div>
</label>
</div>
<button class="next-step w-full mt-6 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Continue</button>
</div>
<!-- Step 2: From Zip -->
<div class="form-step" data-step="2">
<h2 class="text-lg font-semibold text-center mb-6">Where are you moving from?</h2>
<input type="text" name="from_zip" placeholder="Your zip code" pattern="^\d{5}$" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
<div class="flex mt-6 space-x-3">
<button class="prev-step flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-medium hover:bg-gray-300 transition">Back</button>
<button class="next-step flex-1 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Continue</button>
</div>
</div>
<!-- Step 3: To Zip -->
<div class="form-step" data-step="3">
<h2 class="text-lg font-semibold text-center mb-6">Where are you moving to?</h2>
<input type="text" name="to_zip" placeholder="Destination zip" pattern="^\d{5}$" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
<div class="flex mt-6 space-x-3">
<button class="prev-step flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-medium hover:bg-gray-300 transition">Back</button>
<button class="next-step flex-1 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Continue</button>
</div>
</div>
<!-- Step 4: Size -->
<div class="form-step" data-step="4">
<h2 class="text-lg font-semibold text-center mb-6">How big is the move?</h2>
<select name="move_size" required
class="w-full p-4 border rounded-lg focus:border-blue-500 appearance-none bg-white bg-[url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNoZXZyb24tZG93biI+PHBhdGggZD0ibTYgOSA2IDYgNi02Ii8+PC9zdmc+')] bg-no-repeat bg-[right_1rem_center]">
<option value="" disabled selected>Select an option</option>
<option value="Studio/1 Bedroom">Studio/1 Bedroom</option>
<option value="2 Bedroom">2 Bedroom</option>
<option value="3 Bedroom">3 Bedroom</option>
<option value="4+ Bedroom">4+ Bedroom</option>
<option value="Small Business">Small Business</option>
<option value="Large Office">Large Office</option>
</select>
<div class="flex mt-6 space-x-3">
<button class="prev-step flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-medium hover:bg-gray-300 transition">Back</button>
<button class="next-step flex-1 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Continue</button>
</div>
</div>
<!-- Step 5: Date -->
<div class="form-step" data-step="5">
<h2 class="text-lg font-semibold text-center mb-6">Preferred move date?</h2>
<input type="date" name="move_date" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
<div class="flex mt-6 space-x-3">
<button class="prev-step flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-medium hover:bg-gray-300 transition">Back</button>
<button class="next-step flex-1 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Continue</button>
</div>
</div>
<!-- Step 6: Contact -->
<div class="form-step" data-step="6">
<h2 class="text-lg font-semibold text-center mb-2">Who should we contact?</h2>
<p class="text-sm text-gray-500 text-center mb-6">We'll send your instant quote now</p>
<div class="space-y-4">
<input type="text" name="full_name" placeholder="Full Name" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
<input type="tel" name="phone" placeholder="Best phone #" pattern="^\d{10,15}$" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
<input type="email" name="email" placeholder="Email" required
class="w-full p-4 border rounded-lg focus:border-blue-500">
</div>
<div class="flex mt-6 space-x-3">
<button class="prev-step flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-medium hover:bg-gray-300 transition">Back</button>
<button type="submit" class="flex-1 bg-blue-600 text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition">Get My Quote</button>
</div>
</div>
<!-- Step 7: Processing -->
<div class="form-step" data-step="7">
<div class="text-center py-8">
<div class="inline-block mb-6">
<div class="w-16 h-16 border-4 border-blue-500 border-t-transparent rounded-full animate-spin"></div>
</div>
<h2 class="text-lg font-semibold mb-2">Matching you with a move coordinator...</h2>
<p class="text-gray-500">We're calculating your personalized quote</p>
</div>
</div>
<!-- Step 8: Success -->
<div class="form-step" data-step="8">
<div class="text-center py-8 px-4">
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-check-circle text-green-500 text-3xl"></i>
</div>
<h2 class="text-xl font-semibold mb-4">You're all set!</h2>
<div class="space-y-3 text-gray-600 mb-6">
<p>Your fast, locked-in quote is on the way.</p>
<p>Expect a call or email from our team within minutes.</p>
<p>Prefer to talk right now?</p>
</div>
<a href="tel:9049971884" class="inline-block bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition">
<i class="fas fa-phone mr-2"></i> Call (904) 997-1884
</a>
</div>
</div>
</div>
<!-- Footer -->
<div class="bg-gray-50 p-4 text-center text-sm text-gray-500">
<div class="flex justify-center space-x-4 mb-2">
<a href="/privacy" class="hover:text-blue-600">Privacy</a>
<a href="/terms" class="hover:text-blue-600">Terms</a>
</div>
<p>© 2025 T&E Moving and Storage</p>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const formSteps = document.querySelectorAll('.form-step');
const progressBar = document.querySelector('.progress-bar');
const nextButtons = document.querySelectorAll('.next-step');
const prevButtons = document.querySelectorAll('.prev-step');
const radioOptions = document.querySelectorAll('.radio-option');
const totalSteps = formSteps.length;
let currentStep = 1;
// Initialize radio buttons
radioOptions.forEach(option => {
const radioInput = option.querySelector('input[type="radio"]');
option.addEventListener('click', function() {
// Remove selected class from all options
radioOptions.forEach(opt => {
opt.classList.remove('selected');
opt.querySelector('div > div').classList.add('hidden');
});
// Add selected class to clicked option
option.classList.add('selected');
option.querySelector('div > div').classList.remove('hidden');
radioInput.checked = true;
});
});
// Next button click handler
nextButtons.forEach(button => {
button.addEventListener('click', function(e) {
e.preventDefault();
// Validate current step before proceeding
const currentFormStep = document.querySelector(`.form-step[data-step="${currentStep}"]`);
const inputs = currentFormStep.querySelectorAll('input[required], select[required]');
let isValid = true;
inputs.forEach(input => {
if (!input.checkValidity()) {
input.reportValidity();
isValid = false;
}
});
if (!isValid) return;
// Proceed to next step
if (currentStep < totalSteps) {
// Hide current step
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.remove('active');
// Update current step
currentStep++;
// Show next step
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.add('active');
// Update progress bar
const progressPercentage = ((currentStep - 1) / (totalSteps - 1)) * 100;
progressBar.style.width = `${progressPercentage}%`;
// If this is the processing step, auto-advance after delay
if (currentStep === 7) {
setTimeout(() => {
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.remove('active');
currentStep++;
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.add('active');
progressBar.style.width = '100%';
}, 3000);
}
}
});
});
// Previous button click handler
prevButtons.forEach(button => {
button.addEventListener('click', function(e) {
e.preventDefault();
if (currentStep > 1) {
// Hide current step
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.remove('active');
// Update current step
currentStep--;
// Show previous step
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.add('active');
// Update progress bar
const progressPercentage = ((currentStep - 1) / (totalSteps - 1)) * 100;
progressBar.style.width = `${progressPercentage}%`;
}
});
});
// Submit handler
document.querySelector('button[type="submit"]')?.addEventListener('click', function(e) {
e.preventDefault();
// Validate form
const currentFormStep = document.querySelector(`.form-step[data-step="${currentStep}"]`);
const inputs = currentFormStep.querySelectorAll('input[required], select[required]');
let isValid = true;
inputs.forEach(input => {
if (!input.checkValidity()) {
input.reportValidity();
isValid = false;
}
});
if (isValid) {
// In a real app, you would submit the form data here
// For this demo, we'll just proceed to the processing step
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.remove('active');
currentStep++;
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.add('active');
progressBar.style.width = `${((currentStep - 1) / (totalSteps - 1)) * 100}%`;
// Auto-progress to success after delay
setTimeout(() => {
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.remove('active');
currentStep++;
document.querySelector(`.form-step[data-step="${currentStep}"]`).classList.add('active');
progressBar.style.width = '100%';
}, 3000);
}
});
});
</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=revspace/temovingandstorage" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>