Rayan545454 commited on
Commit
595a856
·
verified ·
1 Parent(s): 3af63d2

ابغا صفحة عنوان الاسم و الايميل و رقم الجوال بعدها زر الدفع بس - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +223 -18
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Cs46
3
- emoji:
4
- colorFrom: indigo
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: cs46
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,224 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>بيانات الدفع</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
10
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <script src="https://unpkg.com/feather-icons"></script>
13
+ <style>
14
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
15
+
16
+ body {
17
+ font-family: 'Tajawal', sans-serif;
18
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
19
+ min-height: 100vh;
20
+ }
21
+
22
+ .form-glow {
23
+ box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
24
+ transition: all 0.3s ease;
25
+ }
26
+
27
+ .form-glow:hover {
28
+ box-shadow: 0 0 50px rgba(102, 126, 234, 0.5);
29
+ }
30
+
31
+ .input-focus:focus {
32
+ transform: translateY(-2px);
33
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
34
+ }
35
+
36
+ .payment-btn {
37
+ background: linear-gradient(45deg, #667eea, #764ba2);
38
+ background-size: 200% 200%;
39
+ animation: gradientShift 3s ease infinite;
40
+ transition: all 0.3s ease;
41
+ }
42
+
43
+ .payment-btn:hover {
44
+ transform: translateY(-3px);
45
+ box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
46
+ }
47
+
48
+ @keyframes gradientShift {
49
+ 0% { background-position: 0% 50%; }
50
+ 50% { background-position: 100% 50%; }
51
+ 100% { background-position: 0% 50%; }
52
+ }
53
+
54
+ .input-icon {
55
+ transition: all 0.3s ease;
56
+ }
57
+
58
+ .input-wrapper:hover .input-icon {
59
+ transform: scale(1.1);
60
+ color: #667eea;
61
+ }
62
+ </style>
63
+ </head>
64
+ <body class="flex items-center justify-center p-4">
65
+ <div class="w-full max-w-md">
66
+ <div class="bg-white rounded-3xl form-glow p-8 md:p-10" data-aos="fade-up" data-aos-duration="1000">
67
+ <!-- Header -->
68
+ <div class="text-center mb-8" data-aos="fade-down" data-aos-delay="200">
69
+ <div class="w-20 h-20 bg-gradient-to-r from-purple-500 to-blue-600 rounded-full flex items-center justify-center mx-auto mb-4">
70
+ <i data-feather="credit-card" class="text-white w-10 h-10"></i>
71
+ </div>
72
+ <h1 class="text-3xl font-bold text-gray-800 mb-2">إتمام الدفع</h1>
73
+ <p class="text-gray-500">يرجى إدخال بياناتك لإتمام عملية الدفع</p>
74
+ </div>
75
+
76
+ <!-- Form -->
77
+ <form id="paymentForm" class="space-y-6" data-aos="fade-up" data-aos-delay="400">
78
+ <!-- Name Field -->
79
+ <div class="space-y-2">
80
+ <label class="block text-sm font-semibold text-gray-700" for="fullName">
81
+ الاسم الكامل
82
+ </label>
83
+ <div class="relative input-wrapper">
84
+ <div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
85
+ <i data-feather="user" class="input-icon text-gray-400 w-5 h-5"></i>
86
+ </div>
87
+ <input type="text"
88
+ id="fullName"
89
+ name="fullName"
90
+ class="w-full pr-12 pl-4 py-3 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent input-focus transition-all duration-300"
91
+ placeholder="أحمد محمد العلي"
92
+ required>
93
+ </div>
94
+ </div>
95
+
96
+ <!-- Email Field -->
97
+ <div class="space-y-2">
98
+ <label class="block text-sm font-semibold text-gray-700" for="email">
99
+ البريد الإلكتروني
100
+ </label>
101
+ <div class="relative input-wrapper">
102
+ <div class="absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none">
103
+ <i data-feather="mail" class="input-icon text-gray-400 w-5 h-5"></i>
104
+ </div>
105
+ <input type="email"
106
+ id="email"
107
+ name="email"
108
+ class="w-full pr-12 pl-4 py-3 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent input-focus transition-all duration-300"
109
+ placeholder="example@domain.com"
110
+ required>
111
+ </div>
112
+ </div>
113
+
114
+ <!-- Phone Field -->
115
+ <div class="space-y-2">
116
+ <label class="block text-sm font-semibold text-gray-700" for="phone">
117
+ رقم الجوال
118
+ </label>
119
+ <div class="relative input-wrapper">
120
+ <div class="absolute inset-y-0 right-0 pr-3 flex items-center">
121
+ <span class="text-gray-500 text-sm font-medium">+966</span>
122
+ </div>
123
+ <input type="tel"
124
+ id="phone"
125
+ name="phone"
126
+ class="w-full pr-20 pl-4 py-3 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent input-focus transition-all duration-300"
127
+ placeholder="512345678"
128
+ pattern="[0-9]{9}"
129
+ maxlength="9"
130
+ required>
131
+ </div>
132
+ </div>
133
+
134
+ <!-- Submit Button -->
135
+ <button type="submit"
136
+ class="w-full payment-btn text-white font-bold py-4 px-6 rounded-xl text-lg shadow-lg">
137
+ <span class="flex items-center justify-center">
138
+ <i data-feather="lock" class="w-5 h-5 ml-2"></i>
139
+ إتمام عملية الدفع
140
+ </span>
141
+ </button>
142
+
143
+ <!-- Security Notice -->
144
+ <div class="text-center mt-6" data-aos="fade-up" data-aos-delay="600">
145
+ <div class="inline-flex items-center text-sm text-gray-500">
146
+ <i data-feather="shield" class="w-4 h-4 ml-1 text-green-500"></i>
147
+ <span>معلوماتك آمنة ومشفرة بالكامل</span>
148
+ </div>
149
+ </div>
150
+ </form>
151
+ </div>
152
+ </div>
153
+
154
+ <!-- Loading Overlay -->
155
+ <div id="loadingOverlay" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
156
+ <div class="bg-white rounded-xl p-8 flex flex-col items-center">
157
+ <div class="animate-spin rounded-full h-12 w-12 border-b-2 border-purple-600 mb-4"></div>
158
+ <p class="text-gray-700 font-semibold">جاري معالجة الدفع...</p>
159
+ </div>
160
+ </div>
161
+
162
+ <!-- Success Modal -->
163
+ <div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
164
+ <div class="bg-white rounded-xl p-8 max-w-sm w-full mx-4 text-center">
165
+ <div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
166
+ <i data-feather="check" class="w-8 h-8 text-green-600"></i>
167
+ </div>
168
+ <h3 class="text-xl font-bold text-gray-800 mb-2">تم بنجاح!</h3>
169
+ <p class="text-gray-600 mb-4">تمت عملية الدفع بنجاح. سيتم إرسال تأكيد إلى بريدك الإلكتروني.</p>
170
+ <button onclick="closeModal()" class="w-full bg-purple-600 text-white py-2 px-4 rounded-lg hover:bg-purple-700 transition">
171
+ حسنًا
172
+ </button>
173
+ </div>
174
+ </div>
175
+
176
+ <script>
177
+ // Initialize AOS
178
+ AOS.init({
179
+ duration: 800,
180
+ once: true
181
+ });
182
+
183
+ // Initialize Feather Icons
184
+ feather.replace();
185
+
186
+ // Form handling
187
+ document.getElementById('paymentForm').addEventListener('submit', function(e) {
188
+ e.preventDefault();
189
+
190
+ // Show loading
191
+ document.getElementById('loadingOverlay').classList.remove('hidden');
192
+
193
+ // Simulate processing
194
+ setTimeout(() => {
195
+ document.getElementById('loadingOverlay').classList.add('hidden');
196
+ document.getElementById('successModal').classList.remove('hidden');
197
+ this.reset();
198
+ }, 2000);
199
+ });
200
+
201
+ // Close modal
202
+ function closeModal() {
203
+ document.getElementById('successModal').classList.add('hidden');
204
+ }
205
+
206
+ // Phone input formatting
207
+ document.getElementById('phone').addEventListener('input', function(e) {
208
+ this.value = this.value.replace(/[^0-9]/g, '');
209
+ });
210
+
211
+ // Add hover effects to inputs
212
+ const inputs = document.querySelectorAll('input');
213
+ inputs.forEach(input => {
214
+ input.addEventListener('focus', function() {
215
+ this.parentElement.classList.add('ring-2', 'ring-purple-200', 'rounded-xl');
216
+ });
217
+
218
+ input.addEventListener('blur', function() {
219
+ this.parentElement.classList.remove('ring-2', 'ring-purple-200', 'rounded-xl');
220
+ });
221
+ });
222
+ </script>
223
+ </body>
224
  </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ ابغا صفحة عنوان الاسم و الايميل و رقم الجوال بعدها زر الدفع بس