betermaherbb commited on
Commit
eda2738
·
verified ·
1 Parent(s): bb01eff

When I clicked the translate button, nothing was translated on the site. Please improve this error. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +743 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sparks
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: sparks
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: red
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,743 @@
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" dir="ltr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ViralSpark - AI-Powered Video Ideas</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script>
10
+ tailwind.config = {
11
+ darkMode: 'class',
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: '#8B5CF6',
16
+ secondary: '#EC4899',
17
+ dark: '#1F2937',
18
+ darker: '#111827'
19
+ }
20
+ }
21
+ }
22
+ }
23
+ </script>
24
+ <style>
25
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
26
+
27
+ body {
28
+ font-family: 'Poppins', sans-serif;
29
+ transition: background-color 0.3s, color 0.3s;
30
+ }
31
+
32
+ .rtl {
33
+ direction: rtl;
34
+ }
35
+
36
+ .floating-notification {
37
+ animation: floatUp 0.5s ease-out, fadeOut 0.5s 2.5s forwards;
38
+ }
39
+
40
+ @keyframes floatUp {
41
+ from { transform: translateY(100px); opacity: 0; }
42
+ to { transform: translateY(0); opacity: 1; }
43
+ }
44
+
45
+ @keyframes fadeOut {
46
+ from { opacity: 1; }
47
+ to { opacity: 0; visibility: hidden; }
48
+ }
49
+
50
+ .idea-card {
51
+ transition: transform 0.3s, box-shadow 0.3s;
52
+ }
53
+
54
+ .idea-card:hover {
55
+ transform: translateY(-5px);
56
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
57
+ }
58
+
59
+ .fade-in {
60
+ animation: fadeIn 0.5s ease-in;
61
+ }
62
+
63
+ @keyframes fadeIn {
64
+ from { opacity: 0; }
65
+ to { opacity: 1; }
66
+ }
67
+
68
+ .loading-dots {
69
+ display: flex;
70
+ justify-content: center;
71
+ align-items: center;
72
+ }
73
+
74
+ .loading-dots span {
75
+ width: 8px;
76
+ height: 8px;
77
+ margin: 0 3px;
78
+ background-color: currentColor;
79
+ border-radius: 50%;
80
+ display: inline-block;
81
+ animation: bounce 1.5s infinite ease-in-out both;
82
+ }
83
+
84
+ .loading-dots span:nth-child(1) {
85
+ animation-delay: -0.32s;
86
+ }
87
+
88
+ .loading-dots span:nth-child(2) {
89
+ animation-delay: -0.16s;
90
+ }
91
+
92
+ @keyframes bounce {
93
+ 0%, 80%, 100% { transform: scale(0); }
94
+ 40% { transform: scale(1); }
95
+ }
96
+
97
+ .tab-active {
98
+ position: relative;
99
+ }
100
+
101
+ .tab-active::after {
102
+ content: '';
103
+ position: absolute;
104
+ bottom: -1px;
105
+ left: 0;
106
+ right: 0;
107
+ height: 3px;
108
+ background-color: #8B5CF6;
109
+ border-radius: 3px;
110
+ }
111
+
112
+ .content-section {
113
+ transition: max-height 0.3s ease-out;
114
+ overflow: hidden;
115
+ }
116
+
117
+ .content-section.collapsed {
118
+ max-height: 0;
119
+ }
120
+
121
+ .content-section.expanded {
122
+ max-height: 1000px;
123
+ }
124
+ </style>
125
+ </head>
126
+ <body class="bg-gray-50 text-gray-800 dark:bg-darker dark:text-gray-200">
127
+ <!-- Language toggle notification -->
128
+ <div id="langNotification" class="floating-notification fixed bottom-4 right-4 bg-primary text-white px-4 py-3 rounded-lg shadow-lg z-50 hidden">
129
+ <span id="notificationText">Language changed successfully!</span>
130
+ </div>
131
+
132
+ <!-- AI Notification -->
133
+ <div id="aiNotification" class="floating-notification fixed bottom-4 left-4 bg-secondary text-white px-4 py-3 rounded-lg shadow-lg z-50 hidden">
134
+ <i class="fas fa-robot mr-2"></i> This site is powered by advanced AI technology!
135
+ </div>
136
+
137
+ <!-- Header -->
138
+ <header class="bg-white dark:bg-dark shadow-sm sticky top-0 z-30">
139
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
140
+ <div class="flex items-center">
141
+ <div class="bg-gradient-to-r from-primary to-secondary w-10 h-10 rounded-lg flex items-center justify-center">
142
+ <i class="fas fa-bolt text-white text-xl"></i>
143
+ </div>
144
+ <h1 class="text-2xl font-bold ml-3 bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">ViralSpark</h1>
145
+ </div>
146
+
147
+ <div class="flex items-center space-x-3">
148
+ <button id="darkModeToggle" class="p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
149
+ <i class="fas fa-moon dark:hidden"></i>
150
+ <i class="fas fa-sun hidden dark:block"></i>
151
+ </button>
152
+
153
+ <button id="langToggle" class="px-4 py-2 bg-gray-100 dark:bg-gray-700 rounded-lg flex items-center">
154
+ <i class="fas fa-language mr-2"></i>
155
+ <span id="langText">EN</span>
156
+ </button>
157
+ </div>
158
+ </div>
159
+ </header>
160
+
161
+ <!-- Main Content -->
162
+ <main class="container mx-auto px-4 py-8">
163
+ <!-- Hero Section -->
164
+ <section class="text-center mb-12">
165
+ <h2 class="text-4xl font-bold mb-4">Generate Viral Video Ideas in Seconds</h2>
166
+ <p class="text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto">
167
+ Powered by advanced AI, ViralSpark creates engaging content ideas tailored for TikTok, YouTube Shorts, Instagram Reels and more!
168
+ </p>
169
+ </section>
170
+
171
+ <!-- Tab Navigation -->
172
+ <div class="flex border-b border-gray-200 dark:border-gray-700 mb-8">
173
+ <button id="generateTab" class="tab-active px-6 py-3 font-medium text-primary">Generate</button>
174
+ <button id="historyTab" class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 hover:text-primary">History</button>
175
+ <button id="settingsTab" class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 hover:text-primary">Settings</button>
176
+ </div>
177
+
178
+ <!-- Generate Tab Content -->
179
+ <div id="generateContent" class="fade-in">
180
+ <div class="bg-white dark:bg-dark rounded-xl shadow-lg p-6 mb-8">
181
+ <h3 class="text-xl font-semibold mb-4">Tell us about your content</h3>
182
+
183
+ <form id="ideaForm">
184
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-6">
185
+ <div>
186
+ <label class="block text-sm font-medium mb-2">Platform</label>
187
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
188
+ <option>TikTok</option>
189
+ <option>YouTube Shorts</option>
190
+ <option>Instagram Reels</option>
191
+ <option>Facebook Shorts</option>
192
+ </select>
193
+ </div>
194
+
195
+ <div>
196
+ <label class="block text-sm font-medium mb-2">Content Niche</label>
197
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
198
+ <option>Cooking</option>
199
+ <option>Fitness</option>
200
+ <option>Tech</option>
201
+ <option>Beauty</option>
202
+ <option>Gaming</option>
203
+ <option>Travel</option>
204
+ <option>Motivation</option>
205
+ <option>Comedy</option>
206
+ </select>
207
+ </div>
208
+
209
+ <div>
210
+ <label class="block text-sm font-medium mb-2">Tone</label>
211
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
212
+ <option>Funny</option>
213
+ <option>Serious</option>
214
+ <option>Dramatic</option>
215
+ <option>Educational</option>
216
+ <option>Inspirational</option>
217
+ </select>
218
+ </div>
219
+
220
+ <div>
221
+ <label class="block text-sm font-medium mb-2">Target Audience</label>
222
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
223
+ <option>Gen Z</option>
224
+ <option>Millennials</option>
225
+ <option>Professionals</option>
226
+ <option>Parents</option>
227
+ <option>Teens</option>
228
+ </select>
229
+ </div>
230
+
231
+ <div>
232
+ <label class="block text-sm font-medium mb-2">Language</label>
233
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
234
+ <option>English</option>
235
+ <option>Spanish</option>
236
+ <option>French</option>
237
+ <option>Arabic</option>
238
+ <option>German</option>
239
+ </select>
240
+ </div>
241
+
242
+ <div>
243
+ <label class="block text-sm font-medium mb-2">Video Length</label>
244
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
245
+ <option>15-30 seconds</option>
246
+ <option>30-60 seconds</option>
247
+ <option>1-2 minutes</option>
248
+ </select>
249
+ </div>
250
+ </div>
251
+
252
+ <div class="mb-6">
253
+ <label class="block text-sm font-medium mb-2">Additional Context (Optional)</label>
254
+ <textarea class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary" rows="3" placeholder="e.g. I want a video about vegan recipes for beginners..."></textarea>
255
+ </div>
256
+
257
+ <div class="flex justify-center">
258
+ <button type="submit" class="px-8 py-3 bg-gradient-to-r from-primary to-secondary text-white font-medium rounded-lg hover:opacity-90 transition-all flex items-center">
259
+ <i class="fas fa-bolt mr-2"></i>
260
+ Generate Idea
261
+ </button>
262
+ </div>
263
+ </form>
264
+ </div>
265
+
266
+ <!-- Loading State -->
267
+ <div id="loadingState" class="hidden flex-col items-center justify-center mb-8">
268
+ <div class="loading-dots text-primary text-2xl mb-4">
269
+ <span></span>
270
+ <span></span>
271
+ <span></span>
272
+ </div>
273
+ <p class="text-lg">Generating your viral video idea...</p>
274
+ </div>
275
+
276
+ <!-- Results Section -->
277
+ <div id="resultsSection" class="hidden">
278
+ <div class="bg-gradient-to-br from-primary/10 to-secondary/10 dark:from-primary/20 dark:to-secondary/20 rounded-xl p-1 mb-8">
279
+ <div class="bg-white dark:bg-dark rounded-xl p-6">
280
+ <div class="flex justify-between items-center mb-6">
281
+ <h3 class="text-2xl font-bold">Your Viral Video Idea</h3>
282
+ <div class="flex space-x-2">
283
+ <button class="px-4 py-2 bg-gray-100 dark:bg-gray-700 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600">
284
+ <i class="fas fa-redo mr-2"></i>Regenerate
285
+ </button>
286
+ <button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90">
287
+ <i class="fas fa-save mr-2"></i>Save
288
+ </button>
289
+ </div>
290
+ </div>
291
+
292
+ <div class="space-y-6">
293
+ <div class="content-section expanded">
294
+ <div class="flex justify-between items-center cursor-pointer mb-2">
295
+ <h4 class="text-lg font-semibold">Title</h4>
296
+ <i class="fas fa-chevron-up"></i>
297
+ </div>
298
+ <p class="text-xl font-bold text-primary">Why My Pasta Hates Me 🍝😭 #CookingFails</p>
299
+ </div>
300
+
301
+ <div class="content-section expanded">
302
+ <div class="flex justify-between items-center cursor-pointer mb-2">
303
+ <h4 class="text-lg font-semibold">Description & Hashtags</h4>
304
+ <i class="fas fa-chevron-up"></i>
305
+ </div>
306
+ <p>Ever tried cooking pasta and ended up with a gluey mess? Watch me fail spectacularly and learn what NOT to do! 😂</p>
307
+ <div class="mt-2 flex flex-wrap gap-2">
308
+ <span class="px-3 py-1 bg-gray-100 dark:bg-gray-800 rounded-full text-sm">#TikTokCooking</span>
309
+ <span class="px-3 py-1 bg-gray-100 dark:bg-gray-800 rounded-full text-sm">#LearnToCook</span>
310
+ <span class="px-3 py-1 bg-gray-100 dark:bg-gray-800 rounded-full text-sm">#GenZFails</span>
311
+ <span class="px-3 py-1 bg-gray-100 dark:bg-gray-800 rounded-full text-sm">#CookingFails</span>
312
+ </div>
313
+ </div>
314
+
315
+ <div class="content-section expanded">
316
+ <div class="flex justify-between items-center cursor-pointer mb-2">
317
+ <h4 class="text-lg font-semibold">Script</h4>
318
+ <i class="fas fa-chevron-up"></i>
319
+ </div>
320
+ <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4">
321
+ <p class="mb-2"><strong>Scene:</strong> Kitchen chaos, flour on face</p>
322
+ <p class="mb-2"><strong>Creator:</strong> Hey TikTok, today I'm making pasta... or at least trying to!</p>
323
+ <p class="mb-2"><em>(Drops pot, exaggerated scream)</em></p>
324
+ <p class="mb-2"><strong>Creator:</strong> Step 1: Boil water. Sounds easy, right? WRONG.</p>
325
+ <p><em>(Cut to overboiled pasta sticking to pan)</em></p>
326
+ <p class="mt-2"><strong>Creator:</strong> Send help! 😭</p>
327
+ </div>
328
+ </div>
329
+
330
+ <div class="content-section expanded">
331
+ <div class="flex justify-between items-center cursor-pointer mb-2">
332
+ <h4 class="text-lg font-semibold">Thumbnail Idea</h4>
333
+ <i class="fas fa-chevron-up"></i>
334
+ </div>
335
+ <div class="flex flex-col md:flex-row gap-6">
336
+ <div class="flex-1">
337
+ <p>Creator with a confused face, holding a pot of sticky pasta, bright red text: "COOKING GONE WRONG!"</p>
338
+ </div>
339
+ <div class="flex-1">
340
+ <div class="bg-gray-200 dark:bg-gray-700 border-2 border-dashed rounded-xl w-full h-48 flex items-center justify-center">
341
+ <span class="text-gray-500">AI-Generated Thumbnail Preview</span>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ </div>
349
+
350
+ <div class="text-center">
351
+ <button class="px-6 py-3 bg-gradient-to-r from-primary to-secondary text-white rounded-lg font-medium hover:opacity-90">
352
+ <i class="fas fa-share-alt mr-2"></i>Share Idea
353
+ </button>
354
+ </div>
355
+ </div>
356
+ </div>
357
+
358
+ <!-- History Tab Content -->
359
+ <div id="historyContent" class="hidden fade-in">
360
+ <div class="mb-6 flex justify-between items-center">
361
+ <h3 class="text-xl font-semibold">Your Saved Ideas</h3>
362
+ <div class="flex space-x-2">
363
+ <input type="text" placeholder="Search ideas..." class="px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg">
364
+ <button class="px-4 py-2 bg-gray-100 dark:bg-gray-700 rounded-lg">
365
+ <i class="fas fa-filter"></i>
366
+ </button>
367
+ </div>
368
+ </div>
369
+
370
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
371
+ <!-- Idea Card 1 -->
372
+ <div class="idea-card bg-white dark:bg-dark rounded-xl shadow-lg overflow-hidden">
373
+ <div class="p-5">
374
+ <div class="flex justify-between items-start mb-3">
375
+ <div>
376
+ <span class="inline-block px-2 py-1 bg-primary/10 text-primary text-xs rounded">TikTok</span>
377
+ <span class="inline-block px-2 py-1 bg-secondary/10 text-secondary text-xs rounded ml-2">Cooking</span>
378
+ </div>
379
+ <button class="text-gray-400 hover:text-primary">
380
+ <i class="fas fa-ellipsis-v"></i>
381
+ </button>
382
+ </div>
383
+ <h4 class="font-bold text-lg mb-2">Why My Pasta Hates Me 🍝😭</h4>
384
+ <p class="text-gray-600 dark:text-gray-400 text-sm mb-4">Ever tried cooking pasta and ended up with a gluey mess? Watch me fail spectacularly...</p>
385
+ <div class="flex justify-between text-sm">
386
+ <span class="text-gray-500">2 days ago</span>
387
+ <div class="flex space-x-2">
388
+ <button class="text-gray-500 hover:text-primary">
389
+ <i class="fas fa-share"></i>
390
+ </button>
391
+ <button class="text-gray-500 hover:text-red-500">
392
+ <i class="fas fa-trash"></i>
393
+ </button>
394
+ </div>
395
+ </div>
396
+ </div>
397
+ </div>
398
+
399
+ <!-- Idea Card 2 -->
400
+ <div class="idea-card bg-white dark:bg-dark rounded-xl shadow-lg overflow-hidden">
401
+ <div class="p-5">
402
+ <div class="flex justify-between items-start mb-3">
403
+ <div>
404
+ <span class="inline-block px-2 py-1 bg-primary/10 text-primary text-xs rounded">YouTube</span>
405
+ <span class="inline-block px-2 py-1 bg-secondary/10 text-secondary text-xs rounded ml-2">Tech</span>
406
+ </div>
407
+ <button class="text-gray-400 hover:text-primary">
408
+ <i class="fas fa-ellipsis-v"></i>
409
+ </button>
410
+ </div>
411
+ <h4 class="font-bold text-lg mb-2">5 Phone Hacks You NEED to Know! 📱</h4>
412
+ <p class="text-gray-600 dark:text-gray-400 text-sm mb-4">Unlock hidden features on your smartphone with these simple tricks...</p>
413
+ <div class="flex justify-between text-sm">
414
+ <span class="text-gray-500">1 week ago</span>
415
+ <div class="flex space-x-2">
416
+ <button class="text-gray-500 hover:text-primary">
417
+ <i class="fas fa-share"></i>
418
+ </button>
419
+ <button class="text-gray-500 hover:text-red-500">
420
+ <i class="fas fa-trash"></i>
421
+ </button>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+
427
+ <!-- Idea Card 3 -->
428
+ <div class="idea-card bg-white dark:bg-dark rounded-xl shadow-lg overflow-hidden">
429
+ <div class="p-5">
430
+ <div class="flex justify-between items-start mb-3">
431
+ <div>
432
+ <span class="inline-block px-2 py-1 bg-primary/10 text-primary text-xs rounded">Instagram</span>
433
+ <span class="inline-block px-2 py-1 bg-secondary/10 text-secondary text-xs rounded ml-2">Fitness</span>
434
+ </div>
435
+ <button class="text-gray-400 hover:text-primary">
436
+ <i class="fas fa-ellipsis-v"></i>
437
+ </button>
438
+ </div>
439
+ <h4 class="font-bold text-lg mb-2">Morning Routine for Energy Boost! ☀️</h4>
440
+ <p class="text-gray-600 dark:text-gray-400 text-sm mb-4">Start your day right with these 5 simple exercises that will energize you...</p>
441
+ <div class="flex justify-between text-sm">
442
+ <span class="text-gray-500">3 weeks ago</span>
443
+ <div class="flex space-x-2">
444
+ <button class="text-gray-500 hover:text-primary">
445
+ <i class="fas fa-share"></i>
446
+ </button>
447
+ <button class="text-gray-500 hover:text-red-500">
448
+ <i class="fas fa-trash"></i>
449
+ </button>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ </div>
454
+ </div>
455
+
456
+ <div class="text-center mt-8">
457
+ <button class="px-6 py-3 bg-gray-100 dark:bg-gray-800 rounded-lg font-medium hover:bg-gray-200 dark:hover:bg-gray-700">
458
+ Load More Ideas
459
+ </button>
460
+ </div>
461
+ </div>
462
+
463
+ <!-- Settings Tab Content -->
464
+ <div id="settingsContent" class="hidden fade-in">
465
+ <div class="bg-white dark:bg-dark rounded-xl shadow-lg p-6 mb-8">
466
+ <h3 class="text-xl font-semibold mb-6">Settings</h3>
467
+
468
+ <div class="space-y-6">
469
+ <div>
470
+ <h4 class="font-medium mb-3">Account Settings</h4>
471
+ <div class="space-y-4">
472
+ <div class="flex items-center justify-between">
473
+ <div>
474
+ <p class="font-medium">Email Notifications</p>
475
+ <p class="text-sm text-gray-500 dark:text-gray-400">Receive updates about new features</p>
476
+ </div>
477
+ <label class="relative inline-flex items-center cursor-pointer">
478
+ <input type="checkbox" class="sr-only peer" checked>
479
+ <div class="w-11 h-6 bg-gray-200 peer-focus:ring-4 peer-focus:ring-primary/30 dark:peer-focus:ring-primary/50 rounded-full peer dark:bg-gray-700 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 dark:border-gray-600 peer-checked:bg-primary"></div>
480
+ </label>
481
+ </div>
482
+
483
+ <div class="flex items-center justify-between">
484
+ <div>
485
+ <p class="font-medium">Push Notifications</p>
486
+ <p class="text-sm text-gray-500 dark:text-gray-400">Get alerts for new ideas</p>
487
+ </div>
488
+ <label class="relative inline-flex items-center cursor-pointer">
489
+ <input type="checkbox" class="sr-only peer" checked>
490
+ <div class="w-11 h-6 bg-gray-200 peer-focus:ring-4 peer-focus:ring-primary/30 dark:peer-focus:ring-primary/50 rounded-full peer dark:bg-gray-700 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 dark:border-gray-600 peer-checked:bg-primary"></div>
491
+ </label>
492
+ </div>
493
+ </div>
494
+ </div>
495
+
496
+ <div>
497
+ <h4 class="font-medium mb-3">AI Preferences</h4>
498
+ <div class="space-y-4">
499
+ <div>
500
+ <label class="block text-sm font-medium mb-2">Default AI Model</label>
501
+ <select class="w-full px-4 py-2 bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-primary focus:border-primary">
502
+ <option>SuperGrok (Recommended)</option>
503
+ <option>GPT-4</option>
504
+ <option>Claude 2</option>
505
+ <option>LLaMA 2</option>
506
+ </select>
507
+ </div>
508
+
509
+ <div>
510
+ <label class="block text-sm font-medium mb-2">Creativity Level</label>
511
+ <input type="range" min="0" max="100" value="75" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700">
512
+ <div class="flex justify-between text-xs text-gray-500 dark:text-gray-400">
513
+ <span>More Predictable</span>
514
+ <span>Balanced</span>
515
+ <span>More Creative</span>
516
+ </div>
517
+ </div>
518
+ </div>
519
+ </div>
520
+
521
+ <div>
522
+ <h4 class="font-medium mb-3">Danger Zone</h4>
523
+ <div class="space-y-4">
524
+ <button class="w-full px-4 py-2 bg-red-500/10 text-red-500 rounded-lg hover:bg-red-500/20 flex items-center justify-center">
525
+ <i class="fas fa-trash mr-2"></i>Delete All Saved Ideas
526
+ </button>
527
+ <button class="w-full px-4 py-2 bg-red-500 text-white rounded-lg hover:bg-red-600 flex items-center justify-center">
528
+ <i class="fas fa-user-slash mr-2"></i>Delete Account
529
+ </button>
530
+ </div>
531
+ </div>
532
+ </div>
533
+ </div>
534
+ </div>
535
+ </main>
536
+
537
+ <!-- Footer -->
538
+ <footer class="bg-white dark:bg-dark border-t border-gray-200 dark:border-gray-700 mt-12">
539
+ <div class="container mx-auto px-4 py-8">
540
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
541
+ <div>
542
+ <div class="flex items-center mb-4">
543
+ <div class="bg-gradient-to-r from-primary to-secondary w-8 h-8 rounded-lg flex items-center justify-center">
544
+ <i class="fas fa-bolt text-white"></i>
545
+ </div>
546
+ <h3 class="text-xl font-bold ml-2">ViralSpark</h3>
547
+ </div>
548
+ <p class="text-gray-600 dark:text-gray-400 mb-4">AI-powered video ideas for content creators.</p>
549
+ <div class="flex space-x-4">
550
+ <a href="#" class="text-gray-500 hover:text-primary"><i class="fab fa-twitter"></i></a>
551
+ <a href="#" class="text-gray-500 hover:text-primary"><i class="fab fa-instagram"></i></a>
552
+ <a href="#" class="text-gray-500 hover:text-primary"><i class="fab fa-tiktok"></i></a>
553
+ <a href="#" class="text-gray-500 hover:text-primary"><i class="fab fa-youtube"></i></a>
554
+ </div>
555
+ </div>
556
+
557
+ <div>
558
+ <h4 class="font-semibold mb-4">Features</h4>
559
+ <ul class="space-y-2">
560
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Idea Generator</a></li>
561
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Content Templates</a></li>
562
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Trend Analysis</a></li>
563
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Performance Predictor</a></li>
564
+ </ul>
565
+ </div>
566
+
567
+ <div>
568
+ <h4 class="font-semibold mb-4">Resources</h4>
569
+ <ul class="space-y-2">
570
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Blog</a></li>
571
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Tutorials</a></li>
572
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Documentation</a></li>
573
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">API</a></li>
574
+ </ul>
575
+ </div>
576
+
577
+ <div>
578
+ <h4 class="font-semibold mb-4">Legal</h4>
579
+ <ul class="space-y-2">
580
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Privacy Policy</a></li>
581
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Terms of Service</a></li>
582
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">Cookie Policy</a></li>
583
+ <li><a href="#" class="text-gray-600 dark:text-gray-400 hover:text-primary">GDPR</a></li>
584
+ </ul>
585
+ </div>
586
+ </div>
587
+
588
+ <div class="border-t border-gray-200 dark:border-gray-700 mt-8 pt-6 text-center text-gray-600 dark:text-gray-400">
589
+ <p>© 2023 ViralSpark. All rights reserved. Powered by advanced AI technology.</p>
590
+ </div>
591
+ </div>
592
+ </footer>
593
+
594
+ <script>
595
+ // DOM Elements
596
+ const darkModeToggle = document.getElementById('darkModeToggle');
597
+ const langToggle = document.getElementById('langToggle');
598
+ const langText = document.getElementById('langText');
599
+ const langNotification = document.getElementById('langNotification');
600
+ const notificationText = document.getElementById('notificationText');
601
+ const aiNotification = document.getElementById('aiNotification');
602
+
603
+ const generateTab = document.getElementById('generateTab');
604
+ const historyTab = document.getElementById('historyTab');
605
+ const settingsTab = document.getElementById('settingsTab');
606
+
607
+ const generateContent = document.getElementById('generateContent');
608
+ const historyContent = document.getElementById('historyContent');
609
+ const settingsContent = document.getElementById('settingsContent');
610
+
611
+ const ideaForm = document.getElementById('ideaForm');
612
+ const loadingState = document.getElementById('loadingState');
613
+ const resultsSection = document.getElementById('resultsSection');
614
+
615
+ const contentSections = document.querySelectorAll('.content-section');
616
+
617
+ // Dark Mode Toggle
618
+ darkModeToggle.addEventListener('click', () => {
619
+ document.documentElement.classList.toggle('dark');
620
+ localStorage.setItem('darkMode', document.documentElement.classList.contains('dark') ? 'enabled' : 'disabled');
621
+ });
622
+
623
+ // Check for saved dark mode preference
624
+ if (localStorage.getItem('darkMode') === 'enabled') {
625
+ document.documentElement.classList.add('dark');
626
+ }
627
+
628
+ // Language Toggle
629
+ let isArabic = false;
630
+
631
+ langToggle.addEventListener('click', () => {
632
+ isArabic = !isArabic;
633
+
634
+ // Update UI for language change
635
+ langText.textContent = isArabic ? 'AR' : 'EN';
636
+ document.documentElement.setAttribute('dir', isArabic ? 'rtl' : 'ltr');
637
+ document.documentElement.setAttribute('lang', isArabic ? 'ar' : 'en');
638
+
639
+ // Show notification
640
+ notificationText.textContent = isArabic ?
641
+ 'تم تغيير اللغة إلى العربية بنجاح!' :
642
+ 'Language changed to English successfully!';
643
+ langNotification.classList.remove('hidden');
644
+
645
+ // Hide after delay
646
+ setTimeout(() => {
647
+ langNotification.classList.add('hidden');
648
+ }, 3000);
649
+ });
650
+
651
+ // Show AI notification on page load
652
+ setTimeout(() => {
653
+ aiNotification.classList.remove('hidden');
654
+
655
+ setTimeout(() => {
656
+ aiNotification.classList.add('hidden');
657
+ }, 3000);
658
+ }, 2000);
659
+
660
+ // Tab Navigation
661
+ function activateTab(tab) {
662
+ // Reset all tabs
663
+ generateTab.classList.remove('tab-active', 'text-primary');
664
+ historyTab.classList.remove('tab-active', 'text-primary');
665
+ settingsTab.classList.remove('tab-active', 'text-primary');
666
+
667
+ generateTab.classList.add('text-gray-500', 'dark:text-gray-400');
668
+ historyTab.classList.add('text-gray-500', 'dark:text-gray-400');
669
+ settingsTab.classList.add('text-gray-500', 'dark:text-gray-400');
670
+
671
+ // Hide all content
672
+ generateContent.classList.add('hidden');
673
+ historyContent.classList.add('hidden');
674
+ settingsContent.classList.add('hidden');
675
+
676
+ // Activate selected tab
677
+ tab.classList.add('tab-active', 'text-primary');
678
+ tab.classList.remove('text-gray-500', 'dark:text-gray-400');
679
+
680
+ // Show corresponding content
681
+ if (tab === generateTab) {
682
+ generateContent.classList.remove('hidden');
683
+ } else if (tab === historyTab) {
684
+ historyContent.classList.remove('hidden');
685
+ } else if (tab === settingsTab) {
686
+ settingsContent.classList.remove('hidden');
687
+ }
688
+ }
689
+
690
+ generateTab.addEventListener('click', () => activateTab(generateTab));
691
+ historyTab.addEventListener('click', () => activateTab(historyTab));
692
+ settingsTab.addEventListener('click', () => activateTab(settingsTab));
693
+
694
+ // Form Submission
695
+ ideaForm.addEventListener('submit', (e) => {
696
+ e.preventDefault();
697
+
698
+ // Show loading state
699
+ loadingState.classList.remove('hidden');
700
+
701
+ // Hide results if visible
702
+ resultsSection.classList.add('hidden');
703
+
704
+ // Simulate API call delay
705
+ setTimeout(() => {
706
+ loadingState.classList.add('hidden');
707
+ resultsSection.classList.remove('hidden');
708
+
709
+ // Scroll to results
710
+ resultsSection.scrollIntoView({ behavior: 'smooth' });
711
+ }, 2000);
712
+ });
713
+
714
+ // Collapsible sections
715
+ contentSections.forEach(section => {
716
+ const header = section.querySelector('.cursor-pointer');
717
+ const icon = section.querySelector('i');
718
+
719
+ header.addEventListener('click', () => {
720
+ section.classList.toggle('expanded');
721
+ section.classList.toggle('collapsed');
722
+
723
+ // Toggle icon
724
+ if (section.classList.contains('expanded')) {
725
+ icon.classList.remove('fa-chevron-down');
726
+ icon.classList.add('fa-chevron-up');
727
+ } else {
728
+ icon.classList.remove('fa-chevron-up');
729
+ icon.classList.add('fa-chevron-down');
730
+ }
731
+ });
732
+ });
733
+
734
+ // Initialize tooltips
735
+ document.querySelectorAll('.idea-card').forEach(card => {
736
+ card.addEventListener('click', () => {
737
+ // In a real app, this would navigate to the idea detail view
738
+ activateTab(generateTab);
739
+ });
740
+ });
741
+ </script>
742
+ <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=betermaherbb/sparks" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
743
+ </html>