Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +607 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: tr
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: blue
|
| 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,607 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Tajawal', sans-serif;
|
| 14 |
+
background-color: #0a192f;
|
| 15 |
+
color: #e6f1ff;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.grammar-card {
|
| 19 |
+
transition: all 0.3s ease;
|
| 20 |
+
border-left: 4px solid #64ffda;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.grammar-card:hover {
|
| 24 |
+
transform: translateY(-5px);
|
| 25 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.highlight {
|
| 29 |
+
background-color: rgba(100, 255, 218, 0.1);
|
| 30 |
+
border-left: 4px solid #64ffda;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.tab-button {
|
| 34 |
+
transition: all 0.3s ease;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.tab-button.active {
|
| 38 |
+
background-color: #112240;
|
| 39 |
+
color: #64ffda;
|
| 40 |
+
border-bottom: 2px solid #64ffda;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.example-ar {
|
| 44 |
+
color: #a8b2d1;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.example-en {
|
| 48 |
+
color: #64ffda;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.search-box:focus {
|
| 52 |
+
outline: none;
|
| 53 |
+
box-shadow: 0 0 0 2px #64ffda;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.scroll-to-top {
|
| 57 |
+
position: fixed;
|
| 58 |
+
bottom: 20px;
|
| 59 |
+
right: 20px;
|
| 60 |
+
background-color: #112240;
|
| 61 |
+
width: 50px;
|
| 62 |
+
height: 50px;
|
| 63 |
+
border-radius: 50%;
|
| 64 |
+
display: flex;
|
| 65 |
+
justify-content: center;
|
| 66 |
+
align-items: center;
|
| 67 |
+
cursor: pointer;
|
| 68 |
+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
| 69 |
+
transition: all 0.3s ease;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.scroll-to-top:hover {
|
| 73 |
+
background-color: #64ffda;
|
| 74 |
+
color: #0a192f;
|
| 75 |
+
}
|
| 76 |
+
</style>
|
| 77 |
+
</head>
|
| 78 |
+
<body class="min-h-screen">
|
| 79 |
+
<div class="container mx-auto px-4 py-8">
|
| 80 |
+
<!-- Header -->
|
| 81 |
+
<header class="mb-12 text-center">
|
| 82 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-4 text-[#64ffda]">قواعد اللغة الإنجليزية</h1>
|
| 83 |
+
<p class="text-xl text-[#a8b2d1]">شرح مفصل لأساسيات القواعد الإنجليزية باللغة العربية</p>
|
| 84 |
+
|
| 85 |
+
<!-- Search Box -->
|
| 86 |
+
<div class="mt-8 max-w-md mx-auto relative">
|
| 87 |
+
<input type="text" placeholder="ابحث عن قاعدة نحوية..." class="w-full bg-[#112240] text-[#e6f1ff] px-4 py-3 rounded-lg search-box border border-[#233554] focus:border-[#64ffda]">
|
| 88 |
+
<i class="fas fa-search absolute left-4 top-1/2 transform -translate-y-1/2 text-[#a8b2d1]"></i>
|
| 89 |
+
</div>
|
| 90 |
+
</header>
|
| 91 |
+
|
| 92 |
+
<!-- Tabs Navigation -->
|
| 93 |
+
<div class="flex flex-wrap mb-8 border-b border-[#233554]">
|
| 94 |
+
<button class="tab-button px-6 py-3 font-medium text-lg active" data-tab="verbs">الأفعال</button>
|
| 95 |
+
<button class="tab-button px-6 py-3 font-medium text-lg" data-tab="adverbs">الحال</button>
|
| 96 |
+
<button class="tab-button px-6 py-3 font-medium text-lg" data-tab="adjectives">الصفات</button>
|
| 97 |
+
<button class="tab-button px-6 py-3 font-medium text-lg" data-tab="composition">التركيب</button>
|
| 98 |
+
<button class="tab-button px-6 py-3 font-medium text-lg" data-tab="intermediate">قواعد متوسطة</button>
|
| 99 |
+
</div>
|
| 100 |
+
|
| 101 |
+
<!-- Tab Content -->
|
| 102 |
+
<div class="tab-content">
|
| 103 |
+
<!-- Verbs Tab -->
|
| 104 |
+
<div id="verbs" class="tab-panel active">
|
| 105 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 106 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 107 |
+
<div class="flex items-center mb-4">
|
| 108 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 109 |
+
<i class="fas fa-running"></i>
|
| 110 |
+
</div>
|
| 111 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">الفعل (Verb)</h3>
|
| 112 |
+
</div>
|
| 113 |
+
<p class="mb-4 text-[#a8b2d1]">الفعل هو كلمة تُستخدم للتعبير عن عمل أو حالة أو حدث. وهو جزء أساسي في الجملة الإنجليزية.</p>
|
| 114 |
+
|
| 115 |
+
<div class="mb-4">
|
| 116 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أنواع الأفعال:</h4>
|
| 117 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 118 |
+
<li>أفعال العمل (Action verbs): تصف أفعالًا مادية أو ذهنية</li>
|
| 119 |
+
<li>أفعال الربط (Linking verbs): تربط الفاعل بالمعلومات عنه</li>
|
| 120 |
+
<li>الأفعال المساعدة (Helping verbs): تساعد الأفعال الرئيسية</li>
|
| 121 |
+
</ul>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 125 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 126 |
+
<p class="example-ar mb-1">يقرأ - يكتب - يركض</p>
|
| 127 |
+
<p class="example-en">read - write - run</p>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 132 |
+
<div class="flex items-center mb-4">
|
| 133 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 134 |
+
<i class="fas fa-clock"></i>
|
| 135 |
+
</div>
|
| 136 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">أزمنة الأفعال</h3>
|
| 137 |
+
</div>
|
| 138 |
+
<p class="mb-4 text-[#a8b2d1]">الأفعال في اللغة الإنجليزية تتغير حسب الزمن الذي حدث فيه الفعل.</p>
|
| 139 |
+
|
| 140 |
+
<div class="mb-4">
|
| 141 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">الأزمنة الأساسية:</h4>
|
| 142 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 143 |
+
<li>الماضي (Past): حدث انتهى</li>
|
| 144 |
+
<li>الحاضر (Present): يحدث الآن أو بشكل عام</li>
|
| 145 |
+
<li>المستقبل (Future): سيحدث لاحقًا</li>
|
| 146 |
+
</ul>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 150 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 151 |
+
<p class="example-ar mb-1">قرأ - يقرأ - سوف يقرأ</p>
|
| 152 |
+
<p class="example-en">read - reads - will read</p>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Adverbs Tab -->
|
| 159 |
+
<div id="adverbs" class="tab-panel hidden">
|
| 160 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 161 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 162 |
+
<div class="flex items-center mb-4">
|
| 163 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 164 |
+
<i class="fas fa-tachometer-alt"></i>
|
| 165 |
+
</div>
|
| 166 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">الحال (Adverb)</h3>
|
| 167 |
+
</div>
|
| 168 |
+
<p class="mb-4 text-[#a8b2d1]">كلمة تصف الفعل أو الصفة أو حال أخرى، وتضيف معلومات عن الكيفية أو الزمان أو المكان أو الدرجة.</p>
|
| 169 |
+
|
| 170 |
+
<div class="mb-4">
|
| 171 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أنواع الحال:</h4>
|
| 172 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 173 |
+
<li>حال الكيفية (Manner): تصف كيف يتم الفعل</li>
|
| 174 |
+
<li>حال الزمان (Time): تصف متى يحدث الفعل</li>
|
| 175 |
+
<li>حال المكان (Place): تصف أين يحدث الفعل</li>
|
| 176 |
+
<li>حال الدرجة (Degree): تصف مقدار الفعل</li>
|
| 177 |
+
</ul>
|
| 178 |
+
</div>
|
| 179 |
+
|
| 180 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 181 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 182 |
+
<p class="example-ar mb-1">بسرعة - غدًا - هناك - جد��ا</p>
|
| 183 |
+
<p class="example-en">quickly - tomorrow - there - very</p>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
|
| 187 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 188 |
+
<div class="flex items-center mb-4">
|
| 189 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 190 |
+
<i class="fas fa-question"></i>
|
| 191 |
+
</div>
|
| 192 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">كيفية تكوين الحال</h3>
|
| 193 |
+
</div>
|
| 194 |
+
<p class="mb-4 text-[#a8b2d1]">في كثير من الأحيان، يتم تكوين الحال بإضافة "-ly" إلى نهاية الصفة.</p>
|
| 195 |
+
|
| 196 |
+
<div class="mb-4">
|
| 197 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">قواعد التكوين:</h4>
|
| 198 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 199 |
+
<li>للصفات المنتهية بـ"y"، نغيرها إلى "i" ثم نضيف "ly"</li>
|
| 200 |
+
<li>للصفات المنتهية بـ"le"، نحذف "e" ونضيف "y"</li>
|
| 201 |
+
<li>بعض الحالات تكون غير منتظمة</li>
|
| 202 |
+
</ul>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 206 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 207 |
+
<p class="example-ar mb-1">سعيد ← بسعادة - سهل ← بسهولة</p>
|
| 208 |
+
<p class="example-en">happy → happily - easy → easily</p>
|
| 209 |
+
</div>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<!-- Adjectives Tab -->
|
| 215 |
+
<div id="adjectives" class="tab-panel hidden">
|
| 216 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 217 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 218 |
+
<div class="flex items-center mb-4">
|
| 219 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 220 |
+
<i class="fas fa-paint-brush"></i>
|
| 221 |
+
</div>
|
| 222 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">الصفة (Adjective)</h3>
|
| 223 |
+
</div>
|
| 224 |
+
<p class="mb-4 text-[#a8b2d1]">كلمة تصف الاسم أو الضمير، تضيف معلومات عن الصفات أو الخصائص.</p>
|
| 225 |
+
|
| 226 |
+
<div class="mb-4">
|
| 227 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أنواع الصفات:</h4>
|
| 228 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 229 |
+
<li>صفات الوصف (Descriptive): تصف الخصائص</li>
|
| 230 |
+
<li>صفات الكمية (Quantitative): تصف الكمية</li>
|
| 231 |
+
<li>الصفات العددية (Numeral): تصف العدد أو الترتيب</li>
|
| 232 |
+
<li>الصفات الإشارية (Demonstrative): تشير إلى أسماء محددة</li>
|
| 233 |
+
</ul>
|
| 234 |
+
</div>
|
| 235 |
+
|
| 236 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 237 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 238 |
+
<p class="example-ar mb-1">جميل - كثير - ثالث - هذا</p>
|
| 239 |
+
<p class="example-en">beautiful - many - third - this</p>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
|
| 243 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 244 |
+
<div class="flex items-center mb-4">
|
| 245 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 246 |
+
<i class="fas fa-sort-amount-up"></i>
|
| 247 |
+
</div>
|
| 248 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">درجات المقارنة</h3>
|
| 249 |
+
</div>
|
| 250 |
+
<p class="mb-4 text-[#a8b2d1]">يمكن مقارنة الصفات بثلاث درجات: الإيجابي، المقارن، والفائق.</p>
|
| 251 |
+
|
| 252 |
+
<div class="mb-4">
|
| 253 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">قواعد المقارنة:</h4>
|
| 254 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 255 |
+
<li>للصفات القصيرة: نضيف "-er" للمقارن و"-est" للفائق</li>
|
| 256 |
+
<li>للصفات الطويلة: نستخدم "more" للمقارن و"most" للفائق</li>
|
| 257 |
+
<li>بعض الصفات غير منتظمة</li>
|
| 258 |
+
</ul>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 262 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 263 |
+
<p class="example-ar mb-1">طويل ← أطول ← الأطول</p>
|
| 264 |
+
<p class="example-en">tall → taller → tallest</p>
|
| 265 |
+
<p class="example-ar mb-1 mt-2">جميل ← أكثر جمالا ← الأكثر جمالا</p>
|
| 266 |
+
<p class="example-en">beautiful → more beautiful → most beautiful</p>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<!-- Composition Tab -->
|
| 273 |
+
<div id="composition" class="tab-panel hidden">
|
| 274 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 275 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 276 |
+
<div class="flex items-center mb-4">
|
| 277 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 278 |
+
<i class="fas fa-puzzle-piece"></i>
|
| 279 |
+
</div>
|
| 280 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">تركيب الجملة</h3>
|
| 281 |
+
</div>
|
| 282 |
+
<p class="mb-4 text-[#a8b2d1]">الجملة الإنجليزية تتكون عادة من فاعل وفعل ومفعول به.</p>
|
| 283 |
+
|
| 284 |
+
<div class="mb-4">
|
| 285 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أجزاء الجملة:</h4>
|
| 286 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 287 |
+
<li>الفاعل (Subject): من يقوم بالفعل</li>
|
| 288 |
+
<li>الفعل (Verb): العمل أو الحالة</li>
|
| 289 |
+
<li>المفعول به (Object): ما يقع عليه الفعل</li>
|
| 290 |
+
<li>المكملات (Complements): تكمل معنى الجملة</li>
|
| 291 |
+
</ul>
|
| 292 |
+
</div>
|
| 293 |
+
|
| 294 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 295 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 296 |
+
<p class="example-ar mb-1">الولد يقرأ كتابًا</p>
|
| 297 |
+
<p class="example-en">The boy reads a book</p>
|
| 298 |
+
<p class="example-ar mb-1 mt-2">(الولد: فاعل - يقرأ: فعل - كتابًا: مفعول به)</p>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
|
| 302 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 303 |
+
<div class="flex items-center mb-4">
|
| 304 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 305 |
+
<i class="fas fa-layer-group"></i>
|
| 306 |
+
</div>
|
| 307 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">أنواع الجمل</h3>
|
| 308 |
+
</div>
|
| 309 |
+
<p class="mb-4 text-[#a8b2d1]">هناك أربعة أنواع رئيسية للجمل في اللغة الإنجليزية.</p>
|
| 310 |
+
|
| 311 |
+
<div class="mb-4">
|
| 312 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">تصنيف الجمل:</h4>
|
| 313 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 314 |
+
<li>الجمل التقريرية (Declarative): تقدم معلومات</li>
|
| 315 |
+
<li>الجمل الاستفهامية (Interrogative): تطرح سؤالاً</li>
|
| 316 |
+
<li>الجمل الأمرية (Imperative): تعطي أمرًا أو طلبًا</li>
|
| 317 |
+
<li>الجمل التعجبية (Exclamatory): تعبر عن مشاعر قوية</li>
|
| 318 |
+
</ul>
|
| 319 |
+
</div>
|
| 320 |
+
|
| 321 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 322 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 323 |
+
<p class="example-ar mb-1">السماء زرقاء. (تقريرية)</p>
|
| 324 |
+
<p class="example-en">The sky is blue.</p>
|
| 325 |
+
<p class="example-ar mb-1 mt-2">هل السماء زرقاء؟ (استفهامية)</p>
|
| 326 |
+
<p class="example-en">Is the sky blue?</p>
|
| 327 |
+
</div>
|
| 328 |
+
</div>
|
| 329 |
+
</div>
|
| 330 |
+
</div>
|
| 331 |
+
|
| 332 |
+
<!-- Intermediate Grammar Tab -->
|
| 333 |
+
<div id="intermediate" class="tab-panel hidden">
|
| 334 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 335 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 336 |
+
<div class="flex items-center mb-4">
|
| 337 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 338 |
+
<i class="fas fa-question-circle"></i>
|
| 339 |
+
</div>
|
| 340 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">أدوات الاستفهام</h3>
|
| 341 |
+
</div>
|
| 342 |
+
<p class="mb-4 text-[#a8b2d1]">كلمات تستخدم لطرح الأسئلة عن الأشخاص أو الأماكن أو الأوقات أو الأسباب.</p>
|
| 343 |
+
|
| 344 |
+
<div class="mb-4">
|
| 345 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أدوات الاستفهام الشائعة:</h4>
|
| 346 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 347 |
+
<li>Who: للسؤال عن الأشخاص</li>
|
| 348 |
+
<li>What: للسؤال عن الأشياء</li>
|
| 349 |
+
<li>Where: للسؤال عن الأماكن</li>
|
| 350 |
+
<li>When: للسؤال عن الزمان</li>
|
| 351 |
+
<li>Why: للسؤال عن الأسباب</li>
|
| 352 |
+
<li>How: للسؤال عن الكيفية</li>
|
| 353 |
+
</ul>
|
| 354 |
+
</div>
|
| 355 |
+
|
| 356 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 357 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 358 |
+
<p class="example-ar mb-1">من هو؟ ماذا تفعل؟ أين تعيش؟</p>
|
| 359 |
+
<p class="example-en">Who is it? What are you doing? Where do you live?</p>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
|
| 363 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 364 |
+
<div class="flex items-center mb-4">
|
| 365 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 366 |
+
<i class="fas fa-link"></i>
|
| 367 |
+
</div>
|
| 368 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">حروف الجر</h3>
|
| 369 |
+
</div>
|
| 370 |
+
<p class="mb-4 text-[#a8b2d1]">كلمات قصيرة تربط الأسماء أو الضمائر أو العبارات الاسمية بأجزاء أخرى من الجملة.</p>
|
| 371 |
+
|
| 372 |
+
<div class="mb-4">
|
| 373 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">حروف الجر الشائعة:</h4>
|
| 374 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 375 |
+
<li>In: في (مكان مغلق أو وقت)</li>
|
| 376 |
+
<li>On: على (سطح) أو في (يوم/تاريخ)</li>
|
| 377 |
+
<li>At: عند (نقطة محددة)</li>
|
| 378 |
+
<li>By: بواسطة أو بجانب</li>
|
| 379 |
+
<li>With: مع</li>
|
| 380 |
+
<li>For: من أجل</li>
|
| 381 |
+
<li>To: إلى</li>
|
| 382 |
+
</ul>
|
| 383 |
+
</div>
|
| 384 |
+
|
| 385 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 386 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 387 |
+
<p class="example-ar mb-1">في المنزل - على الطاولة - عند الساعة 5</p>
|
| 388 |
+
<p class="example-en">in the house - on the table - at 5 o'clock</p>
|
| 389 |
+
</div>
|
| 390 |
+
</div>
|
| 391 |
+
|
| 392 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 393 |
+
<div class="flex items-center mb-4">
|
| 394 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 395 |
+
<i class="fas fa-exchange-alt"></i>
|
| 396 |
+
</div>
|
| 397 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">الجمل الشرطية</h3>
|
| 398 |
+
</div>
|
| 399 |
+
<p class="mb-4 text-[#a8b2d1]">جمل تعبر عن شروط ونتائجها، وتتكون من جزأين: جملة الشرط وجملة النتيجة.</p>
|
| 400 |
+
|
| 401 |
+
<div class="mb-4">
|
| 402 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أنواع الجمل الشرطية:</h4>
|
| 403 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 404 |
+
<li>النوع الأول: شروط محتملة ونتائجها</li>
|
| 405 |
+
<li>النوع الثاني: شروط غير محققة في الحاضر</li>
|
| 406 |
+
<li>النوع الثالث: شروط لم تتحقق في الماضي</li>
|
| 407 |
+
</ul>
|
| 408 |
+
</div>
|
| 409 |
+
|
| 410 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 411 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 412 |
+
<p class="example-ar mb-1">إذا تمطر، سأبقى في المنزل. (النوع الأول)</p>
|
| 413 |
+
<p class="example-en">If it rains, I will stay at home.</p>
|
| 414 |
+
<p class="example-ar mb-1 mt-2">إذا كنت غنياً، سأسافر حول العالم. (النوع الثاني)</p>
|
| 415 |
+
<p class="example-en">If I were rich, I would travel around the world.</p>
|
| 416 |
+
</div>
|
| 417 |
+
</div>
|
| 418 |
+
|
| 419 |
+
<div class="grammar-card bg-[#112240] p-6 rounded-lg">
|
| 420 |
+
<div class="flex items-center mb-4">
|
| 421 |
+
<div class="w-12 h-12 bg-[#233554] rounded-full flex items-center justify-center text-[#64ffda] text-xl mr-4">
|
| 422 |
+
<i class="fas fa-quote-right"></i>
|
| 423 |
+
</div>
|
| 424 |
+
<h3 class="text-2xl font-bold text-[#64ffda]">الأسلوب غير المباشر</h3>
|
| 425 |
+
</div>
|
| 426 |
+
<p class="mb-4 text-[#a8b2d1]">عند نقل كلام شخص آخر، يمكن أن نستخدم الأسلوب المباشر أو غير المباشر.</p>
|
| 427 |
+
|
| 428 |
+
<div class="mb-4">
|
| 429 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">قواعد الأسلوب غير المباشر:</h4>
|
| 430 |
+
<ul class="list-disc list-inside text-[#a8b2d1] space-y-2">
|
| 431 |
+
<li>تغيير الضمائر لتتناسب مع السياق</li>
|
| 432 |
+
<li>تغيير أزمنة الأفعال إذا كان الفعل الرئيسي في الماضي</li>
|
| 433 |
+
<li>تغيير ظروف الزمان والمكان</li>
|
| 434 |
+
<li>استخدام أدوات ربط مناسبة</li>
|
| 435 |
+
</ul>
|
| 436 |
+
</div>
|
| 437 |
+
|
| 438 |
+
<div class="bg-[#233554] p-4 rounded-lg">
|
| 439 |
+
<h4 class="font-bold text-[#e6f1ff] mb-2">أمثلة:</h4>
|
| 440 |
+
<p class="example-ar mb-1">قال: "أنا سعيد" ← قال أنه كان سعيداً</p>
|
| 441 |
+
<p class="example-en">He said, "I am happy" → He said that he was happy</p>
|
| 442 |
+
</div>
|
| 443 |
+
</div>
|
| 444 |
+
</div>
|
| 445 |
+
</div>
|
| 446 |
+
</div>
|
| 447 |
+
|
| 448 |
+
<!-- Quiz Section -->
|
| 449 |
+
<div class="mt-16 bg-[#112240] p-8 rounded-lg">
|
| 450 |
+
<h2 class="text-3xl font-bold text-[#64ffda] mb-6 text-center">اختبر معلوماتك</h2>
|
| 451 |
+
|
| 452 |
+
<div class="quiz-container space-y-6">
|
| 453 |
+
<!-- Question 1 -->
|
| 454 |
+
<div class="quiz-question bg-[#233554] p-5 rounded-lg">
|
| 455 |
+
<h4 class="font-bold text-xl text-[#e6f1ff] mb-3">1. ما هو الفعل في الجملة التالية: "القط يلعب في الحديقة"؟</h4>
|
| 456 |
+
<div class="space-y-2">
|
| 457 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 458 |
+
<input type="radio" name="q1" class="form-radio text-[#64ffda]">
|
| 459 |
+
<span class="text-[#a8b2d1]">القط</span>
|
| 460 |
+
</label>
|
| 461 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 462 |
+
<input type="radio" name="q1" class="form-radio text-[#64ffda]" correct>
|
| 463 |
+
<span class="text-[#a8b2d1]">يلعب</span>
|
| 464 |
+
</label>
|
| 465 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 466 |
+
<input type="radio" name="q1" class="form-radio text-[#64ffda]">
|
| 467 |
+
<span class="text-[#a8b2d1]">في</span>
|
| 468 |
+
</label>
|
| 469 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 470 |
+
<input type="radio" name="q1" class="form-radio text-[#64ffda]">
|
| 471 |
+
<span class="text-[#a8b2d1]">الحديقة</span>
|
| 472 |
+
</label>
|
| 473 |
+
</div>
|
| 474 |
+
</div>
|
| 475 |
+
|
| 476 |
+
<!-- Question 2 -->
|
| 477 |
+
<div class="quiz-question bg-[#233554] p-5 rounded-lg">
|
| 478 |
+
<h4 class="font-bold text-xl text-[#e6f1ff] mb-3">2. أي من هذه الكلمات هو حال (adverb)؟</h4>
|
| 479 |
+
<div class="space-y-2">
|
| 480 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 481 |
+
<input type="radio" name="q2" class="form-radio text-[#64ffda]">
|
| 482 |
+
<span class="text-[#a8b2d1]">سريع</span>
|
| 483 |
+
</label>
|
| 484 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 485 |
+
<input type="radio" name="q2" class="form-radio text-[#64ffda]">
|
| 486 |
+
<span class="text-[#a8b2d1]">جمال</span>
|
| 487 |
+
</label>
|
| 488 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 489 |
+
<input type="radio" name="q2" class="form-radio text-[#64ffda]" correct>
|
| 490 |
+
<span class="text-[#a8b2d1]">بسرعة</span>
|
| 491 |
+
</label>
|
| 492 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 493 |
+
<input type="radio" name="q2" class="form-radio text-[#64ffda]">
|
| 494 |
+
<span class="text-[#a8b2d1]">كتاب</span>
|
| 495 |
+
</label>
|
| 496 |
+
</div>
|
| 497 |
+
</div>
|
| 498 |
+
|
| 499 |
+
<!-- Question 3 -->
|
| 500 |
+
<div class="quiz-question bg-[#233554] p-5 rounded-lg">
|
| 501 |
+
<h4 class="font-bold text-xl text-[#e6f1ff] mb-3">3. ما هي الصفة في الجملة التالية: "الشمس الساطعة تشرق"؟</h4>
|
| 502 |
+
<div class="space-y-2">
|
| 503 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 504 |
+
<input type="radio" name="q3" class="form-radio text-[#64ffda]">
|
| 505 |
+
<span class="text-[#a8b2d1]">الشمس</span>
|
| 506 |
+
</label>
|
| 507 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 508 |
+
<input type="radio" name="q3" class="form-radio text-[#64ffda]" correct>
|
| 509 |
+
<span class="text-[#a8b2d1]">الساطعة</span>
|
| 510 |
+
</label>
|
| 511 |
+
<label class="flex items-center space-x-3 cursor-pointer">
|
| 512 |
+
<input type="radio" name="q3" class="form-radio text-[#64ffda]">
|
| 513 |
+
<span class="text-[#a8b2d1]">تشرق</span>
|
| 514 |
+
</label>
|
| 515 |
+
</div>
|
| 516 |
+
</div>
|
| 517 |
+
</div>
|
| 518 |
+
|
| 519 |
+
<div class="text-center mt-8">
|
| 520 |
+
<button id="check-answers" class="bg-[#64ffda] text-[#0a192f] px-6 py-3 rounded-lg font-bold hover:bg-[#52d7c4] transition">تحقق من الإجابات</button>
|
| 521 |
+
</div>
|
| 522 |
+
</div>
|
| 523 |
+
</div>
|
| 524 |
+
|
| 525 |
+
<!-- Scroll to Top Button -->
|
| 526 |
+
<div class="scroll-to-top hidden" id="scrollToTop">
|
| 527 |
+
<i class="fas fa-arrow-up text-xl"></i>
|
| 528 |
+
</div>
|
| 529 |
+
|
| 530 |
+
<!-- Footer -->
|
| 531 |
+
<footer class="bg-[#112240] py-8 mt-16">
|
| 532 |
+
<div class="container mx-auto px-4 text-center">
|
| 533 |
+
<p class="text-[#a8b2d1]">© 2023 قواعد اللغة الإنجليزية بالعربية. جميع الحقوق محفوظة.</p>
|
| 534 |
+
<div class="flex justify-center space-x-6 mt-4">
|
| 535 |
+
<a href="#" class="text-[#a8b2d1] hover:text-[#64ffda] text-xl"><i class="fab fa-facebook"></i></a>
|
| 536 |
+
<a href="#" class="text-[#a8b2d1] hover:text-[#64ffda] text-xl"><i class="fab fa-twitter"></i></a>
|
| 537 |
+
<a href="#" class="text-[#a8b2d1] hover:text-[#64ffda] text-xl"><i class="fab fa-instagram"></i></a>
|
| 538 |
+
</div>
|
| 539 |
+
</div>
|
| 540 |
+
</footer>
|
| 541 |
+
|
| 542 |
+
<script>
|
| 543 |
+
// Tab functionality
|
| 544 |
+
const tabButtons = document.querySelectorAll('.tab-button');
|
| 545 |
+
const tabPanels = document.querySelectorAll('.tab-panel');
|
| 546 |
+
|
| 547 |
+
tabButtons.forEach(button => {
|
| 548 |
+
button.addEventListener('click', () => {
|
| 549 |
+
// Remove active class from all buttons and panels
|
| 550 |
+
tabButtons.forEach(btn => btn.classList.remove('active'));
|
| 551 |
+
tabPanels.forEach(panel => panel.classList.add('hidden'));
|
| 552 |
+
|
| 553 |
+
// Add active class to clicked button
|
| 554 |
+
button.classList.add('active');
|
| 555 |
+
|
| 556 |
+
// Show corresponding panel
|
| 557 |
+
const tabId = button.getAttribute('data-tab');
|
| 558 |
+
document.getElementById(tabId).classList.remove('hidden');
|
| 559 |
+
});
|
| 560 |
+
});
|
| 561 |
+
|
| 562 |
+
// Quiz functionality
|
| 563 |
+
document.getElementById('check-answers').addEventListener('click', () => {
|
| 564 |
+
const questions = document.querySelectorAll('.quiz-question');
|
| 565 |
+
let correctAnswers = 0;
|
| 566 |
+
|
| 567 |
+
questions.forEach(question => {
|
| 568 |
+
const options = question.querySelectorAll('input[type="radio"]');
|
| 569 |
+
let answeredCorrectly = false;
|
| 570 |
+
|
| 571 |
+
options.forEach(option => {
|
| 572 |
+
if (option.checked && option.hasAttribute('correct')) {
|
| 573 |
+
answeredCorrectly = true;
|
| 574 |
+
}
|
| 575 |
+
});
|
| 576 |
+
|
| 577 |
+
if (answeredCorrectly) {
|
| 578 |
+
correctAnswers++;
|
| 579 |
+
question.classList.add('highlight');
|
| 580 |
+
} else {
|
| 581 |
+
question.classList.remove('highlight');
|
| 582 |
+
}
|
| 583 |
+
});
|
| 584 |
+
|
| 585 |
+
alert(`لقد أجبت بشكل صحيح على ${correctAnswers} من أصل ${questions.length} أسئلة!`);
|
| 586 |
+
});
|
| 587 |
+
|
| 588 |
+
// Scroll to top functionality
|
| 589 |
+
const scrollToTopButton = document.getElementById('scrollToTop');
|
| 590 |
+
|
| 591 |
+
window.addEventListener('scroll', () => {
|
| 592 |
+
if (window.pageYOffset > 300) {
|
| 593 |
+
scrollToTopButton.classList.remove('hidden');
|
| 594 |
+
} else {
|
| 595 |
+
scrollToTopButton.classList.add('hidden');
|
| 596 |
+
}
|
| 597 |
+
});
|
| 598 |
+
|
| 599 |
+
scrollToTopButton.addEventListener('click', () => {
|
| 600 |
+
window.scrollTo({
|
| 601 |
+
top: 0,
|
| 602 |
+
behavior: 'smooth'
|
| 603 |
+
});
|
| 604 |
+
});
|
| 605 |
+
</script>
|
| 606 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=hassanmirza/tr" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 607 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Explain verb , adverb, adjective, composition, and all intermediate Grammer in English language explain in Arabic dark blue baground
|