mohammedmim commited on
Commit
74e4ea9
·
verified ·
1 Parent(s): 96d5b1d

صفحه تعبه بينات وارسال الى الاميل [email protected]

Browse files
Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +98 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Data Whisperer Express Mailer
3
- emoji: 📊
4
- colorFrom: yellow
5
- colorTo: pink
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: Data Whisperer Express Mailer 📬
3
+ colorFrom: pink
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,99 @@
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="en" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Data Collection Form</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
12
+ body {
13
+ font-family: 'Tajawal', sans-serif;
14
+ }
15
+ .form-input {
16
+ transition: all 0.3s ease;
17
+ }
18
+ .form-input:focus {
19
+ box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
20
+ }
21
+ </style>
22
+ </head>
23
+ <body class="bg-gray-50 min-h-screen">
24
+ <div class="max-w-md mx-auto p-6">
25
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-8 transition-all duration-300 hover:shadow-xl">
26
+ <div class="bg-gradient-to-r from-indigo-500 to-purple-600 p-6 text-white">
27
+ <div class="flex items-center justify-between">
28
+ <div>
29
+ <h1 class="text-2xl font-bold">نموذج جمع البيانات</h1>
30
+ <p class="opacity-90">أدخل معلوماتك وسيتم إرسالها إلى البريد الإلكتروني</p>
31
+ </div>
32
+ <i data-feather="mail" class="w-10 h-10"></i>
33
+ </div>
34
+ </div>
35
+
36
+ <form id="dataForm" class="p-6 space-y-4">
37
+ <div>
38
+ <label for="name" class="block text-sm font-medium text-gray-700 mb-1">الاسم الكامل</label>
39
+ <input type="text" id="name" name="name" required
40
+ class="form-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 text-right">
41
+ </div>
42
+
43
+ <div>
44
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">البريد الإلكتروني</label>
45
+ <input type="email" id="email" name="email" required
46
+ class="form-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 text-right">
47
+ </div>
48
+
49
+ <div>
50
+ <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">رقم الهاتف</label>
51
+ <input type="tel" id="phone" name="phone"
52
+ class="form-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 text-right">
53
+ </div>
54
+
55
+ <div>
56
+ <label for="message" class="block text-sm font-medium text-gray-700 mb-1">الرسالة</label>
57
+ <textarea id="message" name="message" rows="4"
58
+ class="form-input w-full px-4 py-2 border border-gray-300 rounded-lg focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 text-right"></textarea>
59
+ </div>
60
+
61
+ <div class="flex items-center justify-between pt-2">
62
+ <button type="submit" class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2 rounded-lg font-medium transition-colors duration-300 flex items-center">
63
+ <span>إرسال</span>
64
+ <i data-feather="send" class="mr-2 w-4 h-4"></i>
65
+ </button>
66
+ </div>
67
+ </form>
68
+ </div>
69
+
70
+ <div id="successMessage" class="hidden bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded-lg relative">
71
+ <span class="absolute top-0 bottom-0 right-0 px-4 py-3">
72
+ <i data-feather="check-circle" class="h-6 w-6 text-green-500"></i>
73
+ </span>
74
+ <div class="pr-8">
75
+ <strong class="font-bold">تم الإرسال بنجاح!</strong>
76
+ <span class="block sm:inline">سيتم إرسال البيانات إلى [email protected]</span>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <script>
82
+ feather.replace();
83
+
84
+ document.getElementById('dataForm').addEventListener('submit', function(e) {
85
+ e.preventDefault();
86
+
87
+ // Simulate form submission
88
+ setTimeout(() => {
89
+ document.getElementById('successMessage').classList.remove('hidden');
90
+ document.getElementById('dataForm').reset();
91
+
92
+ setTimeout(() => {
93
+ document.getElementById('successMessage').classList.add('hidden');
94
+ }, 5000);
95
+ }, 1000);
96
+ });
97
+ </script>
98
+ </body>
99
  </html>