Commit ·
cf07939
1
Parent(s): c11349d
feat: add Autocomplete feature to home page + features page
Browse files- src/index.html +39 -3
src/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
<html lang="ar" dir="rtl" class="h-full">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
|
@@ -248,7 +248,7 @@
|
|
| 248 |
<h2 class="text-4xl lg:text-5xl font-bold mb-6">ميزات <span class="text-gradient">قوية ومتقدمة</span></h2>
|
| 249 |
<p class="text-xl max-w-3xl mx-auto" style="color: var(--text-secondary); line-height: 1.9;">كل ما تحتاجه لكتابة نصوص عربية احترافية وخالية من الأخطاء</p>
|
| 250 |
</div>
|
| 251 |
-
<div class="grid md:grid-cols-2 lg:grid-cols-
|
| 252 |
<div class="card-hover p-8 rounded-3xl" style="background: var(--surface-color); border: 1px solid rgba(255, 255, 255, 0.08);">
|
| 253 |
<div class="feature-icon mb-6" style="background: rgba(239, 68, 68, 0.15); color: #ef4444;">
|
| 254 |
<svg width="24" height="24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>
|
|
@@ -276,7 +276,14 @@
|
|
| 276 |
</div>
|
| 277 |
<h3 class="text-xl font-bold mb-3">تلخيص النصوص العربية</h3>
|
| 278 |
<p class="text-sm leading-relaxed" style="color: var(--text-secondary); line-height: 1.8;">الحفاظ على المعنى والأسلوب مع تقليل طول النص بذكاء</p>
|
| 279 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 280 |
</div>
|
| 281 |
<div class="text-center mt-12"><button onclick="showPage('features')" class="px-8 py-4 rounded-2xl text-lg font-bold border-2 transition-all hover:scale-105" style="border-color: var(--primary-color); color: var(--primary-color);"> استكشف جميع الميزات ← </button>
|
| 282 |
</div>
|
|
@@ -442,6 +449,35 @@
|
|
| 442 |
</div>
|
| 443 |
</div>
|
| 444 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 445 |
</div>
|
| 446 |
</div>
|
| 447 |
</section>
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
<html lang="ar" dir="rtl" class="h-full">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
|
|
|
| 248 |
<h2 class="text-4xl lg:text-5xl font-bold mb-6">ميزات <span class="text-gradient">قوية ومتقدمة</span></h2>
|
| 249 |
<p class="text-xl max-w-3xl mx-auto" style="color: var(--text-secondary); line-height: 1.9;">كل ما تحتاجه لكتابة نصوص عربية احترافية وخالية من الأخطاء</p>
|
| 250 |
</div>
|
| 251 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-5 gap-6"><!-- Feature 1: Spelling -->
|
| 252 |
<div class="card-hover p-8 rounded-3xl" style="background: var(--surface-color); border: 1px solid rgba(255, 255, 255, 0.08);">
|
| 253 |
<div class="feature-icon mb-6" style="background: rgba(239, 68, 68, 0.15); color: #ef4444;">
|
| 254 |
<svg width="24" height="24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>
|
|
|
|
| 276 |
</div>
|
| 277 |
<h3 class="text-xl font-bold mb-3">تلخيص النصوص العربية</h3>
|
| 278 |
<p class="text-sm leading-relaxed" style="color: var(--text-secondary); line-height: 1.8;">الحفاظ على المعنى والأسلوب مع تقليل طول النص بذكاء</p>
|
| 279 |
+
</div><!-- Feature 5: Autocomplete -->
|
| 280 |
+
<div class="card-hover p-8 rounded-3xl" style="background: var(--surface-color); border: 1px solid rgba(255, 255, 255, 0.08);">
|
| 281 |
+
<div class="feature-icon mb-6" style="background: rgba(236, 72, 153, 0.15); color: #ec4899;">
|
| 282 |
+
<svg width="24" height="24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/></svg>
|
| 283 |
+
</div>
|
| 284 |
+
<h3 class="text-xl font-bold mb-3">الإكمال التلقائي الذكي</h3>
|
| 285 |
+
<p class="text-sm leading-relaxed" style="color: var(--text-secondary); line-height: 1.8;">اقتراحات فورية لإكمال الجمل والعبارات أثناء الكتابة بذكاء اصطناعي</p>
|
| 286 |
+
</div>
|
| 287 |
</div>
|
| 288 |
<div class="text-center mt-12"><button onclick="showPage('features')" class="px-8 py-4 rounded-2xl text-lg font-bold border-2 transition-all hover:scale-105" style="border-color: var(--primary-color); color: var(--primary-color);"> استكشف جميع الميزات ← </button>
|
| 289 |
</div>
|
|
|
|
| 449 |
</div>
|
| 450 |
</div>
|
| 451 |
</div>
|
| 452 |
+
</div><!-- Feature 5: Autocomplete -->
|
| 453 |
+
<div class="grid lg:grid-cols-2 gap-16 items-center mt-32">
|
| 454 |
+
<div class="order-2 lg:order-1">
|
| 455 |
+
<div class="p-8 rounded-3xl" style="background: var(--surface-color); border: 1px solid rgba(255, 255, 255, 0.08);">
|
| 456 |
+
<div class="text-right text-xl editor-content" dir="rtl" style="color: var(--text-color); line-height: 2;">
|
| 457 |
+
<p class="mb-4">اللغة العربية هي لغة <span style="color: var(--text-secondary); opacity: 0.5;">|</span></p>
|
| 458 |
+
<div class="mt-6 p-4 rounded-xl" style="background: rgba(236, 72, 153, 0.1); border-right: 4px solid #ec4899;">
|
| 459 |
+
<div class="text-sm font-bold mb-3" style="color: #ec4899;">⚡ اقتراحات الإكمال</div>
|
| 460 |
+
<div class="space-y-2">
|
| 461 |
+
<div class="p-3 rounded-lg" style="background: rgba(236, 72, 153, 0.15); border: 1px solid rgba(236, 72, 153, 0.3);"><span class="text-base" style="color: var(--text-color);">القرآن الكريم والحضارة الإسلامية</span></div>
|
| 462 |
+
<div class="p-3 rounded-lg" style="background: rgba(255, 255, 255, 0.05);"><span class="text-base" style="color: var(--text-secondary);">الضاد وأقدم اللغات السامية</span></div>
|
| 463 |
+
<div class="p-3 rounded-lg" style="background: rgba(255, 255, 255, 0.05);"><span class="text-base" style="color: var(--text-secondary);">العلم والأدب والشعر العربي</span></div>
|
| 464 |
+
</div>
|
| 465 |
+
<div class="text-xs mt-3" style="color: var(--text-secondary);">اضغط <kbd style="background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-size: 11px;">Tab</kbd> لقبول الاقتراح</div>
|
| 466 |
+
</div>
|
| 467 |
+
</div>
|
| 468 |
+
</div>
|
| 469 |
+
</div>
|
| 470 |
+
<div class="order-1 lg:order-2 text-right">
|
| 471 |
+
<div class="feature-icon mb-6" style="background: rgba(236, 72, 153, 0.15); color: #ec4899; width: 64px; height: 64px; font-size: 32px;"><svg width="24" height="24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/></svg></div>
|
| 472 |
+
<h2 class="text-4xl font-bold mb-6">الإكمال التلقائي الذكي</h2>
|
| 473 |
+
<p class="text-lg mb-8 leading-relaxed" style="color: var(--text-secondary); line-height: 2;">محرك ذكي يقترح إكمال الجمل والعبارات أثناء الكتابة، مدعوم بنماذج لغوية متقدمة تفهم السياق العربي.</p>
|
| 474 |
+
<ul class="space-y-4">
|
| 475 |
+
<li class="flex items-center gap-4"><div class="w-6 h-6 rounded-full flex items-center justify-center" style="background: rgba(34, 197, 94, 0.2);"><span style="color: #22c55e; font-size: 14px;">✓</span></div><span class="text-base">اقتراحات ذكية حسب السياق</span></li>
|
| 476 |
+
<li class="flex items-center gap-4"><div class="w-6 h-6 rounded-full flex items-center justify-center" style="background: rgba(34, 197, 94, 0.2);"><span style="color: #22c55e; font-size: 14px;">✓</span></div><span class="text-base">قبول بضغطة زر واحدة (Tab)</span></li>
|
| 477 |
+
<li class="flex items-center gap-4"><div class="w-6 h-6 rounded-full flex items-center justify-center" style="background: rgba(34, 197, 94, 0.2);"><span style="color: #22c55e; font-size: 14px;">✓</span></div><span class="text-base">تسريع الكتابة بنسبة تصل إلى ٤٠٪</span></li>
|
| 478 |
+
</ul>
|
| 479 |
+
</div>
|
| 480 |
+
</div>
|
| 481 |
</div>
|
| 482 |
</div>
|
| 483 |
</section>
|