123qwersd commited on
Commit
1886ec3
·
verified ·
1 Parent(s): 691b056

"I want an Android application, not a website."

Browse files
Files changed (3) hide show
  1. README.md +9 -5
  2. app.html +170 -0
  3. index.html +434 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Esp32 Mobile Dev Master
3
- emoji: 📊
4
- colorFrom: red
5
- colorTo: pink
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: ESP32 Mobile Dev Master 🔧
3
+ colorFrom: blue
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
app.html ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ESP32 Mobile Dev Master - Android App</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
11
+ body {
12
+ font-family: 'Tajawal', sans-serif;
13
+ direction: rtl;
14
+ }
15
+ .app-screenshot {
16
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
17
+ border-radius: 2rem;
18
+ border: 8px solid white;
19
+ }
20
+ </style>
21
+ </head>
22
+ <body class="bg-gray-50">
23
+ <header class="bg-white shadow-sm">
24
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
25
+ <div class="flex items-center space-x-2 space-x-reverse">
26
+ <i data-feather="smartphone" class="text-blue-500 w-8 h-8"></i>
27
+ <h1 class="text-xl font-bold text-gray-800">ESP32 Mobile Dev Master</h1>
28
+ </div>
29
+ <a href="index.html" class="text-blue-500 hover:text-blue-600 transition">
30
+ <i data-feather="arrow-left" class="mr-1"></i> العودة للموقع
31
+ </a>
32
+ </div>
33
+ </header>
34
+
35
+ <main>
36
+ <!-- Hero Section -->
37
+ <section class="py-16 bg-gradient-to-b from-blue-50 to-white">
38
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
39
+ <div class="md:w-1/2 mb-10 md:mb-0 text-right">
40
+ <h1 class="text-4xl md:text-5xl font-bold mb-4 text-gray-800">تطبيق ESP32 Mobile Dev Master</h1>
41
+ <p class="text-lg mb-6 text-gray-600">طور لوحات ESP32 مباشرة من هاتفك الأندرويد بكل سهولة</p>
42
+ <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4 space-x-reverse">
43
+ <a href="#" class="bg-blue-500 text-white px-6 py-3 rounded-lg hover:bg-blue-600 transition font-medium flex items-center justify-center">
44
+ <i data-feather="download" class="ml-2"></i>
45
+ حمل التطبيق الآن
46
+ </a>
47
+ <a href="#" class="border border-blue-500 text-blue-500 px-6 py-3 rounded-lg hover:bg-blue-50 transition font-medium">
48
+ <i data-feather="play" class="ml-2"></i>
49
+ شاهد الفيديو
50
+ </a>
51
+ </div>
52
+ </div>
53
+ <div class="md:w-1/2 flex justify-center">
54
+ <img src="http://static.photos/technology/640x360/5" alt="ESP32 Mobile App" class="app-screenshot w-full max-w-xs md:max-w-sm">
55
+ </div>
56
+ </div>
57
+ </section>
58
+
59
+ <!-- App Features -->
60
+ <section class="py-16">
61
+ <div class="container mx-auto px-4">
62
+ <div class="text-center mb-16">
63
+ <h2 class="text-3xl font-bold mb-4 text-gray-800">مميزات التطبيق</h2>
64
+ <p class="text-gray-600 max-w-2xl mx-auto">كل ما تحتاجه لبرمجة ESP32 في جيبك</p>
65
+ </div>
66
+
67
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
68
+ <!-- Feature 1 -->
69
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
70
+ <div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
71
+ <i data-feather="code" class="text-blue-500 w-5 h-5"></i>
72
+ </div>
73
+ <h3 class="text-xl font-bold mb-2 text-gray-800">محرر كود متقدم</h3>
74
+ <p class="text-gray-600">محرر كود مع تمييز صيغة ودعم ميزة الإكمال التلقائي</p>
75
+ </div>
76
+
77
+ <!-- Feature 2 -->
78
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
79
+ <div class="bg-green-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
80
+ <i data-feather="usb" class="text-green-500 w-5 h-5"></i>
81
+ </div>
82
+ <h3 class="text-xl font-bold mb-2 text-gray-800">اتصال USB مباشر</h3>
83
+ <p class="text-gray-600">برمجة مباشرة عبر USB OTG دون حاجة لوسائط</p>
84
+ </div>
85
+
86
+ <!-- Feature 3 -->
87
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
88
+ <div class="bg-purple-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
89
+ <i data-feather="cloud" class="text-purple-500 w-5 h-5"></i>
90
+ </div>
91
+ <h3 class="text-xl font-bold mb-2 text-gray-800">مزامنة سحابية</h3>
92
+ <p class="text-gray-600">احفظ مشاريعك على السحابة وواصل العمل من أي جهاز</p>
93
+ </div>
94
+
95
+ <!-- Feature 4 -->
96
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
97
+ <div class="bg-yellow-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
98
+ <i data-feather="mic" class="text-yellow-500 w-5 h-5"></i>
99
+ </div>
100
+ <h3 class="text-xl font-bold mb-2 text-gray-800">إدخال صوتي</h3>
101
+ <p class="text-gray-600">اكتب الكود باستخدام صوتك مع دعم اللغتين العربية والإنجليزية</p>
102
+ </div>
103
+
104
+ <!-- Feature 5 -->
105
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
106
+ <div class="bg-red-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
107
+ <i data-feather="cpu" class="text-red-500 w-5 h-5"></i>
108
+ </div>
109
+ <h3 class="text-xl font-bold mb-2 text-gray-800">مكتبة المكونات</h3>
110
+ <p class="text-gray-600">مئات الأمثلة الجاهزة لمختلف المكونات الإلكترونية</p>
111
+ </div>
112
+
113
+ <!-- Feature 6 -->
114
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
115
+ <div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
116
+ <i data-feather="wifi" class="text-indigo-500 w-5 h-5"></i>
117
+ </div>
118
+ <h3 class="text-xl font-bold mb-2 text-gray-800">مراقبة لاسلكية</h3>
119
+ <p class="text-gray-600">اتصال WiFi ومراقبة البيانات في الوقت الحقيقي</p>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </section>
124
+
125
+ <!-- Download Section -->
126
+ <section class="py-16 bg-blue-500 text-white">
127
+ <div class="container mx-auto px-4 text-center">
128
+ <h2 class="text-3xl font-bold mb-4">حمل التطبيق الآن</h2>
129
+ <p class="text-lg mb-8 max-w-2xl mx-auto">متاح حصريًا على متجر Google Play للأندرويد</p>
130
+
131
+ <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-6 space-x-reverse">
132
+ <a href="#" class="bg-white text-blue-500 px-8 py-4 rounded-lg hover:bg-gray-100 transition font-medium flex items-center justify-center mx-auto">
133
+ <i data-feather="download" class="ml-2"></i>
134
+ تحميل من Google Play
135
+ </a>
136
+ <a href="#" class="bg-transparent border-2 border-white text-white px-8 py-4 rounded-lg hover:bg-white hover:text-blue-500 transition font-medium flex items-center justify-center">
137
+ <i data-feather="smartphone" class="ml-2"></i>
138
+ متطلبات النظام
139
+ </a>
140
+ </div>
141
+ </div>
142
+ </section>
143
+ </main>
144
+
145
+ <footer class="bg-gray-800 text-gray-300 py-12">
146
+ <div class="container mx-auto px-4">
147
+ <div class="text-center">
148
+ <div class="flex justify-center items-center mb-4">
149
+ <i data-feather="smartphone" class="text-blue-400 w-6 h-6 mr-2"></i>
150
+ <span class="text-xl font-bold text-white">ESP32 Mobile Dev Master</span>
151
+ </div>
152
+ <p class="mb-6 max-w-2xl mx-auto">أفضل تطبيق لبرمجة لوحات ESP32 مباشرة من هاتفك الأندرويد</p>
153
+
154
+ <div class="flex justify-center space-x-6 space-x-reverse mb-8">
155
+ <a href="#" class="hover:text-blue-400 transition"><i data-feather="mail"></i></a>
156
+ <a href="#" class="hover:text-blue-400 transition"><i data-feather="twitter"></i></a>
157
+ <a href="#" class="hover:text-blue-400 transition"><i data-feather="youtube"></i></a>
158
+ <a href="#" class="hover:text-blue-400 transition"><i data-feather="github"></i></a>
159
+ </div>
160
+
161
+ <p class="text-sm">© 2023 ESP32 Mobile Dev Master. جميع الحقوق محفوظة.</p>
162
+ </div>
163
+ </div>
164
+ </footer>
165
+
166
+ <script>
167
+ feather.replace();
168
+ </script>
169
+ </body>
170
+ </html>
index.html CHANGED
@@ -1,19 +1,435 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="scroll-smooth">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Al-Mohandis Al-Thaki - ESP32 Development Wizard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: '#3B82F6',
17
+ secondary: '#10B981',
18
+ }
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+ <style>
24
+ @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
25
+ body {
26
+ font-family: 'Tajawal', sans-serif;
27
+ direction: rtl;
28
+ }
29
+ .en {
30
+ direction: ltr;
31
+ text-align: left;
32
+ }
33
+ .vanta-bg {
34
+ position: fixed;
35
+ top: 0;
36
+ left: 0;
37
+ width: 100%;
38
+ height: 100%;
39
+ z-index: -1;
40
+ opacity: 0.3;
41
+ }
42
+ .code-block {
43
+ font-family: 'Courier New', monospace;
44
+ }
45
+ .typing-effect {
46
+ border-right: 2px solid;
47
+ animation: blink 1s step-end infinite;
48
+ }
49
+ @keyframes blink {
50
+ from, to { border-color: transparent }
51
+ 50% { border-color: #3B82F6 }
52
+ }
53
+ </style>
54
+ </head>
55
+ <body class="bg-gray-50 text-gray-800">
56
+ <div id="vanta-bg" class="vanta-bg"></div>
57
+
58
+ <header class="bg-white shadow-sm sticky top-0 z-10">
59
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
60
+ <div class="flex items-center space-x-2 space-x-reverse">
61
+ <i data-feather="cpu" class="text-primary w-8 h-8"></i>
62
+ <h1 class="text-xl font-bold text-primary">المهندس الذكي</h1>
63
+ </div>
64
+ <nav class="hidden md:flex space-x-6 space-x-reverse">
65
+ <a href="#features" class="hover:text-primary transition">المميزات</a>
66
+ <a href="#how-it-works" class="hover:text-primary transition">كيف يعمل</a>
67
+ <a href="#ai" class="hover:text-primary transition">الذكاء الاصطناعي</a>
68
+ <a href="app.html" class="hover:text-primary transition">التطبيق</a>
69
+ <button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-primary-600 transition">حمل التطبيق</button>
70
+ </nav>
71
+ <button class="md:hidden" id="mobile-menu-button">
72
+ <i data-feather="menu"></i>
73
+ </button>
74
+ </div>
75
+ </header>
76
+
77
+ <main>
78
+ <!-- Hero Section -->
79
+ <section class="py-16 md:py-24">
80
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
81
+ <div class="md:w-1/2 mb-10 md:mb-0 text-right">
82
+ <h1 class="text-4xl md:text-5xl font-bold mb-4">طور لوحات ESP32 من هاتفك!</h1>
83
+ <p class="text-lg mb-6 text-gray-600">المهندس الذكي يجعل برمجة لوحات ESP32-Dev أسهل من أي وقت مضى باستخدام هاتفك الأندرويد فقط</p>
84
+ <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4 space-x-reverse">
85
+ <button class="bg-primary text-white px-6 py-3 rounded-lg hover:bg-primary-600 transition font-medium flex items-center justify-center">
86
+ <i data-feather="download" class="ml-2"></i>
87
+ حمل التطبيق الآن
88
+ </button>
89
+ <button class="border border-primary text-primary px-6 py-3 rounded-lg hover:bg-primary-50 transition font-medium">
90
+ شاهد الفيديو التوضيحي
91
+ </button>
92
+ </div>
93
+ </div>
94
+ <div class="md:w-1/2 flex justify-center">
95
+ <div class="relative">
96
+ <img src="http://static.photos/technology/640x360/1" alt="ESP32 Development" class="rounded-xl shadow-xl w-full max-w-md">
97
+ <div class="absolute -bottom-5 -left-5 bg-white p-3 rounded-lg shadow-md">
98
+ <div class="flex items-center">
99
+ <div class="bg-green-100 p-2 rounded-full mr-2">
100
+ <i data-feather="usb" class="text-green-600 w-5 h-5"></i>
101
+ </div>
102
+ <span class="text-sm font-medium">اتصال USB Type-C مباشر</span>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </section>
109
+
110
+ <!-- Features Section -->
111
+ <section id="features" class="py-16 bg-gray-100">
112
+ <div class="container mx-auto px-4">
113
+ <div class="text-center mb-16">
114
+ <h2 class="text-3xl font-bold mb-4">المميزات الرائعة</h2>
115
+ <p class="text-gray-600 max-w-2xl mx-auto">المهندس الذكي يوفر كل ما تحتاجه لبرمجة لوحات ESP32 بكفاءة عالية</p>
116
+ </div>
117
+
118
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
119
+ <!-- Feature 1 -->
120
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
121
+ <div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
122
+ <i data-feather="zap" class="text-blue-600 w-5 h-5"></i>
123
+ </div>
124
+ <h3 class="text-xl font-bold mb-2">برمجة مباشرة عبر USB-C</h3>
125
+ <p class="text-gray-600">قم ببرمجة لوحة ESP32-Dev مباشرة من هاتفك دون الحاجة إلى جهاز كمبيوتر</p>
126
+ </div>
127
+
128
+ <!-- Feature 2 -->
129
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
130
+ <div class="bg-green-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
131
+ <i data-feather="message-square" class="text-green-600 w-5 h-5"></i>
132
+ </div>
133
+ <h3 class="text-xl font-bold mb-2">واجهة ذكية ثنائية اللغة</h3>
134
+ <p class="text-gray-600">واجهة مستخدم كاملة باللغتين العربية والإنجليزية مع تفاعل يشبه ChatGPT</p>
135
+ </div>
136
+
137
+ <!-- Feature 3 -->
138
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
139
+ <div class="bg-purple-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
140
+ <i data-feather="code" class="text-purple-600 w-5 h-5"></i>
141
+ </div>
142
+ <h3 class="text-xl font-bold mb-2">وصف الكود الذكي</h3>
143
+ <p class="text-gray-600">احصل على شرح مفصل للكود البرمجي باللغتين لتفهم كل سطر بسهولة</p>
144
+ </div>
145
+
146
+ <!-- Feature 4 -->
147
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
148
+ <div class="bg-yellow-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
149
+ <i data-feather="mic" class="text-yellow-600 w-5 h-5"></i>
150
+ </div>
151
+ <h3 class="text-xl font-bold mb-2">إدخال صوتي ونصي</h3>
152
+ <p class="text-gray-600">اكتب الكود باستخدام صوتك أو النص مع اقتراحات ذكية تلقائية</p>
153
+ </div>
154
+
155
+ <!-- Feature 5 -->
156
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
157
+ <div class="bg-red-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
158
+ <i data-feather="cpu" class="text-red-600 w-5 h-5"></i>
159
+ </div>
160
+ <h3 class="text-xl font-bold mb-2">مساعدة متعلقة بالعتاد</h3>
161
+ <p class="text-gray-600">احصل على معلومات مفصلة عن دبابيس ESP32 بناءً على الكود الذي تكتبه</p>
162
+ </div>
163
+
164
+ <!-- Feature 6 -->
165
+ <div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
166
+ <div class="bg-indigo-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
167
+ <i data-feather="cloud" class="text-indigo-600 w-5 h-5"></i>
168
+ </div>
169
+ <h3 class="text-xl font-bold mb-2">نسخ احتياطي ومزامنة</h3>
170
+ <p class="text-gray-600">احفظ مشاريعك على السحابة واسترجعها على أي جهاز آخر</p>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </section>
175
+
176
+ <!-- How It Works -->
177
+ <section id="how-it-works" class="py-16">
178
+ <div class="container mx-auto px-4">
179
+ <div class="text-center mb-16">
180
+ <h2 class="text-3xl font-bold mb-4">كيف يعمل المهندس الذكي؟</h2>
181
+ <p class="text-gray-600 max-w-2xl mx-auto">ثلاث خطوات بسيطة لبدء برمجة لوحات ESP32 من هاتفك</p>
182
+ </div>
183
+
184
+ <div class="grid md:grid-cols-3 gap-8">
185
+ <div class="text-center">
186
+ <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
187
+ <span class="text-blue-600 text-xl font-bold">1</span>
188
+ </div>
189
+ <h3 class="text-xl font-bold mb-2">قم بتوصيل ESP32</h3>
190
+ <p class="text-gray-600">استخدم كابل USB Type-C لتوصيل لوحة ESP32-Dev بهاتفك</p>
191
+ </div>
192
+
193
+ <div class="text-center">
194
+ <div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
195
+ <span class="text-green-600 text-xl font-bold">2</span>
196
+ </div>
197
+ <h3 class="text-xl font-bold mb-2">اكتب أو تحدث بالكود</h3>
198
+ <p class="text-gray-600">استخدم لوحة المفاتيح أو صوتك لكتابة الكود البرمجي</p>
199
+ </div>
200
+
201
+ <div class="text-center">
202
+ <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
203
+ <span class="text-purple-600 text-xl font-bold">3</span>
204
+ </div>
205
+ <h3 class="text-xl font-bold mb-2">اضغط على زر البرمجة</h3>
206
+ <p class="text-gray-600">اضغط على زر "برمجة الحافظة" لتحميل الكود على اللوحة</p>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </section>
211
+
212
+ <!-- AI Section -->
213
+ <section id="ai" class="py-16 bg-gray-100">
214
+ <div class="container mx-auto px-4">
215
+ <div class="flex flex-col md:flex-row items-center">
216
+ <div class="md:w-1/2 mb-10 md:mb-0">
217
+ <img src="http://static.photos/technology/640x360/2" alt="AI Code Assistance" class="rounded-xl shadow-xl w-full">
218
+ </div>
219
+ <div class="md:w-1/2 md:pr-10 text-right">
220
+ <h2 class="text-3xl font-bold mb-4">الذكاء الاصطناعي المتقدم</h2>
221
+ <p class="text-lg mb-6 text-gray-600">قم بتوصيل تطبيق المهندس الذكي بـ OpenAI API للحصول على ميزات متقدمة</p>
222
+
223
+ <div class="space-y-4">
224
+ <div class="flex items-start">
225
+ <div class="bg-primary-100 p-2 rounded-full mr-4 mt-1">
226
+ <i data-feather="key" class="text-primary w-5 h-5"></i>
227
+ </div>
228
+ <div>
229
+ <h4 class="font-bold mb-1">إدخال مفتاح API</h4>
230
+ <p class="text-gray-600">أدخل مفتاح OpenAI API الخاص بك للإطلاق الكامل لقدرات الذكاء الاصطناعي</p>
231
+ </div>
232
+ </div>
233
+
234
+ <div class="flex items-start">
235
+ <div class="bg-green-100 p-2 rounded-full mr-4 mt-1">
236
+ <i data-feather="refresh-cw" class="text-green-600 w-5 h-5"></i>
237
+ </div>
238
+ <div>
239
+ <h4 class="font-bold mb-1">إعادة هيكلة الكود الذكية</h4>
240
+ <p class="text-gray-600">حسن كودك تلقائيًا ليكون أكثر كفاءة وقابلية للقراءة</p>
241
+ </div>
242
+ </div>
243
+
244
+ <div class="flex items-start">
245
+ <div class="bg-purple-100 p-2 rounded-full mr-4 mt-1">
246
+ <i data-feather="share-2" class="text-purple-600 w-5 h-5"></i>
247
+ </div>
248
+ <div>
249
+ <h4 class="font-bold mb-1">ربط بالتطبيقات الأخرى</h4>
250
+ <p class="text-gray-600">قم بتوصيل المهندس الذكي بتطبيقات IoT أو إدارة المشاريع الأخرى</p>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </section>
258
+
259
+ <!-- Code Example -->
260
+ <section class="py-16">
261
+ <div class="container mx-auto px-4">
262
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
263
+ <div class="flex border-b">
264
+ <div class="px-4 py-3 bg-gray-100 font-medium">مثال على الكود</div>
265
+ <div class="px-4 py-3 font-medium">وصف الكود</div>
266
+ </div>
267
+ <div class="grid md:grid-cols-2">
268
+ <div class="p-6 bg-gray-50 code-block">
269
+ <pre class="text-sm"><code>#include &lt;WiFi.h&gt;
270
+
271
+ const char* ssid = "your_SSID";
272
+ const char* password = "your_PASSWORD";
273
+
274
+ void setup() {
275
+ Serial.begin(115200);
276
+ WiFi.begin(ssid, password);
277
+
278
+ while (WiFi.status() != WL_CONNECTED) {
279
+ delay(500);
280
+ Serial.print(".");
281
+ }
282
+
283
+ Serial.println("Connected!");
284
+ }
285
+
286
+ void loop() {
287
+ // Your code here
288
+ }</code></pre>
289
+ </div>
290
+ <div class="p-6">
291
+ <h3 class="font-bold mb-2">اتصال WiFi بلوحة ESP32</h3>
292
+ <p class="text-gray-600 mb-4">هذا الكود يقوم بتوصيل لوحة ESP32 بشبكة WiFi. يتم تعريف اسم الشبكة وكلمة المرور في البداية، ثم في الدالة setup() يبدأ الاتصال ويتم الانتظار حتى يتم الاتصال بنجاح.</p>
293
+ <div class="flex items-center text-sm text-gray-500">
294
+ <i data-feather="info" class="w-4 h-4 mr-1"></i>
295
+ <span>ملاحظة: استبدل your_SSID و your_PASSWORD بمعلومات شبكتك</span>
296
+ </div>
297
+ </div>
298
+ </div>
299
+ </div>
300
+ </div>
301
+ </section>
302
+
303
+ <!-- CTA Section -->
304
+ <section class="py-16 bg-primary text-white">
305
+ <div class="container mx-auto px-4 text-center">
306
+ <h2 class="text-3xl font-bold mb-4">جاهز لبدء البرمجة من هاتفك؟</h2>
307
+ <p class="text-lg mb-8 max-w-2xl mx-auto">حمل تطبيق المهندس الذكي الآن وابدأ في برمجة لوحات ESP32 بكل سهولة</p>
308
+ <div class="flex flex-col sm:flex-row justify-center space-y-3 sm:space-y-0 sm:space-x-4 space-x-reverse">
309
+ <button class="bg-white text-primary px-8 py-3 rounded-lg hover:bg-gray-100 transition font-medium flex items-center justify-center mx-auto">
310
+ <i data-feather="download" class="mr-2"></i>
311
+ حمل التطبيق الآن
312
+ </button>
313
+ <button class="border border-white text-white px-8 py-3 rounded-lg hover:bg-white hover:text-primary transition font-medium">
314
+ تعرف على المزيد
315
+ </button>
316
+ </div>
317
+ </div>
318
+ </section>
319
+ </main>
320
+
321
+ <footer class="bg-gray-900 text-gray-300 py-12">
322
+ <div class="container mx-auto px-4">
323
+ <div class="grid md:grid-cols-4 gap-8">
324
+ <div>
325
+ <div class="flex items-center mb-4">
326
+ <i data-feather="cpu" class="text-primary w-6 h-6 mr-2"></i>
327
+ <span class="text-xl font-bold text-white">المهندس الذكي</span>
328
+ </div>
329
+ <p class="mb-4">تطبيق قوي لبرمجة لوحات ESP32 مباشرة من هاتفك الأندرويد</p>
330
+ <div class="flex space-x-4 space-x-reverse">
331
+ <a href="#" class="hover:text-primary transition"><i data-feather="facebook"></i></a>
332
+ <a href="#" class="hover:text-primary transition"><i data-feather="twitter"></i></a>
333
+ <a href="#" class="hover:text-primary transition"><i data-feather="youtube"></i></a>
334
+ </div>
335
+ </div>
336
+
337
+ <div>
338
+ <h3 class="text-white font-bold mb-4">روابط سريعة</h3>
339
+ <ul class="space-y-2">
340
+ <li><a href="#" class="hover:text-primary transition">الرئيسية</a></li>
341
+ <li><a href="#features" class="hover:text-primary transition">المميزات</a></li>
342
+ <li><a href="#how-it-works" class="hover:text-primary transition">كيف يعمل</a></li>
343
+ <li><a href="#ai" class="hover:text-primary transition">الذكاء الاصطناعي</a></li>
344
+ </ul>
345
+ </div>
346
+
347
+ <div>
348
+ <h3 class="text-white font-bold mb-4">الدعم</h3>
349
+ <ul class="space-y-2">
350
+ <li><a href="#" class="hover:text-primary transition">الأسئلة الشائعة</a></li>
351
+ <li><a href="#" class="hover:text-primary transition">الدليل التعليمي</a></li>
352
+ <li><a href="#" class="hover:text-primary transition">اتصل بنا</a></li>
353
+ </ul>
354
+ </div>
355
+
356
+ <div>
357
+ <h3 class="text-white font-bold mb-4">اشترك في النشرة البريدية</h3>
358
+ <p class="mb-4">ابق على اطلاع بآخر التحديثات والمميزات الجديدة</p>
359
+ <div class="flex">
360
+ <input type="email" placeholder="بريدك الإلكتروني" class="bg-gray-800 text-white px-4 py-2 rounded-r-lg focus:outline-none focus:ring-2 focus:ring-primary w-full">
361
+ <button class="bg-primary text-white px-4 py-2 rounded-l-lg hover:bg-primary-600 transition">
362
+ <i data-feather="send"></i>
363
+ </button>
364
+ </div>
365
+ </div>
366
+ </div>
367
+
368
+ <div class="border-t border-gray-800 mt-12 pt-8 text-center text-sm">
369
+ <p>© 2023 المهندس الذكي. جميع الحقوق محفوظة.</p>
370
+ </div>
371
+ </div>
372
+ </footer>
373
+
374
+ <script>
375
+ // Initialize Vanta.js
376
+ VANTA.GLOBE({
377
+ el: "#vanta-bg",
378
+ mouseControls: true,
379
+ touchControls: true,
380
+ gyroControls: false,
381
+ minHeight: 200.00,
382
+ minWidth: 200.00,
383
+ scale: 1.00,
384
+ scaleMobile: 1.00,
385
+ color: '#3B82F6',
386
+ backgroundColor: '#f8fafc',
387
+ size: 0.8
388
+ });
389
+
390
+ // Initialize Feather Icons
391
+ feather.replace();
392
+
393
+ // Mobile menu toggle
394
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
395
+ const nav = document.querySelector('nav');
396
+ nav.classList.toggle('hidden');
397
+ nav.classList.toggle('flex');
398
+ nav.classList.toggle('flex-col');
399
+ nav.classList.toggle('absolute');
400
+ nav.classList.toggle('top-16');
401
+ nav.classList.toggle('right-4');
402
+ nav.classList.toggle('bg-white');
403
+ nav.classList.toggle('p-4');
404
+ nav.classList.toggle('rounded-lg');
405
+ nav.classList.toggle('shadow-md');
406
+ });
407
+
408
+ // Smooth scrolling for anchor links
409
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
410
+ anchor.addEventListener('click', function (e) {
411
+ e.preventDefault();
412
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
413
+ behavior: 'smooth'
414
+ });
415
+ });
416
+ });
417
+
418
+ // Typing effect for code blocks
419
+ const codeBlocks = document.querySelectorAll('.code-block pre code');
420
+ codeBlocks.forEach(block => {
421
+ const originalText = block.textContent;
422
+ block.textContent = '';
423
+ let i = 0;
424
+ const typing = setInterval(() => {
425
+ if (i < originalText.length) {
426
+ block.textContent += originalText.charAt(i);
427
+ i++;
428
+ } else {
429
+ clearInterval(typing);
430
+ }
431
+ }, 10);
432
+ });
433
+ </script>
434
+ </body>
435
  </html>