Lewrybe commited on
Commit
077c3e2
·
verified ·
1 Parent(s): 2839b10

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +451 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Revisor Abnt
3
- emoji: 👀
4
- colorFrom: red
5
- colorTo: yellow
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: revisor-abnt
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
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,451 @@
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>Revisor ABNT - Ferramenta de Revisão Acadêmica</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
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ academic: {
15
+ blue: '#2C3E50',
16
+ light: '#ECF0F1',
17
+ accent: '#3498DB',
18
+ dark: '#1A252F'
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
24
+ </script>
25
+ <style>
26
+ .editor-area {
27
+ min-height: 500px;
28
+ border: 1px solid #ddd;
29
+ padding: 20px;
30
+ background-color: white;
31
+ line-height: 1.6;
32
+ font-size: 16px;
33
+ text-align: justify;
34
+ }
35
+
36
+ .suggestions-panel {
37
+ max-height: 500px;
38
+ overflow-y: auto;
39
+ }
40
+
41
+ .suggestion-item {
42
+ transition: all 0.3s ease;
43
+ }
44
+
45
+ .suggestion-item:hover {
46
+ background-color: #f0f7ff;
47
+ }
48
+
49
+ .progress-bar {
50
+ transition: width 0.5s ease;
51
+ }
52
+
53
+ @media print {
54
+ .no-print {
55
+ display: none !important;
56
+ }
57
+
58
+ .editor-area {
59
+ border: none;
60
+ padding: 0;
61
+ }
62
+ }
63
+
64
+ .tooltip {
65
+ position: relative;
66
+ display: inline-block;
67
+ }
68
+
69
+ .tooltip .tooltiptext {
70
+ visibility: hidden;
71
+ width: 200px;
72
+ background-color: #555;
73
+ color: #fff;
74
+ text-align: center;
75
+ border-radius: 6px;
76
+ padding: 5px;
77
+ position: absolute;
78
+ z-index: 1;
79
+ bottom: 125%;
80
+ left: 50%;
81
+ margin-left: -100px;
82
+ opacity: 0;
83
+ transition: opacity 0.3s;
84
+ }
85
+
86
+ .tooltip:hover .tooltiptext {
87
+ visibility: visible;
88
+ opacity: 1;
89
+ }
90
+ </style>
91
+ </head>
92
+ <body class="bg-academic-light">
93
+ <header class="bg-academic-blue text-white shadow-lg">
94
+ <div class="container mx-auto px-4 py-6">
95
+ <div class="flex justify-between items-center">
96
+ <div class="flex items-center space-x-4">
97
+ <i class="fas fa-graduation-cap text-3xl text-accent"></i>
98
+ <h1 class="text-2xl font-bold">Revisor ABNT</h1>
99
+ </div>
100
+ <nav class="hidden md:flex space-x-6">
101
+ <a href="#" class="hover:text-accent transition">Início</a>
102
+ <a href="#" class="hover:text-accent transition">Recursos</a>
103
+ <a href="#" class="hover:text-accent transition">Tutoriais</a>
104
+ <a href="#" class="hover:text-accent transition">Sobre</a>
105
+ </nav>
106
+ <button class="md:hidden text-xl">
107
+ <i class="fas fa-bars"></i>
108
+ </button>
109
+ </div>
110
+ </div>
111
+ </header>
112
+
113
+ <main class="container mx-auto px-4 py-8">
114
+ <div class="bg-white rounded-lg shadow-xl overflow-hidden mb-8">
115
+ <div class="bg-accent text-white px-6 py-4">
116
+ <h2 class="text-xl font-semibold">Revisor Acadêmico ABNT</h2>
117
+ <p class="text-sm opacity-90">Revise seu trabalho acadêmico de acordo com as normas da ABNT</p>
118
+ </div>
119
+
120
+ <div class="p-6">
121
+ <div class="flex flex-wrap -mx-4">
122
+ <div class="w-full lg:w-2/3 px-4 mb-6 lg:mb-0">
123
+ <div class="flex justify-between items-center mb-4">
124
+ <div class="flex space-x-2">
125
+ <button class="bg-accent hover:bg-academic-blue text-white px-3 py-1 rounded tooltip">
126
+ <i class="fas fa-file-upload"></i>
127
+ <span class="tooltiptext">Importar documento</span>
128
+ </button>
129
+ <button class="bg-gray-200 hover:bg-gray-300 px-3 py-1 rounded tooltip">
130
+ <i class="fas fa-file-export"></i>
131
+ <span class="tooltiptext">Exportar documento</span>
132
+ </button>
133
+ <button class="bg-gray-200 hover:bg-gray-300 px-3 py-1 rounded tooltip">
134
+ <i class="fas fa-print"></i>
135
+ <span class="tooltiptext">Imprimir</span>
136
+ </button>
137
+ </div>
138
+ <div>
139
+ <select class="border rounded px-3 py-1 text-sm">
140
+ <option>ABNT (Padrão)</option>
141
+ <option>APA</option>
142
+ <option>Vancouver</option>
143
+ <option>IEEE</option>
144
+ </select>
145
+ </div>
146
+ </div>
147
+
148
+ <div class="editor-area rounded" id="editor" contenteditable="true">
149
+ <h1 class="text-2xl font-bold text-center mb-6">TÍTULO DO TRABALHO ACADÊMICO</h1>
150
+ <p class="text-center mb-8">Nome completo do autor</p>
151
+
152
+ <h2 class="text-xl font-semibold mb-4">1. INTRODUÇÃO</h2>
153
+ <p class="mb-4">A introdução é a parte inicial do texto, onde devem constar a delimitação do assunto tratado, objetivos da pesquisa e outros elementos necessários para situar o tema do trabalho. Segundo a ABNT NBR 14724, a introdução deve apresentar o assunto do trabalho, os objetivos, a justificativa, o problema de pesquisa, a hipótese (quando couber), a metodologia utilizada e a estrutura do trabalho.</p>
154
+
155
+ <h2 class="text-xl font-semibold mb-4">2. DESENVOLVIMENTO</h2>
156
+ <p class="mb-4">O desenvolvimento é a parte principal do trabalho, que contém a exposição ordenada e pormenorizada do assunto. Divide-se em seções e subseções, que variam em função da abordagem do tema e do método. De acordo com a ABNT, o texto deve ser redigido em terceira pessoa do singular, com linguagem clara, objetiva e impessoal.</p>
157
+
158
+ <h2 class="text-xl font-semibold mb-4">3. CONCLUSÃO</h2>
159
+ <p>A conclusão deve apresentar uma síntese dos resultados do trabalho, respondendo aos objetivos e hipóteses levantadas na introdução. Não deve conter elementos novos não abordados no desenvolvimento. A ABNT recomenda que a conclusão seja breve e objetiva, destacando as principais contribuições do trabalho.</p>
160
+ </div>
161
+
162
+ <div class="mt-4 flex justify-between items-center">
163
+ <div class="text-sm text-gray-600">
164
+ <span id="word-count">0</span> palavras | <span id="character-count">0</span> caracteres
165
+ </div>
166
+ <button id="analyze-btn" class="bg-accent hover:bg-academic-blue text-white px-6 py-2 rounded-lg font-medium flex items-center">
167
+ <i class="fas fa-search mr-2"></i> Analisar Documento
168
+ </button>
169
+ </div>
170
+ </div>
171
+
172
+ <div class="w-full lg:w-1/3 px-4">
173
+ <div class="bg-white border rounded-lg shadow-sm overflow-hidden">
174
+ <div class="bg-gray-100 px-4 py-3 border-b">
175
+ <h3 class="font-medium text-academic-blue">
176
+ <i class="fas fa-lightbulb mr-2"></i> Sugestões e Correções
177
+ </h3>
178
+ </div>
179
+
180
+ <div class="suggestions-panel p-4" id="suggestions-panel">
181
+ <div class="text-center py-8 text-gray-500" id="empty-suggestions">
182
+ <i class="fas fa-comment-dots text-3xl mb-3"></i>
183
+ <p>Nenhuma sugestão disponível ainda.</p>
184
+ <p class="text-sm mt-1">Clique em "Analisar Documento" para iniciar a revisão.</p>
185
+ </div>
186
+
187
+ <div id="suggestions-container" class="hidden">
188
+ <div class="mb-4">
189
+ <div class="flex justify-between items-center mb-2">
190
+ <h4 class="font-medium text-academic-blue">Resumo da Análise</h4>
191
+ <span class="text-xs bg-accent text-white px-2 py-1 rounded">ABNT</span>
192
+ </div>
193
+ <div class="bg-blue-50 p-3 rounded text-sm">
194
+ <div class="flex justify-between mb-1">
195
+ <span>Formatação</span>
196
+ <span>85% correto</span>
197
+ </div>
198
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
199
+ <div class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 85%"></div>
200
+ </div>
201
+
202
+ <div class="flex justify-between mb-1 mt-3">
203
+ <span>Normas ABNT</span>
204
+ <span>72% correto</span>
205
+ </div>
206
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
207
+ <div class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 72%"></div>
208
+ </div>
209
+
210
+ <div class="flex justify-between mb-1 mt-3">
211
+ <span>Qualidade do Texto</span>
212
+ <span>68% correto</span>
213
+ </div>
214
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
215
+ <div class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 68%"></div>
216
+ </div>
217
+ </div>
218
+ </div>
219
+
220
+ <div class="mb-4">
221
+ <h4 class="font-medium text-academic-blue mb-2">Principais Problemas Encontrados</h4>
222
+ <div class="space-y-3">
223
+ <div class="suggestion-item bg-red-50 border-l-4 border-red-500 p-3 rounded-r text-sm cursor-pointer">
224
+ <div class="font-medium text-red-700">Formatação de títulos</div>
225
+ <p class="text-gray-700">Os títulos das seções devem estar em negrito e alinhados à esquerda, sem ponto final.</p>
226
+ </div>
227
+ <div class="suggestion-item bg-yellow-50 border-l-4 border-yellow-500 p-3 rounded-r text-sm cursor-pointer">
228
+ <div class="font-medium text-yellow-700">Citações diretas</div>
229
+ <p class="text-gray-700">Citações com mais de 3 linhas devem ter recuo de 4cm da margem esquerda, fonte tamanho 10 e espaçamento simples.</p>
230
+ </div>
231
+ <div class="suggestion-item bg-blue-50 border-l-4 border-blue-500 p-3 rounded-r text-sm cursor-pointer">
232
+ <div class="font-medium text-blue-700">Referências bibliográficas</div>
233
+ <p class="text-gray-700">As referências devem ser listadas em ordem alfabética, com espaçamento simples entre linhas e duplo entre referências.</p>
234
+ </div>
235
+ </div>
236
+ </div>
237
+
238
+ <div>
239
+ <h4 class="font-medium text-academic-blue mb-2">Sugestões de Melhoria</h4>
240
+ <div class="space-y-3">
241
+ <div class="suggestion-item bg-green-50 border-l-4 border-green-500 p-3 rounded-r text-sm cursor-pointer">
242
+ <div class="font-medium text-green-700">Clareza no texto</div>
243
+ <p class="text-gray-700">Considere reformular esta frase para torná-la mais clara e objetiva.</p>
244
+ </div>
245
+ <div class="suggestion-item bg-purple-50 border-l-4 border-purple-500 p-3 rounded-r text-sm cursor-pointer">
246
+ <div class="font-medium text-purple-700">Termos técnicos</div>
247
+ <p class="text-gray-700">Este termo técnico deve ser definido na primeira vez que aparece no texto.</p>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </div>
254
+
255
+ <div class="bg-white border rounded-lg shadow-sm overflow-hidden mt-6">
256
+ <div class="bg-gray-100 px-4 py-3 border-b">
257
+ <h3 class="font-medium text-academic-blue">
258
+ <i class="fas fa-question-circle mr-2"></i> Ajuda Rápida ABNT
259
+ </h3>
260
+ </div>
261
+ <div class="p-4">
262
+ <div class="space-y-3 text-sm">
263
+ <div class="flex items-start">
264
+ <div class="bg-accent text-white rounded-full w-6 h-6 flex items-center justify-center flex-shrink-0 mr-2">1</div>
265
+ <p>Margens: 3cm superior e esquerda; 2cm inferior e direita.</p>
266
+ </div>
267
+ <div class="flex items-start">
268
+ <div class="bg-accent text-white rounded-full w-6 h-6 flex items-center justify-center flex-shrink-0 mr-2">2</div>
269
+ <p>Fonte: Times New Roman ou Arial, tamanho 12 para texto principal.</p>
270
+ </div>
271
+ <div class="flex items-start">
272
+ <div class="bg-accent text-white rounded-full w-6 h-6 flex items-center justify-center flex-shrink-0 mr-2">3</div>
273
+ <p>Espaçamento: 1,5 entre linhas no texto; simples em citações longas e referências.</p>
274
+ </div>
275
+ <div class="flex items-start">
276
+ <div class="bg-accent text-white rounded-full w-6 h-6 flex items-center justify-center flex-shrink-0 mr-2">4</div>
277
+ <p>Paginação: números no canto superior direito, a 2cm da borda.</p>
278
+ </div>
279
+ </div>
280
+ <button class="mt-4 text-sm text-accent hover:underline flex items-center">
281
+ <i class="fas fa-external-link-alt mr-1"></i> Ver guia completo da ABNT
282
+ </button>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ </div>
288
+ </div>
289
+
290
+ <div class="bg-white rounded-lg shadow-xl overflow-hidden mb-8">
291
+ <div class="bg-academic-blue text-white px-6 py-4">
292
+ <h2 class="text-xl font-semibold">Modelos Prontos</h2>
293
+ <p class="text-sm opacity-90">Selecione um modelo de trabalho acadêmico para começar</p>
294
+ </div>
295
+
296
+ <div class="p-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
297
+ <div class="border rounded-lg overflow-hidden hover:shadow-md transition cursor-pointer">
298
+ <div class="bg-blue-100 p-4 text-center">
299
+ <i class="fas fa-file-alt text-4xl text-accent mb-3"></i>
300
+ <h3 class="font-medium">TCC</h3>
301
+ </div>
302
+ <div class="p-4 border-t text-sm">
303
+ <p>Modelo completo de Trabalho de Conclusão de Curso com todas as seções necessárias.</p>
304
+ <button class="mt-3 w-full bg-accent hover:bg-academic-blue text-white py-1 rounded text-sm">
305
+ Usar Modelo
306
+ </button>
307
+ </div>
308
+ </div>
309
+
310
+ <div class="border rounded-lg overflow-hidden hover:shadow-md transition cursor-pointer">
311
+ <div class="bg-green-100 p-4 text-center">
312
+ <i class="fas fa-scroll text-4xl text-green-600 mb-3"></i>
313
+ <h3 class="font-medium">Artigo Científico</h3>
314
+ </div>
315
+ <div class="p-4 border-t text-sm">
316
+ <p>Estrutura padrão para artigos científicos com até 15 páginas.</p>
317
+ <button class="mt-3 w-full bg-accent hover:bg-academic-blue text-white py-1 rounded text-sm">
318
+ Usar Modelo
319
+ </button>
320
+ </div>
321
+ </div>
322
+
323
+ <div class="border rounded-lg overflow-hidden hover:shadow-md transition cursor-pointer">
324
+ <div class="bg-purple-100 p-4 text-center">
325
+ <i class="fas fa-book text-4xl text-purple-600 mb-3"></i>
326
+ <h3 class="font-medium">Monografia</h3>
327
+ </div>
328
+ <div class="p-4 border-t text-sm">
329
+ <p>Modelo completo para monografias de graduação e pós-graduação.</p>
330
+ <button class="mt-3 w-full bg-accent hover:bg-academic-blue text-white py-1 rounded text-sm">
331
+ Usar Modelo
332
+ </button>
333
+ </div>
334
+ </div>
335
+
336
+ <div class="border rounded-lg overflow-hidden hover:shadow-md transition cursor-pointer">
337
+ <div class="bg-yellow-100 p-4 text-center">
338
+ <i class="fas fa-theater-masks text-4xl text-yellow-600 mb-3"></i>
339
+ <h3 class="font-medium">Resenha</h3>
340
+ </div>
341
+ <div class="p-4 border-t text-sm">
342
+ <p>Estrutura para resenhas críticas e resumos acadêmicos.</p>
343
+ <button class="mt-3 w-full bg-accent hover:bg-academic-blue text-white py-1 rounded text-sm">
344
+ Usar Modelo
345
+ </button>
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ </main>
351
+
352
+ <footer class="bg-academic-dark text-white py-8">
353
+ <div class="container mx-auto px-4">
354
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
355
+ <div>
356
+ <h3 class="text-lg font-semibold mb-4">Revisor ABNT</h3>
357
+ <p class="text-academic-light text-sm">Ferramenta completa para revisão e formatação de trabalhos acadêmicos de acordo com as normas da ABNT e outras normas técnicas.</p>
358
+ </div>
359
+ <div>
360
+ <h3 class="text-lg font-semibold mb-4">Links Úteis</h3>
361
+ <ul class="space-y-2 text-sm text-academic-light">
362
+ <li><a href="#" class="hover:text-accent transition">Normas ABNT</a></li>
363
+ <li><a href="#" class="hover:text-accent transition">Tutoriais</a></li>
364
+ <li><a href="#" class="hover:text-accent transition">Modelos de Trabalhos</a></li>
365
+ <li><a href="#" class="hover:text-accent transition">Perguntas Frequentes</a></li>
366
+ </ul>
367
+ </div>
368
+ <div>
369
+ <h3 class="text-lg font-semibold mb-4">Contato</h3>
370
+ <ul class="space-y-2 text-sm text-academic-light">
371
+ <li class="flex items-center"><i class="fas fa-envelope mr-2"></i> contato@revisorabnt.com</li>
372
+ <li class="flex items-center"><i class="fas fa-phone mr-2"></i> (11) 1234-5678</li>
373
+ <li class="flex items-center"><i class="fas fa-map-marker-alt mr-2"></i> São Paulo, SP</li>
374
+ </ul>
375
+ </div>
376
+ </div>
377
+ <div class="border-t border-academic-blue mt-8 pt-6 text-sm text-center text-academic-light">
378
+ <p>© 2023 Revisor ABNT. Todos os direitos reservados.</p>
379
+ </div>
380
+ </div>
381
+ </footer>
382
+
383
+ <script>
384
+ document.addEventListener('DOMContentLoaded', function() {
385
+ const editor = document.getElementById('editor');
386
+ const analyzeBtn = document.getElementById('analyze-btn');
387
+ const emptySuggestions = document.getElementById('empty-suggestions');
388
+ const suggestionsContainer = document.getElementById('suggestions-container');
389
+ const wordCountElement = document.getElementById('word-count');
390
+ const characterCountElement = document.getElementById('character-count');
391
+
392
+ // Contador de palavras e caracteres
393
+ function updateCounts() {
394
+ const text = editor.innerText;
395
+ const words = text.trim() === '' ? 0 : text.trim().split(/\s+/).length;
396
+ const characters = text.length;
397
+
398
+ wordCountElement.textContent = words;
399
+ characterCountElement.textContent = characters;
400
+ }
401
+
402
+ editor.addEventListener('input', updateCounts);
403
+ updateCounts();
404
+
405
+ // Simular análise do documento
406
+ analyzeBtn.addEventListener('click', function() {
407
+ analyzeBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Analisando...';
408
+ analyzeBtn.disabled = true;
409
+
410
+ // Simular tempo de análise
411
+ setTimeout(function() {
412
+ emptySuggestions.classList.add('hidden');
413
+ suggestionsContainer.classList.remove('hidden');
414
+ analyzeBtn.innerHTML = '<i class="fas fa-check mr-2"></i> Análise Concluída';
415
+
416
+ // Resetar botão após alguns segundos
417
+ setTimeout(function() {
418
+ analyzeBtn.innerHTML = '<i class="fas fa-sync-alt mr-2"></i> Reanalisar';
419
+ analyzeBtn.disabled = false;
420
+ }, 3000);
421
+ }, 2000);
422
+ });
423
+
424
+ // Simular clique nas sugestões
425
+ const suggestionItems = document.querySelectorAll('.suggestion-item');
426
+ suggestionItems.forEach(item => {
427
+ item.addEventListener('click', function() {
428
+ // Simular aplicação da sugestão
429
+ this.classList.add('opacity-50');
430
+ const checkIcon = document.createElement('i');
431
+ checkIcon.className = 'fas fa-check ml-2 text-green-500';
432
+
433
+ const title = this.querySelector('.font-medium');
434
+ if (title && !title.querySelector('.fa-check')) {
435
+ title.appendChild(checkIcon);
436
+ }
437
+ });
438
+ });
439
+
440
+ // Simular seleção de modelo
441
+ const modelButtons = document.querySelectorAll('[class*="grid-cols-4"] button');
442
+ modelButtons.forEach(button => {
443
+ button.addEventListener('click', function() {
444
+ const modelTitle = this.closest('.border').querySelector('h3').textContent;
445
+ alert(`Modelo "${modelTitle}" carregado com sucesso!`);
446
+ });
447
+ });
448
+ });
449
+ </script>
450
+ <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=Lewrybe/revisor-abnt" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
451
+ </html>