Spaces:
Running
Running
Download contact.html from marcus24102001/prototype-2: direct link, hf CLI and curl.
- Browser
- Download file 20.6 kB
-
https://huggingface.co/spaces/marcus24102001/prototype-2/resolve/main/contact.html
- Command line
-
hf download hf://spaces/marcus24102001/prototype-2/contact.html
-
curl -L -o contact.html https://huggingface.co/spaces/marcus24102001/prototype-2/resolve/main/contact.html
20.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="description" content="Contact DigitalEdge for digital marketing services"> | |
| <meta name="keywords" content="contact, digital marketing, seo, ppc"> | |
| <meta name="author" content="DigitalEdge"> | |
| <meta name="robots" content="index, follow"> | |
| <meta name="referrer" content="no-referrer-when-downgrade"> | |
| <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.tailwindcss.com https://unpkg.com https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: https://static.photos; font-src 'self' https://fonts.gstatic.com; connect-src 'self'; frame-src 'none'; object-src 'none';"> | |
| <meta http-equiv="X-Content-Type-Options" content="nosniff"> | |
| <meta http-equiv="X-Frame-Options" content="DENY"> | |
| <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin"> | |
| <title>Contact Us | DigitalEdge</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap" rel="stylesheet"> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js" integrity="sha384-dQf9JwTzHUSqZy+DG0mGNYiBgf1BVkxcRUdF3vdo9ZFU3U8lNytCT1u1W0B/9p" crossorigin="anonymous"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js" integrity="sha384-uO3SXW5IuS1ZpFPKugNNWqTZRRglnUJK6UAZ/gxOX80nxEkN9NcGZTftn6RzhGWE" crossorigin="anonymous"></script> | |
| <script src="https://unpkg.com/feather-icons" integrity="sha384-4HfKZ5rAmd3mwgjBsdNjfLaPOGoCtJ9eKZlkVV8B5+E3b5Lk0V1joPzG0nuMyM9" crossorigin="anonymous"></script> | |
| <style> | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: 'Montserrat', sans-serif; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(to right, #667eea, #764ba2); | |
| } | |
| .btn-primary:hover { | |
| background: linear-gradient(to right, #764ba2, #667eea); | |
| } | |
| .form-input:focus { | |
| border-color: #667eea; | |
| box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="fixed w-full bg-white shadow-md z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-20 items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <span class="text-2xl font-bold text-indigo-600">Digital<span class="text-purple-600">Edge</span></span> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-10 flex items-baseline space-x-8"> | |
| <a href="index.html" class="text-gray-600 hover:text-indigo-600 font-medium">Home</a> | |
| <a href="about.html" class="text-gray-600 hover:text-indigo-600 font-medium">About</a> | |
| <a href="services.html" class="text-gray-600 hover:text-indigo-600 font-medium">Services</a> | |
| <a href="portfolio.html" class="text-gray-600 hover:text-indigo-600 font-medium">Portfolio</a> | |
| <a href="#" class="text-indigo-600 font-medium">Contact</a> | |
| </div> | |
| </div> | |
| <div class="hidden md:block"> | |
| <button class="btn-primary text-white px-6 py-2 rounded-full font-semibold">Get Started</button> | |
| </div> | |
| <div class="md:hidden"> | |
| <button id="mobile-menu-button" class="text-gray-600 hover:text-indigo-600"> | |
| <i data-feather="menu" class="w-6 h-6"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg"> | |
| <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3"> | |
| <a href="index.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-600 hover:text-indigo-600">Home</a> | |
| <a href="about.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-600 hover:text-indigo-600">About</a> | |
| <a href="services.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-600 hover:text-indigo-600">Services</a> | |
| <a href="portfolio.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-600 hover:text-indigo-600">Portfolio</a> | |
| <a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-indigo-600">Contact</a> | |
| <button class="w-full mt-2 btn-primary text-white px-6 py-2 rounded-full font-semibold">Get Started</button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="pt-32 pb-20 bg-gradient-to-r from-indigo-500 to-purple-600"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h1 class="text-4xl md:text-5xl lg:text-6xl font-extrabold text-white mb-6"> | |
| Get In <span class="text-yellow-300">Touch</span> | |
| </h1> | |
| <p class="text-xl text-indigo-100 max-w-3xl mx-auto"> | |
| Have questions? Our team is ready to help you grow your business. | |
| </p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section class="py-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-16"> | |
| <div data-aos="fade-right"> | |
| <h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-8"> | |
| Contact <span class="text-indigo-600">Information</span> | |
| </h2> | |
| <div class="space-y-8"> | |
| <div class="flex items-start"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="map-pin" class="w-6 h-6 text-indigo-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-semibold text-gray-900">Our Location</h3> | |
| <p class="mt-2 text-gray-600"> | |
| 123 Marketing Street, Digital City, DC 10001 | |
| </p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="phone" class="w-6 h-6 text-indigo-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-semibold text-gray-900">Phone Number</h3> | |
| <p class="mt-2 text-gray-600"> | |
| +1 (555) 123-4567 | |
| </p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="mail" class="w-6 h-6 text-indigo-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-semibold text-gray-900">Email Address</h3> | |
| <p class="mt-2 text-gray-600"> | |
| info@digitaledge.com | |
| </p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0"> | |
| <i data-feather="clock" class="w-6 h-6 text-indigo-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-semibold text-gray-900">Working Hours</h3> | |
| <p class="mt-2 text-gray-600"> | |
| Monday - Friday: 9AM - 6PM<br> | |
| Saturday: 10AM - 4PM<br> | |
| Sunday: Closed | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12"> | |
| <h3 class="text-xl font-semibold text-gray-900 mb-6">Follow Us</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 hover:bg-indigo-600 hover:text-white transition-colors"> | |
| <i data-feather="facebook" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 hover:bg-indigo-600 hover:text-white transition-colors"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 hover:bg-indigo-600 hover:text-white transition-colors"> | |
| <i data-feather="instagram" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 hover:bg-indigo-600 hover:text-white transition-colors"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div data-aos="fade-left"> | |
| <div class="bg-white rounded-2xl shadow-xl p-8"> | |
| <h3 class="text-2xl font-bold text-gray-900 mb-6">Send us a message</h3> | |
| <form id="contact-form" class="space-y-6"> | |
| <div> | |
| <label for="name" class="block text-sm font-medium text-gray-700 mb-1">Full Name</label> | |
| <input type="text" id="name" name="name" required class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label> | |
| <input type="email" id="email" name="email" required class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label> | |
| <input type="tel" id="phone" name="phone" class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label> | |
| <input type="text" id="subject" name="subject" required class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="message" class="block text-sm font-medium text-gray-700 mb-1">Message</label> | |
| <textarea id="message" name="message" rows="5" required class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500"></textarea> | |
| </div> | |
| <div> | |
| <button type="submit" class="btn-primary text-white w-full py-3 px-6 rounded-lg font-semibold text-lg hover:shadow-lg transition-all"> | |
| Send Message | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Map Section --> | |
| <section class="pb-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-2xl shadow-xl overflow-hidden"> | |
| <iframe | |
| src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d193595.15830869428!2d-74.11976397304603!3d40.69766374874431!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c24fa5d33f083b%3A0xc80b8f06e177fe62!2sNew%20York%2C%20NY%2C%20USA!5e0!3m2!1sen!2s!4v1618404240000!5m2!1sen!2s" | |
| width="100%" | |
| height="450" | |
| style="border:0;" | |
| allowfullscreen="" | |
| loading="lazy" | |
| referrerpolicy="no-referrer-when-downgrade"> | |
| </iframe> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white pt-20 pb-10"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-10 mb-12"> | |
| <div> | |
| <h3 class="text-2xl font-bold mb-6">Digital<span class="text-indigo-400">Edge</span></h3> | |
| <p class="text-gray-400 mb-6"> | |
| We help businesses grow through innovative digital marketing strategies and creative solutions. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="facebook" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="instagram" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-6">Services</h4> | |
| <ul class="space-y-3"> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">SEO Optimization</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">PPC Advertising</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">Social Media Marketing</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">Content Marketing</a></li> | |
| <li><a href="services.html" class="text-gray-400 hover:text-white">Email Marketing</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-6">Company</h4> | |
| <ul class="space-y-3"> | |
| <li><a href="about.html" class="text-gray-400 hover:text-white">About Us</a></li> | |
| <li><a href="about.html" class="text-gray-400 hover:text-white">Our Team</a></li> | |
| <li><a href="portfolio.html" class="text-gray-400 hover:text-white">Case Studies</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-6">Contact</h4> | |
| <ul class="space-y-3 text-gray-400"> | |
| <li class="flex items-start"> | |
| <i data-feather="map-pin" class="w-5 h-5 mr-3 mt-1"></i> | |
| <span>123 Marketing Street, Digital City, DC 10001</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="phone" class="w-5 h-5 mr-3"></i> | |
| <span>+1 (555) 123-4567</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="mail" class="w-5 h-5 mr-3"></i> | |
| <span>info@digitaledge.com</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400">© 2023 DigitalEdge. All rights reserved.</p> | |
| <div class="mt-4 md:mt-0 flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a> | |
| <a href="#" class="text-gray-400 hover:text-white">Terms of Service</a> | |
| <a href="#" class="text-gray-400 hover:text-white">Sitemap</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize AOS | |
| AOS.init({ | |
| duration: 800, | |
| easing: 'ease-in-out', | |
| once: true | |
| }); | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Mobile menu toggle | |
| const mobileMenuButton = document.getElementById('mobile-menu-button'); | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| }); | |
| // Sanitize function to prevent XSS | |
| function sanitizeHTML(str) { | |
| const temp = document.createElement('div'); | |
| temp.textContent = str; | |
| return temp.innerHTML; | |
| } | |
| // Form submission handler with XSS protection | |
| document.getElementById('contact-form').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // Get form data | |
| const formData = new FormData(this); | |
| const sanitizedData = {}; | |
| // Sanitize all inputs | |
| for (let [key, value] of formData.entries()) { | |
| sanitizedData[key] = sanitizeHTML(value.toString()); | |
| } | |
| // Process sanitized data (in a real app, send to server) | |
| console.log('Sanitized form data:', sanitizedData); | |
| // Show success message | |
| alert('Thank you for your message! We will get back to you soon.'); | |
| this.reset(); | |
| }); | |
| </script> | |
| </body> | |
| </html> |