7777g / success.html
Rayan545454's picture
ابغا تسجيل الان بعدها الايميل تم السداد و الاسم الرقم الجوال بعدها الرقم السري - Initial Deployment
07dbb7b verified
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>تم إنشاء الحساب</title>
<link rel="stylesheet" href="https://cdn.tailwindcss.com">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#10B981',
secondary: '#065F46',
accent: '#F59E0B'
}
}
}
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Tajawal', sans-serif;
background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
.confetti {
position: absolute;
width: 10px;
height: 10px;
background-color: #10B981;
opacity: 0;
}
</style>
</head>
<body class="min-h-screen flex items-center justify-center p-4 relative overflow-hidden">
<div class="w-full max-w-md">
<div class="bg-white rounded-2xl shadow-xl p-8 border border-green-100 text-center">
<div class="mx-auto bg-green-100 rounded-full p-4 w-20 h-20 flex items-center justify-center mb-6">
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 text-green-600" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>
<h1 class="text-2xl font-bold text-gray-800 mb-4">تهانينا!</h1>
<p class="text-gray-600 mb-2">تم إنشاء حسابك بنجاح</p>
<p class="text-gray-500 text-sm mb-8">يمكنك الآن تسجيل الدخول باستخدام بيانات حسابك</p>
<div class="bg-green-50 rounded-xl p-6 mb-8 border border-green-200">
<div class="flex items-center justify-center mb-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-green-600 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
<span class="font-medium" id="userName"></span>
</div>
<div class="flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-green-600 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
<span class="font-medium" id="userEmail"></span>
</div>
</div>
<div>
<a href="#" class="w-full bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-4 rounded-lg inline-block transition duration-300 transform hover:scale-105">
تسجيل الدخول الآن
</a>
</div>
</div>
</div>
<script>
// عرض بيانات المستخدم
document.getElementById('userName').textContent = "محمد أحمد";
document.getElementById('userEmail').textContent = "mohamed@example.com";
// تأثير الورق الملون
function createConfetti() {
const container = document.body;
const confettiCount = 100;
for (let i = 0; i < confettiCount; i++) {
const confetti = document.createElement('div');
confetti.className = 'confetti';
confetti.style.left = Math.random() * 100 + 'vw';
confetti.style.top = '-10px';
confetti.style.backgroundColor = `hsl(${Math.random() * 360}, 100%, 50%)`;
confetti.style.transform = `rotate(${Math.random() * 360}deg)`;
container.appendChild(confetti);
// تحريك الورق الملون
const animation = confetti.animate([
{ top: '-10px', opacity: 1, transform: 'rotate(0deg)' },
{ top: '100vh', opacity: 0, transform: `rotate(${Math.random() * 360}deg)` }
], {
duration: Math.random() * 3000 + 2000,
easing: 'cubic-bezier(0.1, 0.8, 0.2, 1)'
});
// إزالة الورق الملون بعد انتهاء التحريك
animation.onfinish = () => confetti.remove();
}
}
// تشغيل تأثير الورق الملون
createConfetti();
setInterval(createConfetti, 2000);
</script>
</body>
</html>