privateuserh commited on
Commit
de8b39f
·
verified ·
1 Parent(s): 4eced46

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +443 -0
index.html ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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, maximum-scale=1.0, user-scalable=no">
6
+ <title>DMIM - Performance Art Trend Explorer</title>
7
+
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+
10
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
11
+
12
+ <link rel="stylesheet" href="styles.css">
13
+
14
+ </head>
15
+ <body class="bg-gray-50 font-sans text-gray-800">
16
+ <div class="max-w-md mx-auto bg-white min-h-screen flex flex-col">
17
+ <header class="dmim-bg p-4 shadow-sm">
18
+ <div class="flex items-center justify-between">
19
+ <h1 class="text-white text-xl font-bold">DMIM</h1>
20
+ <div class="flex items-center space-x-3">
21
+ <button class="text-white" id="explainerBtn">
22
+ <i class="fas fa-info-circle"></i>
23
+ </button>
24
+ <button class="text-white" id="dmimBalanceBtn">
25
+ <span id="dmimBalanceDisplay">0 DMIM</span>
26
+ </button>
27
+ </div>
28
+ </div>
29
+ </header>
30
+
31
+ <main class="flex-1 overflow-y-auto p-4" id="mainContent">
32
+ <div id="homeTab">
33
+ <div class="mb-6">
34
+ <h2 class="text-lg font-semibold mb-4">Performance Art Trends</h2>
35
+
36
+ <div class="grid grid-cols-1 gap-4" id="trendingCardsContainer">
37
+ </div>
38
+ </div>
39
+
40
+ <div class="mt-6">
41
+ <div class="flex items-center justify-between mb-4">
42
+ <h2 class="text-lg font-semibold">Your Saved Trends</h2>
43
+ <button id="stakeInfoBtn" class="text-xs text-dmim-bg font-medium flex items-center">
44
+ <i class="fas fa-question-circle mr-1"></i> How staking works
45
+ </button>
46
+ </div>
47
+ <div class="space-y-3" id="savedTrendsContainer">
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+ <div id="searchTab" class="hidden">
53
+ <div class="mb-4">
54
+ <div class="relative">
55
+ <input type="text" id="trendSearchInput" placeholder="Search performance art trends..."
56
+ class="w-full py-3 px-4 rounded-lg bg-gray-100 focus:outline-none focus:ring-2 focus:ring-dmim-bg">
57
+ <button id="searchTrendBtn" class="absolute right-3 top-3 text-gray-500 hover:text-dmim-bg">
58
+ <i class="fas fa-search"></i>
59
+ </button>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="grid grid-cols-1 gap-4" id="searchResultsContainer">
64
+ </div>
65
+ </div>
66
+ </main>
67
+
68
+ <nav class="bg-white border-t border-gray-200 p-2">
69
+ <div class="flex justify-around">
70
+ <button class="tab-button active flex flex-col items-center text-dmim-bg" data-tab="homeTab">
71
+ <i class="fas fa-home text-lg"></i>
72
+ <span class="text-xs mt-1">Home</span>
73
+ </button>
74
+
75
+ <button class="tab-button flex flex-col items-center text-gray-500" data-tab="searchTab">
76
+ <i class="fas fa-search text-lg"></i>
77
+ <span class="text-xs mt-1">Search</span>
78
+ </button>
79
+
80
+ <button class="flex flex-col items-center text-gray-500" id="addTrendBtn">
81
+ <i class="fas fa-plus-circle text-lg"></i>
82
+ <span class="text-xs mt-1">Add</span>
83
+ </button>
84
+ </div>
85
+ </nav>
86
+
87
+ <div class="floating-btn" id="sentimentHelpBtn">
88
+ <i class="fas fa-smile-beam"></i>
89
+ </div>
90
+
91
+ <div id="addTrendModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
92
+ <div class="bg-white rounded-lg w-full max-w-md mx-4">
93
+ <div class="p-4 border-b border-gray-200">
94
+ <h3 class="font-semibold text-lg">Add New Performance Trend</h3>
95
+ </div>
96
+
97
+ <div class="p-4">
98
+ <div class="mb-4">
99
+ <label class="block text-sm font-medium text-gray-700 mb-1">Hashtag</label>
100
+ <input type="text" id="newHashtag" placeholder="#trend"
101
+ class="w-full py-2 px-4 rounded-lg bg-gray-100 focus:outline-none focus:ring-2 focus:ring-dmim-bg">
102
+ </div>
103
+
104
+ <div class="mb-4">
105
+ <label class="block text-sm font-medium text-gray-700 mb-1">Performance Category</label>
106
+ <div class="grid grid-cols-2 gap-2">
107
+ <button class="platform-btn bg-gray-200 text-gray-700 py-2 px-3 rounded text-sm" data-platform="music">
108
+ <i class="fas fa-music mr-1 text-purple-500"></i> Music
109
+ </button>
110
+ <button class="platform-btn bg-gray-200 text-gray-700 py-2 px-3 rounded text-sm" data-platform="theater">
111
+ <i class="fas fa-theater-masks mr-1 text-yellow-500"></i> Theater
112
+ </button>
113
+ <button class="platform-btn bg-gray-200 text-gray-700 py-2 px-3 rounded text-sm" data-platform="dance">
114
+ <i class="fas fa-child mr-1 text-pink-500"></i> Dance
115
+ </button>
116
+ <button class="platform-btn bg-gray-200 text-gray-700 py-2 px-3 rounded text-sm" data-platform="comedy">
117
+ <i class="fas fa-laugh-squint mr-1 text-blue-500"></i> Comedy
118
+ </button>
119
+ <button class="platform-btn bg-gray-200 text-gray-700 py-2 px-3 rounded text-sm" data-platform="emerging">
120
+ <i class="fas fa-star mr-1 text-green-500"></i> Emerging
121
+ </button>
122
+ </div>
123
+ </div>
124
+ </div>
125
+
126
+ <div class="p-4 border-t border-gray-200 flex justify-end space-x-3">
127
+ <button id="cancelAddTrend" class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700">
128
+ Cancel
129
+ </button>
130
+ <button id="saveTrend" class="px-4 py-2 dmim-bg text-white rounded-md text-sm font-medium">
131
+ Save Trend
132
+ </button>
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <div id="dmimModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
138
+ <div class="bg-white rounded-lg w-full max-w-md mx-4">
139
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
140
+ <h3 class="font-semibold text-lg">DMIM Token</h3>
141
+ <span class="inline-flex items-center bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">
142
+ <i class="fas fa-check-circle mr-1"></i> Verified
143
+ </span>
144
+ </div>
145
+
146
+ <div class="p-4">
147
+ <div class="flex items-center mb-4">
148
+ <div class="w-12 h-12 rounded-full dmim-bg text-white flex items-center justify-center mr-3">
149
+ <i class="fas fa-coins text-xl"></i>
150
+ </div>
151
+ <div>
152
+ <h4 class="font-medium">Bitcoin Cash CHIP Protocol</h4>
153
+ <p class="text-sm text-gray-500">0.3% APY Yield Farming</p>
154
+ </div>
155
+ </div>
156
+
157
+ <div class="mb-4">
158
+ <p class="text-sm text-gray-700 mb-3">
159
+ DMIM is a private cryptocurrency token on the Bitcoin Cash network using the CHIP protocol.
160
+ Stake DMIM to your saved trends to earn yield.
161
+ </p>
162
+
163
+ <div class="space-y-2">
164
+ <a href="https://tokenexplorer.cash/?tokenId=81fd176d7e3769aad00bc21539082cc3345f9cd613623fa281e6726f451f32f9" target="_blank" class="flex items-center text-blue-500 text-sm">
165
+ <i class="fas fa-external-link-alt mr-2"></i> View on Token Explorer
166
+ </a>
167
+ <a href="https://app.cauldron.quest/swap/81fd176d7e3769aad00bc21539082cc3345f9cd613623fa281e6726f451f32f9" target="_blank" class="flex items-center text-blue-500 text-sm">
168
+ <i class="fas fa-exchange-alt mr-2"></i> Swap on Cauldron
169
+ </a>
170
+ <a href="https://blockchair.com/bitcoin-cash/transaction/81fd176d7e3769aad00bc21539082cc3345f9cd613623fa281e6726f451f32f9" target="_blank" class="flex items-center text-blue-500 text-sm">
171
+ <i class="fas fa-link mr-2"></i> View Transaction
172
+ </a>
173
+ </div>
174
+ </div>
175
+
176
+ <div class="bg-gray-100 rounded-lg p-3 mb-4">
177
+ <h4 class="font-medium text-sm mb-2">Your DMIM Balance</h4>
178
+ <div class="flex justify-between items-center">
179
+ <span class="font-medium" id="dmimBalance">0 DMIM</span>
180
+ <button id="addDmimBtn" class="text-sm text-dmim-bg font-medium">
181
+ <i class="fas fa-plus-circle mr-1"></i> Add DMIM
182
+ </button>
183
+ </div>
184
+ </div>
185
+
186
+ <div class="bg-gray-100 rounded-lg p-3">
187
+ <h4 class="font-medium text-sm mb-2">Stake DMIM to Trend</h4>
188
+ <div class="mb-2">
189
+ <select id="trendSelect" class="w-full p-2 rounded border border-gray-300 text-sm">
190
+ <option value="">-- Select a saved trend --</option>
191
+ </select>
192
+ </div>
193
+ <div class="mb-2">
194
+ <input type="number" id="stakeAmount" placeholder="DMIM amount" class="w-full p-2 rounded border border-gray-300 text-sm">
195
+ </div>
196
+ <button id="stakeBtn" class="w-full py-2 dmim-bg text-white rounded-lg text-sm font-medium">
197
+ Stake & Farm Yield
198
+ </button>
199
+ </div>
200
+ </div>
201
+
202
+ <div class="p-4 border-t border-gray-200 flex justify-center">
203
+ <button id="closeDmimModal" class="px-4 py-2 dmim-bg text-white rounded-md text-sm font-medium">
204
+ Close
205
+ </button>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <div id="explainerModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
211
+ <div class="bg-white rounded-lg w-full max-w-md mx-4 explainer-animate">
212
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
213
+ <h3 class="font-semibold text-lg">Performance Art Trends</h3>
214
+ <button id="closeExplainerModal" class="text-gray-500 hover:text-dmim-bg">
215
+ <i class="fas fa-times"></i>
216
+ </button>
217
+ </div>
218
+
219
+ <div class="p-4 overflow-y-auto max-h-[70vh]">
220
+ <div class="mb-6">
221
+ <div class="flex items-start mb-4">
222
+ <div class="w-10 h-10 rounded-full dmim-bg text-white flex items-center justify-center mr-3 flex-shrink-0">
223
+ <i class="fas fa-chart-pie"></i>
224
+ </div>
225
+ <div>
226
+ <h4 class="font-medium mb-1">Market Share Algorithm</h4>
227
+ <p class="text-sm text-gray-700">
228
+ Our algorithm calculates the percentage of total performance art searches that each hashtag represents.
229
+ The percentage shows the trend's market share compared to all performance art categories.
230
+ </p>
231
+ </div>
232
+ </div>
233
+
234
+ <div class="flex items-start mb-4">
235
+ <div class="w-10 h-10 rounded-full dmim-bg text-white flex items-center justify-center mr-3 flex-shrink-0">
236
+ <i class="fas fa-percentage"></i>
237
+ </div>
238
+ <div>
239
+ <h4 class="font-medium mb-1">Percentage Indicators</h4>
240
+ <p class="text-sm text-gray-700">
241
+ <span class="percentage-up">Green percentages</span> indicate increasing popularity.
242
+ <span class="percentage-down">Red percentages</span> show declining interest.
243
+ <span class="percentage-neutral">Gray percentages</span> represent stable trends.
244
+ </p>
245
+ </div>
246
+ </div>
247
+
248
+ <div class="flex items-start mb-4">
249
+ <div class="w-10 h-10 rounded-full dmim-bg text-white flex items-center justify-center mr-3 flex-shrink-0">
250
+ <i class="fas fa-tags"></i>
251
+ </div>
252
+ <div>
253
+ <h4 class="font-medium mb-1">Performance Categories</h4>
254
+ <p class="text-sm text-gray-700">
255
+ We track five main performance art categories: Music, Theater, Dance, Comedy, and Emerging Art.
256
+ Each hashtag is classified into one of these categories for market share calculation.
257
+ </p>
258
+ </div>
259
+ </div>
260
+
261
+ <div class="flex items-start mb-4">
262
+ <div class="w-10 h-10 rounded-full dmim-bg text-white flex items-center justify-center mr-3 flex-shrink-0">
263
+ <i class="fas fa-smile"></i>
264
+ </div>
265
+ <div>
266
+ <h4 class="font-medium mb-1">Sentiment Analysis</h4>
267
+ <p class="text-sm text-gray-700">
268
+ Our sentiment analysis adjusts trend percentages based on public perception.
269
+ Positive sentiment boosts growth rates, while negative sentiment reduces them.
270
+ You can adjust sentiment ratings for each trend.
271
+ </p>
272
+ </div>
273
+ </div>
274
+
275
+ <div class="bg-blue-50 border border-blue-100 rounded-lg p-3">
276
+ <div class="flex">
277
+ <div class="text-blue-500 mr-2">
278
+ <i class="fas fa-lightbulb””></i>
279
+ </div>
280
+ <p class="text-sm text-blue-800">
281
+ <strong>Pro Tip:</strong> Look for emerging trends with small but rapidly increasing percentages.
282
+ These often provide the best staking opportunities.
283
+ </p>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+ <div class="p-4 border-t border-gray-200 flex justify-center">
290
+ <button id="closeExplainerBtn" class="px-4 py-2 dmim-bg text-white rounded-md text-sm font-medium">
291
+ Got It!
292
+ </button>
293
+ </div>
294
+ </div>
295
+ </div>
296
+
297
+ <div id="sentimentModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
298
+ <div class="bg-white rounded-lg w-full max-w-md mx-4">
299
+ <div class="p-4 border-b border-gray-200">
300
+ <h3 class="font-semibold text-lg">Adjust Trend Sentiment</h3>
301
+ </div>
302
+
303
+ <div class="p-4">
304
+ <div class="mb-4">
305
+ <h4 class="font-medium mb-2" id="sentimentTrendName">#TaylorSwift</h4>
306
+ <p class="text-sm text-gray-600 mb-4">Adjust the sentiment slider to reflect current public perception of this trend.</p>
307
+
308
+ <div class="flex items-center justify-between mb-2">
309
+ <span class="text-sm font-medium text-red-500">Negative</span>
310
+ <span class="text-sm font-medium text-gray-500">Neutral</span>
311
+ <span class="text-sm font-medium text-green-500">Positive</span>
312
+ </div>
313
+ <input type="range" min="-100" max="100" value="0" class="w-full sentiment-slider neutral" id="sentimentSlider">
314
+
315
+ <div class="flex justify-between mt-1">
316
+ <span class="text-xs text-gray-500">-100</span>
317
+ <span class="text-xs text-gray-500">0</span>
318
+ <span class="text-xs text-gray-500">100</span>
319
+ </div>
320
+ </div>
321
+
322
+ <div class="mb-4">
323
+ <label class="block text-sm font-medium text-gray-700 mb-1">Recent News Headline</label>
324
+ <input type="text" id="sentimentHeadline" placeholder="Enter recent news headline..."
325
+ class="w-full py-2 px-4 rounded-lg bg-gray-100 focus:outline-none focus:ring-2 focus:ring-dmim-bg">
326
+ </div>
327
+
328
+ <div class="bg-gray-100 rounded-lg p-3 mb-4">
329
+ <h4 class="font-medium text-sm mb-2">Current Impact</h4>
330
+ <p class="text-sm" id="sentimentImpactText">Neutral sentiment will not affect trend growth.</p>
331
+ </div>
332
+ </div>
333
+
334
+ <div class="p-4 border-t border-gray-200 flex justify-end space-x-3">
335
+ <button id="cancelSentiment" class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700">
336
+ Cancel
337
+ </button>
338
+ <button id="saveSentiment" class="px-4 py-2 dmim-bg text-white rounded-md text-sm font-medium">
339
+ Save Sentiment
340
+ </button>
341
+ </div>
342
+
343
+ </div>
344
+ </div>
345
+ <div id="sentimentLegendModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
346
+ <div class="bg-white rounded-lg w-full max-w-md mx-4">
347
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
348
+ <h3 class="font-semibold text-lg">Sentiment & Icon Legend</h3>
349
+ <button id="closeLegendModal" class="text-gray-500 hover:text-dmim-bg">
350
+ <i class="fas fa-times"></i>
351
+ </button>
352
+ </div>
353
+
354
+ <div class="p-4 overflow-y-auto max-h-[70vh]">
355
+ <div class="mb-6">
356
+ <h4 class="font-medium mb-3">Sentiment Indicators</h4>
357
+
358
+ <div class="legend-item">
359
+ <div class="legend-icon text-green-500">
360
+ <i class="fas fa-smile text-xl"></i>
361
+ </div>
362
+ <div>
363
+ <p class="font-medium">Positive Sentiment</p>
364
+ <p class="text-sm text-gray-600">Boosts trend growth rate</p>
365
+ </div>
366
+ </div>
367
+ <div class="legend-item">
368
+ <div class="legend-icon text-yellow-500">
369
+ <i class="fas fa-theater-masks text-xl"></i>
370
+ </div>
371
+ <div>
372
+ <p class="font-medium">Theater</p>
373
+ <p class="text-sm text-gray-600">Stage plays and theatrical performances</p>
374
+ </div>
375
+ </div>
376
+
377
+ <div class="legend-item">
378
+ <div class="legend-icon text-pink-500">
379
+ <i class="fas fa-child text-xl"></i>
380
+ </div>
381
+ <div>
382
+ <p class="font-medium">Dance</p>
383
+ <p class="text-sm text-gray-600">Dance performances and shows</p>
384
+ </div>
385
+ </div>
386
+
387
+ <div class="legend-item">
388
+ <div class="legend-icon text-blue-500">
389
+ <i class="fas fa-laugh-squint text-xl"></i>
390
+ </div>
391
+ <div>
392
+ <p class="font-medium">Comedy</p>
393
+ <p class="text-sm text-gray-600">Stand-up and comedy performances</p>
394
+ </div>
395
+ </div>
396
+ <div class="legend-item">
397
+ <div class="legend-icon text-red-500">
398
+ <i class="fas fa-arrow-down text-xl"></i>
399
+ </div>
400
+ <div>
401
+ <p class="font-medium">Declining Trend</p>
402
+ <p class="text-sm text-gray-600">Decreasing in popularity</p>
403
+ </div>
404
+ </div>
405
+
406
+ <div class="legend-item">
407
+ <div class="legend-icon text-gray-500">
408
+ <i class="fas fa-arrows-alt-h text-xl"></i>
409
+ </div>
410
+ <div>
411
+ <p class="font-medium">Stable Trend</p>
412
+ <p class="text-sm text-gray-600">Consistent popularity</p>
413
+ </div>
414
+ </div>
415
+
416
+ <div class="legend-item">
417
+ <div class="legend-icon text-blue-500">
418
+ <i class="fas fa-check-circle text-xl"></i>
419
+ </div>
420
+ <div>
421
+ <p class="font-medium">Staked Trend</p>
422
+ <p class="text-sm text-gray-600">You have DMIM staked to this trend</p>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ </div>
427
+ <div class="p-4 border-t border-gray-200 flex justify-center">
428
+ <button id="closeLegendBtn" class="px-4 py-2 dmim-bg text-white rounded-md text-sm font-medium">
429
+ Got It!
430
+ </button>
431
+ </div>
432
+ </div>
433
+ </div>
434
+
435
+ <div id="toast" class="fixed bottom-20 left-1/2 transform -translate-x-1/2 bg-gray-800 text-white px-4 py-2 rounded-md shadow-lg hidden z-50">
436
+ <div class="flex items-center">
437
+ <span id="toastMessage">Trend saved successfully</span>
438
+ </div>
439
+ </div>
440
+ </div>
441
+ <script src="script.js"></script>
442
+ <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=privateuserh/privdmi2-01pa" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
443
+ </html>