Spaces:
Running
Running
File size: 25,736 Bytes
a415edd 1ab0308 | 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 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | <!DOCTYPE html>
<html lang="en" dir="auto">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ResumeRocket - AI-Powered CV Builder</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 src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
.rtl { direction: rtl; }
.language-switch { transition: all 0.3s ease; }
.gradient-bg { background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%); }
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.progress-bar { transition: width 0.5s ease-in-out; }
.template-selector input:checked + div { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.skill-tag { transition: all 0.2s ease; }
.skill-tag:hover { transform: scale(1.05); }
.arabic-font { font-family: 'Tahoma', sans-serif; }
</style>
</head>
<body class="font-sans antialiased bg-gray-50" id="vanta-bg">
<!-- Language Switch -->
<div class="fixed top-4 right-4 z-50">
<button id="languageSwitch" class="language-switch flex items-center gap-2 bg-white px-3 py-2 rounded-full shadow-md text-sm font-medium text-blue-600 hover:bg-blue-50">
<span id="currentLang">EN</span>
<i data-feather="globe" class="w-4 h-4"></i>
</button>
</div>
<!-- Auth Modal -->
<div id="authModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl p-8 w-full max-w-md mx-4">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold text-gray-800" id="authTitle">Sign In</h3>
<button id="closeAuthModal" class="text-gray-500 hover:text-gray-700">
<i data-feather="x"></i>
</button>
</div>
<div id="authTabs" class="flex border-b border-gray-200 mb-6">
<button class="auth-tab py-2 px-4 font-medium text-sm flex-1 text-center border-b-2 border-transparent" data-tab="signin">Sign In</button>
<button class="auth-tab py-2 px-4 font-medium text-sm flex-1 text-center border-b-2 border-transparent" data-tab="signup">Sign Up</button>
</div>
<form id="authForm" class="space-y-4">
<div>
<label for="authEmail" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="authEmail" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" required>
</div>
<div>
<label for="authPassword" class="block text-sm font-medium text-gray-700 mb-1">Password</label>
<input type="password" id="authPassword" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" required minlength="6">
</div>
<div id="nameField" class="hidden">
<label for="authName" class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
<input type="text" id="authName" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<button type="submit" id="authSubmit" class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition">
Sign In
</button>
</form>
<div class="mt-4 text-center text-sm text-gray-600">
<button id="forgotPassword" class="text-blue-600 hover:text-blue-800">Forgot password?</button>
</div>
</div>
</div>
<!-- Hero Section -->
<header class="relative overflow-hidden">
<div class="absolute inset-0 gradient-bg opacity-90"></div>
<div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
<div class="text-center">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-4" id="heroTitle">Build Your Perfect Resume in Minutes</h1>
<p class="text-xl text-blue-100 max-w-3xl mx-auto mb-8" id="heroSubtitle">AI-powered CV builder that crafts professional, optimized resumes for any job in English or Arabic</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button id="getStartedBtn" class="bg-white text-blue-600 px-6 py-3 rounded-lg font-semibold hover:bg-blue-50 transition shadow-lg">
Get Started - It's Free
</button>
<button class="bg-white bg-opacity-20 text-white px-6 py-3 rounded-lg font-semibold hover:bg-opacity-30 transition border border-white border-opacity-30 shadow-lg flex items-center gap-2">
<i data-feather="play-circle" class="w-5 h-5"></i>
<span>See How It Works</span>
</button>
</div>
</div>
</div>
</header>
<!-- Features Section -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4" id="featuresTitle">Why ResumeRocket Stands Out</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto" id="featuresSubtitle">Powered by advanced AI to give you the competitive edge in your job search</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="zap" class="w-6 h-6 text-blue-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">AI-Powered Enhancements</h3>
<p class="text-gray-600">Get professional phrasing, measurable achievements, and industry-specific keywords suggested by our AI</p>
</div>
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-teal-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="globe" class="w-6 h-6 text-teal-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Dual Language Support</h3>
<p class="text-gray-600">Create resumes in both English and Arabic with perfect translations for the Middle East job market</p>
</div>
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="dollar-sign" class="w-6 h-6 text-purple-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Salary Insights</h3>
<p class="text-gray-600">Get real-time salary data for your role and region to negotiate better offers</p>
</div>
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="check-circle" class="w-6 h-6 text-green-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">ATS Optimization</h3>
<p class="text-gray-600">Our resumes are designed to pass through Applicant Tracking Systems with high scores</p>
</div>
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="file-text" class="w-6 h-6 text-yellow-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Smart Templates</h3>
<p class="text-gray-600">Choose from professionally designed templates that suit your industry and experience level</p>
</div>
<div class="card-hover bg-gray-50 p-6 rounded-xl">
<div class="w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center mb-4">
<i data-feather="download" class="w-6 h-6 text-red-600"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">One-Click Export</h3>
<p class="text-gray-600">Download in PDF, DOCX or get a shareable link to send to recruiters instantly</p>
</div>
</div>
</div>
</section>
<!-- Templates Preview -->
<section class="py-16 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4" id="templatesTitle">Professional Resume Templates</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto" id="templatesSubtitle">Designed to impress recruiters and pass ATS scans</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="template-selector">
<input type="radio" name="template" id="template1" class="hidden" checked>
<label for="template1" class="cursor-pointer">
<div class="card-hover bg-white rounded-xl overflow-hidden shadow-md border-2 border-transparent">
<div class="h-48 bg-blue-600 flex items-center justify-center">
<span class="text-white font-bold text-xl">Minimalist</span>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-900 mb-1">Executive</h3>
<p class="text-sm text-gray-600">Clean and professional for corporate roles</p>
</div>
</div>
</label>
</div>
<div class="template-selector">
<input type="radio" name="template" id="template2" class="hidden">
<label for="template2" class="cursor-pointer">
<div class="card-hover bg-white rounded-xl overflow-hidden shadow-md border-2 border-transparent">
<div class="h-48 bg-teal-500 flex items-center justify-center">
<span class="text-white font-bold text-xl">Modern</span>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-900 mb-1">Creative</h3>
<p class="text-sm text-gray-600">For designers and creative professionals</p>
</div>
</div>
</label>
</div>
<div class="template-selector">
<input type="radio" name="template" id="template3" class="hidden">
<label for="template3" class="cursor-pointer">
<div class="card-hover bg-white rounded-xl overflow-hidden shadow-md border-2 border-transparent">
<div class="h-48 bg-gray-800 flex items-center justify-center">
<span class="text-white font-bold text-xl">Bold</span>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-900 mb-1">Technical</h3>
<p class="text-sm text-gray-600">For engineers and developers</p>
</div>
</div>
</label>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 gradient-bg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-bold text-white mb-6" id="ctaTitle">Ready to Build Your Winning Resume?</h2>
<p class="text-xl text-blue-100 mb-8 max-w-3xl mx-auto" id="ctaSubtitle">Join thousands who landed interviews at top companies with ResumeRocket</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button id="mainGetStartedBtn" class="bg-white text-blue-600 px-8 py-4 rounded-lg font-semibold text-lg hover:bg-blue-50 transition shadow-lg">
Start Now - It's Free
</button>
<button class="bg-white bg-opacity-20 text-white px-8 py-4 rounded-lg font-semibold text-lg hover:bg-opacity-30 transition border border-white border-opacity-30 shadow-lg flex items-center gap-2">
<i data-feather="dollar-sign" class="w-5 h-5"></i>
<span>Upgrade to Premium</span>
</button>
</div>
<p class="text-blue-100 mt-6 text-sm" id="pricingNote">Premium unlocks unlimited downloads for just 19 AED/month</p>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<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-8">
<div>
<h3 class="text-lg font-semibold mb-4">ResumeRocket</h3>
<p class="text-gray-400 text-sm">The smartest way to build resumes that get you hired faster.</p>
</div>
<div>
<h4 class="text-md font-medium mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Templates</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">FAQ</a></li>
</ul>
</div>
<div>
<h4 class="text-md font-medium mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white text-sm">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a></li>
</ul>
</div>
<div>
<h4 class="text-md font-medium mb-4">Connect</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="linkedin"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="instagram"></i></a>
</div>
<p class="text-gray-400 text-sm">support@resumerocket.com</p>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400 text-sm">
<p>© 2023 ResumeRocket. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Firebase Configuration
const firebaseConfig = {
apiKey: "AIzaSyDEXAMPLE1234567890abcdefghijklmnopq",
authDomain: "resumerocket-12345.firebaseapp.com",
projectId: "resumerocket-12345",
storageBucket: "resumerocket-12345.appspot.com",
messagingSenderId: "123456789012",
appId: "1:123456789012:web:abcdefghijklmnopqrstuv"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
// Vanta.js Background
VANTA.NET({
el: "#vanta-bg",
color: 0x3b82f6,
backgroundColor: 0xf8fafc,
points: 12,
maxDistance: 20,
spacing: 15
});
// Language Toggle
let currentLanguage = 'en';
const languageSwitch = document.getElementById('languageSwitch');
const currentLangDisplay = document.getElementById('currentLang');
languageSwitch.addEventListener('click', () => {
currentLanguage = currentLanguage === 'en' ? 'ar' : 'en';
currentLangDisplay.textContent = currentLanguage === 'en' ? 'EN' : 'AR';
document.documentElement.lang = currentLanguage;
document.documentElement.dir = currentLanguage === 'ar' ? 'rtl' : 'ltr';
// Update all translatable elements
updateLanguage();
});
function updateLanguage() {
const translations = {
en: {
heroTitle: "Build Your Perfect Resume in Minutes",
heroSubtitle: "AI-powered CV builder that crafts professional, optimized resumes for any job in English or Arabic",
featuresTitle: "Why ResumeRocket Stands Out",
featuresSubtitle: "Powered by advanced AI to give you the competitive edge in your job search",
templatesTitle: "Professional Resume Templates",
templatesSubtitle: "Designed to impress recruiters and pass ATS scans",
ctaTitle: "Ready to Build Your Winning Resume?",
ctaSubtitle: "Join thousands who landed interviews at top companies with ResumeRocket",
pricingNote: "Premium unlocks unlimited downloads for just 19 AED/month"
},
ar: {
heroTitle: "أنشئ سيرتك الذاتية المثالية في دقائق",
heroSubtitle: "منشئ سير ذاتية مدعوم بالذكاء الاصطناعي يصمم سيرًا ذاتية احترافية ومُحسنة لأي وظيفة باللغتين الإنجليزية والعربية",
featuresTitle: "لماذا يتميز ResumeRocket",
featuresSubtitle: "مدعومًا بالذكاء الاصطناعي المتقدم لمنحك ميزة تنافسية في بحثك عن وظيفة",
templatesTitle: "قوالب سيرة ذاتية احترافية",
templatesSubtitle: "مصممة لإبهار المسؤولين عن التوظيف واجتياز فحوصات أنظمة تتبع المتقدمين",
ctaTitle: "هل أنت مستعد لبناء سيرتك الذاتية الفائزة؟",
ctaSubtitle: "انضم إلى الآلاف الذين حصلوا على مقابلات في كبرى الشركات باستخدام ResumeRocket",
pricingNote: "الاشتراك المميز يفتح تحميلات غير محدودة مقابل 19 درهمًا فقط شهريًا"
}
};
const currentTranslations = translations[currentLanguage];
for (const [key, value] of Object.entries(currentTranslations)) {
const element = document.getElementById(key);
if (element) {
element.textContent = value;
if (currentLanguage === 'ar' && !element.classList.contains('arabic-font')) {
element.classList.add('arabic-font');
} else if (currentLanguage === 'en' && element.classList.contains('arabic-font')) {
element.classList.remove('arabic-font');
}
}
}
}
// Auth Modal Handling
const authModal = document.getElementById('authModal');
const authTitle = document.getElementById('authTitle');
const authSubmit = document.getElementById('authSubmit');
const authTabs = document.querySelectorAll('.auth-tab');
const nameField = document.getElementById('nameField');
const closeAuthModal = document.getElementById('closeAuthModal');
const getStartedBtns = document.querySelectorAll('#getStartedBtn, #mainGetStartedBtn');
getStartedBtns.forEach(btn => {
btn.addEventListener('click', () => {
authModal.classList.remove('hidden');
document.body.style.overflow = 'hidden';
});
});
closeAuthModal.addEventListener('click', () => {
authModal.classList.add('hidden');
document.body.style.overflow = 'auto';
});
authTabs.forEach(tab => {
tab.addEventListener('click', () => {
const tabName = tab.getAttribute('data-tab');
authTabs.forEach(t => t.classList.remove('border-blue-500', 'text-blue-600'));
tab.classList.add('border-blue-500', 'text-blue-600');
if (tabName === 'signup') {
authTitle.textContent = currentLanguage === 'en' ? 'Sign Up' : 'تسجيل حساب';
authSubmit.textContent = currentLanguage === 'en' ? 'Sign Up' : 'تسجيل';
nameField.classList.remove('hidden');
} else {
authTitle.textContent = currentLanguage === 'en' ? 'Sign In' : 'تسجيل الدخول';
authSubmit.textContent = currentLanguage === 'en' ? 'Sign In' : 'دخول';
nameField.classList.add('hidden');
}
});
});
// Firebase Auth
const authForm = document.getElementById('authForm');
authForm.addEventListener('submit', (e) => {
e.preventDefault();
const email = document.getElementById('authEmail').value;
const password = document.getElementById('authPassword').value;
const name = document.getElementById('authName').value;
const isSignUp = authSubmit.textContent === 'Sign Up' || authSubmit.textContent === 'تسجيل';
if (isSignUp) {
firebase.auth().createUserWithEmailAndPassword(email, password)
.then((userCredential) => {
return userCredential.user.updateProfile({
displayName: name
});
})
.then(() => {
window.location.href = 'builder.html';
})
.catch((error) => {
alert(error.message);
});
} else {
firebase.auth().signInWithEmailAndPassword(email, password)
.then(() => {
window.location.href = 'builder.html';
})
.catch((error) => {
alert(error.message);
});
}
});
// Forgot Password
document.getElementById('forgotPassword').addEventListener('click', () => {
const email = prompt(currentLanguage === 'en' ? 'Enter your email to reset password:' : 'أدخل بريدك الإلكتروني لإعادة تعيين كلمة المرور:');
if (email) {
firebase.auth().sendPasswordResetEmail(email)
.then(() => {
alert(currentLanguage === 'en' ? 'Password reset email sent!' : 'تم إرسال رابط إعادة تعيين كلمة المرور!');
})
.catch((error) => {
alert(error.message);
});
}
});
// Initialize Feather Icons
document.addEventListener('DOMContentLoaded', () => {
feather.replace();
});
</script>
</body>
</html>
|