Vanimal0221 commited on
Commit
98dccc1
·
verified ·
1 Parent(s): 28719b2

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +490 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Treeburner
3
- emoji: 💻
4
- colorFrom: gray
5
- colorTo: green
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: treeburner
3
+ emoji: 🐳
4
+ colorFrom: blue
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,490 @@
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">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>TreeView - Rate and Burn Trees</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
+ <style>
10
+ .tree-card {
11
+ transition: all 0.3s ease;
12
+ }
13
+ .tree-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
16
+ }
17
+ .burn-progress {
18
+ height: 6px;
19
+ transition: width 0.3s ease;
20
+ }
21
+ .burn-animation {
22
+ animation: burn 0.5s infinite alternate;
23
+ }
24
+ @keyframes burn {
25
+ from { box-shadow: 0 0 5px #ff4500; }
26
+ to { box-shadow: 0 0 20px #ff4500, 0 0 10px #ff8c00; }
27
+ }
28
+ .flame {
29
+ position: absolute;
30
+ width: 15px;
31
+ height: 15px;
32
+ background: linear-gradient(white 80%, transparent);
33
+ border-radius: 50% 50% 20% 20%;
34
+ transform: rotate(-45deg);
35
+ filter: blur(1px);
36
+ animation: flicker 0.3s infinite alternate;
37
+ }
38
+ @keyframes flicker {
39
+ 0%, 100% { transform: rotate(-45deg) scale(1); opacity: 1; }
40
+ 50% { transform: rotate(-45deg) scale(1.1); opacity: 0.8; }
41
+ }
42
+ </style>
43
+ </head>
44
+ <body class="bg-green-50">
45
+ <header class="bg-green-800 text-white py-6 shadow-lg">
46
+ <div class="container mx-auto px-4">
47
+ <div class="flex justify-between items-center">
48
+ <h1 class="text-3xl font-bold flex items-center">
49
+ <i class="fas fa-tree mr-3"></i> TreeView
50
+ </h1>
51
+ <nav>
52
+ <ul class="flex space-x-6">
53
+ <li><a href="#" class="hover:text-green-200">Home</a></li>
54
+ <li><a href="#" class="hover:text-green-200">Top Trees</a></li>
55
+ <li><a href="#" class="hover:text-green-200">Worst Trees</a></li>
56
+ <li><a href="#" class="hover:text-green-200">About</a></li>
57
+ </ul>
58
+ </nav>
59
+ </div>
60
+ </div>
61
+ </header>
62
+
63
+ <main class="container mx-auto px-4 py-8">
64
+ <div class="mb-12 text-center">
65
+ <h2 class="text-4xl font-bold text-green-900 mb-4">Rate Trees in Your Area</h2>
66
+ <p class="text-xl text-green-700 max-w-2xl mx-auto">
67
+ Discover, review, and if you must... burn the trees around you.
68
+ Each tree is identified by its coordinates for precise identification.
69
+ </p>
70
+ </div>
71
+
72
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
73
+ <!-- Tree Card 1 -->
74
+ <div class="tree-card bg-white rounded-lg overflow-hidden shadow-md relative">
75
+ <div class="p-6">
76
+ <div class="flex justify-between items-start mb-4">
77
+ <h3 class="text-xl font-bold text-green-900">Tree @ (40.7128° N, 74.0060° W)</h3>
78
+ <div class="flex items-center bg-green-100 px-2 py-1 rounded">
79
+ <span class="text-green-800 font-bold mr-1">4.2</span>
80
+ <i class="fas fa-star text-yellow-400"></i>
81
+ </div>
82
+ </div>
83
+ <p class="text-gray-600 mb-4">
84
+ A majestic oak tree standing tall in Central Park. Known for its wide canopy that provides excellent shade during summer months.
85
+ </p>
86
+ <div class="mb-4">
87
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
88
+ <span>Shade Quality</span>
89
+ <span>4.5/5</span>
90
+ </div>
91
+ <div class="w-full bg-gray-200 rounded-full h-2">
92
+ <div class="bg-green-500 h-2 rounded-full" style="width: 90%"></div>
93
+ </div>
94
+ </div>
95
+ <div class="mb-4">
96
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
97
+ <span>Aesthetic</span>
98
+ <span>4.0/5</span>
99
+ </div>
100
+ <div class="w-full bg-gray-200 rounded-full h-2">
101
+ <div class="bg-green-500 h-2 rounded-full" style="width: 80%"></div>
102
+ </div>
103
+ </div>
104
+
105
+ <div class="border-t pt-4">
106
+ <h4 class="font-semibold mb-2">Recent Reviews</h4>
107
+ <div class="space-y-3">
108
+ <div class="bg-gray-50 p-3 rounded">
109
+ <div class="flex justify-between">
110
+ <span class="font-medium">Sarah J.</span>
111
+ <div class="flex">
112
+ <i class="fas fa-star text-yellow-400"></i>
113
+ <i class="fas fa-star text-yellow-400"></i>
114
+ <i class="fas fa-star text-yellow-400"></i>
115
+ <i class="fas fa-star text-yellow-400"></i>
116
+ <i class="fas fa-star text-yellow-400"></i>
117
+ </div>
118
+ </div>
119
+ <p class="text-sm mt-1">Perfect spot for a picnic! The shade is amazing in summer.</p>
120
+ </div>
121
+ <div class="bg-gray-50 p-3 rounded">
122
+ <div class="flex justify-between">
123
+ <span class="font-medium">Mike T.</span>
124
+ <div class="flex">
125
+ <i class="fas fa-star text-yellow-400"></i>
126
+ <i class="fas fa-star text-yellow-400"></i>
127
+ <i class="fas fa-star text-yellow-400"></i>
128
+ <i class="fas fa-star text-yellow-400"></i>
129
+ <i class="far fa-star text-yellow-400"></i>
130
+ </div>
131
+ </div>
132
+ <p class="text-sm mt-1">Great tree but the squirrels are too aggressive here.</p>
133
+ </div>
134
+ </div>
135
+ </div>
136
+
137
+ <div class="mt-4">
138
+ <button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded flex items-center justify-center">
139
+ <i class="fas fa-pen mr-2"></i> Write a Review
140
+ </button>
141
+ </div>
142
+ </div>
143
+ </div>
144
+
145
+ <!-- Tree Card 2 -->
146
+ <div class="tree-card bg-white rounded-lg overflow-hidden shadow-md relative">
147
+ <div class="p-6">
148
+ <div class="flex justify-between items-start mb-4">
149
+ <h3 class="text-xl font-bold text-green-900">Tree @ (34.0522° N, 118.2437° W)</h3>
150
+ <div class="flex items-center bg-green-100 px-2 py-1 rounded">
151
+ <span class="text-green-800 font-bold mr-1">3.8</span>
152
+ <i class="fas fa-star text-yellow-400"></i>
153
+ </div>
154
+ </div>
155
+ <p class="text-gray-600 mb-4">
156
+ A palm tree on Venice Beach. Provides minimal shade but has great ocean views. Often has seagulls nesting in it.
157
+ </p>
158
+ <div class="mb-4">
159
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
160
+ <span>Shade Quality</span>
161
+ <span>2.0/5</span>
162
+ </div>
163
+ <div class="w-full bg-gray-200 rounded-full h-2">
164
+ <div class="bg-yellow-500 h-2 rounded-full" style="width: 40%"></div>
165
+ </div>
166
+ </div>
167
+ <div class="mb-4">
168
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
169
+ <span>Aesthetic</span>
170
+ <span>4.5/5</span>
171
+ </div>
172
+ <div class="w-full bg-gray-200 rounded-full h-2">
173
+ <div class="bg-green-500 h-2 rounded-full" style="width: 90%"></div>
174
+ </div>
175
+ </div>
176
+
177
+ <div class="border-t pt-4">
178
+ <h4 class="font-semibold mb-2">Recent Reviews</h4>
179
+ <div class="space-y-3">
180
+ <div class="bg-gray-50 p-3 rounded">
181
+ <div class="flex justify-between">
182
+ <span class="font-medium">Lisa M.</span>
183
+ <div class="flex">
184
+ <i class="fas fa-star text-yellow-400"></i>
185
+ <i class="fas fa-star text-yellow-400"></i>
186
+ <i class="fas fa-star text-yellow-400"></i>
187
+ <i class="fas fa-star text-yellow-400"></i>
188
+ <i class="far fa-star text-yellow-400"></i>
189
+ </div>
190
+ </div>
191
+ <p class="text-sm mt-1">Iconic beach tree but watch out for bird droppings!</p>
192
+ </div>
193
+ <div class="bg-gray-50 p-3 rounded">
194
+ <div class="flex justify-between">
195
+ <span class="font-medium">Dave K.</span>
196
+ <div class="flex">
197
+ <i class="fas fa-star text-yellow-400"></i>
198
+ <i class="fas fa-star text-yellow-400"></i>
199
+ <i class="fas fa-star text-yellow-400"></i>
200
+ <i class="far fa-star text-yellow-400"></i>
201
+ <i class="far fa-star text-yellow-400"></i>
202
+ </div>
203
+ </div>
204
+ <p class="text-sm mt-1">Too many tourists taking selfies with this tree.</p>
205
+ </div>
206
+ </div>
207
+ </div>
208
+
209
+ <div class="mt-4">
210
+ <button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded flex items-center justify-center">
211
+ <i class="fas fa-pen mr-2"></i> Write a Review
212
+ </button>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Tree Card 3 - With Burn Option -->
218
+ <div class="tree-card bg-white rounded-lg overflow-hidden shadow-md relative">
219
+ <div class="p-6">
220
+ <div class="flex justify-between items-start mb-4">
221
+ <h3 class="text-xl font-bold text-green-900">Tree @ (41.8781° N, 87.6298° W)</h3>
222
+ <div class="flex items-center bg-red-100 px-2 py-1 rounded">
223
+ <span class="text-red-800 font-bold mr-1">1.4</span>
224
+ <i class="fas fa-star text-yellow-400"></i>
225
+ </div>
226
+ </div>
227
+ <p class="text-gray-600 mb-4">
228
+ A diseased elm tree in a Chicago alley. Leaning dangerously and dropping branches. Many complaints from neighbors.
229
+ </p>
230
+ <div class="mb-4">
231
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
232
+ <span>Safety</span>
233
+ <span>1.0/5</span>
234
+ </div>
235
+ <div class="w-full bg-gray-200 rounded-full h-2">
236
+ <div class="bg-red-500 h-2 rounded-full" style="width: 20%"></div>
237
+ </div>
238
+ </div>
239
+ <div class="mb-4">
240
+ <div class="flex justify-between text-sm text-gray-500 mb-1">
241
+ <span>Aesthetic</span>
242
+ <span>2.0/5</span>
243
+ </div>
244
+ <div class="w-full bg-gray-200 rounded-full h-2">
245
+ <div class="bg-yellow-500 h-2 rounded-full" style="width: 40%"></div>
246
+ </div>
247
+ </div>
248
+
249
+ <div class="border-t pt-4">
250
+ <h4 class="font-semibold mb-2">Recent Reviews</h4>
251
+ <div class="space-y-3">
252
+ <div class="bg-gray-50 p-3 rounded">
253
+ <div class="flex justify-between">
254
+ <span class="font-medium">Robert G.</span>
255
+ <div class="flex">
256
+ <i class="fas fa-star text-yellow-400"></i>
257
+ <i class="far fa-star text-yellow-400"></i>
258
+ <i class="far fa-star text-yellow-400"></i>
259
+ <i class="far fa-star text-yellow-400"></i>
260
+ <i class="far fa-star text-yellow-400"></i>
261
+ </div>
262
+ </div>
263
+ <p class="text-sm mt-1">This tree dropped a branch on my car! Should be removed immediately.</p>
264
+ </div>
265
+ <div class="bg-gray-50 p-3 rounded">
266
+ <div class="flex justify-between">
267
+ <span class="font-medium">Emma L.</span>
268
+ <div class="flex">
269
+ <i class="fas fa-star text-yellow-400"></i>
270
+ <i class="fas fa-star text-yellow-400"></i>
271
+ <i class="far fa-star text-yellow-400"></i>
272
+ <i class="far fa-star text-yellow-400"></i>
273
+ <i class="far fa-star text-yellow-400"></i>
274
+ </div>
275
+ </div>
276
+ <p class="text-sm mt-1">It's ugly but at least the birds like it.</p>
277
+ </div>
278
+ </div>
279
+ </div>
280
+
281
+ <div class="mt-4 space-y-3">
282
+ <button class="w-full bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded flex items-center justify-center">
283
+ <i class="fas fa-pen mr-2"></i> Write a Review
284
+ </button>
285
+
286
+ <!-- Burn Tree Section -->
287
+ <div id="burn-section" class="border border-red-200 rounded-lg p-4 bg-red-50">
288
+ <h4 class="font-semibold text-red-800 mb-2 flex items-center">
289
+ <i class="fas fa-fire mr-2"></i> Burn This Tree?
290
+ </h4>
291
+ <p class="text-sm text-red-700 mb-3">
292
+ Rated this tree 1 star? Pay $5 to have it burned (not really, this is just for fun).
293
+ </p>
294
+ <button id="burn-btn" class="w-full bg-red-600 hover:bg-red-700 text-white py-2 px-4 rounded flex items-center justify-center">
295
+ <i class="fas fa-fire mr-2"></i> Burn It For $5
296
+ </button>
297
+ </div>
298
+
299
+ <!-- Burn Progress (Hidden Initially) -->
300
+ <div id="burn-progress" class="hidden border border-red-200 rounded-lg p-4 bg-red-50">
301
+ <h4 class="font-semibold text-red-800 mb-2 flex items-center">
302
+ <i class="fas fa-fire mr-2"></i> Burn In Progress
303
+ </h4>
304
+
305
+ <div id="burn-status" class="text-sm font-medium text-red-800 mb-2">
306
+ Burn request created...
307
+ </div>
308
+
309
+ <div class="relative pt-1 mb-3">
310
+ <div class="flex mb-2 items-center justify-between">
311
+ <div>
312
+ <span id="progress-percent" class="text-xs font-semibold inline-block text-red-600">
313
+ 0%
314
+ </span>
315
+ </div>
316
+ </div>
317
+ <div class="overflow-hidden h-2 mb-4 text-xs flex rounded bg-red-200">
318
+ <div id="progress-bar" style="width:0%" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-red-600"></div>
319
+ </div>
320
+ </div>
321
+
322
+ <div id="burn-steps" class="space-y-3">
323
+ <div class="flex items-center">
324
+ <div class="flex-shrink-0 h-8 w-8 rounded-full bg-red-200 flex items-center justify-center">
325
+ <i class="fas fa-check text-red-600"></i>
326
+ </div>
327
+ <div class="ml-3 text-sm font-medium text-red-800">
328
+ Burn request created
329
+ </div>
330
+ </div>
331
+
332
+ <div id="crew-dispatched" class="flex items-center opacity-50">
333
+ <div class="flex-shrink-0 h-8 w-8 rounded-full bg-red-200 flex items-center justify-center">
334
+ <i class="fas fa-truck text-red-600"></i>
335
+ </div>
336
+ <div class="ml-3 text-sm font-medium text-red-800">
337
+ Burning crew dispatched
338
+ </div>
339
+ </div>
340
+
341
+ <div id="crew-arrived" class="flex items-center opacity-50">
342
+ <div class="flex-shrink-0 h-8 w-8 rounded-full bg-red-200 flex items-center justify-center">
343
+ <i class="fas fa-map-marker-alt text-red-600"></i>
344
+ </div>
345
+ <div class="ml-3 text-sm font-medium text-red-800">
346
+ Crew arrived at tree
347
+ </div>
348
+ </div>
349
+
350
+ <div id="tree-burning" class="flex items-center opacity-50">
351
+ <div class="flex-shrink-0 h-8 w-8 rounded-full bg-red-200 flex items-center justify-center">
352
+ <i class="fas fa-fire text-red-600"></i>
353
+ </div>
354
+ <div class="ml-3 text-sm font-medium text-red-800">
355
+ Tree is burning
356
+ </div>
357
+ </div>
358
+
359
+ <div id="tree-gone" class="flex items-center opacity-50">
360
+ <div class="flex-shrink-0 h-8 w-8 rounded-full bg-red-200 flex items-center justify-center">
361
+ <i class="fas fa-check-double text-red-600"></i>
362
+ </div>
363
+ <div class="ml-3 text-sm font-medium text-red-800">
364
+ Tree is gone
365
+ </div>
366
+ </div>
367
+ </div>
368
+ </div>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ </div>
373
+ </main>
374
+
375
+ <footer class="bg-green-900 text-white py-8">
376
+ <div class="container mx-auto px-4">
377
+ <div class="flex flex-col md:flex-row justify-between">
378
+ <div class="mb-6 md:mb-0">
379
+ <h3 class="text-xl font-bold mb-4 flex items-center">
380
+ <i class="fas fa-tree mr-2"></i> TreeView
381
+ </h3>
382
+ <p class="text-green-200 max-w-md">
383
+ The premier platform for tree enthusiasts and arsonists alike. Rate your local trees or pay to have them burned (not really).
384
+ </p>
385
+ </div>
386
+ <div class="grid grid-cols-2 gap-8">
387
+ <div>
388
+ <h4 class="text-lg font-semibold mb-4">Navigation</h4>
389
+ <ul class="space-y-2">
390
+ <li><a href="#" class="text-green-200 hover:text-white">Home</a></li>
391
+ <li><a href="#" class="text-green-200 hover:text-white">Top Trees</a></li>
392
+ <li><a href="#" class="text-green-200 hover:text-white">Worst Trees</a></li>
393
+ <li><a href="#" class="text-green-200 hover:text-white">About</a></li>
394
+ </ul>
395
+ </div>
396
+ <div>
397
+ <h4 class="text-lg font-semibold mb-4">Legal</h4>
398
+ <ul class="space-y-2">
399
+ <li><a href="#" class="text-green-200 hover:text-white">Terms</a></li>
400
+ <li><a href="#" class="text-green-200 hover:text-white">Privacy</a></li>
401
+ <li><a href="#" class="text-green-200 hover:text-white">Disclaimer</a></li>
402
+ <li><a href="#" class="text-green-200 hover:text-white">Contact</a></li>
403
+ </ul>
404
+ </div>
405
+ </div>
406
+ </div>
407
+ <div class="border-t border-green-800 mt-8 pt-6 text-center text-green-300">
408
+ <p>© 2023 TreeView. All rights reserved. (No trees were actually harmed in the making of this website)</p>
409
+ </div>
410
+ </div>
411
+ </footer>
412
+
413
+ <script>
414
+ document.getElementById('burn-btn').addEventListener('click', function() {
415
+ // Hide the burn button
416
+ document.getElementById('burn-section').classList.add('hidden');
417
+
418
+ // Show the progress section
419
+ document.getElementById('burn-progress').classList.remove('hidden');
420
+
421
+ // Total time between 10-30 seconds
422
+ const totalTime = Math.floor(Math.random() * 20000) + 10000;
423
+
424
+ // Random intervals for each step
425
+ const step1 = Math.floor(totalTime * 0.2);
426
+ const step2 = step1 + Math.floor(totalTime * 0.3);
427
+ const step3 = step2 + Math.floor(totalTime * 0.3);
428
+ const step4 = totalTime;
429
+
430
+ let currentProgress = 0;
431
+ const progressInterval = setInterval(() => {
432
+ currentProgress += 100;
433
+ const percent = Math.min(100, Math.floor((currentProgress / totalTime) * 100));
434
+
435
+ document.getElementById('progress-bar').style.width = percent + '%';
436
+ document.getElementById('progress-percent').textContent = percent + '%';
437
+
438
+ if (percent >= 100) {
439
+ clearInterval(progressInterval);
440
+ }
441
+ }, 100);
442
+
443
+ // Update status messages at random intervals
444
+ setTimeout(() => {
445
+ document.getElementById('burn-status').textContent = 'Burning crew dispatched to location...';
446
+ document.getElementById('crew-dispatched').classList.remove('opacity-50');
447
+ }, step1);
448
+
449
+ setTimeout(() => {
450
+ document.getElementById('burn-status').textContent = 'Crew has arrived at the tree...';
451
+ document.getElementById('crew-arrived').classList.remove('opacity-50');
452
+ }, step2);
453
+
454
+ setTimeout(() => {
455
+ document.getElementById('burn-status').textContent = 'Tree is now burning!';
456
+ document.getElementById('tree-burning').classList.remove('opacity-50');
457
+
458
+ // Add flame animations
459
+ for (let i = 0; i < 5; i++) {
460
+ const flame = document.createElement('div');
461
+ flame.className = 'flame';
462
+ flame.style.left = Math.random() * 80 + 10 + '%';
463
+ flame.style.top = Math.random() * 50 + 10 + '%';
464
+ document.getElementById('burn-progress').appendChild(flame);
465
+ }
466
+ }, step3);
467
+
468
+ setTimeout(() => {
469
+ document.getElementById('burn-status').textContent = 'Tree has been successfully burned!';
470
+ document.getElementById('tree-gone').classList.remove('opacity-50');
471
+
472
+ // Change the tree card to show it's burned
473
+ const treeCard = document.querySelector('.tree-card:nth-child(3)');
474
+ treeCard.classList.add('burn-animation');
475
+ treeCard.querySelector('h3').textContent += ' (BURNED)';
476
+ treeCard.querySelector('h3').classList.add('text-red-600');
477
+
478
+ // Remove flames after animation
479
+ setTimeout(() => {
480
+ const flames = document.querySelectorAll('.flame');
481
+ flames.forEach(flame => flame.remove());
482
+ treeCard.classList.remove('burn-animation');
483
+ }, 2000);
484
+
485
+ clearInterval(progressInterval);
486
+ }, step4);
487
+ });
488
+ </script>
489
+ <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=Vanimal0221/treeburner" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
490
+ </html>