Deepseek ArtifactsDeepseek Artifacts

Créer une app GPS avec Google Maps en HTML

4.0
fr
Développement Web
GPS
Google Maps
HTML
Application

Prompt

crée une application GPS en utilisant google map en html

Generated Result

import React from 'react';

class App extends React.Component {
  render() {
    return (
      <div className="App">
        <header className="bg-blue-600 text-white p-5">
          <h1 className="text-3xl font-bold">GPS Application</h1>
        </header>
        <main className="p-5">
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">Map Integration</h2>
            <iframe
              src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3153.8354345093747!2d-122.0846295846814!3d37.421999979825215!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x808580776c9a83d1%3A0x3b2a7f8b9b4b4b4b!2sGoogleplex!5e0!3m2!1sen!2sus!4v1617218947448!5m2!1sen!2sus"
              width="100%"
              height="450"
              style={{ border: 0 }}
              allowFullScreen
              loading="lazy"
            ></iframe>
          </section>
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">Features</h2>
            <div className="grid grid-cols-1 md:grid-cols-3 gap-4">
              <div className="bg-gray-100 p-4 rounded-lg shadow-md">
                <h3 className="text-xl font-semibold">Real-Time Tracking</h3>
                <p>Track your location in real-time with precision.</p>
              </div>
              <div className="bg-gray-100 p-4 rounded-lg shadow-md">
                <h3 className="text-xl font-semibold">Route Planning</h3>
                <p>Plan your route with multiple stops and optimizations.</p>
              </div>
              <div className="bg-gray-100 p-4 rounded-lg shadow-md">
                <h3 className="text-xl font-semibold">History</h3>
                <p>View your travel history and analyze your trips.</p>
              </div>
            </div>
          </section>
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">Testimonials</h2>
            <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
              <div className="bg-white p-4 rounded-lg shadow-md">
                <p className="italic">"This GPS app changed the way I travel. It's incredibly accurate and easy to use."</p>
                <p className="font-semibold mt-2">- Jane Doe</p>
              </div>
              <div className="bg-white p-4 rounded-lg shadow-md">
                <p className="italic">"I love the route planning feature. It saves me so much time on my daily commute."</p>
                <p className="font-semibold mt-2">- John Smith</p>
              </div>
            </div>
          </section>
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">Contact Us</h2>
            <form className="bg-white p-6 rounded-lg shadow-md">
              <div className="mb-4">
                <label className="block text-sm font-medium mb-2">Name</label>
                <input type="text" className="w-full p-2 border rounded-md" />
              </div>
              <div className="mb-4">
                <label className="block text-sm font-medium mb-2">Email</label>
                <input type="email" className="w-full p-2 border rounded-md" />
              </div>
              <div className="mb-4">
                <label className="block text-sm font-medium mb-2">Message</label>
                <textarea className="w-full p-2 border rounded-md" rows="4"></textarea>
              </div>
              <button type="submit" className="bg-blue-600 text-white py-2 px-4 rounded-md">Send</button>
            </form>
          </section>
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">About Us</h2>
            <p className="text-lg">We are a team of passionate developers dedicated to creating innovative GPS solutions. Our mission is to make navigation simple, efficient, and accessible for everyone.</p>
          </section>
          <section className="mb-10">
            <h2 className="text-2xl font-semibold mb-3">Download Now</h2>
            <div className="flex space-x-4">
              <button className="bg-blue-600 text-white py-2 px-4 rounded-md">Download for iOS</button>
              <button className="bg-green-600 text-white py-2 px-4 rounded-md">Download for Android</button>
            </div>
          </section>
          <footer className="bg-gray-800 text-white p-5 text-center">
            <p>&copy; 2025 GPS Application. All rights reserved.</p>
          </footer>
        </main>
      </div>
    );
  }
}

export default App;

More Recommendations

View All