Spaces:
Running
Running
File size: 15,001 Bytes
75e3466 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact - MC Dev Pro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#00ffff',
secondary: '#ff00ff',
dark: '#0f0f1a',
light: '#f0f0ff'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Exo+2:wght@300;400;600&display=swap');
body {
font-family: 'Exo 2', sans-serif;
background-color: #0f0f1a;
color: #f0f0ff;
}
.orbitron {
font-family: 'Orbitron', sans-serif;
}
.neon-border {
border: 2px solid transparent;
background: linear-gradient(#0f0f1a, #0f0f1a) padding-box,
linear-gradient(45deg, #00ffff, #ff00ff) border-box;
}
.form-input {
background: rgba(15, 15, 26, 0.7);
border: 1px solid rgba(0, 255, 255, 0.3);
transition: all 0.3s ease;
}
.form-input:focus {
border-color: #00ffff;
box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
outline: none;
}
.submit-btn {
background: linear-gradient(45deg, #00ffff, #ff00ff);
transition: all 0.3s ease;
}
.submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}
.error {
border-color: #ff4d4d !important;
}
.success-message {
display: none;
background: rgba(0, 255, 255, 0.1);
border: 1px solid #00ffff;
}
</style>
</head>
<body class="min-h-screen">
<!-- Navigation -->
<nav class="py-6 px-4 md:px-8 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-primary"></div>
<span class="orbitron text-2xl font-bold text-primary">MC DEV PRO</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="index.html" class="hover:text-primary transition-colors">Home</a>
<a href="index.html#about" class="hover:text-primary transition-colors">About</a>
<a href="index.html#services" class="hover:text-primary transition-colors">Services</a>
<a href="index.html#why-hire" class="hover:text-primary transition-colors">Why Hire</a>
<a href="#" class="text-primary">Contact</a>
</div>
<button class="md:hidden text-primary">
<i data-feather="menu"></i>
</button>
</nav>
<!-- Contact Section -->
<section class="py-20 px-4 md:px-8">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-16">
<h1 class="orbitron text-3xl md:text-4xl font-bold mb-4 glow-text">Hire Me For Your Project</h1>
<p class="text-xl max-w-2xl mx-auto">Fill out the form below and I'll get back to you within 24 hours</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
<!-- Contact Form -->
<div class="bg-dark/80 backdrop-blur-sm p-8 rounded-xl neon-border">
<form id="hireForm" class="space-y-6">
<div class="success-message p-4 rounded-lg mb-6" id="successMessage">
<div class="flex items-center">
<i data-feather="check-circle" class="text-green-400 mr-2"></i>
<span>Your message has been sent successfully!</span>
</div>
</div>
<div>
<label class="block mb-2 font-medium">Full Name *</label>
<input type="text" id="name" class="form-input w-full px-4 py-3 rounded-lg" required>
<div class="text-red-400 text-sm mt-1 hidden" id="nameError">Please enter your name</div>
</div>
<div>
<label class="block mb-2 font-medium">Email Address *</label>
<input type="email" id="email" class="form-input w-full px-4 py-3 rounded-lg" required>
<div class="text-red-400 text-sm mt-1 hidden" id="emailError">Please enter a valid email</div>
</div>
<div>
<label class="block mb-2 font-medium">Project Description *</label>
<textarea id="description" rows="4" class="form-input w-full px-4 py-3 rounded-lg" placeholder="Describe your Minecraft server project in detail..." required></textarea>
<div class="text-red-400 text-sm mt-1 hidden" id="descError">Please describe your project</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block mb-2 font-medium">Budget Range ($)</label>
<select id="budget" class="form-input w-full px-4 py-3 rounded-lg">
<option value="">Select Budget</option>
<option value="500-1000">$500 - $1,000</option>
<option value="1000-2500">$1,000 - $2,500</option>
<option value="2500-5000">$2,500 - $5,000</option>
<option value="5000+">$5,000+</option>
</select>
</div>
<div>
<label class="block mb-2 font-medium">Timeline</label>
<select id="timeline" class="form-input w-full px-4 py-3 rounded-lg">
<option value="">Select Timeline</option>
<option value="1-2weeks">1-2 Weeks</option>
<option value="1month">1 Month</option>
<option value="2-3months">2-3 Months</option>
<option value="3+months">3+ Months</option>
</select>
</div>
</div>
<div>
<label class="flex items-center">
<input type="checkbox" id="nda" class="form-input mr-2">
<span>I agree to sign an NDA if required</span>
</label>
</div>
<button type="submit" class="submit-btn w-full py-4 px-6 rounded-lg font-bold text-dark orbitron">
Submit Project Request
</button>
</form>
</div>
<!-- Contact Info -->
<div>
<div class="bg-dark/80 backdrop-blur-sm p-8 rounded-xl neon-border mb-8">
<h3 class="orbitron text-2xl font-bold mb-6">Project Information</h3>
<p class="mb-6">
To help me provide the best solution for your Minecraft server, please include as much detail as possible about:
</p>
<ul class="space-y-3 mb-6">
<li class="flex items-start">
<i data-feather="check-circle" class="text-primary mr-2 mt-1"></i>
<span>Your server concept and goals</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-primary mr-2 mt-1"></i>
<span>Expected player count and community size</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-primary mr-2 mt-1"></i>
<span>Specific features or plugins needed</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-primary mr-2 mt-1"></i>
<span>Hosting requirements and preferences</span>
</li>
</ul>
<div class="border-t border-primary/30 pt-6">
<p class="font-medium mb-2">Response Time:</p>
<p>Within 24 hours during business days</p>
</div>
</div>
<div class="bg-dark/80 backdrop-blur-sm p-8 rounded-xl neon-border">
<h3 class="orbitron text-2xl font-bold mb-6">Security Commitment</h3>
<div class="flex items-start mb-4">
<i data-feather="lock" class="text-primary mr-3 mt-1"></i>
<div>
<p class="font-medium">Data Protection</p>
<p class="text-sm text-gray-400">All information submitted is encrypted and securely stored</p>
</div>
</div>
<div class="flex items-start mb-4">
<i data-feather="shield" class="text-primary mr-3 mt-1"></i>
<div>
<p class="font-medium">Privacy Assurance</p>
<p class="text-sm text-gray-400">Your project details will never be shared without permission</p>
</div>
</div>
<div class="flex items-start">
<i data-feather="file-text" class="text-primary mr-3 mt-1"></i>
<div>
<p class="font-medium">NDA Available</p>
<p class="text-sm text-gray-400">Professional confidentiality agreements upon request</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="py-10 px-4 md:px-8 border-t border-primary/30">
<div class="max-w-6xl mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-6 md:mb-0">
<div class="w-8 h-8 rounded-full bg-primary"></div>
<span class="orbitron text-xl font-bold text-primary">MC DEV PRO</span>
</div>
<div class="flex space-x-6">
<a href="#" class="hover:text-primary transition-colors">
<i data-feather="github"></i>
</a>
<a href="#" class="hover:text-primary transition-colors">
<i data-feather="twitter"></i>
</a>
<a href="#" class="hover:text-primary transition-colors">
<i data-feather="linkedin"></i>
</a>
</div>
</div>
<div class="mt-8 text-center text-gray-400">
<p>© 2023 MC Dev Pro. All rights reserved. Crafted with ❤️ for the Minecraft community.</p>
</div>
</div>
</footer>
<script>
// Initialize Feather Icons
feather.replace();
// Form validation and submission
document.getElementById('hireForm').addEventListener('submit', function(e) {
e.preventDefault();
// Reset errors
document.querySelectorAll('.error').forEach(el => el.classList.remove('error'));
document.querySelectorAll('[id$="Error"]').forEach(el => el.classList.add('hidden'));
let isValid = true;
// Validate name
const name = document.getElementById('name');
if (!name.value.trim()) {
name.classList.add('error');
document.getElementById('nameError').classList.remove('hidden');
isValid = false;
}
// Validate email
const email = document.getElementById('email');
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (!emailRegex.test(email.value)) {
email.classList.add('error');
document.getElementById('emailError').classList.remove('hidden');
isValid = false;
}
// Validate description
const description = document.getElementById('description');
if (!description.value.trim()) {
description.classList.add('error');
document.getElementById('descError').classList.remove('hidden');
isValid = false;
}
if (isValid) {
// In a real application, this would send the data to a server
// For demo purposes, we'll just show a success message
document.getElementById('successMessage').style.display = 'block';
// Reset form
this.reset();
// Scroll to success message
document.getElementById('successMessage').scrollIntoView({ behavior: 'smooth' });
// Hide success message after 5 seconds
setTimeout(() => {
document.getElementById('successMessage').style.display = 'none';
}, 5000);
}
});
</script>
</body>
</html>
|