Merge version_4 into main #7
@@ -18,7 +18,6 @@ export default function LandingPage() {
|
||||
const [location, setLocation] = useState<string | null>(null);
|
||||
|
||||
const handleDropPin = () => {
|
||||
// Simulate geolocation or pin drop functionality
|
||||
alert("Pin dropped! Share this location with our driver.");
|
||||
setLocation("Dropped Pin: 35.2271° N, 80.8431° W");
|
||||
};
|
||||
@@ -179,15 +178,16 @@ export default function LandingPage() {
|
||||
]}
|
||||
textarea={{ name: "message", placeholder: location || "Describe your location and vehicle issue", required: true }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/angry-young-call-center-girl-wearing-headset-sitting-desk-pointing-isolated-orange_141793-76389.jpg"
|
||||
>
|
||||
/>
|
||||
<div className="mt-4">
|
||||
<button
|
||||
onClick={handleDropPin}
|
||||
className="mt-4 flex items-center gap-2 bg-primary text-white py-2 px-4 rounded-full font-medium transition-all hover:scale-105 active:scale-95"
|
||||
className="flex items-center gap-2 bg-primary text-white py-2 px-4 rounded-full font-medium transition-all hover:scale-105 active:scale-95"
|
||||
>
|
||||
<MapPin size={20} />
|
||||
Drop My Exact Location
|
||||
</button>
|
||||
</ContactSplitForm>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
|
||||
Reference in New Issue
Block a user