MVCS1993 commited on
Commit
f6c4640
·
verified ·
1 Parent(s): 34e3b6f

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +748 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: My Analytics
3
- emoji: 🌍
4
- colorFrom: pink
5
- colorTo: gray
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: my-analytics
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: yellow
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,748 @@
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="pt-BR">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Leilão Analytics - Monitoramento de Leilões de Carros</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
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ }
15
+
16
+ .data-table {
17
+ width: 100%;
18
+ border-collapse: collapse;
19
+ }
20
+
21
+ .data-table th, .data-table td {
22
+ padding: 12px 15px;
23
+ text-align: left;
24
+ border-bottom: 1px solid #e5e7eb;
25
+ }
26
+
27
+ .data-table th {
28
+ background-color: #f9fafb;
29
+ font-weight: 600;
30
+ }
31
+
32
+ .data-table tr:hover {
33
+ background-color: #f3f4f6;
34
+ }
35
+
36
+ @media (max-width: 768px) {
37
+ .data-table thead {
38
+ display: none;
39
+ }
40
+
41
+ .data-table tr {
42
+ display: block;
43
+ margin-bottom: 1rem;
44
+ border: 1px solid #e5e7eb;
45
+ border-radius: 0.375rem;
46
+ }
47
+
48
+ .data-table td {
49
+ display: flex;
50
+ justify-content: space-between;
51
+ align-items: center;
52
+ padding: 0.75rem;
53
+ border-bottom: none;
54
+ }
55
+
56
+ .data-table td::before {
57
+ content: attr(data-label);
58
+ font-weight: 600;
59
+ margin-right: 1rem;
60
+ }
61
+ }
62
+
63
+ .chart-container {
64
+ height: 400px;
65
+ }
66
+ </style>
67
+ </head>
68
+ <body class="bg-gray-50">
69
+ <!-- Navigation -->
70
+ <nav class="bg-white shadow-sm">
71
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
72
+ <div class="flex justify-between h-16">
73
+ <div class="flex items-center">
74
+ <div class="flex-shrink-0 flex items-center">
75
+ <i class="fas fa-gavel text-blue-600 text-xl mr-2"></i>
76
+ <span class="font-bold text-gray-900">Leilão Analytics</span>
77
+ </div>
78
+ </div>
79
+ <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
80
+ <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
81
+ <i class="fas fa-home mr-1"></i> Início
82
+ </a>
83
+ <a href="#veiculos" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
84
+ <i class="fas fa-car mr-1"></i> Veículos
85
+ </a>
86
+ <a href="#estatisticas" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
87
+ <i class="fas fa-chart-line mr-1"></i> Estatísticas
88
+ </a>
89
+ <a href="#sobre" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
90
+ <i class="fas fa-info-circle mr-1"></i> Sobre
91
+ </a>
92
+ </div>
93
+ <div class="-mr-2 flex items-center sm:hidden">
94
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" aria-controls="mobile-menu" aria-expanded="false">
95
+ <span class="sr-only">Abrir menu</span>
96
+ <i class="fas fa-bars"></i>
97
+ </button>
98
+ </div>
99
+ </div>
100
+ </div>
101
+
102
+ <!-- Mobile menu -->
103
+ <div class="sm:hidden hidden" id="mobile-menu">
104
+ <div class="pt-2 pb-3 space-y-1">
105
+ <a href="#" class="bg-blue-50 border-blue-500 text-blue-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">
106
+ <i class="fas fa-home mr-2"></i> Início
107
+ </a>
108
+ <a href="#veiculos" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">
109
+ <i class="fas fa-car mr-2"></i> Veículos
110
+ </a>
111
+ <a href="#estatisticas" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">
112
+ <i class="fas fa-chart-line mr-2"></i> Estatísticas
113
+ </a>
114
+ <a href="#sobre" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">
115
+ <i class="fas fa-info-circle mr-2"></i> Sobre
116
+ </a>
117
+ </div>
118
+ </div>
119
+ </nav>
120
+
121
+ <!-- Header -->
122
+ <div class="bg-white shadow">
123
+ <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
124
+ <div class="flex flex-col md:flex-row justify-between items-start md:items-center">
125
+ <h1 class="text-2xl font-bold text-gray-900">
126
+ <i class="fas fa-gavel text-blue-600 mr-2"></i> Monitoramento de Leilões de Carros
127
+ </h1>
128
+ <div class="mt-4 md:mt-0 text-sm text-gray-500">
129
+ <span class="font-medium">Última atualização:</span>
130
+ <span id="last-update">15/06/2023 09:45</span>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </div>
135
+
136
+ <!-- Main Content -->
137
+ <main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
138
+ <!-- Filters -->
139
+ <div id="veiculos" class="bg-white shadow rounded-lg p-6 mb-8">
140
+ <h2 class="text-lg font-medium text-gray-900 mb-4">
141
+ <i class="fas fa-filter mr-2 text-blue-600"></i> Filtros
142
+ </h2>
143
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
144
+ <div>
145
+ <label for="marca" class="block text-sm font-medium text-gray-700">Marca</label>
146
+ <select id="marca" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
147
+ <option value="">Todas</option>
148
+ <option>Volkswagen</option>
149
+ <option>Fiat</option>
150
+ <option>Chevrolet</option>
151
+ <option>Ford</option>
152
+ <option>Toyota</option>
153
+ <option>Honda</option>
154
+ <option>Hyundai</option>
155
+ </select>
156
+ </div>
157
+ <div>
158
+ <label for="modelo" class="block text-sm font-medium text-gray-700">Modelo</label>
159
+ <select id="modelo" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
160
+ <option value="">Todos</option>
161
+ <option>Gol</option>
162
+ <option>Onix</option>
163
+ <option>HB20</option>
164
+ <option>Corolla</option>
165
+ <option>Civic</option>
166
+ </select>
167
+ </div>
168
+ <div>
169
+ <label for="ano" class="block text-sm font-medium text-gray-700">Ano</label>
170
+ <select id="ano" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
171
+ <option value="">Todos</option>
172
+ <option>2023</option>
173
+ <option>2022</option>
174
+ <option>2021</option>
175
+ <option>2020</option>
176
+ <option>2019</option>
177
+ <option>2018</option>
178
+ </select>
179
+ </div>
180
+ <div>
181
+ <label for="preco" class="block text-sm font-medium text-gray-700">Faixa de Preço</label>
182
+ <select id="preco" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
183
+ <option value="">Todas</option>
184
+ <option>Até R$ 20.000</option>
185
+ <option>R$ 20.000 - R$ 40.000</option>
186
+ <option>R$ 40.000 - R$ 60.000</option>
187
+ <option>R$ 60.000 - R$ 80.000</option>
188
+ <option>Acima de R$ 80.000</option>
189
+ </select>
190
+ </div>
191
+ </div>
192
+ <div class="mt-4 flex justify-end">
193
+ <button id="reset-filters" class="mr-2 inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
194
+ <i class="fas fa-undo mr-2"></i> Limpar
195
+ </button>
196
+ <button id="apply-filters" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
197
+ <i class="fas fa-check mr-2"></i> Aplicar
198
+ </button>
199
+ </div>
200
+ </div>
201
+
202
+ <!-- Vehicles Table -->
203
+ <div class="bg-white shadow rounded-lg overflow-hidden">
204
+ <div class="px-6 py-4 border-b border-gray-200 flex justify-between items-center">
205
+ <h2 class="text-lg font-medium text-gray-900">
206
+ <i class="fas fa-car mr-2 text-blue-600"></i> Veículos Leiloados
207
+ </h2>
208
+ <div class="text-sm text-gray-500">
209
+ <span id="total-vehicles">1.248</span> resultados encontrados
210
+ </div>
211
+ </div>
212
+ <div class="overflow-x-auto">
213
+ <table class="data-table">
214
+ <thead>
215
+ <tr>
216
+ <th>Veículo</th>
217
+ <th>Ano</th>
218
+ <th>KM</th>
219
+ <th>Valor</th>
220
+ <th>Data Leilão</th>
221
+ <th>Condição</th>
222
+ <th>Ações</th>
223
+ </tr>
224
+ </thead>
225
+ <tbody>
226
+ <tr>
227
+ <td data-label="Veículo">
228
+ <div class="font-medium">Volkswagen Gol 1.0</div>
229
+ <div class="text-sm text-gray-500">1.0 MPI 8V Flex 4p</div>
230
+ </td>
231
+ <td data-label="Ano">2020/2021</td>
232
+ <td data-label="KM">45.200 km</td>
233
+ <td data-label="Valor">
234
+ <div class="font-medium text-blue-600">R$ 42.900</div>
235
+ <div class="text-xs text-gray-500">14/06/2023</div>
236
+ </td>
237
+ <td data-label="Data Leilão">14/06/2023</td>
238
+ <td data-label="Condição">
239
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
240
+ Conservado
241
+ </span>
242
+ </td>
243
+ <td data-label="Ações">
244
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3">
245
+ <i class="fas fa-external-link-alt"></i>
246
+ </a>
247
+ <a href="#" class="text-gray-600 hover:text-gray-900">
248
+ <i class="fas fa-chart-line"></i>
249
+ </a>
250
+ </td>
251
+ </tr>
252
+ <tr>
253
+ <td data-label="Veículo">
254
+ <div class="font-medium">Chevrolet Onix Plus</div>
255
+ <div class="text-sm text-gray-500">1.0 Turbo Flex LT 4p</div>
256
+ </td>
257
+ <td data-label="Ano">2022/2022</td>
258
+ <td data-label="KM">18.750 km</td>
259
+ <td data-label="Valor">
260
+ <div class="font-medium text-blue-600">R$ 67.500</div>
261
+ <div class="text-xs text-gray-500">13/06/2023</div>
262
+ </td>
263
+ <td data-label="Data Leilão">13/06/2023</td>
264
+ <td data-label="Condição">
265
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
266
+ Sinistro
267
+ </span>
268
+ </td>
269
+ <td data-label="Ações">
270
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3">
271
+ <i class="fas fa-external-link-alt"></i>
272
+ </a>
273
+ <a href="#" class="text-gray-600 hover:text-gray-900">
274
+ <i class="fas fa-chart-line"></i>
275
+ </a>
276
+ </td>
277
+ </tr>
278
+ <tr>
279
+ <td data-label="Veículo">
280
+ <div class="font-medium">Toyota Corolla</div>
281
+ <div class="text-sm text-gray-500">2.0 Flex XEi 4p</div>
282
+ </td>
283
+ <td data-label="Ano">2019/2020</td>
284
+ <td data-label="KM">78.300 km</td>
285
+ <td data-label="Valor">
286
+ <div class="font-medium text-blue-600">R$ 89.900</div>
287
+ <div class="text-xs text-gray-500">12/06/2023</div>
288
+ </td>
289
+ <td data-label="Data Leilão">12/06/2023</td>
290
+ <td data-label="Condição">
291
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
292
+ Conservado
293
+ </span>
294
+ </td>
295
+ <td data-label="Ações">
296
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3">
297
+ <i class="fas fa-external-link-alt"></i>
298
+ </a>
299
+ <a href="#" class="text-gray-600 hover:text-gray-900">
300
+ <i class="fas fa-chart-line"></i>
301
+ </a>
302
+ </td>
303
+ </tr>
304
+ <tr>
305
+ <td data-label="Veículo">
306
+ <div class="font-medium">Fiat Toro</div>
307
+ <div class="text-sm text-gray-500">1.8 Flex Freedom 4x4 CD</div>
308
+ </td>
309
+ <td data-label="Ano">2021/2021</td>
310
+ <td data-label="KM">32.100 km</td>
311
+ <td data-label="Valor">
312
+ <div class="font-medium text-blue-600">R$ 95.800</div>
313
+ <div class="text-xs text-gray-500">11/06/2023</div>
314
+ </td>
315
+ <td data-label="Data Leilão">11/06/2023</td>
316
+ <td data-label="Condição">
317
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">
318
+ Sucata
319
+ </span>
320
+ </td>
321
+ <td data-label="Ações">
322
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3">
323
+ <i class="fas fa-external-link-alt"></i>
324
+ </a>
325
+ <a href="#" class="text-gray-600 hover:text-gray-900">
326
+ <i class="fas fa-chart-line"></i>
327
+ </a>
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td data-label="Veículo">
332
+ <div class="font-medium">Hyundai HB20</div>
333
+ <div class="text-sm text-gray-500">1.0 Comfort Plus 12V Flex</div>
334
+ </td>
335
+ <td data-label="Ano">2020/2020</td>
336
+ <td data-label="KM">56.700 km</td>
337
+ <td data-label="Valor">
338
+ <div class="font-medium text-blue-600">R$ 48.300</div>
339
+ <div class="text-xs text-gray-500">10/06/2023</div>
340
+ </td>
341
+ <td data-label="Data Leilão">10/06/2023</td>
342
+ <td data-label="Condição">
343
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
344
+ Sinistro
345
+ </span>
346
+ </td>
347
+ <td data-label="Ações">
348
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3">
349
+ <i class="fas fa-external-link-alt"></i>
350
+ </a>
351
+ <a href="#" class="text-gray-600 hover:text-gray-900">
352
+ <i class="fas fa-chart-line"></i>
353
+ </a>
354
+ </td>
355
+ </tr>
356
+ </tbody>
357
+ </table>
358
+ </div>
359
+ <div class="px-6 py-4 border-t border-gray-200 flex items-center justify-between">
360
+ <div class="flex-1 flex justify-between sm:hidden">
361
+ <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
362
+ Anterior
363
+ </a>
364
+ <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
365
+ Próxima
366
+ </a>
367
+ </div>
368
+ <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
369
+ <div>
370
+ <p class="text-sm text-gray-700">
371
+ Mostrando
372
+ <span class="font-medium">1</span>
373
+ a
374
+ <span class="font-medium">5</span>
375
+ de
376
+ <span class="font-medium">1.248</span>
377
+ resultados
378
+ </p>
379
+ </div>
380
+ <div>
381
+ <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
382
+ <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
383
+ <span class="sr-only">Anterior</span>
384
+ <i class="fas fa-chevron-left"></i>
385
+ </a>
386
+ <a href="#" aria-current="page" class="z-10 bg-blue-50 border-blue-500 text-blue-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
387
+ 1
388
+ </a>
389
+ <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
390
+ 2
391
+ </a>
392
+ <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
393
+ 3
394
+ </a>
395
+ <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
396
+ ...
397
+ </span>
398
+ <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">
399
+ 25
400
+ </a>
401
+ <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
402
+ <span class="sr-only">Próxima</span>
403
+ <i class="fas fa-chevron-right"></i>
404
+ </a>
405
+ </nav>
406
+ </div>
407
+ </div>
408
+ </div>
409
+ </div>
410
+
411
+ <!-- Statistics -->
412
+ <div id="estatisticas" class="bg-white shadow rounded-lg p-6 mt-8">
413
+ <h2 class="text-lg font-medium text-gray-900 mb-6">
414
+ <i class="fas fa-chart-line mr-2 text-blue-600"></i> Estatísticas de Preços
415
+ </h2>
416
+
417
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
418
+ <div>
419
+ <h3 class="text-md font-medium text-gray-900 mb-4">Preço Médio por Modelo (últimos 30 dias)</h3>
420
+ <div class="chart-container">
421
+ <canvas id="priceChart" class="w-full h-full"></canvas>
422
+ </div>
423
+ </div>
424
+ <div>
425
+ <h3 class="text-md font-medium text-gray-900 mb-4">Distribuição de Condições</h3>
426
+ <div class="chart-container">
427
+ <canvas id="conditionChart" class="w-full h-full"></canvas>
428
+ </div>
429
+ </div>
430
+ </div>
431
+
432
+ <div class="mt-8">
433
+ <h3 class="text-md font-medium text-gray-900 mb-4">Top 10 Modelos Mais Leiloados</h3>
434
+ <div class="overflow-x-auto">
435
+ <table class="min-w-full divide-y divide-gray-200">
436
+ <thead class="bg-gray-50">
437
+ <tr>
438
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Modelo</th>
439
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Quantidade</th>
440
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Preço Médio</th>
441
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Variação (30d)</th>
442
+ </tr>
443
+ </thead>
444
+ <tbody class="bg-white divide-y divide-gray-200">
445
+ <tr>
446
+ <td class="px-6 py-4 whitespace-nowrap">
447
+ <div class="flex items-center">
448
+ <div class="text-sm font-medium text-gray-900">Volkswagen Gol</div>
449
+ </div>
450
+ </td>
451
+ <td class="px-6 py-4 whitespace-nowrap">
452
+ <div class="text-sm text-gray-900">128</div>
453
+ </td>
454
+ <td class="px-6 py-4 whitespace-nowrap">
455
+ <div class="text-sm text-gray-900">R$ 43.250</div>
456
+ </td>
457
+ <td class="px-6 py-4 whitespace-nowrap">
458
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
459
+ +2.5%
460
+ </span>
461
+ </td>
462
+ </tr>
463
+ <tr>
464
+ <td class="px-6 py-4 whitespace-nowrap">
465
+ <div class="flex items-center">
466
+ <div class="text-sm font-medium text-gray-900">Chevrolet Onix</div>
467
+ </div>
468
+ </td>
469
+ <td class="px-6 py-4 whitespace-nowrap">
470
+ <div class="text-sm text-gray-900">97</div>
471
+ </td>
472
+ <td class="px-6 py-4 whitespace-nowrap">
473
+ <div class="text-sm text-gray-900">R$ 65.800</div>
474
+ </td>
475
+ <td class="px-6 py-4 whitespace-nowrap">
476
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
477
+ +1.8%
478
+ </span>
479
+ </td>
480
+ </tr>
481
+ <tr>
482
+ <td class="px-6 py-4 whitespace-nowrap">
483
+ <div class="flex items-center">
484
+ <div class="text-sm font-medium text-gray-900">Hyundai HB20</div>
485
+ </div>
486
+ </td>
487
+ <td class="px-6 py-4 whitespace-nowrap">
488
+ <div class="text-sm text-gray-900">85</div>
489
+ </td>
490
+ <td class="px-6 py-4 whitespace-nowrap">
491
+ <div class="text-sm text-gray-900">R$ 49.750</div>
492
+ </td>
493
+ <td class="px-6 py-4 whitespace-nowrap">
494
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">
495
+ -1.2%
496
+ </span>
497
+ </td>
498
+ </tr>
499
+ <tr>
500
+ <td class="px-6 py-4 whitespace-nowrap">
501
+ <div class="flex items-center">
502
+ <div class="text-sm font-medium text-gray-900">Fiat Argo</div>
503
+ </div>
504
+ </td>
505
+ <td class="px-6 py-4 whitespace-nowrap">
506
+ <div class="text-sm text-gray-900">72</div>
507
+ </td>
508
+ <td class="px-6 py-4 whitespace-nowrap">
509
+ <div class="text-sm text-gray-900">R$ 54.300</div>
510
+ </td>
511
+ <td class="px-6 py-4 whitespace-nowrap">
512
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
513
+ +3.1%
514
+ </span>
515
+ </td>
516
+ </tr>
517
+ <tr>
518
+ <td class="px-6 py-4 whitespace-nowrap">
519
+ <div class="flex items-center">
520
+ <div class="text-sm font-medium text-gray-900">Toyota Corolla</div>
521
+ </div>
522
+ </td>
523
+ <td class="px-6 py-4 whitespace-nowrap">
524
+ <div class="text-sm text-gray-900">68</div>
525
+ </td>
526
+ <td class="px-6 py-4 whitespace-nowrap">
527
+ <div class="text-sm text-gray-900">R$ 91.200</div>
528
+ </td>
529
+ <td class="px-6 py-4 whitespace-nowrap">
530
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
531
+ +0.7%
532
+ </span>
533
+ </td>
534
+ </tr>
535
+ </tbody>
536
+ </table>
537
+ </div>
538
+ </div>
539
+ </div>
540
+
541
+ <!-- About -->
542
+ <div id="sobre" class="bg-white shadow rounded-lg p-6 mt-8">
543
+ <h2 class="text-lg font-medium text-gray-900 mb-4">
544
+ <i class="fas fa-info-circle mr-2 text-blue-600"></i> Sobre o Projeto
545
+ </h2>
546
+ <div class="prose max-w-none text-gray-600">
547
+ <p>O <strong>Leilão Analytics</strong> é um sistema de monitoramento de leilões de veículos que coleta dados automaticamente do site <a href="https://www.parquedosleiloes.com.br" target="_blank" class="text-blue-600 hover:text-blue-800">Parque dos Leilões</a>, filtrando apenas informações sobre carros.</p>
548
+
549
+ <h3 class="text-md font-medium text-gray-900 mt-6">Como Funciona</h3>
550
+ <p>Nosso sistema realiza web scraping diariamente para coletar informações sobre:</p>
551
+ <ul class="list-disc pl-5 space-y-1">
552
+ <li>Nome do veículo (marca e modelo)</li>
553
+ <li>Ano de fabricação</li>
554
+ <li>Quilometragem</li>
555
+ <li>Valor de arremate</li>
556
+ <li>Data do leilão</li>
557
+ <li>Link direto para o leilão</li>
558
+ <li>Condição do veículo (sinistro, sucata, conservado, etc)</li>
559
+ </ul>
560
+
561
+ <h3 class="text-md font-medium text-gray-900 mt-6">Tecnologias Utilizadas</h3>
562
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mt-4">
563
+ <div class="bg-gray-50 p-4 rounded-lg text-center">
564
+ <i class="fab fa-python text-4xl text-blue-600 mb-2"></i>
565
+ <div class="font-medium">Python</div>
566
+ <div class="text-sm text-gray-500">BeautifulSoup/Playwright</div>
567
+ </div>
568
+ <div class="bg-gray-50 p-4 rounded-lg text-center">
569
+ <i class="fas fa-database text-4xl text-blue-600 mb-2"></i>
570
+ <div class="font-medium">SQLite</div>
571
+ <div class="text-sm text-gray-500">Banco de Dados</div>
572
+ </div>
573
+ <div class="bg-gray-50 p-4 rounded-lg text-center">
574
+ <i class="fab fa-js text-4xl text-blue-600 mb-2"></i>
575
+ <div class="font-medium">JavaScript</div>
576
+ <div class="text-sm text-gray-500">Frontend</div>
577
+ </div>
578
+ <div class="bg-gray-50 p-4 rounded-lg text-center">
579
+ <i class="fas fa-server text-4xl text-blue-600 mb-2"></i>
580
+ <div class="font-medium">Flask</div>
581
+ <div class="text-sm text-gray-500">Backend</div>
582
+ </div>
583
+ </div>
584
+
585
+ <h3 class="text-md font-medium text-gray-900 mt-6">Objetivo</h3>
586
+ <p>Este projeto foi desenvolvido para ajudar compradores e vendedores a entenderem melhor o mercado de leilões de veículos, fornecendo dados históricos e estatísticas que permitem tomar decisões mais informadas.</p>
587
+ </div>
588
+ </div>
589
+ </main>
590
+
591
+ <!-- Footer -->
592
+ <footer class="bg-white mt-12 border-t border-gray-200">
593
+ <div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
594
+ <nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
595
+ <div class="px-5 py-2">
596
+ <a href="#" class="text-base text-gray-500 hover:text-gray-900">Início</a>
597
+ </div>
598
+ <div class="px-5 py-2">
599
+ <a href="#veiculos" class="text-base text-gray-500 hover:text-gray-900">Veículos</a>
600
+ </div>
601
+ <div class="px-5 py-2">
602
+ <a href="#estatisticas" class="text-base text-gray-500 hover:text-gray-900">Estatísticas</a>
603
+ </div>
604
+ <div class="px-5 py-2">
605
+ <a href="#sobre" class="text-base text-gray-500 hover:text-gray-900">Sobre</a>
606
+ </div>
607
+ <div class="px-5 py-2">
608
+ <a href="#" class="text-base text-gray-500 hover:text-gray-900">Termos</a>
609
+ </div>
610
+ <div class="px-5 py-2">
611
+ <a href="#" class="text-base text-gray-500 hover:text-gray-900">Privacidade</a>
612
+ </div>
613
+ </nav>
614
+ <div class="mt-8 flex justify-center space-x-6">
615
+ <a href="#" class="text-gray-400 hover:text-gray-500">
616
+ <span class="sr-only">Facebook</span>
617
+ <i class="fab fa-facebook-f"></i>
618
+ </a>
619
+ <a href="#" class="text-gray-400 hover:text-gray-500">
620
+ <span class="sr-only">Instagram</span>
621
+ <i class="fab fa-instagram"></i>
622
+ </a>
623
+ <a href="#" class="text-gray-400 hover:text-gray-500">
624
+ <span class="sr-only">Twitter</span>
625
+ <i class="fab fa-twitter"></i>
626
+ </a>
627
+ <a href="#" class="text-gray-400 hover:text-gray-500">
628
+ <span class="sr-only">GitHub</span>
629
+ <i class="fab fa-github"></i>
630
+ </a>
631
+ </div>
632
+ <p class="mt-8 text-center text-base text-gray-400">
633
+ &copy; 2023 Leilão Analytics. Todos os direitos reservados.
634
+ </p>
635
+ </div>
636
+ </footer>
637
+
638
+ <!-- Scripts -->
639
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
640
+ <script>
641
+ // Mobile menu toggle
642
+ document.querySelector('[aria-controls="mobile-menu"]').addEventListener('click', function() {
643
+ const menu = document.getElementById('mobile-menu');
644
+ menu.classList.toggle('hidden');
645
+ });
646
+
647
+ // Filter functionality
648
+ document.getElementById('apply-filters').addEventListener('click', function() {
649
+ // In a real app, this would make an API call with the filter values
650
+ alert('Filtros aplicados! (Simulação)');
651
+ });
652
+
653
+ document.getElementById('reset-filters').addEventListener('click', function() {
654
+ document.getElementById('marca').value = '';
655
+ document.getElementById('modelo').value = '';
656
+ document.getElementById('ano').value = '';
657
+ document.getElementById('preco').value = '';
658
+ });
659
+
660
+ // Charts
661
+ const priceCtx = document.getElementById('priceChart').getContext('2d');
662
+ const priceChart = new Chart(priceCtx, {
663
+ type: 'bar',
664
+ data: {
665
+ labels: ['Gol', 'Onix', 'HB20', 'Corolla', 'Civic', 'Argo'],
666
+ datasets: [{
667
+ label: 'Preço Médio (R$)',
668
+ data: [43250, 65800, 49750, 91200, 78500, 54300],
669
+ backgroundColor: 'rgba(59, 130, 246, 0.7)',
670
+ borderColor: 'rgba(59, 130, 246, 1)',
671
+ borderWidth: 1
672
+ }]
673
+ },
674
+ options: {
675
+ responsive: true,
676
+ maintainAspectRatio: false,
677
+ scales: {
678
+ y: {
679
+ beginAtZero: false,
680
+ ticks: {
681
+ callback: function(value) {
682
+ return 'R$ ' + value.toLocaleString('pt-BR');
683
+ }
684
+ }
685
+ }
686
+ },
687
+ plugins: {
688
+ tooltip: {
689
+ callbacks: {
690
+ label: function(context) {
691
+ return 'R$ ' + context.raw.toLocaleString('pt-BR');
692
+ }
693
+ }
694
+ }
695
+ }
696
+ }
697
+ });
698
+
699
+ const conditionCtx = document.getElementById('conditionChart').getContext('2d');
700
+ const conditionChart = new Chart(conditionCtx, {
701
+ type: 'doughnut',
702
+ data: {
703
+ labels: ['Conservado', 'Sinistro', 'Sucata', 'Outros'],
704
+ datasets: [{
705
+ data: [45, 35, 15, 5],
706
+ backgroundColor: [
707
+ 'rgba(16, 185, 129, 0.7)',
708
+ 'rgba(245, 158, 11, 0.7)',
709
+ 'rgba(239, 68, 68, 0.7)',
710
+ 'rgba(156, 163, 175, 0.7)'
711
+ ],
712
+ borderColor: [
713
+ 'rgba(16, 185, 129, 1)',
714
+ 'rgba(245, 158, 11, 1)',
715
+ 'rgba(239, 68, 68, 1)',
716
+ 'rgba(156, 163, 175, 1)'
717
+ ],
718
+ borderWidth: 1
719
+ }]
720
+ },
721
+ options: {
722
+ responsive: true,
723
+ maintainAspectRatio: false,
724
+ plugins: {
725
+ legend: {
726
+ position: 'right',
727
+ }
728
+ }
729
+ }
730
+ });
731
+
732
+ // Update last update time
733
+ function updateLastUpdate() {
734
+ const now = new Date();
735
+ const options = {
736
+ day: '2-digit',
737
+ month: '2-digit',
738
+ year: 'numeric',
739
+ hour: '2-digit',
740
+ minute: '2-digit'
741
+ };
742
+ document.getElementById('last-update').textContent = now.toLocaleDateString('pt-BR', options);
743
+ }
744
+
745
+ updateLastUpdate();
746
+ </script>
747
+ <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=MVCS1993/my-analytics" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
748
+ </html>
prompts.txt ADDED
File without changes