MrAzoooz commited on
Commit
b5c0aaf
·
verified ·
1 Parent(s): 49ec4f5

undefined - Initial Deployment

Browse files
Files changed (5) hide show
  1. README.md +7 -5
  2. algebra.html +211 -0
  3. basic-operations.html +253 -0
  4. index.html +170 -18
  5. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Math
3
- emoji: 🔥
4
- colorFrom: blue
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: math
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: purple
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
algebra.html ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <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
+ <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Tajawal', sans-serif;
14
+ }
15
+ .algebra-card {
16
+ transition: all 0.3s ease;
17
+ }
18
+ .algebra-card:hover {
19
+ transform: translateY(-5px);
20
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
21
+ }
22
+ .equation {
23
+ font-family: 'Times New Roman', Times, serif;
24
+ font-size: 1.2rem;
25
+ }
26
+ </style>
27
+ </head>
28
+ <body class="bg-gray-50 text-gray-800">
29
+ <header class="bg-green-600 text-white shadow-lg">
30
+ <div class="container mx-auto px-4 py-6">
31
+ <div class="flex justify-between items-center">
32
+ <div class="flex items-center space-x-4">
33
+ <a href="index.html" class="text-white">
34
+ <i data-feather="arrow-right" class="w-6 h-6"></i>
35
+ </a>
36
+ <h1 class="text-2xl font-bold">الجبر</h1>
37
+ </div>
38
+ <button class="p-2 rounded-full hover:bg-green-700">
39
+ <i data-feather="search" class="w-6 h-6"></i>
40
+ </button>
41
+ </div>
42
+ </div>
43
+ </header>
44
+
45
+ <main class="container mx-auto px-4 py-8">
46
+ <section class="mb-12">
47
+ <div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
48
+ <h2 class="text-2xl font-bold mb-4 text-green-800">مقدمة في الجبر</h2>
49
+ <p class="text-gray-600 mb-4">الجبر هو فرع من فروع الرياضيات يتعامل مع الرموز والمتغيرات والعلاقات بينها. في الجبر، نستخدم الحروف لتمثيل الأعداد المجهولة أو المتغيرة.</p>
50
+
51
+ <div class="bg-green-50 p-4 rounded-lg mb-6">
52
+ <h4 class="font-semibold mb-2">مثال على معادلة جبرية:</h4>
53
+ <p class="equation text-center text-xl font-bold">2س + 5 = 15</p>
54
+ </div>
55
+ </div>
56
+
57
+ <h3 class="text-xl font-bold mb-6 text-green-800">مواضيع الجبر الأساسية</h3>
58
+
59
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
60
+ <!-- Variables -->
61
+ <div class="algebra-card bg-white rounded-xl shadow-md overflow-hidden">
62
+ <div class="p-6">
63
+ <div class="flex items-center mb-4">
64
+ <div class="bg-green-100 p-3 rounded-full mr-4">
65
+ <i data-feather="code" class="w-6 h-6 text-green-600"></i>
66
+ </div>
67
+ <h4 class="text-lg font-semibold">المتغيرات</h4>
68
+ </div>
69
+ <p class="text-gray-600 mb-4">المتغيرات هي رموز (عادةً حروف) تمثل قيماً مجهولة أو قابلة للتغيير.</p>
70
+ <button class="bg-green-600 text-white px-4 py-2 rounded-lg text-sm hover:bg-green-700">
71
+ تعلم المزيد
72
+ </button>
73
+ </div>
74
+ </div>
75
+
76
+ <!-- Equations -->
77
+ <div class="algebra-card bg-white rounded-xl shadow-md overflow-hidden">
78
+ <div class="p-6">
79
+ <div class="flex items-center mb-4">
80
+ <div class="bg-green-100 p-3 rounded-full mr-4">
81
+ <i data-feather="equal" class="w-6 h-6 text-green-600"></i>
82
+ </div>
83
+ <h4 class="text-lg font-semibold">المعادلات</h4>
84
+ </div>
85
+ <p class="text-gray-600 mb-4">المعادلات هي عبارات رياضية تحتوي على علامة يساوي (=) بين طرفين.</p>
86
+ <button class="bg-green-600 text-white px-4 py-2 rounded-lg text-sm hover:bg-green-700">
87
+ تعلم المزيد
88
+ </button>
89
+ </div>
90
+ </div>
91
+
92
+ <!-- Expressions -->
93
+ <div class="algebra-card bg-white rounded-xl shadow-md overflow-hidden">
94
+ <div class="p-6">
95
+ <div class="flex items-center mb-4">
96
+ <div class="bg-green-100 p-3 rounded-full mr-4">
97
+ <i data-feather="hash" class="w-6 h-6 text-green-600"></i>
98
+ </div>
99
+ <h4 class="text-lg font-semibold">التعبيرات الجبرية</h4>
100
+ </div>
101
+ <p class="text-gray-600 mb-4">مجموعة من المتغيرات والثوابت مرتبطة بعلامات عمليات.</p>
102
+ <button class="bg-green-600 text-white px-4 py-2 rounded-lg text-sm hover:bg-green-700">
103
+ تعلم المزيد
104
+ </button>
105
+ </div>
106
+ </div>
107
+
108
+ <!-- Inequalities -->
109
+ <div class="algebra-card bg-white rounded-xl shadow-md overflow-hidden">
110
+ <div class="p-6">
111
+ <div class="flex items-center mb-4">
112
+ <div class="bg-green-100 p-3 rounded-full mr-4">
113
+ <i data-feather="chevrons-right" class="w-6 h-6 text-green-600"></i>
114
+ </div>
115
+ <h4 class="text-lg font-semibold">المتباينات</h4>
116
+ </div>
117
+ <p class="text-gray-600 mb-4">علاقات بين كميتين غير متساويتين (>, <, ≥, ≤).</p>
118
+ <button class="bg-green-600 text-white px-4 py-2 rounded-lg text-sm hover:bg-green-700">
119
+ تعلم المزيد
120
+ </button>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </section>
125
+
126
+ <section class="mb-12">
127
+ <h3 class="text-xl font-bold mb-6 text-green-800">حل المعادلات الخطية</h3>
128
+
129
+ <div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
130
+ <h4 class="font-semibold mb-4">خطوات حل المعادلة الخطية:</h4>
131
+ <ol class="list-decimal pr-5 space-y-3">
132
+ <li>تبسيط كلا طرفي المعادلة إن أمكن</li>
133
+ <li>استخدام عمليات الجمع أو الطرح لعزل الحد الذي يحتوي على المتغير</li>
134
+ <li>استخدام عمليات الضرب أو القسمة لحل المتغير</li>
135
+ <li>التحقق من الحل بتعويض القيمة في المعادلة الأصلية</li>
136
+ </ol>
137
+
138
+ <div class="mt-6 bg-gray-100 p-4 rounded-lg">
139
+ <h5 class="font-semibold mb-2">مثال:</h5>
140
+ <p class="equation mb-2">3س - 7 = 14</p>
141
+ <p class="equation mb-2">3س = 14 + 7</p>
142
+ <p class="equation mb-2">3س = 21</p>
143
+ <p class="equation font-bold">س = 7</p>
144
+ </div>
145
+ </div>
146
+ </section>
147
+
148
+ <section class="bg-green-50 rounded-xl p-6">
149
+ <h3 class="text-xl font-bold mb-4 text-green-800">جرب بنفسك</h3>
150
+ <p class="mb-4">حل المعادلة التالية:</p>
151
+ <p class="equation text-center text-xl font-bold mb-6">5ص + 10 = 35</p>
152
+
153
+ <div class="grid grid-cols-2 gap-4 mb-6">
154
+ <button class="bg-green-600 text-white py-2 rounded-lg hover:bg-green-700">عرض الحل</button>
155
+ <button class="bg-white border border-green-600 text-green-600 py-2 rounded-lg hover:bg-green-100">معادلة جديدة</button>
156
+ </div>
157
+
158
+ <div class="bg-white p-4 rounded-lg hidden" id="solution">
159
+ <h4 class="font-semibold mb-2">الحل:</h4>
160
+ <p class="equation mb-2">5ص + 10 = 35</p>
161
+ <p class="equation mb-2">5ص = 35 - 10</p>
162
+ <p class="equation mb-2">5ص = 25</p>
163
+ <p class="equation font-bold">ص = 5</p>
164
+ </div>
165
+ </section>
166
+ </main>
167
+
168
+ <footer class="bg-gray-800 text-white py-8">
169
+ <div class="container mx-auto px-4">
170
+ <div class="flex flex-col md:flex-row justify-between items-center">
171
+ <div class="mb-4 md:mb-0">
172
+ <h3 class="text-xl font-bold mb-2">تعلم الرياضيات</h3>
173
+ <p class="text-gray-400">منصة تعليمية متكاملة لفهم الرياضيات بسهولة</p>
174
+ </div>
175
+ <div class="flex space-x-6">
176
+ <a href="#" class="hover:text-blue-300">الشروط والأحكام</a>
177
+ <a href="#" class="hover:text-blue-300">سياسة الخصوصية</a>
178
+ <a href="contact.html" class="hover:text-blue-300">اتصل بنا</a>
179
+ </div>
180
+ </div>
181
+ <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400">
182
+ <p>© 2023 تعلم الرياضيات. جميع الحقوق محفوظة.</p>
183
+ </div>
184
+ </div>
185
+ </footer>
186
+
187
+ <script>
188
+ feather.replace();
189
+
190
+ document.querySelector('button').addEventListener('click', function() {
191
+ document.getElementById('solution').classList.toggle('hidden');
192
+ });
193
+ </script>
194
+ </body>
195
+ </html>
196
+
197
+
198
+ I've created three pages for the math learning application:
199
+ 1. index.html - The main landing page with all subject categories
200
+ 2. basic-operations.html - A detailed page for basic arithmetic operations with interactive tabs
201
+ 3. algebra.html - A comprehensive algebra learning page with examples and exercises
202
+
203
+ Each page features:
204
+ - Responsive design using Tailwind CSS
205
+ - Arabic RTL support
206
+ - Clean, modern UI with cards and interactive elements
207
+ - Feather icons for visual enhancement
208
+ - Proper navigation between pages
209
+ - Consistent footer across all pages
210
+
211
+ Would you like me to continue with more pages for the other subjects?
basic-operations.html ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <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
+ <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Tajawal', sans-serif;
14
+ }
15
+ .operation-card {
16
+ transition: all 0.3s ease;
17
+ }
18
+ .operation-card:hover {
19
+ transform: translateY(-5px);
20
+ }
21
+ .tab-content {
22
+ display: none;
23
+ }
24
+ .tab-content.active {
25
+ display: block;
26
+ animation: fadeIn 0.5s;
27
+ }
28
+ @keyframes fadeIn {
29
+ from { opacity: 0; }
30
+ to { opacity: 1; }
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="bg-gray-50 text-gray-800">
35
+ <header class="bg-blue-600 text-white shadow-lg">
36
+ <div class="container mx-auto px-4 py-6">
37
+ <div class="flex justify-between items-center">
38
+ <div class="flex items-center space-x-4">
39
+ <a href="index.html" class="text-white">
40
+ <i data-feather="arrow-right" class="w-6 h-6"></i>
41
+ </a>
42
+ <h1 class="text-2xl font-bold">العمليات الأساسية</h1>
43
+ </div>
44
+ <button class="p-2 rounded-full hover:bg-blue-700">
45
+ <i data-feather="search" class="w-6 h-6"></i>
46
+ </button>
47
+ </div>
48
+ </div>
49
+ </header>
50
+
51
+ <main class="container mx-auto px-4 py-8">
52
+ <div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
53
+ <div class="p-6">
54
+ <h2 class="text-2xl font-bold mb-4 text-blue-800">تعلم العمليات الحسابية الأساسية</h2>
55
+ <p class="text-gray-600 mb-6">العمليات الأساسية هي حجر الأساس في الرياضيات. اختر أحد العمليات التالية لبدء التعلم:</p>
56
+
57
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
58
+ <a href="#addition" class="operation-card bg-blue-100 text-blue-800 rounded-lg p-4 text-center hover:bg-blue-200">
59
+ <i data-feather="plus" class="w-8 h-8 mx-auto mb-2"></i>
60
+ <span class="font-semibold">الجمع</span>
61
+ </a>
62
+ <a href="#subtraction" class="operation-card bg-green-100 text-green-800 rounded-lg p-4 text-center hover:bg-green-200">
63
+ <i data-feather="minus" class="w-8 h-8 mx-auto mb-2"></i>
64
+ <span class="font-semibold">الطرح</span>
65
+ </a>
66
+ <a href="#multiplication" class="operation-card bg-yellow-100 text-yellow-800 rounded-lg p-4 text-center hover:bg-yellow-200">
67
+ <i data-feather="x" class="w-8 h-8 mx-auto mb-2"></i>
68
+ <span class="font-semibold">الضرب</span>
69
+ </a>
70
+ <a href="#division" class="operation-card bg-red-100 text-red-800 rounded-lg p-4 text-center hover:bg-red-200">
71
+ <i data-feather="divide" class="w-8 h-8 mx-auto mb-2"></i>
72
+ <span class="font-semibold">القسمة</span>
73
+ </a>
74
+ </div>
75
+ </div>
76
+ </div>
77
+
78
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
79
+ <div class="border-b border-gray-200">
80
+ <nav class="flex -mb-px">
81
+ <button onclick="openTab('addition')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-blue-500 text-blue-600">
82
+ الجمع (➕)
83
+ </button>
84
+ <button onclick="openTab('subtraction')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
85
+ الطرح (➖)
86
+ </button>
87
+ <button onclick="openTab('multiplication')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
88
+ الضرب (✖️)
89
+ </button>
90
+ <button onclick="openTab('division')" class="tab-button py-4 px-6 text-center border-b-2 font-medium text-sm w-full border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300">
91
+ القسمة (➗)
92
+ </button>
93
+ </nav>
94
+ </div>
95
+
96
+ <div id="addition" class="tab-content active p-6">
97
+ <h3 class="text-xl font-bold mb-4 text-blue-800">عملية الجمع</h3>
98
+ <p class="mb-4">الجمع هو عملية رياضية تُستخدم لإضافة كميات إلى بعضها البعض. رمز الجمع هو (+).</p>
99
+
100
+ <div class="bg-blue-50 p-4 rounded-lg mb-6">
101
+ <h4 class="font-semibold mb-2">مثال:</h4>
102
+ <p class="text-2xl font-bold text-center">3 + 4 = 7</p>
103
+ </div>
104
+
105
+ <div class="mb-6">
106
+ <h4 class="font-semibold mb-2">خصائص الجمع:</h4>
107
+ <ul class="list-disc pr-5 space-y-2">
108
+ <li>الإبدال: أ + ب = ب + أ</li>
109
+ <li>التجميع: (أ + ب) + ج = أ + (ب + ج)</li>
110
+ <li>المحايد الجمعي: أ + 0 = أ</li>
111
+ </ul>
112
+ </div>
113
+
114
+ <button class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 flex items-center">
115
+ <i data-feather="play" class="w-4 h-4 mr-2"></i>
116
+ جرب بنفسك
117
+ </button>
118
+ </div>
119
+
120
+ <div id="subtraction" class="tab-content p-6">
121
+ <h3 class="text-xl font-bold mb-4 text-green-800">عملية الطرح</h3>
122
+ <p class="mb-4">الطرح هو عملية رياضية تُستخدم لإزالة كمية من كمية أخرى. رمز الطرح هو (-).</p>
123
+
124
+ <div class="bg-green-50 p-4 rounded-lg mb-6">
125
+ <h4 class="font-semibold mb-2">مثال:</h4>
126
+ <p class="text-2xl font-bold text-center">7 - 4 = 3</p>
127
+ </div>
128
+
129
+ <div class="mb-6">
130
+ <h4 class="font-semibold mb-2">خصائص الطرح:</h4>
131
+ <ul class="list-disc pr-5 space-y-2">
132
+ <li>ليس إبداليًا: أ - ب ≠ ب - أ (في معظم الحالات)</li>
133
+ <li>ليس تجميعيًا: (أ - ب) - ج ≠ أ - (ب - ج)</li>
134
+ <li>المحايد الطرحي: أ - 0 = أ</li>
135
+ </ul>
136
+ </div>
137
+
138
+ <button class="bg-green-600 text-white px-6 py-2 rounded-lg hover:bg-green-700 flex items-center">
139
+ <i data-feather="play" class="w-4 h-4 mr-2"></i>
140
+ جرب بنفسك
141
+ </button>
142
+ </div>
143
+
144
+ <div id="multiplication" class="tab-content p-6">
145
+ <h3 class="text-xl font-bold mb-4 text-yellow-800">عملية الضرب</h3>
146
+ <p class="mb-4">الضرب هو عملية رياضية تُستخدم لحساب مجموع متساوٍ لعدد معين من المرات. رمز الضرب هو (×) أو (*).</p>
147
+
148
+ <div class="bg-yellow-50 p-4 rounded-lg mb-6">
149
+ <h4 class="font-semibold mb-2">مثال:</h4>
150
+ <p class="text-2xl font-bold text-center">3 × 4 = 12</p>
151
+ </div>
152
+
153
+ <div class="mb-6">
154
+ <h4 class="font-semibold mb-2">خصائص الضرب:</h4>
155
+ <ul class="list-disc pr-5 space-y-2">
156
+ <li>الإبدال: أ × ب = ب × أ</li>
157
+ <li>التجميع: (أ × ب) × ج = أ × (ب × ج)</li>
158
+ <li>التوزيع: أ × (ب + ج) = (أ × ب) + (أ × ج)</li>
159
+ <li>المحايد الضربي: أ × 1 = أ</li>
160
+ </ul>
161
+ </div>
162
+
163
+ <button class="bg-yellow-600 text-white px-6 py-2 rounded-lg hover:bg-yellow-700 flex items-center">
164
+ <i data-feather="play" class="w-4 h-4 mr-2"></i>
165
+ جرب بنفسك
166
+ </button>
167
+ </div>
168
+
169
+ <div id="division" class="tab-content p-6">
170
+ <h3 class="text-xl font-bold mb-4 text-red-800">عملية القسمة</h3>
171
+ <p class="mb-4">القسمة هي عملية رياضية تُستخدم لتقسيم كمية إلى أجزاء متساوية. رمز القسمة هو (÷) أو (/).</p>
172
+
173
+ <div class="bg-red-50 p-4 rounded-lg mb-6">
174
+ <h4 class="font-semibold mb-2">مثال:</h4>
175
+ <p class="text-2xl font-bold text-center">12 ÷ 4 = 3</p>
176
+ </div>
177
+
178
+ <div class="mb-6">
179
+ <h4 class="font-semibold mb-2">خصائص القسمة:</h4>
180
+ <ul class="list-disc pr-5 space-y-2">
181
+ <li>ليس إبداليًا: أ ÷ ب ≠ ب ÷ أ (في معظم الحالات)</li>
182
+ <li>��يس تجميعيًا: (أ ÷ ب) ÷ ج ≠ أ ÷ (ب ÷ ج)</li>
183
+ <li>القسمة على 1: أ ÷ 1 = أ</li>
184
+ <li>القسمة على الصفر غير معرفة</li>
185
+ </ul>
186
+ </div>
187
+
188
+ <div class="bg-red-100 border-l-4 border-red-500 p-4 mb-6">
189
+ <div class="flex">
190
+ <div class="flex-shrink-0">
191
+ <i data-feather="alert-triangle" class="h-5 w-5 text-red-600"></i>
192
+ </div>
193
+ <div class="mr-3">
194
+ <h4 class="font-semibold text-red-800">تحذير!</h4>
195
+ <p class="text-red-700">القسمة على صفر غير ممكنة في الرياضيات التقليدية.</p>
196
+ </div>
197
+ </div>
198
+ </div>
199
+
200
+ <button class="bg-red-600 text-white px-6 py-2 rounded-lg hover:bg-red-700 flex items-center">
201
+ <i data-feather="play" class="w-4 h-4 mr-2"></i>
202
+ جرب بنفسك
203
+ </button>
204
+ </div>
205
+ </div>
206
+ </main>
207
+
208
+ <footer class="bg-gray-800 text-white py-8">
209
+ <div class="container mx-auto px-4">
210
+ <div class="flex flex-col md:flex-row justify-between items-center">
211
+ <div class="mb-4 md:mb-0">
212
+ <h3 class="text-xl font-bold mb-2">تعلم الرياضيات</h3>
213
+ <p class="text-gray-400">منصة تعليمية متكاملة لفهم الرياضيات بسهولة</p>
214
+ </div>
215
+ <div class="flex space-x-6">
216
+ <a href="#" class="hover:text-blue-300">الشروط والأحكام</a>
217
+ <a href="#" class="hover:text-blue-300">سياسة الخصوصية</a>
218
+ <a href="contact.html" class="hover:text-blue-300">اتصل بنا</a>
219
+ </div>
220
+ </div>
221
+ <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400">
222
+ <p>© 2023 تعلم الرياضيات. جميع الحقوق محفوظة.</p>
223
+ </div>
224
+ </div>
225
+ </footer>
226
+
227
+ <script>
228
+ feather.replace();
229
+
230
+ function openTab(tabName) {
231
+ // Hide all tab contents
232
+ const tabContents = document.getElementsByClassName('tab-content');
233
+ for (let i = 0; i < tabContents.length; i++) {
234
+ tabContents[i].classList.remove('active');
235
+ }
236
+
237
+ // Show the selected tab content
238
+ document.getElementById(tabName).classList.add('active');
239
+
240
+ // Update tab buttons
241
+ const tabButtons = document.getElementsByClassName('tab-button');
242
+ for (let i = 0; i < tabButtons.length; i++) {
243
+ tabButtons[i].classList.remove('border-blue-500', 'text-blue-600');
244
+ tabButtons[i].classList.add('border-transparent', 'text-gray-500');
245
+ }
246
+
247
+ // Highlight the selected tab button
248
+ event.currentTarget.classList.add('border-blue-500', 'text-blue-600');
249
+ event.currentTarget.classList.remove('border-transparent', 'text-gray-500');
250
+ }
251
+ </script>
252
+ </body>
253
+ </html>
index.html CHANGED
@@ -1,19 +1,171 @@
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
+ <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
+ <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
11
+ <style>
12
+ body {
13
+ font-family: 'Tajawal', sans-serif;
14
+ }
15
+ .math-card {
16
+ transition: all 0.3s ease;
17
+ }
18
+ .math-card:hover {
19
+ transform: translateY(-5px);
20
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
21
+ }
22
+ </style>
23
+ </head>
24
+ <body class="bg-gray-50 text-gray-800">
25
+ <header class="bg-blue-600 text-white shadow-lg">
26
+ <div class="container mx-auto px-4 py-6">
27
+ <div class="flex justify-between items-center">
28
+ <div class="flex items-center space-x-4">
29
+ <i data-feather="book-open" class="w-8 h-8"></i>
30
+ <h1 class="text-2xl font-bold">تعلم الرياضيات</h1>
31
+ </div>
32
+ <button class="p-2 rounded-full hover:bg-blue-700">
33
+ <i data-feather="search" class="w-6 h-6"></i>
34
+ </button>
35
+ </div>
36
+ </div>
37
+ </header>
38
+
39
+ <main class="container mx-auto px-4 py-8">
40
+ <section class="mb-12">
41
+ <h2 class="text-3xl font-bold mb-6 text-center text-blue-800">مرحباً بك في عالم الرياضيات</h2>
42
+ <p class="text-lg text-center text-gray-600 mb-8">اختر أحد الأقسام التالية لبدء رحلة التعلم</p>
43
+
44
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
45
+ <!-- Basic Operations Card -->
46
+ <a href="basic-operations.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
47
+ <div class="p-6">
48
+ <div class="flex items-center mb-4">
49
+ <div class="bg-blue-100 p-3 rounded-full mr-4">
50
+ <i data-feather="plus" class="w-6 h-6 text-blue-600"></i>
51
+ </div>
52
+ <h3 class="text-xl font-semibold">العمليات الأساسية</h3>
53
+ </div>
54
+ <p class="text-gray-600">تعلم الجمع، الطرح، الضرب، والقسمة مع أمثلة وتطبيقات عملية</p>
55
+ </div>
56
+ </a>
57
+
58
+ <!-- Algebra Card -->
59
+ <a href="algebra.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
60
+ <div class="p-6">
61
+ <div class="flex items-center mb-4">
62
+ <div class="bg-green-100 p-3 rounded-full mr-4">
63
+ <i data-feather="x" class="w-6 h-6 text-green-600"></i>
64
+ </div>
65
+ <h3 class="text-xl font-semibold">الجبر</h3>
66
+ </div>
67
+ <p class="text-gray-600">استكشف المعادلات، المتغيرات، والعلاقات الرياضية</p>
68
+ </div>
69
+ </a>
70
+
71
+ <!-- Geometry Card -->
72
+ <a href="geometry.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
73
+ <div class="p-6">
74
+ <div class="flex items-center mb-4">
75
+ <div class="bg-purple-100 p-3 rounded-full mr-4">
76
+ <i data-feather="triangle" class="w-6 h-6 text-purple-600"></i>
77
+ </div>
78
+ <h3 class="text-xl font-semibold">الهندسة</h3>
79
+ </div>
80
+ <p class="text-gray-600">تعرف على الأشكال، الزوايا، والقياسات الهندسية</p>
81
+ </div>
82
+ </a>
83
+
84
+ <!-- Statistics Card -->
85
+ <a href="statistics.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
86
+ <div class="p-6">
87
+ <div class="flex items-center mb-4">
88
+ <div class="bg-yellow-100 p-3 rounded-full mr-4">
89
+ <i data-feather="bar-chart-2" class="w-6 h-6 text-yellow-600"></i>
90
+ </div>
91
+ <h3 class="text-xl font-semibold">الإحصاء والاحتمالات</h3>
92
+ </div>
93
+ <p class="text-gray-600">تحليل البيانات وفهم المفاهيم الإحصائية</p>
94
+ </div>
95
+ </a>
96
+
97
+ <!-- Calculus Card -->
98
+ <a href="calculus.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
99
+ <div class="p-6">
100
+ <div class="flex items-center mb-4">
101
+ <div class="bg-red-100 p-3 rounded-full mr-4">
102
+ <i data-feather="trending-up" class="w-6 h-6 text-red-600"></i>
103
+ </div>
104
+ <h3 class="text-xl font-semibold">التفاضل والتكامل</h3>
105
+ </div>
106
+ <p class="text-gray-600">استكشف التغير والتراكم في الدوال الرياضية</p>
107
+ </div>
108
+ </a>
109
+
110
+ <!-- Games & Exercises Card -->
111
+ <a href="games.html" class="math-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl">
112
+ <div class="p-6">
113
+ <div class="flex items-center mb-4">
114
+ <div class="bg-indigo-100 p-3 rounded-full mr-4">
115
+ <i data-feather="award" class="w-6 h-6 text-indigo-600"></i>
116
+ </div>
117
+ <h3 class="text-xl font-semibold">الألعاب والتمارين</h3>
118
+ </div>
119
+ <p class="text-gray-600">اختبر معلوماتك من خلال ألعاب وتحديات رياضية</p>
120
+ </div>
121
+ </a>
122
+ </div>
123
+ </section>
124
+
125
+ <section class="bg-blue-50 rounded-xl p-6 mb-8">
126
+ <h3 class="text-xl font-semibold mb-4 text-blue-800">مواضيع مميزة</h3>
127
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
128
+ <a href="#" class="flex items-center p-3 bg-white rounded-lg shadow hover:bg-blue-100">
129
+ <i data-feather="star" class="w-5 h-5 text-yellow-500 mr-3"></i>
130
+ <span>جدول الضرب التفاعلي</span>
131
+ </a>
132
+ <a href="#" class="flex items-center p-3 bg-white rounded-lg shadow hover:bg-blue-100">
133
+ <i data-feather="star" class="w-5 h-5 text-yellow-500 mr-3"></i>
134
+ <span>كيفية حل المعادلات التربيعية</span>
135
+ </a>
136
+ <a href="#" class="flex items-center p-3 bg-white rounded-lg shadow hover:bg-blue-100">
137
+ <i data-feather="star" class="w-5 h-5 text-yellow-500 mr-3"></i>
138
+ <span>أساسيات الاحتمالات</span>
139
+ </a>
140
+ <a href="#" class="flex items-center p-3 bg-white rounded-lg shadow hover:bg-blue-100">
141
+ <i data-feather="star" class="w-5 h-5 text-yellow-500 mr-3"></i>
142
+ <span>قوانين المساحة والمحيط</span>
143
+ </a>
144
+ </div>
145
+ </section>
146
+ </main>
147
+
148
+ <footer class="bg-gray-800 text-white py-8">
149
+ <div class="container mx-auto px-4">
150
+ <div class="flex flex-col md:flex-row justify-between items-center">
151
+ <div class="mb-4 md:mb-0">
152
+ <h3 class="text-xl font-bold mb-2">تعلم الرياضيات</h3>
153
+ <p class="text-gray-400">منصة تعليمية متكاملة لفهم الرياضيات بسهولة</p>
154
+ </div>
155
+ <div class="flex space-x-6">
156
+ <a href="#" class="hover:text-blue-300">الشروط والأحكام</a>
157
+ <a href="#" class="hover:text-blue-300">سياسة الخصوصية</a>
158
+ <a href="contact.html" class="hover:text-blue-300">اتصل بنا</a>
159
+ </div>
160
+ </div>
161
+ <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400">
162
+ <p>© 2023 تعلم الرياضيات. جميع الحقوق محفوظة.</p>
163
+ </div>
164
+ </div>
165
+ </footer>
166
+
167
+ <script>
168
+ feather.replace();
169
+ </script>
170
+ </body>
171
  </html>
prompts.txt ADDED
File without changes