Spaces:
Running
Running
Download register.html from halil339/gamecharge-hub: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/spaces/halil339/gamecharge-hub/resolve/main/register.html
- Command line
-
hf download hf://spaces/halil339/gamecharge-hub/register.html
-
curl -L -o register.html https://huggingface.co/spaces/halil339/gamecharge-hub/resolve/main/register.html
5.11 kB
| <html lang="ar" dir="rtl"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>GameCharge Hub - إنشاء حساب</title> | |
| <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎮</text></svg>"> | |
| <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 src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap'); | |
| body { font-family: 'Tajawal', sans-serif; } | |
| .vanta-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; } | |
| .glass { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.18); } | |
| .btn-glow { box-shadow: 0 0 12px rgba(59, 130, 246, 0.6); transition: all 0.3s ease; } | |
| .btn-glow:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.9); transform: translateY(-2px); } | |
| .input-glow:focus { box-shadow: 0 0 12px rgba(59, 130, 246, 0.6); } | |
| </style> | |
| </head> | |
| <body class="min-h-screen bg-gradient-to-br from-gray-900 via-blue-900 to-purple-900 text-white relative overflow-hidden"> | |
| <div id="vanta-bg" class="vanta-bg"></div> | |
| <main class="container mx-auto px-4 pt-24 pb-12"> | |
| <section class="max-w-md mx-auto glass rounded-2xl p-8 shadow-2xl"> | |
| <h1 class="text-3xl font-extrabold text-center mb-2">إنشاء حساب جديد</h1> | |
| <p class="text-center text-gray-300 mb-6">انضم إلى مجتمعنا وابدأ شحن ألعابك</p> | |
| <form id="registerForm" class="space-y-4"> | |
| <div> | |
| <label class="block text-sm mb-1">الاسم الكامل</label> | |
| <input type="text" id="regName" required class="w-full px-4 py-2 rounded-lg bg-white/10 input-glow focus:outline-none focus:ring-2 focus:ring-blue-500 transition" placeholder="أحمد محمد"> | |
| </div> | |
| <div> | |
| <label class="block text-sm mb-1">البريد الإلكتروني</label> | |
| <input type="email" id="regEmail" required class="w-full px-4 py-2 rounded-lg bg-white/10 input-glow focus:outline-none focus:ring-2 focus:ring-blue-500 transition" placeholder="example@mail.com"> | |
| </div> | |
| <div> | |
| <label class="block text-sm mb-1">كلمة المرور</label> | |
| <input type="password" id="regPass" required class="w-full px-4 py-2 rounded-lg bg-white/10 input-glow focus:outline-none focus:ring-2 focus:ring-blue-500 transition" placeholder="••••••••"> | |
| </div> | |
| <div> | |
| <label class="block text-sm mb-1">تأكيد كلمة المرور</label> | |
| <input type="password" id="regPassConfirm" required class="w-full px-4 py-2 rounded-lg bg-white/10 input-glow focus:outline-none focus:ring-2 focus:ring-blue-500 transition" placeholder="••••••••"> | |
| </div> | |
| <button type="submit" class="w-full btn-glow bg-blue-600 hover:bg-blue-700 py-3 rounded-lg font-bold">إنشاء الحساب</button> | |
| </form> | |
| <p class="text-center text-sm mt-4">لديك حساب بالفعل؟ <a href="index.html" class="text-blue-400 hover:underline">تسجيل الدخول</a></p> | |
| </section> | |
| </main> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| <script> | |
| VANTA.NET({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x3b82f6, | |
| backgroundColor: 0x111827, | |
| points: 10.00, | |
| maxDistance: 25.00, | |
| spacing: 18.00 | |
| }); | |
| feather.replace(); | |
| document.getElementById('registerForm').addEventListener('submit', e => { | |
| e.preventDefault(); | |
| if (document.getElementById('regPass').value !== document.getElementById('regPassConfirm').value) { | |
| return alert('كلمات المرور غير متطابقة'); | |
| } | |
| anime({ | |
| targets: '#registerForm', | |
| scale: [1, 0.95, 1], | |
| duration: 600, | |
| easing: 'easeInOutQuad' | |
| }); | |
| setTimeout(() => { | |
| alert('تم إنشاء الحساب بنجاح!'); | |
| window.location.href = 'index.html'; | |
| }, 300); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |