undefined / contact.html
Nadeemk2801's picture
Replace with this Logo
b44b5f1 verified
Raw
History Blame Contribute Delete
8.85 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - ByteGuard TechnoShields</title>
<meta name="description" content="Get in touch with ByteGuard TechnoShields for professional IT support and services in Durban.">
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'silver': '#C0C0C0',
'onyx': '#353839',
'gunmetal': '#2C3539'
}
}
}
}
</script>
<style>
.contact-gradient {
background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(53,56,57,0.8) 100%);
}
.form-input {
background-color: rgba(255,255,255,0.05);
border: 1px solid rgba(192, 192, 192, 0.3);
}
.form-input:focus {
background-color: rgba(255,255,255,0.1);
}
</style>
</head>
<body class="bg-black text-silver font-sans">
<!-- Navigation -->
<nav class="bg-onyx shadow-lg fixed w-full z-10">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<a href="index.html"><img src="https://huggingface.co/spaces/Nadeemk2801/undefined/resolve/main/images/New_Logo-removebg-preview.png" alt="Y-IT Logo" class="h-12 object-contain"></a>
</div>
<div class="hidden md:flex space-x-8">
<a href="index.html" class="text-silver hover:text-white px-3 py-2">Home</a>
<a href="about.html" class="text-silver hover:text-white px-3 py-2">About Us</a>
<a href="services.html" class="text-silver hover:text-white px-3 py-2">Services</a>
<a href="security.html" class="text-silver hover:text-white px-3 py-2">Security</a>
<a href="#" class="text-white px-3 py-2">Contact</a>
</div>
<div class="md:hidden">
<button class="text-silver focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="pt-32 pb-20 contact-gradient relative">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<div class="flex flex-col items-center">
<img src="https://huggingface.co/spaces/Nadeemk2801/undefined/resolve/main/images/New_Logo-removebg-preview.png" alt="Y-IT Logo" class="h-24 mb-6 object-contain">
<h1 class="text-4xl md:text-6xl font-bold text-white mb-6">Contact <span class="text-silver">Us</span></h1>
</div>
<p class="text-xl text-silver mb-8">Serving South African and International Businesses for over 25 years. We're here to help with all your IT needs.</p>
</div>
</div>
</section>
<!-- Contact Form -->
<section class="py-20 bg-gunmetal">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto">
<div class="bg-onyx rounded-lg p-8 shadow-xl">
<form id="contactForm">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label for="contactName" class="block text-silver mb-2">Full Name</label>
<input type="text" id="contactName" class="w-full px-4 py-3 rounded form-input text-white" required>
</div>
<div>
<label for="contactEmail" class="block text-silver mb-2">Email Address</label>
<input type="email" id="contactEmail" class="w-full px-4 py-3 rounded form-input text-white" required>
</div>
</div>
<div class="mb-6">
<label for="contactSubject" class="block text-silver mb-2">Subject</label>
<input type="text" id="contactSubject" class="w-full px-4 py-3 rounded form-input text-white" required>
</div>
<div class="mb-6">
<label for="contactMessage" class="block text-silver mb-2">Message</label>
<textarea id="contactMessage" rows="5" class="w-full px-4 py-3 rounded form-input text-white" required></textarea>
</div>
<button type="submit" class="w-full bg-silver text-black py-3 rounded-md font-semibold hover:bg-white transition duration-300">
Send Message
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Contact Info -->
<section class="py-20 bg-black">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="text-center">
<div class="bg-onyx p-6 rounded-lg">
<div class="text-silver mb-4">
<i data-feather="map-pin" class="w-10 h-10 mx-auto"></i>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Our Location</h3>
<p class="text-silver">87 Adelaide Tambo Drive<br>Durban North, 4051</p>
</div>
</div>
<div class="text-center">
<div class="bg-onyx p-6 rounded-lg">
<div class="text-silver mb-4">
<i data-feather="phone" class="w-10 h-10 mx-auto"></i>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Call Us</h3>
<p class="text-silver">087 997 0948<br>Emergency: 24/7</p>
</div>
</div>
<div class="text-center">
<div class="bg-onyx p-6 rounded-lg">
<div class="text-silver mb-4">
<i data-feather="mail" class="w-10 h-10 mx-auto"></i>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Email Us</h3>
<p class="text-silver">yitsupport@y-it.co.za<br>Support: 24/7</p>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-onyx py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<p class="text-silver mb-4 md:mb-0">© 2023 Y-IT. All rights reserved.</p>
<div class="flex space-x-4">
<a href="#" class="text-silver hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-silver hover:text-white"><i data-feather="twitter"></i></a>
<a href="#" class="text-silver hover:text-white"><i data-feather="linkedin"></i></a>
</div>
</div>
</div>
</footer>
<script>
// Handle form submission
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
// Collect form data
const formData = {
name: document.getElementById('contactName').value,
email: document.getElementById('contactEmail').value,
subject: document.getElementById('contactSubject').value,
message: document.getElementById('contactMessage').value
};
// Here you would typically send the form data to your server
console.log('Contact form submitted:', formData);
// Show success message
alert('Thank you for your message! We will contact you shortly.');
// Reset form
this.reset();
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>