File size: 33,483 Bytes
20339a9 e082ed8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>صانع مجاني - أنشئ فيديوهات احترافية مجاناً</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');
* {
font-family: 'Tajawal', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-card {
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.floating {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.pulse-button {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.7); }
70% { box-shadow: 0 0 0 20px rgba(147, 51, 234, 0); }
100% { box-shadow: 0 0 0 0 rgba(147, 51, 234, 0); }
}
.text-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-pattern {
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="fixed top-0 w-full z-50 glass-effect">
<div class="container mx-auto px-4 py-4">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-reverse space-x-2">
<div class="w-10 h-10 bg-purple-600 rounded-lg flex items-center justify-center">
<i data-feather="video" class="w-6 h-6 text-white"></i>
</div>
<span class="text-xl font-bold text-white">صانع مجاني</span>
</div>
<div class="hidden md:flex space-x-reverse space-x-8">
<a href="#features" class="text-white hover:text-purple-200 transition">الميزات</a>
<a href="#templates" class="text-white hover:text-purple-200 transition">القوالب</a>
<a href="#pricing" class="text-white hover:text-purple-200 transition">الأسعار</a>
<a href="#contact" class="text-white hover:text-purple-200 transition">تواصل</a>
</div>
<button class="md:hidden text-white" onclick="toggleMobileMenu()">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobileMenu" class="hidden md:hidden glass-effect">
<div class="px-4 py-4 space-y-4">
<a href="#features" class="block text-white hover:text-purple-200">الميزات</a>
<a href="#templates" class="block text-white hover:text-purple-200">القوالب</a>
<a href="#pricing" class="block text-white hover:text-purple-200">الأسعار</a>
<a href="#contact" class="block text-white hover:text-purple-200">تواصل</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="gradient-bg hero-pattern min-h-screen flex items-center pt-20">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div>
<h1 class="text-5xl md:text-6xl font-bold text-white mb-6">
أنشئ فيديوهات <br>
<span class="text-yellow-300">بمجرد نص</span>
</h1>
<p class="text-xl text-purple-100 mb-8">
تطبيق مجاني بالكامل لصناعة المحتوى العربي. حوّل أفكارك إلى فيديوهات احترافية بالذكاء الاصطناعي.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<button onclick="showVideoCreator()" class="pulse-button bg-yellow-400 text-purple-900 px-8 py-4 rounded-lg font-bold text-lg hover:bg-yellow-300 transition transform hover:scale-105">
ابدأ الآن مجاناً
</button>
<button onclick="playDemo()" class="glass-effect text-white px-8 py-4 rounded-lg font-bold text-lg hover:bg-white hover:bg-opacity-20 transition flex items-center justify-center gap-2">
<i data-feather="play-circle" class="w-5 h-5"></i>
شاهد التجربة
</button>
</div>
<div class="mt-8 flex gap-8 text-white">
<div>
<div class="text-3xl font-bold text-yellow-300">100K+</div>
<div class="text-purple-200">منشئ محتوى</div>
</div>
<div>
<div class="text-3xl font-bold text-yellow-300">2M+</div>
<div class="text-purple-200">فيديو منشور</div>
</div>
<div>
<div class="text-3xl font-bold text-yellow-300">100%</div>
<div class="text-purple-200">مجاني</div>
</div>
</div>
</div>
<div class="relative">
<div class="floating">
<img src="https://static.photos/technology/640x360/42" alt="Video Creation" class="rounded-2xl shadow-2xl">
</div>
<div class="absolute -bottom-6 -left-6 bg-white p-4 rounded-xl shadow-xl">
<div class="flex items-center gap-3">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center">
<i data-feather="check-circle" class="w-6 h-6 text-green-600"></i>
</div>
<div>
<div class="font-bold">تم الإنشاء</div>
<div class="text-sm text-gray-600">في 30 ثانية</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold mb-4">
<span class="text-gradient">ميزات تفيض بالإبداع</span>
</h2>
<p class="text-xl text-gray-600">كل ما تحتاجه لصناعة محتوى فيديو احترافي</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-purple-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="type" class="w-8 h-8 text-purple-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">نص إلى فيديو</h3>
<p class="text-gray-600">حول أي نص إلى فيديو جذاب مع قوالب جاهزة ومشاهد مقترحة تلقائياً</p>
</div>
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-blue-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="mic" class="w-8 h-8 text-blue-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">صوت بالعربية</h3>
<p class="text-gray-600">أصوات طبيعية باللهجات العربية المختلفة والفصحى بتقنية الذكاء الاصطناعي</p>
</div>
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-green-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="globe" class="w-8 h-8 text-green-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">ترجمة وترجمة</h3>
<p class="text-gray-600">ترجمة تلقائية وترجمة صوتية بدقة عالية مع ضبط التوقيت</p>
</div>
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-yellow-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="edit-3" class="w-8 h-8 text-yellow-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">محرر سهل</h3>
<p class="text-gray-600">محرر مرئي مبسط لقص ودمج وتعديل المشاهد بسحب وإفلات</p>
</div>
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-red-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="music" class="w-8 h-8 text-red-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">موسيقى مجانية</h3>
<p class="text-gray-600">مكتبة ضخمة من الموسيقى المرخصة للاستخدام التجاري</p>
</div>
<div class="feature-card bg-white p-8 rounded-2xl shadow-lg">
<div class="w-16 h-16 bg-indigo-100 rounded-xl flex items-center justify-center mb-6">
<i data-feather="cloud" class="w-8 h-8 text-indigo-600"></i>
</div>
<h3 class="text-2xl font-bold mb-4">تخزين سحابي</h3>
<p class="text-gray-600">مساحة تخزين مجانية 5GB مع إمكانية النشر المباشر للمنصات</p>
</div>
</div>
</div>
</section>
<!-- Templates Section -->
<section id="templates" class="py-20 bg-gray-100">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold mb-4">قوالب جاهزة لكل منصة</h2>
<p class="text-xl text-gray-600">اختر القالب المناسب وابدأ الإبداع فوراً</p>
</div>
<div class="grid md:grid-cols-4 gap-6">
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition cursor-pointer">
<div class="aspect-video bg-gradient-to-br from-pink-400 to-purple-600 flex items-center justify-center">
<i data-feather="smartphone" class="w-12 h-12 text-white"></i>
</div>
<div class="p-4">
<h4 class="font-bold text-lg">Stories</h4>
<p class="text-sm text-gray-600">9:16 لانستغرام وفيسبوك</p>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition cursor-pointer">
<div class="aspect-video bg-gradient-to-br from-blue-400 to-cyan-600 flex items-center justify-center">
<i data-feather="video" class="w-12 h-12 text-white"></i>
</div>
<div class="p-4">
<h4 class="font-bold text-lg">TikTok</h4>
<p class="text-sm text-gray-600">9:16 للفيديوهات القصيرة</p>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition cursor-pointer">
<div class="aspect-video bg-gradient-to-br from-green-400 to-teal-600 flex items-center justify-center">
<i data-feather="youtube" class="w-12 h-12 text-white"></i>
</div>
<div class="p-4">
<h4 class="font-bold text-lg">YouTube</h4>
<p class="text-sm text-gray-600">16:9 للفيديوهات الطويلة</p>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition cursor-pointer">
<div class="aspect-video bg-gradient-to-br from-orange-400 to-red-600 flex items-center justify-center">
<i data-feather="square" class="w-12 h-12 text-white"></i>
</div>
<div class="p-4">
<h4 class="font-bold text-lg">Feed</h4>
<p class="text-sm text-gray-600">1:1 للمنشورات</p>
</div>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-20">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold mb-4">كيف يعمل؟</h2>
<p class="text-xl text-gray-600">ثلاث خطوات بسيطة لإنشاء فيديو احترافي</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="text-center">
<div class="w-20 h-20 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-6 text-white text-3xl font-bold">
1
</div>
<h3 class="text-xl font-bold mb-4">اكتب النص</h3>
<p class="text-gray-600">أدخل سكربتك أو الفكرة التي تريد تحويلها لفيديو</p>
</div>
<div class="text-center">
<div class="w-20 h-20 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-6 text-white text-3xl font-bold">
2
</div>
<h3 class="text-xl font-bold mb-4">اختر القالب</h3>
<p class="text-gray-600">اختر من بين القوالب الجاهزة والأبعاد المناسبة لمنصتك</p>
</div>
<div class="text-center">
<div class="w-20 h-20 bg-purple-600 rounded-full flex items-center justify-center mx-auto mb-6 text-white text-3xl font-bold">
3
</div>
<h3 class="text-xl font-bold mb-4">انشر مباشرة</h3>
<p class="text-gray-600">صدر الفيديو وانشره مباشرة على جميع منصات التواصل</p>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section id="pricing" class="py-20 bg-gray-100">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold mb-4">الأسعار</h2>
<p class="text-xl text-gray-600">مجاني دائماً مع خيارات لتحسين التجربة</p>
</div>
<div class="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
<div class="bg-white rounded-2xl shadow-lg p-8">
<h3 class="text-2xl font-bold mb-4">مجاني</h3>
<div class="text-4xl font-bold text-purple-600 mb-6">0$<span class="text-lg text-gray-600">/شهرياً</span></div>
<ul class="space-y-3 mb-8">
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>5GB تخزين سحابي</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>720p جودة تصدير</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>كل الميزات الأساسية</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>موسيقى مجانية</span>
</li>
</ul>
<button class="w-full bg-purple-600 text-white py-3 rounded-lg font-bold hover:bg-purple-700 transition">
ابدأ الآن
</button>
</div>
<div class="bg-gradient-to-br from-purple-600 to-purple-800 rounded-2xl shadow-xl p-8 text-white transform scale-105">
<div class="bg-yellow-400 text-purple-900 text-sm font-bold px-3 py-1 rounded-full inline-block mb-4">
الأكثر شعبية
</div>
<h3 class="text-2xl font-bold mb-4">داعم</h3>
<div class="text-4xl font-bold mb-6">5$<span class="text-lg opacity-80">/شهرياً</span></div>
<ul class="space-y-3 mb-8">
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5"></i>
<span>كل مزايا المجاني</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5"></i>
<span>50GB تخزين سحابي</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5"></i>
<span>4K جودة تصدير</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5"></i>
<span>أولوية في المعالجة</span>
</li>
</ul>
<button class="w-full bg-yellow-400 text-purple-900 py-3 rounded-lg font-bold hover:bg-yellow-300 transition">
ادعم المشروع
</button>
</div>
<div class="bg-white rounded-2xl shadow-lg p-8">
<h3 class="text-2xl font-bold mb-4">مؤسسات</h3>
<div class="text-4xl font-bold text-purple-600 mb-6">49$<span class="text-lg text-gray-600">/شهرياً</span></div>
<ul class="space-y-3 mb-8">
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>كل مزايا الداعم</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>مخزون غير محدود</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>API متقدم</span>
</li>
<li class="flex items-center gap-2">
<i data-feather="check" class="w-5 h-5 text-green-500"></i>
<span>دعم فني مخصص</span>
</li>
</ul>
<button class="w-full bg-gray-800 text-white py-3 rounded-lg font-bold hover:bg-gray-900 transition">
تواصل معنا
</button>
</div>
</div>
</div>
</section>
<!-- Video Creator Modal -->
<div id="videoCreatorModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4">
<div class="bg-white rounded-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto">
<div class="p-6 border-b">
<div class="flex justify-between items-center">
<h3 class="text-2xl font-bold">إنشاء فيديو جديد</h3>
<button onclick="closeVideoCreator()" class="text-gray-500 hover:text-gray-700">
<i data-feather="x" class="w-6 h-6"></i>
</button>
</div>
</div>
<div class="p-6">
<div class="mb-6">
<label class="block text-sm font-bold mb-2">عنوان الفيديو</label>
<input type="text" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-600" placeholder="أدخل عنوان الفيديو">
</div>
<div class="mb-6">
<label class="block text-sm font-bold mb-2">النص أو السكربت</label>
<textarea class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-600 h-32" placeholder="اكتب النص الذي تريد تحويله لفيديو..."></textarea>
</div>
<div class="mb-6">
<label class="block text-sm font-bold mb-2">حجم الفيديو</label>
<div class="grid grid-cols-3 gap-4">
<button class="p-4 border-2 border-purple-600 rounded-lg hover:bg-purple-50 transition">
<div class="aspect-[9/16] bg-purple-100 rounded mb-2"></div>
<div class="text-sm">Stories</div>
</button>
<button class="p-4 border rounded-lg hover:bg-purple-50 transition">
<div class="aspect-square bg-gray-100 rounded mb-2"></div>
<div class="text-sm">Feed</div>
</button>
<button class="p-4 border rounded-lg hover:bg-purple-50 transition">
<div class="aspect-[16/9] bg-gray-100 rounded mb-2"></div>
<div class="text-sm">YouTube</div>
</button>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-bold mb-2">الصوت</label>
<select class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-600">
<option>صوت ذكوري (فصحى)</option>
<option>صوت انثائي (فصحى)</option>
<option>صوت ذكوري (مصري)</option>
<option>صوت انثائي (خليجي)</option>
</select>
</div>
<div class="flex gap-4">
<button onclick="generateVideo()" class="flex-1 bg-purple-600 text-white py-3 rounded-lg font-bold hover:bg-purple-700 transition">
إنشاء الفيديو
</button>
<button onclick="closeVideoCreator()" class="flex-1 bg-gray-200 text-gray-800 py-3 rounded-lg font-bold hover:bg-gray-300 transition">
إلغاء
</button>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-reverse space-x-2 mb-4">
<div class="w-10 h-10 bg-purple-600 rounded-lg flex items-center justify-center">
<i data-feather="video" class="w-6 h-6 text-white"></i>
</div>
<span class="text-xl font-bold">صانع مجاني</span>
</div>
<p class="text-gray-400">أداة مجانية لصانعي المحتوى العرب لإنشاء فيديوهات احترافية بالذكاء الاصطناعي</p>
</div>
<div>
<h4 class="font-bold mb-4">المنتج</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white transition">الميزات</a></li>
<li><a href="#" class="hover:text-white transition">القوالب</a></li>
<li><a href="#" class="hover:text-white transition">الأسعار</a></li>
<li><a href="#" class="hover:text-white transition">API</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">الشركة</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white transition">عننا</a></li>
<li><a href="#" class="hover:text-white transition">المدونة</a></li>
<li><a href="#" class="hover:text-white transition">وظائف</a></li>
<li><a href="#" class="hover:text-white transition">اتصل بنا</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">تابعنا</h4>
<div class="flex gap-4">
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700 transition">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700 transition">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700 transition">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-gray-700 transition">
<i data-feather="youtube" class="w-5 h-5"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 pt-8 text-center text-gray-400">
<p>© 2024 صانع مجاني. جميع الحقوق محفوظة.</p>
</div>
</div>
</footer>
<script>
// Initialize Feather Icons
feather.replace();
// Mobile Menu Toggle
function toggleMobileMenu() {
const menu = document.getElementById('mobileMenu');
menu.classList.toggle('hidden');
}
// Show Video Creator Modal
function showVideoCreator() {
document.getElementById('videoCreatorModal').classList.remove('hidden');
feather.replace();
}
// Close Video Creator Modal
function closeVideoCreator() {
document.getElementById('videoCreatorModal').classList.add('hidden');
}
// Generate Video (Simulation)
function generateVideo() {
// Simulate video generation
closeVideoCreator();
// Show loading notification
const notification = document.createElement('div');
notification.className = 'fixed top-20 right-4 bg-green-500 text-white px-6 py-4 rounded-lg shadow-lg z-50 flex items-center gap-3';
notification.innerHTML = `
<div class="animate-spin">
<i data-feather="loader" class="w-5 h-5"></i>
</div>
<span>جاري إنشاء الفيديو...</span>
`;
document.body.appendChild(notification);
feather.replace();
// Simulate completion after 3 seconds
setTimeout(() => {
notification.innerHTML = `
<i data-feather="check-circle" class="w-5 h-5"></i>
<span>تم إنشاء الفيديو بنجاح!</span>
`;
feather.replace();
setTimeout(() => {
notification.remove();
}, 3000);
}, 3000);
}
// Play Demo (Simulation)
function playDemo() {
const modal = document.createElement('div');
modal.className = 'fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4';
modal.innerHTML = `
<div class="bg-white rounded-2xl max-w-3xl w-full p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-2xl font-bold">تجربة المنتج</h3>
<button onclick="this.closest('.fixed').remove()" class="text-gray-500 hover:text-gray-700">
<i data-feather="x" class="w-6 h-6"></i>
</button>
</div>
<div class="aspect-video bg-gray-100 rounded-lg flex items-center justify-center">
<div class="text-center">
<i data-feather="play-circle" class="w-16 h-16 text-gray-400 mx-auto mb-4"></i>
<p class="text-gray-600">فيديو تجريبي</p>
</div>
</div>
</div>
`;
document.body.appendChild(modal);
feather.replace();
}
// Smooth Scroll
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Scroll animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
// Apply scroll animations to feature cards
document.querySelectorAll('.feature-card').forEach(card => {
card.style.opacity = '0';
card.style.transform = 'translateY(20px)';
card.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
observer.observe(card);
});
</script>
</body>
</html>
|