Spaces:
Running

f88fa commited on
Commit
bdd4f46
·
verified ·
1 Parent(s): f958323

هل يمكنك تحويل كل هذا الئ لغة برمجية php laravel - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +1184 -18
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Websit
3
- emoji: 🏃
4
- colorFrom: pink
5
- colorTo: red
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: websit
3
+ emoji: 🐳
4
+ colorFrom: gray
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,1185 @@
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
+
2
+ // resources/lang/ar/validation.php
3
+ <?php
4
+
5
+ return [
6
+ 'required' => 'حقل :attribute مطلوب.',
7
+ 'email' => 'يجب أن يكون :attribute بريدًا إلكترونيًا صالحًا.',
8
+ // Add more Arabic translations
9
+ ];
10
+
11
+ // resources/lang/ar/auth.php
12
+ <?php
13
+
14
+ return [
15
+ 'failed' => 'بيانات الاعتماد هذه لا تتطابق مع سجلاتنا.',
16
+ 'password' => 'كلمة المرور المقدمة غير صحيحة.',
17
+ 'throttle' => 'عدد كبير جدًا من محاولات تسجيل الدخول. يرجى المحاولة مرة أخرى بعد :seconds ثانية.',
18
+ ];
19
+
20
+
21
+ // resources/js/app.js
22
+ require('./bootstrap');
23
+
24
+ // Custom cursor effect
25
+ document.addEventListener('DOMContentLoaded', function() {
26
+ const cursorFollower = document.createElement('div');
27
+ cursorFollower.classList.add('cursor-follower');
28
+ document.body.appendChild(cursorFollower);
29
+
30
+ // Rest of your JavaScript code
31
+ });
32
+
33
+ // resources/sass/app.scss
34
+ @import '~tailwindcss/base';
35
+ @import '~tailwindcss/components';
36
+ @import '~tailwindcss/utilities';
37
+
38
+ // Custom styles
39
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
40
+
41
+ body {
42
+ font-family: 'Tajawal', sans-serif;
43
+ }
44
+
45
+ /* Rest of your custom styles */
46
+
47
+
48
+ // database/migrations/2023_01_01_create_services_table.php
49
+ <?php
50
+
51
+ use Illuminate\Database\Migrations\Migration;
52
+ use Illuminate\Database\Schema\Blueprint;
53
+ use Illuminate\Support\Facades\Schema;
54
+
55
+ class CreateServicesTable extends Migration
56
+ {
57
+ public function up()
58
+ {
59
+ Schema::create('services', function (Blueprint $table) {
60
+ $table->id();
61
+ $table->string('title');
62
+ $table->text('description');
63
+ $table->string('icon');
64
+ $table->string('color');
65
+ $table->timestamps();
66
+ });
67
+ }
68
+
69
+ public function down()
70
+ {
71
+ Schema::dropIfExists('services');
72
+ }
73
+ }
74
+
75
+ // Similar migrations for gallery, videos, and admins tables
76
+
77
+
78
+ // config/auth.php
79
+ 'guards' => [
80
+ 'web' => [
81
+ 'driver' => 'session',
82
+ 'provider' => 'users',
83
+ ],
84
+
85
+ 'api' => [
86
+ 'driver' => 'token',
87
+ 'provider' => 'users',
88
+ 'hash' => false,
89
+ ],
90
+
91
+ 'admin' => [
92
+ 'driver' => 'session',
93
+ 'provider' => 'admins',
94
+ ],
95
+ ],
96
+
97
+ 'providers' => [
98
+ 'users' => [
99
+ 'driver' => 'eloquent',
100
+ 'model' => App\Models\User::class,
101
+ ],
102
+
103
+ 'admins' => [
104
+ 'driver' => 'eloquent',
105
+ 'model' => App\Models\Admin::class,
106
+ ],
107
+ ],
108
+
109
+
110
+ // app/Models/Service.php
111
+ <?php
112
+
113
+ namespace App\Models;
114
+
115
+ use Illuminate\Database\Eloquent\Model;
116
+
117
+ class Service extends Model
118
+ {
119
+ protected $fillable = [
120
+ 'title',
121
+ 'description',
122
+ 'icon',
123
+ 'color'
124
+ ];
125
+ }
126
+
127
+ // app/Models/Gallery.php
128
+ <?php
129
+
130
+ namespace App\Models;
131
+
132
+ use Illuminate\Database\Eloquent\Model;
133
+
134
+ class Gallery extends Model
135
+ {
136
+ protected $fillable = [
137
+ 'title',
138
+ 'image',
139
+ 'category'
140
+ ];
141
+ }
142
+
143
+ // app/Models/Video.php
144
+ <?php
145
+
146
+ namespace App\Models;
147
+
148
+ use Illuminate\Database\Eloquent\Model;
149
+
150
+ class Video extends Model
151
+ {
152
+ protected $fillable = [
153
+ 'title',
154
+ 'description',
155
+ 'thumbnail',
156
+ 'url'
157
+ ];
158
+ }
159
+
160
+ // app/Models/Admin.php
161
+ <?php
162
+
163
+ namespace App\Models;
164
+
165
+ use Illuminate\Foundation\Auth\User as Authenticatable;
166
+
167
+ class Admin extends Authenticatable
168
+ {
169
+ protected $guard = 'admin';
170
+
171
+ protected $fillable = [
172
+ 'name',
173
+ 'email',
174
+ 'password'
175
+ ];
176
+
177
+ protected $hidden = [
178
+ 'password',
179
+ 'remember_token'
180
+ ];
181
+ }
182
+
183
+
184
+ // app/Http/Controllers/AdminController.php
185
+ <?php
186
+
187
+ namespace App\Http\Controllers;
188
+
189
+ use Illuminate\Http\Request;
190
+ use Illuminate\Support\Facades\Auth;
191
+
192
+ class AdminController extends Controller
193
+ {
194
+ public function showLogin()
195
+ {
196
+ return view('admin.login');
197
+ }
198
+
199
+ public function login(Request $request)
200
+ {
201
+ $credentials = $request->only('email', 'password');
202
+
203
+ if (Auth::guard('admin')->attempt($credentials)) {
204
+ return redirect()->intended('/admin/dashboard');
205
+ }
206
+
207
+ return back()->withErrors([
208
+ 'email' => 'بيانات الاعتماد غير صحيحة.',
209
+ ]);
210
+ }
211
+
212
+ public function dashboard()
213
+ {
214
+ return view('admin.dashboard');
215
+ }
216
+
217
+ public function logout()
218
+ {
219
+ Auth::guard('admin')->logout();
220
+ return redirect('/admin/login');
221
+ }
222
+ }
223
+
224
+ // app/Http/Controllers/HomeController.php
225
+ <?php
226
+
227
+ namespace App\Http\Controllers;
228
+
229
+ use Illuminate\Http\Request;
230
+
231
+ class HomeController extends Controller
232
+ {
233
+ public function index()
234
+ {
235
+ $stats = [
236
+ 'clients' => 250,
237
+ 'projects' => 120,
238
+ 'awards' => 50,
239
+ 'experience' => 15
240
+ ];
241
+
242
+ $services = \App\Models\Service::all();
243
+ $gallery = \App\Models\Gallery::take(8)->get();
244
+ $videos = \App\Models\Video::take(3)->get();
245
+
246
+ return view('home', compact('stats', 'services', 'gallery', 'videos'));
247
+ }
248
+ }
249
+
250
+
251
+ // resources/views/layouts/app.blade.php
252
+ <!DOCTYPE html>
253
+ <html lang="ar" dir="rtl">
254
+ <head>
255
+ <meta charset="UTF-8">
256
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
257
+ <title>@yield('title')</title>
258
+ @include('partials.head')
259
+ </head>
260
+ <body class="bg-gray-50">
261
+ @include('partials.header')
262
+
263
+ <main>
264
+ @yield('content')
265
+ </main>
266
+
267
+ @include('partials.footer')
268
+
269
+ @include('partials.admin-panel')
270
+
271
+ @include('partials.scripts')
272
+ <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=f88fa/websit" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
273
  </html>
274
+
275
+ // resources/views/partials/head.blade.php
276
+ <link href="{{ asset('css/app.css') }}" rel="stylesheet">
277
+ <script src="https://cdn.tailwindcss.com"></script>
278
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
279
+ <!-- Advanced Animation Libraries -->
280
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
281
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
282
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollToPlugin.min.js"></script>
283
+ <link href="https://unpkg.com/aos@2.3.4/dist/aos.css" rel="stylesheet">
284
+ <script src="https://unpkg.com/aos@2.3.4/dist/aos.js"></script>
285
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
286
+ <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
287
+ <link rel="stylesheet" href="https://unpkg.com/tippy.js@6/dist/tippy.css"/>
288
+ <script src="https://unpkg.com/tippy.js@6/dist/tippy.min.js"></script>
289
+ <style>
290
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
291
+
292
+ /* Your custom styles here */
293
+ </style>
294
+
295
+ // resources/views/home.blade.php
296
+ @extends('layouts.app')
297
+
298
+ @section('title', 'الرئيسية')
299
+
300
+ @section('content')
301
+ @include('sections.slider')
302
+ @include('sections.stats')
303
+ @include('sections.vision-mission')
304
+ @include('sections.services')
305
+ @include('sections.gallery')
306
+ @include('sections.videos')
307
+ @endsection
308
+
309
+
310
+ // routes/web.php
311
+ <?php
312
+
313
+ use Illuminate\Support\Facades\Route;
314
+
315
+ Route::get('/', function () {
316
+ return view('home');
317
+ });
318
+
319
+ Route::get('/about', function () {
320
+ return view('about');
321
+ });
322
+
323
+ Route::get('/services', function () {
324
+ return view('services');
325
+ });
326
+
327
+ Route::get('/gallery', function () {
328
+ return view('gallery');
329
+ });
330
+
331
+ Route::get('/videos', function () {
332
+ return view('videos');
333
+ });
334
+
335
+ Route::get('/contact', function () {
336
+ return view('contact');
337
+ });
338
+
339
+ // Admin routes
340
+ Route::prefix('admin')->group(function () {
341
+ Route::get('/login', 'AdminController@showLogin');
342
+ Route::post('/login', 'AdminController@login');
343
+ Route::get('/dashboard', 'AdminController@dashboard')->middleware('auth:admin');
344
+ });
345
+
346
+ <!DOCTYPE html>
347
+ <html lang="ar" dir="rtl">
348
+ <head>
349
+ <meta charset="UTF-8">
350
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
351
+ <title>موقع الشركة</title>
352
+ <script src="https://cdn.tailwindcss.com"></script>
353
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
354
+ <!-- Advanced Animation Libraries -->
355
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
356
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
357
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollToPlugin.min.js"></script>
358
+ <link href="https://unpkg.com/aos@2.3.4/dist/aos.css" rel="stylesheet">
359
+ <script src="https://unpkg.com/aos@2.3.4/dist/aos.js"></script>
360
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
361
+ <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
362
+ <link rel="stylesheet" href="https://unpkg.com/tippy.js@6/dist/tippy.css"/>
363
+ <script src="https://unpkg.com/tippy.js@6/dist/tippy.min.js"></script>
364
+ <style>
365
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
366
+
367
+ /* Mouse Follower Effect */
368
+ .cursor-follower {
369
+ position: fixed;
370
+ width: 40px;
371
+ height: 40px;
372
+ background: rgba(59, 130, 246, 0.2);
373
+ border-radius: 50%;
374
+ pointer-events: none;
375
+ transform: translate(-50%, -50%);
376
+ z-index: 9999;
377
+ mix-blend-mode: multiply;
378
+ transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
379
+ }
380
+
381
+ .cursor-follower.active {
382
+ width: 80px;
383
+ height: 80px;
384
+ background: rgba(59, 130, 246, 0.1);
385
+ }
386
+
387
+ #admin-dashboard {
388
+ direction: rtl;
389
+ overflow-y: auto;
390
+ }
391
+
392
+ body {
393
+ font-family: 'Tajawal', sans-serif;
394
+ }
395
+
396
+ .slider-item {
397
+ transition: all 0.5s ease;
398
+ }
399
+
400
+ .gallery-item {
401
+ transition: transform 0.3s ease;
402
+ }
403
+
404
+ .gallery-item:hover {
405
+ transform: scale(1.05);
406
+ }
407
+
408
+ .video-thumbnail {
409
+ position: relative;
410
+ overflow: hidden;
411
+ }
412
+
413
+ .video-thumbnail::after {
414
+ content: '\f04b';
415
+ font-family: 'Font Awesome 6 Free';
416
+ font-weight: 900;
417
+ position: absolute;
418
+ top: 50%;
419
+ left: 50%;
420
+ transform: translate(-50%, -50%);
421
+ color: white;
422
+ font-size: 3rem;
423
+ opacity: 0.8;
424
+ transition: all 0.3s ease;
425
+ }
426
+
427
+ .video-thumbnail:hover::after {
428
+ opacity: 1;
429
+ transform: translate(-50%, -50%) scale(1.1);
430
+ }
431
+ </style>
432
+ </head>
433
+ <body class="bg-gray-50">
434
+ <!-- Header with Logo and Navigation -->
435
+ <header class="bg-white shadow-md sticky top-0 z-50 transition-all duration-300" id="main-header">
436
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
437
+ <!-- Logo -->
438
+ <div class="flex items-center">
439
+ <div class="w-12 h-12 bg-blue-600 rounded-full flex items-center justify-center text-white font-bold text-xl mr-2">ش</div>
440
+ <h1 class="text-xl font-bold text-gray-800">شركتنا</h1>
441
+ </div>
442
+
443
+ <!-- Navigation -->
444
+ <nav class="hidden md:block">
445
+ <ul class="flex space-x-6 space-x-reverse">
446
+ <li><a href="#" class="text-blue-600 font-medium hover:text-blue-800">الرئيسية</a></li>
447
+ <li><a href="#" class="text-gray-600 hover:text-blue-600">من نحن</a></li>
448
+ <li><a href="#" class="text-gray-600 hover:text-blue-600">خدماتنا</a></li>
449
+ <li><a href="#" class="text-gray-600 hover:text-blue-600">معرض الصور</a></li>
450
+ <li><a href="#" class="text-gray-600 hover:text-blue-600">الفيديوهات</a></li>
451
+ <li><a href="#" class="text-gray-600 hover:text-blue-600">اتصل بنا</a></li>
452
+ </ul>
453
+ </nav>
454
+
455
+ <!-- Mobile Menu Button -->
456
+ <button id="mobile-menu-button" class="md:hidden text-gray-600">
457
+ <i class="fas fa-bars text-2xl"></i>
458
+ </button>
459
+
460
+ <!-- Admin Login -->
461
+ <button id="admin-login-btn" class="hidden md:block bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition duration-300">
462
+ <i class="fas fa-lock mr-2"></i>لوحة التحكم
463
+ </button>
464
+ </div>
465
+
466
+ <!-- Mobile Menu -->
467
+ <div id="mobile-menu" class="hidden md:hidden bg-white py-2 px-4 shadow-lg">
468
+ <ul class="flex flex-col space-y-3">
469
+ <li><a href="#" class="block py-2 text-blue-600 font-medium">الرئيسية</a></li>
470
+ <li><a href="#" class="block py-2 text-gray-600 hover:text-blue-600">من نحن</a></li>
471
+ <li><a href="#" class="block py-2 text-gray-600 hover:text-blue-600">خدماتنا</a></li>
472
+ <li><a href="#" class="block py-2 text-gray-600 hover:text-blue-600">معرض الصور</a></li>
473
+ <li><a href="#" class="block py-2 text-gray-600 hover:text-blue-600">الفيديوهات</a></li>
474
+ <li><a href="#" class="block py-2 text-gray-600 hover:text-blue-600">اتصل بنا</a></li>
475
+ </ul>
476
+ </div>
477
+ </header>
478
+
479
+ <!-- Enhanced Slider Section with Swiper -->
480
+ <section class="relative overflow-hidden">
481
+ <div class="swiper main-slider">
482
+ <div class="swiper-wrapper">
483
+ <!-- Slide 1 -->
484
+ <div class="swiper-slide">
485
+ <div class="bg-gradient-to-r from-blue-800 to-blue-600 text-white py-20 px-4">
486
+ <div class="container mx-auto flex flex-col md:flex-row items-center">
487
+ <div class="md:w-1/2 mb-8 md:mb-0">
488
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">حلول تقنية مبتكرة</h2>
489
+ <p class="text-lg mb-6">نقدم أحدث الحلول التقنية التي تساعد عملك على النمو والازدهار في السوق التنافسي.</p>
490
+ <a href="#" class="bg-white text-blue-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition duration-300 inline-block">تعرف أكثر</a>
491
+ </div>
492
+ <div class="md:w-1/2 flex justify-center">
493
+ <img src="https://via.placeholder.com/500x300" alt="التقنية" class="rounded-lg shadow-xl">
494
+ </div>
495
+ </div>
496
+ </div>
497
+ </div>
498
+
499
+ <!-- Slide 2 -->
500
+ <div class="slider-item min-w-full">
501
+ <div class="bg-gradient-to-r from-purple-800 to-purple-600 text-white py-20 px-4">
502
+ <div class="container mx-auto flex flex-col md:flex-row items-center">
503
+ <div class="md:w-1/2 mb-8 md:mb-0">
504
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">فريق من الخبراء</h2>
505
+ <p class="text-lg mb-6">فريقنا من المحترفين جاهز لمساعدتك في تحقيق أهدافك وبناء مستقبل ناجح لعملك.</p>
506
+ <a href="#" class="bg-white text-purple-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition duration-300 inline-block">تعرف أكثر</a>
507
+ </div>
508
+ <div class="md:w-1/2 flex justify-center">
509
+ <img src="https://via.placeholder.com/500x300" alt="الفريق" class="rounded-lg shadow-xl">
510
+ </div>
511
+ </div>
512
+ </div>
513
+ </div>
514
+
515
+ <!-- Slide 3 -->
516
+ <div class="slider-item min-w-full">
517
+ <div class="bg-gradient-to-r from-green-800 to-green-600 text-white py-20 px-4">
518
+ <div class="container mx-auto flex flex-col md:flex-row items-center">
519
+ <div class="md:w-1/2 mb-8 md:mb-0">
520
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">خدمة عملاء مميزة</h2>
521
+ <p class="text-lg mb-6">نحن نقدم خدمة عملاء على مدار الساعة لضمان رضاك التام عن خدماتنا.</p>
522
+ <a href="#" class="bg-white text-green-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition duration-300 inline-block">تعرف أكثر</a>
523
+ </div>
524
+ <div class="md:w-1/2 flex justify-center">
525
+ <img src="https://via.placeholder.com/500x300" alt="خدمة العملاء" class="rounded-lg shadow-xl">
526
+ </div>
527
+ </div>
528
+ </div>
529
+ </div>
530
+ </div>
531
+
532
+ <!-- Slider Controls -->
533
+ <button id="prev-slide" class="absolute left-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-30 text-white p-2 rounded-full hover:bg-opacity-50 transition duration-300">
534
+ <i class="fas fa-chevron-right"></i>
535
+ </button>
536
+ <button id="next-slide" class="absolute right-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-30 text-white p-2 rounded-full hover:bg-opacity-50 transition duration-300">
537
+ <i class="fas fa-chevron-left"></i>
538
+ </button>
539
+
540
+ <!-- Slider Indicators -->
541
+ <div class="absolute bottom-4 left-1/2 transform -translate-x-1/2 flex space-x-2 space-x-reverse">
542
+ <button class="slider-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition duration-300" data-index="0"></button>
543
+ <button class="slider-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition duration-300" data-index="1"></button>
544
+ <button class="slider-indicator w-3 h-3 rounded-full bg-white bg-opacity-50 hover:bg-opacity-100 transition duration-300" data-index="2"></button>
545
+ </div>
546
+ </section>
547
+
548
+ <!-- Statistics Section -->
549
+ <section class="py-16 bg-gray-100" data-aos="fade-up" data-aos-duration="800">
550
+ <div class="container mx-auto px-4">
551
+ <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">إحصائيات وأرقام</h2>
552
+
553
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
554
+ <!-- Stat 1 -->
555
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
556
+ <div class="text-4xl font-bold text-blue-600 mb-2 counter" data-target="250">0</div>
557
+ <div class="text-gray-600">عميل راضٍ</div>
558
+ </div>
559
+
560
+ <!-- Stat 2 -->
561
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
562
+ <div class="text-4xl font-bold text-green-600 mb-2 counter" data-target="120">0</div>
563
+ <div class="text-gray-600">مشروع ناجح</div>
564
+ </div>
565
+
566
+ <!-- Stat 3 -->
567
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
568
+ <div class="text-4xl font-bold text-purple-600 mb-2 counter" data-target="50">0</div>
569
+ <div class="text-gray-600">جائزة وتكريم</div>
570
+ </div>
571
+
572
+ <!-- Stat 4 -->
573
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
574
+ <div class="text-4xl font-bold text-orange-600 mb-2 counter" data-target="15">0</div>
575
+ <div class="text-gray-600">سنة خبرة</div>
576
+ </div>
577
+ </div>
578
+ </div>
579
+ </section>
580
+
581
+ <!-- Vision & Mission Section -->
582
+ <section class="py-16">
583
+ <div class="container mx-auto px-4">
584
+ <div class="grid md:grid-cols-2 gap-8">
585
+ <!-- Vision -->
586
+ <div class="bg-blue-50 p-8 rounded-lg shadow-md border-l-4 border-blue-600">
587
+ <div class="flex items-center mb-4">
588
+ <div class="bg-blue-600 text-white p-3 rounded-full mr-4">
589
+ <i class="fas fa-eye text-xl"></i>
590
+ </div>
591
+ <h3 class="text-2xl font-bold text-gray-800">رؤيتنا</h3>
592
+ </div>
593
+ <p class="text-gray-700 leading-relaxed">
594
+ نطمح إلى أن نكون الشركة الرائدة في تقديم الحلول التقنية المبتكرة في المنطقة، وأن نكون الشريك المفضل للعملاء الذين يسعون إلى التميز والابتكار في أعمالهم. نسعى جاهدين لتحقيق التميز التقني ورفع مستوى الخدمات المقدمة في السوق.
595
+ </p>
596
+ </div>
597
+
598
+ <!-- Mission -->
599
+ <div class="bg-green-50 p-8 rounded-lg shadow-md border-l-4 border-green-600">
600
+ <div class="flex items-center mb-4">
601
+ <div class="bg-green-600 text-white p-3 rounded-full mr-4">
602
+ <i class="fas fa-bullseye text-xl"></i>
603
+ </div>
604
+ <h3 class="text-2xl font-bold text-gray-800">رسالتنا</h3>
605
+ </div>
606
+ <p class="text-gray-700 leading-relaxed">
607
+ نلتزم بتقديم حلول تقنية عالية الجودة تلبي احتياجات عملائنا وتساعدهم على تحقيق أهدافهم. نعمل على تطوير منتجات وخدمات مبتكرة تعزز كفاءة الأعمال وتوفر الوقت والجهد. نؤمن بالعمل الجماعي والشفافية والابتكار كركائز أساسية لنجاحنا ونجاح عملائنا.
608
+ </p>
609
+ </div>
610
+ </div>
611
+ </div>
612
+ </section>
613
+
614
+ <!-- Our Services Section -->
615
+ <section class="py-16 bg-gray-100">
616
+ <div class="container mx-auto px-4">
617
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">خدماتنا</h2>
618
+ <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12">نقدم مجموعة واسعة من الخدمات التقنية التي تساعد عملك على النمو والازدهار</p>
619
+
620
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
621
+ <!-- Service 1 with Enhanced Animation -->
622
+ <div class="bg-white rounded-lg shadow-md overflow-hidden group relative"
623
+ data-aos="fade-up"
624
+ data-aos-delay="100"
625
+ data-tippy-content="اضغط لمعرفة المزيد">
626
+ <div class="absolute inset-0 bg-gradient-to-br from-blue-600 to-purple-600 opacity-0 group-hover:opacity-90 transition-opacity duration-500 flex items-center justify-center">
627
+ <span class="text-white font-bold text-lg">عرض التفاصيل</span>
628
+ </div>
629
+ <div class="h-48 bg-blue-600 flex items-center justify-center text-white">
630
+ <i class="fas fa-laptop-code text-6xl"></i>
631
+ </div>
632
+ <div class="p-6">
633
+ <h3 class="text-xl font-bold mb-3 text-gray-800">تطوير المواقع</h3>
634
+ <p class="text-gray-600">نقوم بتصميم وتطوير مواقع الويب الاحترافية التي تلبي احتياجات عملك وتعزز وجودك الرقمي.</p>
635
+ </div>
636
+ </div>
637
+
638
+ <!-- Service 2 -->
639
+ <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-300">
640
+ <div class="h-48 bg-purple-600 flex items-center justify-center text-white">
641
+ <i class="fas fa-mobile-alt text-6xl"></i>
642
+ </div>
643
+ <div class="p-6">
644
+ <h3 class="text-xl font-bold mb-3 text-gray-800">تطبيقات الجوال</h3>
645
+ <p class="text-gray-600">نطور تطبيقات جوال متميزة لأنظمة iOS وAndroid تساعدك في الوصول إلى عملائك أينما كانوا.</p>
646
+ </div>
647
+ </div>
648
+
649
+ <!-- Service 3 -->
650
+ <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-300">
651
+ <div class="h-48 bg-green-600 flex items-center justify-center text-white">
652
+ <i class="fas fa-chart-line text-6xl"></i>
653
+ </div>
654
+ <div class="p-6">
655
+ <h3 class="text-xl font-bold mb-3 text-gray-800">التسويق الرقمي</h3>
656
+ <p class="text-gray-600">نقدم استراتيجيات تسويق رقمي فعالة لزيادة ظهور علامتك التجارية وجذب المزيد من العملاء.</p>
657
+ </div>
658
+ </div>
659
+
660
+ <!-- Service 4 -->
661
+ <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-300">
662
+ <div class="h-48 bg-red-600 flex items-center justify-center text-white">
663
+ <i class="fas fa-paint-brush text-6xl"></i>
664
+ </div>
665
+ <div class="p-6">
666
+ <h3 class="text-xl font-bold mb-3 text-gray-800">تصميم الجرافيك</h3>
667
+ <p class="text-gray-600">نصمم هوية بصرية مميزة لعلامتك التجارية تشمل الشعارات والمواد التسويقية والعلامات التجارية.</p>
668
+ </div>
669
+ </div>
670
+
671
+ <!-- Service 5 -->
672
+ <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-300">
673
+ <div class="h-48 bg-yellow-600 flex items-center justify-center text-white">
674
+ <i class="fas fa-cloud text-6xl"></i>
675
+ </div>
676
+ <div class="p-6">
677
+ <h3 class="text-xl font-bold mb-3 text-gray-800">الحلول السحابية</h3>
678
+ <p class="text-gray-600">نقدم حلول سحابية متكاملة تساعدك في إدارة عملك بكفاءة وأمان عالي مع تقليل التكاليف.</p>
679
+ </div>
680
+ </div>
681
+
682
+ <!-- Service 6 -->
683
+ <div class="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition duration-300">
684
+ <div class="h-48 bg-indigo-600 flex items-center justify-center text-white">
685
+ <i class="fas fa-headset text-6xl"></i>
686
+ </div>
687
+ <div class="p-6">
688
+ <h3 class="text-xl font-bold mb-3 text-gray-800">الدعم الفني</h3>
689
+ <p class="text-gray-600">نوفر خدمة دعم فني على مدار الساعة لضمان استمرارية عمل أنظمتك وحل أي مشكلات فنية تواجهك.</p>
690
+ </div>
691
+ </div>
692
+ </div>
693
+ </div>
694
+ </section>
695
+
696
+ <!-- Photo Gallery Section -->
697
+ <section class="py-16">
698
+ <div class="container mx-auto px-4">
699
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">البوم الصور</h2>
700
+ <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12">استكشف بعضًا من أعمالنا ومشاريعنا الناجحة من خلال معرض الصور الخاص بنا</p>
701
+
702
+ <div class="relative overflow-hidden">
703
+ <div class="photo-slider-container flex transition-transform duration-500 ease-in-out">
704
+ <!-- Photo 1 -->
705
+ <div class="photo-slider-item min-w-full md:min-w-1/2 lg:min-w-1/3 xl:min-w-1/4 px-2">
706
+ <div class="gallery-item overflow-hidden rounded-lg shadow-md">
707
+ <img src="https://via.placeholder.com/500x300" alt="مشروع 1" class="w-full h-64 object-cover hover:scale-110 transition duration-500">
708
+ </div>
709
+ </div>
710
+
711
+ <!-- Photo 2 -->
712
+ <div class="photo-slider-item min-w-full md:min-w-1/2 lg:min-w-1/3 xl:min-w-1/4 px-2">
713
+ <div class="gallery-item overflow-hidden rounded-lg shadow-md">
714
+ <img src="https://via.placeholder.com/500x300" alt="مشروع 2" class="w-full h-64 object-cover hover:scale-110 transition duration-500">
715
+ </div>
716
+ </div>
717
+
718
+ <!-- Photo 3 -->
719
+ <div class="photo-slider-item min-w-full md:min-w-1/2 lg:min-w-1/3 xl:min-w-1/4 px-2">
720
+ <div class="gallery-item overflow-hidden rounded-lg shadow-md">
721
+ <img src="https://via.placeholder.com/500x300" alt="مشروع 3" class="w-full h-64 object-cover hover:scale-110 transition duration-500">
722
+ </div>
723
+ </div>
724
+
725
+ <!-- Photo 4 -->
726
+ <div class="photo-slider-item min-w-full md:min-w-1/2 lg:min-w-1/3 xl:min-w-1/4 px-2">
727
+ <div class="gallery-item overflow-hidden rounded-lg shadow-md">
728
+ <img src="https://via.placeholder.com/500x300" alt="مشروع 4" class="w-full h-64 object-cover hover:scale-110 transition duration-500">
729
+ </div>
730
+ </div>
731
+
732
+ <!-- Photo 5 -->
733
+ <div class="photo-slider-item min-w-full md:min-w-1/2 lg:min-w-1/3 xl:min-w-1/4 px-2">
734
+ <div class="gallery-item overflow-hidden rounded-lg shadow-md">
735
+ <img src="https://via.placeholder.com/500x300" alt="مشروع 5" class="w-full h-64 object-cover hover:scale-110 transition duration-500">
736
+ </div>
737
+ </div>
738
+ </div>
739
+
740
+ <!-- Slider Controls -->
741
+ <button id="prev-photo" class="absolute left-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-80 text-gray-800 p-2 rounded-full hover:bg-opacity-100 transition duration-300 shadow-md">
742
+ <i class="fas fa-chevron-right"></i>
743
+ </button>
744
+ <button id="next-photo" class="absolute right-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-80 text-gray-800 p-2 rounded-full hover:bg-opacity-100 transition duration-300 shadow-md">
745
+ <i class="fas fa-chevron-left"></i>
746
+ </button>
747
+ </div>
748
+
749
+ <div class="text-center mt-8">
750
+ <a href="#" class="inline-block bg-blue-600 text-white px-6 py-2 rounded-full font-medium hover:bg-blue-700 transition duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl">عرض الكل</a>
751
+ </div>
752
+ </div>
753
+ </section>
754
+
755
+ <!-- Video Gallery Section -->
756
+ <section class="py-16 bg-gray-100">
757
+ <div class="container mx-auto px-4">
758
+ <h2 class="text-3xl font-bold text-center mb-4 text-gray-800">البوم الفيديوهات</h2>
759
+ <p class="text-center text-gray-600 max-w-2xl mx-auto mb-12">استكشف فيديوهات تعرض أعمالنا وخدماتنا ومشاريعنا الناجحة</p>
760
+
761
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
762
+ <!-- Video 1 -->
763
+ <div class="video-thumbnail bg-white rounded-lg shadow-md overflow-hidden">
764
+ <img src="https://via.placeholder.com/400x225" alt="فيديو 1" class="w-full h-48 object-cover">
765
+ <div class="p-4">
766
+ <h3 class="font-bold text-lg mb-2 text-gray-800">مقدمة عن الشركة</h3>
767
+ <p class="text-gray-600">تعرف على شركتنا ورؤيتنا ورسالتنا</p>
768
+ </div>
769
+ </div>
770
+
771
+ <!-- Video 2 -->
772
+ <div class="video-thumbnail bg-white rounded-lg shadow-md overflow-hidden">
773
+ <img src="https://via.placeholder.com/400x225" alt="فيديو 2" class="w-full h-48 object-cover">
774
+ <div class="p-4">
775
+ <h3 class="font-bold text-lg mb-2 text-gray-800">أحدث مشاريعنا</h3>
776
+ <p class="text-gray-600">جولة في أحدث المشاريع التي أنجزناها</p>
777
+ </div>
778
+ </div>
779
+
780
+ <!-- Video 3 -->
781
+ <div class="video-thumbnail bg-white rounded-lg shadow-md overflow-hidden">
782
+ <img src="https://via.placeholder.com/400x225" alt="فيديو 3" class="w-full h-48 object-cover">
783
+ <div class="p-4">
784
+ <h3 class="font-bold text-lg mb-2 text-gray-800">شهادات العملاء</h3>
785
+ <p class="text-gray-600">ماذا يقول عملاؤنا عن خدماتنا</p>
786
+ </div>
787
+ </div>
788
+ </div>
789
+
790
+ <div class="text-center mt-8">
791
+ <a href="#" class="inline-block bg-blue-600 text-white px-6 py-2 rounded-full font-medium hover:bg-blue-700 transition duration-300">عرض المزيد</a>
792
+ </div>
793
+ </div>
794
+ </section>
795
+
796
+ <!-- Footer -->
797
+ <footer class="bg-gray-800 text-white py-12">
798
+ <div class="container mx-auto px-4">
799
+ <div class="grid md:grid-cols-4 gap-8">
800
+ <!-- About -->
801
+ <div>
802
+ <h3 class="text-xl font-bold mb-4">عن الشركة</h3>
803
+ <p class="text-gray-400 mb-4">نحن شركة رائدة في مجال الحلول التقنية، نقدم خدمات عالية الجودة لعملائنا منذ أكثر من 15 عامًا.</p>
804
+ <div class="flex space-x-4 space-x-reverse">
805
+ <a href="#" class="text-gray-400 hover:text-white transition duration-300"><i class="fab fa-facebook-f"></i></a>
806
+ <a href="#" class="text-gray-400 hover:text-white transition duration-300"><i class="fab fa-twitter"></i></a>
807
+ <a href="#" class="text-gray-400 hover:text-white transition duration-300"><i class="fab fa-instagram"></i></a>
808
+ <a href="#" class="text-gray-400 hover:text-white transition duration-300"><i class="fab fa-linkedin-in"></i></a>
809
+ </div>
810
+ </div>
811
+
812
+ <!-- Quick Links -->
813
+ <div>
814
+ <h3 class="text-xl font-bold mb-4">روابط سريعة</h3>
815
+ <ul class="space-y-2">
816
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">الرئيسية</a></li>
817
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">من نحن</a></li>
818
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">خدماتنا</a></li>
819
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">المشاريع</a></li>
820
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">اتصل بنا</a></li>
821
+ </ul>
822
+ </div>
823
+
824
+ <!-- Services -->
825
+ <div>
826
+ <h3 class="text-xl font-bold mb-4">خدماتنا</h3>
827
+ <ul class="space-y-2">
828
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">تطوير المواقع</a></li>
829
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">تطبيقات الجوال</a></li>
830
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">التسويق الرقمي</a></li>
831
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">تصميم الجرافيك</a></li>
832
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">الحلول السحابية</a></li>
833
+ </ul>
834
+ </div>
835
+
836
+ <!-- Contact -->
837
+ <div>
838
+ <h3 class="text-xl font-bold mb-4">اتصل بنا</h3>
839
+ <ul class="space-y-3">
840
+ <li class="flex items-start">
841
+ <i class="fas fa-map-marker-alt mt-1 mr-2 text-gray-400"></i>
842
+ <span class="text-gray-400">شارع الملك فهد، الرياض، المملكة العربية السعودية</span>
843
+ </li>
844
+ <li class="flex items-center">
845
+ <i class="fas fa-phone-alt mr-2 text-gray-400"></i>
846
+ <span class="text-gray-400">+966 12 345 6789</span>
847
+ </li>
848
+ <li class="flex items-center">
849
+ <i class="fas fa-envelope mr-2 text-gray-400"></i>
850
+ <span class="text-gray-400">info@company.com</span>
851
+ </li>
852
+ </ul>
853
+ </div>
854
+ </div>
855
+
856
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
857
+ <p>&copy; 2023 شركة الشركة. جميع الحقوق محفوظة.</p>
858
+ </div>
859
+ </div>
860
+ </footer>
861
+
862
+ <!-- Admin Dashboard (hidden by default) -->
863
+ <div id="admin-dashboard" class="fixed inset-y-0 right-0 w-96 bg-white shadow-xl transform translate-x-full transition-transform duration-300 z-50 flex flex-col">
864
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center bg-gray-800 text-white">
865
+ <h3 class="text-lg font-bold flex items-center">
866
+ <i class="fas fa-cogs mr-2"></i> لوحة التحكم
867
+ </h3>
868
+ <button id="close-admin" class="text-white hover:text-gray-300">
869
+ <i class="fas fa-times"></i>
870
+ </button>
871
+ </div>
872
+
873
+ <div class="flex-1 overflow-y-auto">
874
+ <div class="p-4">
875
+ <div class="mb-8">
876
+ <h4 class="font-bold text-lg mb-4 text-gray-700 border-b pb-2">
877
+ <i class="fas fa-tachometer-alt mr-2"></i>لوحة التحكم الرئيسية
878
+ </h4>
879
+ <div class="grid grid-cols-2 gap-4">
880
+ <div class="bg-blue-50 p-4 rounded-lg border border-blue-100">
881
+ <h5 class="font-medium text-blue-800 mb-2">المقالات</h5>
882
+ <p class="text-sm text-gray-600">إدارة محتوى الموقع والمقالات</p>
883
+ </div>
884
+ <div class="bg-green-50 p-4 rounded-lg border border-green-100">
885
+ <h5 class="font-medium text-green-800 mb-2">الصفحات</h5>
886
+ <p class="text-sm text-gray-600">تحرير صفحات الموقع الثابتة</p>
887
+ </div>
888
+ <div class="bg-purple-50 p-4 rounded-lg border border-purple-100">
889
+ <h5 class="font-medium text-purple-800 mb-2">المستخدمون</h5>
890
+ <p class="text-sm text-gray-600">إدارة مستخدمي لوحة التحكم</p>
891
+ </div>
892
+ <div class="bg-yellow-50 p-4 rounded-lg border border-yellow-100">
893
+ <h5 class="font-medium text-yellow-800 mb-2">الإعدادات</h5>
894
+ <p class="text-sm text-gray-600">تعديل إعدادات الموقع العامة</p>
895
+ </div>
896
+ </div>
897
+ </div>
898
+
899
+ <div class="mb-8">
900
+ <h4 class="font-bold text-lg mb-4 text-gray-700 border-b pb-2">
901
+ <i class="fas fa-cog mr-2"></i>الإعدادات السريعة
902
+ </h4>
903
+ <div class="space-y-4">
904
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
905
+ <div>
906
+ <h5 class="font-medium">وضع الصيانة</h5>
907
+ <p class="text-sm text-gray-500">إغلاق الموقع للزوار</p>
908
+ </div>
909
+ <label class="relative inline-flex items-center cursor-pointer">
910
+ <input type="checkbox" class="sr-only peer">
911
+ <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600"></div>
912
+ </label>
913
+ </div>
914
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
915
+ <div>
916
+ <h5 class="font-medium">التعليقات</h5>
917
+ <p class="text-sm text-gray-500">تفعيل/تعطيل نظام التعليقات</p>
918
+ </div>
919
+ <label class="relative inline-flex items-center cursor-pointer">
920
+ <input type="checkbox" class="sr-only peer" checked>
921
+ <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600"></div>
922
+ </label>
923
+ </div>
924
+ </div>
925
+ </div>
926
+
927
+ <div class="mb-8">
928
+ <h4 class="font-bold text-lg mb-4 text-gray-700 border-b pb-2">
929
+ <i class="fas fa-chart-line mr-2"></i>إحصائيات سريعة
930
+ </h4>
931
+ <div class="grid grid-cols-3 gap-4 text-center">
932
+ <div class="bg-white p-3 rounded-lg shadow border">
933
+ <div class="text-blue-600 font-bold text-xl">152</div>
934
+ <div class="text-sm text-gray-500">مقال</div>
935
+ </div>
936
+ <div class="bg-white p-3 rounded-lg shadow border">
937
+ <div class="text-green-600 font-bold text-xl">1.2K</div>
938
+ <div class="text-sm text-gray-500">زائر</div>
939
+ </div>
940
+ <div class="bg-white p-3 rounded-lg shadow border">
941
+ <div class="text-purple-600 font-bold text-xl">24</div>
942
+ <div class="text-sm text-gray-500">تعليق</div>
943
+ </div>
944
+ </div>
945
+ </div>
946
+ </div>
947
+ </div>
948
+
949
+ <div class="p-4 border-t border-gray-200 bg-gray-50">
950
+ <button class="w-full bg-red-500 text-white py-2 rounded-md hover:bg-red-600 transition duration-300 flex items-center justify-center">
951
+ <i class="fas fa-sign-out-alt mr-2"></i>تسجيل الخروج
952
+ </button>
953
+ </div>
954
+ </div>
955
+
956
+ <script>
957
+ // Custom Cursor Effect
958
+ const cursorFollower = document.createElement('div');
959
+ cursorFollower.classList.add('cursor-follower');
960
+ document.body.appendChild(cursorFollower);
961
+
962
+ document.addEventListener('mousemove', (e) => {
963
+ gsap.to(cursorFollower, {
964
+ x: e.clientX,
965
+ y: e.clientY,
966
+ duration: 0.5,
967
+ ease: "power2.out"
968
+ });
969
+ });
970
+
971
+ document.querySelectorAll('a, button, .video-thumbnail, .gallery-item').forEach(el => {
972
+ el.addEventListener('mouseenter', () => {
973
+ cursorFollower.classList.add('active');
974
+ });
975
+ el.addEventListener('mouseleave', () => {
976
+ cursorFollower.classList.remove('active');
977
+ });
978
+ });
979
+
980
+ // Initialize AOS with more options
981
+ AOS.init({
982
+ once: true,
983
+ easing: 'ease-out-back',
984
+ duration: 800
985
+ });
986
+
987
+ // Enhanced Header Scroll Animation
988
+ gsap.to("#main-header", {
989
+ scrollTrigger: {
990
+ trigger: "body",
991
+ start: "top top",
992
+ end: "+=100",
993
+ scrub: 0.8,
994
+ markers: false
995
+ },
996
+ backdropFilter: "blur(10px)",
997
+ backgroundColor: "rgba(255, 255, 255, 0.9)",
998
+ boxShadow: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
999
+ paddingTop: "0.5rem",
1000
+ paddingBottom: "0.5rem",
1001
+ ease: "power2.out"
1002
+ });
1003
+
1004
+ // Floating logo animation
1005
+ gsap.to(".logo-circle", {
1006
+ y: -5,
1007
+ duration: 2,
1008
+ repeat: -1,
1009
+ yoyo: true,
1010
+ ease: "sine.inOut"
1011
+ });
1012
+
1013
+ // Admin Dashboard Toggle
1014
+ const adminDashboard = document.getElementById('admin-dashboard');
1015
+ const closeAdminBtn = document.getElementById('close-admin');
1016
+ const adminLoginBtn = document.getElementById('admin-login-btn');
1017
+
1018
+ // Toggle admin panel
1019
+ adminLoginBtn.addEventListener('click', () => {
1020
+ adminDashboard.classList.toggle('translate-x-full');
1021
+
1022
+ // Disable scrolling when admin panel is open
1023
+ if (!adminDashboard.classList.contains('translate-x-full')) {
1024
+ document.body.style.overflow = 'hidden';
1025
+ } else {
1026
+ document.body.style.overflow = 'auto';
1027
+ }
1028
+ });
1029
+
1030
+ closeAdminBtn.addEventListener('click', () => {
1031
+ adminDashboard.classList.add('translate-x-full');
1032
+ document.body.style.overflow = 'auto';
1033
+ });
1034
+
1035
+ // Close admin panel when clicking outside
1036
+ document.addEventListener('click', (e) => {
1037
+ if (!adminDashboard.contains(e.target) && e.target !== adminLoginBtn) {
1038
+ adminDashboard.classList.add('translate-x-full');
1039
+ document.body.style.overflow = 'auto';
1040
+ }
1041
+ });
1042
+
1043
+ // Mobile Menu Toggle
1044
+ const mobileMenuButton = document.getElementById('mobile-menu-button');
1045
+ const mobileMenu = document.getElementById('mobile-menu');
1046
+
1047
+ mobileMenuButton.addEventListener('click', () => {
1048
+ mobileMenu.classList.toggle('hidden');
1049
+ });
1050
+
1051
+ // Enhanced Slider Functionality with GSAP
1052
+ const sliderContainer = document.querySelector('.slider-container');
1053
+ const sliderItems = document.querySelectorAll('.slider-item');
1054
+ const prevButton = document.getElementById('prev-slide');
1055
+ const nextButton = document.getElementById('next-slide');
1056
+ const indicators = document.querySelectorAll('.slider-indicator');
1057
+
1058
+ let currentIndex = 0;
1059
+ const totalSlides = sliderItems.length;
1060
+
1061
+ function updateSlider() {
1062
+ sliderContainer.style.transform = `translateX(-${currentIndex * 100}%)`;
1063
+
1064
+ // Update indicators
1065
+ indicators.forEach((indicator, index) => {
1066
+ if (index === currentIndex) {
1067
+ indicator.classList.add('bg-opacity-100');
1068
+ } else {
1069
+ indicator.classList.remove('bg-opacity-100');
1070
+ }
1071
+ });
1072
+ }
1073
+
1074
+ function nextSlide() {
1075
+ currentIndex = (currentIndex + 1) % totalSlides;
1076
+ updateSlider();
1077
+ }
1078
+
1079
+ function prevSlide() {
1080
+ currentIndex = (currentIndex - 1 + totalSlides) % totalSlides;
1081
+ updateSlider();
1082
+ }
1083
+
1084
+ nextButton.addEventListener('click', nextSlide);
1085
+ prevButton.addEventListener('click', prevSlide);
1086
+
1087
+ // Auto slide
1088
+ let slideInterval = setInterval(nextSlide, 5000);
1089
+
1090
+ // Pause on hover
1091
+ sliderContainer.addEventListener('mouseenter', () => {
1092
+ clearInterval(slideInterval);
1093
+ });
1094
+
1095
+ sliderContainer.addEventListener('mouseleave', () => {
1096
+ slideInterval = setInterval(nextSlide, 5000);
1097
+ });
1098
+
1099
+ // Indicator clicks
1100
+ indicators.forEach(indicator => {
1101
+ indicator.addEventListener('click', () => {
1102
+ currentIndex = parseInt(indicator.getAttribute('data-index'));
1103
+ updateSlider();
1104
+ });
1105
+ });
1106
+
1107
+ // Photo Slider Functionality
1108
+ const photoSliderContainer = document.querySelector('.photo-slider-container');
1109
+ const photoSliderItems = document.querySelectorAll('.photo-slider-item');
1110
+ const prevPhotoButton = document.getElementById('prev-photo');
1111
+ const nextPhotoButton = document.getElementById('next-photo');
1112
+
1113
+ let photoCurrentIndex = 0;
1114
+ const totalPhotoSlides = photoSliderItems.length;
1115
+ const slidesToShow = 4; // Number of slides to show at once
1116
+
1117
+ function updatePhotoSlider() {
1118
+ const itemWidth = 100 / slidesToShow;
1119
+ const translateValue = -photoCurrentIndex * itemWidth;
1120
+ photoSliderContainer.style.transform = `translateX(${translateValue}%)`;
1121
+ }
1122
+
1123
+ function nextPhotoSlide() {
1124
+ if (photoCurrentIndex < totalPhotoSlides - slidesToShow) {
1125
+ photoCurrentIndex++;
1126
+ updatePhotoSlider();
1127
+ }
1128
+ }
1129
+
1130
+ function prevPhotoSlide() {
1131
+ if (photoCurrentIndex > 0) {
1132
+ photoCurrentIndex--;
1133
+ updatePhotoSlider();
1134
+ }
1135
+ }
1136
+
1137
+ nextPhotoButton.addEventListener('click', nextPhotoSlide);
1138
+ prevPhotoButton.addEventListener('click', prevPhotoSlide);
1139
+
1140
+ // Advanced Counter Animation with GSAP
1141
+ const counters = document.querySelectorAll('.counter');
1142
+
1143
+ function animateCounters() {
1144
+ counters.forEach((counter, index) => {
1145
+ const target = +counter.getAttribute('data-target');
1146
+ const duration = 2 + (index * 0.2);
1147
+
1148
+ gsap.fromTo(counter,
1149
+ { innerText: 0 },
1150
+ {
1151
+ innerText: target,
1152
+ duration: duration,
1153
+ ease: "elastic.out(1, 0.5)",
1154
+ snap: { innerText: 1 },
1155
+ onUpdate: function() {
1156
+ counter.innerHTML = Math.floor(counter.innerText).toLocaleString();
1157
+ }
1158
+ }
1159
+ );
1160
+
1161
+ // Add pulse effect when counting completes
1162
+ gsap.to(counter, {
1163
+ scale: 1.1,
1164
+ duration: 0.3,
1165
+ repeat: 1,
1166
+ yoyo: true,
1167
+ delay: duration,
1168
+ ease: "power2.inOut"
1169
+ });
1170
+ });
1171
+ }
1172
+
1173
+ // Start counter animation when statistics section is in view
1174
+ const statisticsSection = document.querySelector('.bg-gray-100');
1175
+ const observer = new IntersectionObserver((entries) => {
1176
+ if (entries[0].isIntersecting) {
1177
+ animateCounters();
1178
+ observer.unobserve(statisticsSection);
1179
+ }
1180
+ }, { threshold: 0.5 });
1181
+
1182
+ observer.observe(statisticsSection);
1183
+ </script>
1184
+ </body>
1185
+ </html>