Andy Valery commited on
Commit
5698d32
·
verified ·
1 Parent(s): ef3a8f1

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +540 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Docbf
3
- emoji: 🏃
4
  colorFrom: green
5
- colorTo: purple
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: docbf
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,540 @@
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="it">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Doc BandiFinder - Ricerca Bandi Pubblici</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
12
+ }
13
+ .bando-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
16
+ }
17
+ .checkbox-custom {
18
+ appearance: none;
19
+ -webkit-appearance: none;
20
+ width: 24px;
21
+ height: 24px;
22
+ border: 2px solid #4f46e5;
23
+ border-radius: 4px;
24
+ cursor: pointer;
25
+ position: relative;
26
+ }
27
+ .checkbox-custom:checked {
28
+ background-color: #4f46e5;
29
+ }
30
+ .checkbox-custom:checked::after {
31
+ content: '\2713';
32
+ position: absolute;
33
+ color: white;
34
+ font-size: 14px;
35
+ top: 50%;
36
+ left: 50%;
37
+ transform: translate(-50%, -50%);
38
+ }
39
+ .animate-pulse {
40
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
41
+ }
42
+ @keyframes pulse {
43
+ 0%, 100% { opacity: 1; }
44
+ 50% { opacity: 0.5; }
45
+ }
46
+ </style>
47
+ </head>
48
+ <body class="bg-gray-50 min-h-screen">
49
+ <!-- Header -->
50
+ <header class="gradient-bg text-white shadow-lg">
51
+ <div class="container mx-auto px-4 py-6">
52
+ <div class="flex justify-between items-center">
53
+ <div class="flex items-center space-x-2">
54
+ <i class="fas fa-file-contract text-3xl"></i>
55
+ <h1 class="text-2xl font-bold">Doc BandiFinder</h1>
56
+ </div>
57
+ <nav>
58
+ <ul class="flex space-x-6">
59
+ <li><a href="#" class="hover:underline">Home</a></li>
60
+ <li><a href="#" class="hover:underline">Preferiti</a></li>
61
+ <li><a href="#" class="hover:underline">Guide</a></li>
62
+ <li><a href="#" class="hover:underline">Contatti</a></li>
63
+ </ul>
64
+ </nav>
65
+ <div class="flex items-center space-x-4">
66
+ <button class="bg-white text-indigo-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition">
67
+ Accedi
68
+ </button>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </header>
73
+
74
+ <!-- Hero Section -->
75
+ <section class="gradient-bg text-white py-16">
76
+ <div class="container mx-auto px-4 text-center">
77
+ <h2 class="text-4xl font-bold mb-6">Trova il bando perfetto per la tua attività</h2>
78
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Accedi alla più completa banca dati di bandi pubblici e privati. Filtra, salva e gestisci tutte le opportunità in un unico posto.</p>
79
+
80
+ <!-- Search Bar -->
81
+ <div class="max-w-3xl mx-auto bg-white rounded-lg shadow-xl overflow-hidden">
82
+ <div class="flex">
83
+ <input type="text" placeholder="Cerca per parola chiave, ente, settore..."
84
+ class="flex-grow px-6 py-4 text-gray-800 focus:outline-none">
85
+ <button class="bg-indigo-700 text-white px-6 py-4 hover:bg-indigo-800 transition">
86
+ <i class="fas fa-search mr-2"></i> Cerca
87
+ </button>
88
+ </div>
89
+ </div>
90
+
91
+ <div class="mt-6 flex justify-center space-x-4">
92
+ <span class="text-sm">Ricerca avanzata</span>
93
+ <i class="fas fa-chevron-down animate-bounce"></i>
94
+ </div>
95
+ </div>
96
+ </section>
97
+
98
+ <!-- Advanced Filters -->
99
+ <section class="container mx-auto px-4 py-8 -mt-8 z-10 relative">
100
+ <div class="bg-white rounded-xl shadow-lg p-6">
101
+ <h3 class="text-xl font-semibold mb-4 text-gray-800">Filtra i bandi</h3>
102
+
103
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
104
+ <!-- Filter 1 -->
105
+ <div>
106
+ <label class="block text-sm font-medium text-gray-700 mb-1">Tipo di bando</label>
107
+ <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
108
+ <option>Tutti i tipi</option>
109
+ <option>Contributi a fondo perduto</option>
110
+ <option>Finanziamenti agevolati</option>
111
+ <option>Gare d'appalto</option>
112
+ <option>Concorsi</option>
113
+ </select>
114
+ </div>
115
+
116
+ <!-- Filter 2 -->
117
+ <div>
118
+ <label class="block text-sm font-medium text-gray-700 mb-1">Settore</label>
119
+ <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
120
+ <option>Tutti i settori</option>
121
+ <option>Agricoltura</option>
122
+ <option>Artigianato</option>
123
+ <option>Commercio</option>
124
+ <option>Industria</option>
125
+ <tag>Turismo</tag>
126
+ <option>Innovazione</option>
127
+ </select>
128
+ </div>
129
+
130
+ <!-- Filter 3 -->
131
+ <div>
132
+ <label class="block text-sm font-medium text-gray-700 mb-1">Scadenza</label>
133
+ <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
134
+ <option>Tutte le scadenze</option>
135
+ <option>Scadono questa settimana</option>
136
+ <option>Scadono questo mese</option>
137
+ <option>Scadono nei prossimi 3 meses</option>
138
+ <option>Scaduti</option>
139
+ </select>
140
+ </div>
141
+ </div>
142
+
143
+ <div class="mt-6 grid grid-cols-1 md:grid-cols-4 gap-4">
144
+ <div class="flex items-center">
145
+ <input type="checkbox" id="europei" class="checkbox-custom mr-2">
146
+ <label for="europei" class="text-sm text-gray-700">Bandi europei</label>
147
+ </div>
148
+ <div class="flex items-center">
149
+ <input type="checkbox" id="nazionali" class="checkbox-custom mr-2">
150
+ <label for="nazionali" class="text-sm text-gray-700">Bandi nazionali</label>
151
+ </div>
152
+ <div class="flex items-center">
153
+ <input type="checkbox" id="regionali" class="checkbox-custom mr-2">
154
+ <label for="regionali" class="text-sm text-gray-700">Bandi regionali</label>
155
+ </div>
156
+ <div class="flex items-center">
157
+ <input type="checkbox" id="locali" class="checkbox-custom mr-2">
158
+ <label for="locali" class="text-sm text-gray-700">Bandi locali</label>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="mt-6 flex justify-between">
163
+ <button class="text-indigo-600 font-medium hover:underline">
164
+ <i class="fas fa-redo mr-2"></i> Resetta filtri
165
+ </button>
166
+ <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition">
167
+ Applica filtri
168
+ </button>
169
+ </div>
170
+ </div>
171
+ </section>
172
+
173
+ <!-- Main Content -->
174
+ <main class="container mx-auto px-4 py-8">
175
+ <div class="flex justify-between items-center mb-8">
176
+ <h2 class="text-2xl font-bold text-gray-800">Bandi disponibili</h2>
177
+ <div class="flex items-center space-x-4">
178
+ <span class="text-sm text-gray-600">Ordina per:</span>
179
+ <select class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
180
+ <option>Più recenti</option>
181
+ <option>Scadenza più vicina</option>
182
+ <option>Importo più alto</option>
183
+ <option>Più rilevanti</option>
184
+ </select>
185
+ </div>
186
+ </div>
187
+
188
+ <!-- Results Count -->
189
+ <div class="mb-6 bg-indigo-50 text-indigo-800 px-4 py-3 rounded-lg">
190
+ <span class="font-medium">124</span> bandi trovati
191
+ </div>
192
+
193
+ <!-- Bandi List -->
194
+ <div class="grid grid-cols-1 gap-6" id="bandi-list">
195
+ <!-- Bando Item 1 -->
196
+ <div class="bando-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
197
+ <div class="p-6">
198
+ <div class="flex justify-between items-start">
199
+ <div>
200
+ <div class="flex items-center mb-2">
201
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Nuovo</span>
202
+ <span class="ml-2 text-sm text-gray-500">Pubblicato: 15/06/2023</span>
203
+ </div>
204
+ <h3 class="text-xl font-bold text-gray-800 mb-2">Contributo per l'innovazione digitale PMI</h3>
205
+ <p class="text-gray-600 mb-4">Finanziamento a fondo perduto per progetti di digitalizzazione delle piccole e medie imprese nel settore manifatturiero.</p>
206
+
207
+ <div class="flex flex-wrap gap-2 mb-4">
208
+ <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Digitalizzazione</span>
209
+ <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">Industria 4.0</span>
210
+ <span class="bg-yellow-100 text-yellow-800 text-xs px-3 py-1 rounded-full">Fondo perduto</span>
211
+ </div>
212
+ </div>
213
+ <div class="flex flex-col items-end">
214
+ <div class="text-right mb-4">
215
+ <p class="text-sm text-gray-500">Scadenza:</p>
216
+ <p class="text-lg font-semibold text-red-600">30/09/2023</p>
217
+ </div>
218
+ <div class="text-right mb-4">
219
+ <p class="text-sm text-gray-500">Contributo massimo:</p>
220
+ <p class="text-lg font-semibold text-green-600">€50.000</p>
221
+ </div>
222
+ <div class="flex space-x-2">
223
+ <button class="text-gray-400 hover:text-indigo-600 transition">
224
+ <i class="far fa-heart text-xl"></i>
225
+ </button>
226
+ <button class="text-gray-400 hover:text-indigo-600 transition">
227
+ <i class="far fa-bell text-xl"></i>
228
+ </button>
229
+ <button class="text-gray-400 hover:text-indigo-600 transition">
230
+ <i class="far fa-share-square text-xl"></i>
231
+ </button>
232
+ </div>
233
+ </div>
234
+ </div>
235
+
236
+ <div class="flex justify-between items-center pt-4 border-t border-gray-200">
237
+ <div class="flex items-center">
238
+ <img src="https://via.placeholder.com/40" alt="Logo ente" class="w-10 h-10 rounded-full mr-3">
239
+ <div>
240
+ <p class="text-sm font-medium text-gray-800">Ministero dello Sviluppo Economico</p>
241
+ <p class="text-xs text-gray-500">Bando nazionale</p>
242
+ </div>
243
+ </div>
244
+ <div class="flex space-x-3">
245
+ <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition">
246
+ <i class="fas fa-eye mr-2"></i> Dettagli
247
+ </button>
248
+ <button class="border border-indigo-600 text-indigo-600 px-6 py-2 rounded-lg hover:bg-indigo-50 transition">
249
+ <i class="fas fa-check mr-2"></i> Seleziona
250
+ </button>
251
+ </div>
252
+ </div>
253
+ </div>
254
+ </div>
255
+
256
+ <!-- Bando Item 2 -->
257
+ <div class="bando-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
258
+ <div class="p-6">
259
+ <div class="flex justify-between items-start">
260
+ <div>
261
+ <div class="flex items-center mb-2">
262
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">In scadenza</span>
263
+ <span class="ml-2 text-sm text-gray-500">Pubblicato: 01/06/2023</span>
264
+ </div>
265
+ <h3 class="text-xl font-bold text-gray-800 mb-2">Sostegno all'imprenditoria giovanile in agricoltura</h3>
266
+ <p class="text-gray-600 mb-4">Agevolazioni per under 40 che avviano attività agricole con particolare attenzione alla sostenibilità ambientale.</p>
267
+
268
+ <div class="flex flex-wrap gap-2 mb-4">
269
+ <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Agricoltura</span>
270
+ <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Giovani</span>
271
+ <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">Sostenibilità</span>
272
+ </div>
273
+ </div>
274
+ <div class="flex flex-col items-end">
275
+ <div class="text-right mb-4">
276
+ <p class="text-sm text-gray-500">Scadenza:</p>
277
+ <p class="text-lg font-semibold text-red-600">15/07/2023</p>
278
+ </div>
279
+ <div class="text-right mb-4">
280
+ <p class="text-sm text-gray-500">Contributo massimo:</p>
281
+ <p class="text-lg font-semibold text-green-600">€30.000</p>
282
+ </div>
283
+ <div class="flex space-x-2">
284
+ <button class="text-gray-400 hover:text-indigo-600 transition">
285
+ <i class="far fa-heart text-xl"></i>
286
+ </button>
287
+ <button class="text-gray-400 hover:text-indigo-600 transition">
288
+ <i class="far fa-bell text-xl"></i>
289
+ </button>
290
+ <button class="text-gray-400 hover:text-indigo-600 transition">
291
+ <i class="far fa-share-square text-xl"></i>
292
+ </button>
293
+ </div>
294
+ </div>
295
+ </div>
296
+
297
+ <div class="flex justify-between items-center pt-4 border-t border-gray-200">
298
+ <div class="flex items-center">
299
+ <img src="https://via.placeholder.com/40" alt="Logo ente" class="w-10 h-10 rounded-full mr-3">
300
+ <div>
301
+ <p class="text-sm font-medium text-gray-800">Regione Lombardia</p>
302
+ <p class="text-xs text-gray-500">Bando regionale</p>
303
+ </div>
304
+ </div>
305
+ <div class="flex space-x-3">
306
+ <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition">
307
+ <i class="fas fa-eye mr-2"></i> Dettagli
308
+ </button>
309
+ <button class="border border-indigo-600 text-indigo-600 px-6 py-2 rounded-lg hover:bg-indigo-50 transition">
310
+ <i class="fas fa-check mr-2"></i> Seleziona
311
+ </button>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </div>
316
+
317
+ <!-- Bando Item 3 -->
318
+ <div class="bando-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300">
319
+ <div class="p-6">
320
+ <div class="flex justify-between items-start">
321
+ <div>
322
+ <div class="flex items-center mb-2">
323
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Europeo</span>
324
+ <span class="ml-2 text-sm text-gray-500">Pubblicato: 20/05/2023</span>
325
+ </div>
326
+ <h3 class="text-xl font-bold text-gray-800 mb-2">Horizon Europe - Transizione ecologica</h3>
327
+ <p class="text-gray-600 mb-4">Finanziamenti per progetti di ricerca e innovazione che contribuiscono alla transizione ecologica e alla neutralità climatica.</p>
328
+
329
+ <div class="flex flex-wrap gap-2 mb-4">
330
+ <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Ricerca</span>
331
+ <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Europa</span>
332
+ <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">Ambiente</span>
333
+ <span class="bg-yellow-100 text-yellow-800 text-xs px-3 py-1 rounded-full">Innovazione</span>
334
+ </div>
335
+ </div>
336
+ <div class="flex flex-col items-end">
337
+ <div class="text-right mb-4">
338
+ <p class="text-sm text-gray-500">Scadenza:</p>
339
+ <p class="text-lg font-semibold text-red-600">30/11/2023</p>
340
+ </div>
341
+ <div class="text-right mb-4">
342
+ <p class="text-sm text-gray-500">Contributo massimo:</p>
343
+ <p class="text-lg font-semibold text-green-600">€2.500.000</p>
344
+ </div>
345
+ <div class="flex space-x-2">
346
+ <button class="text-gray-400 hover:text-indigo-600 transition">
347
+ <i class="far fa-heart text-xl"></i>
348
+ </button>
349
+ <button class="text-gray-400 hover:text-indigo-600 transition">
350
+ <i class="far fa-bell text-xl"></i>
351
+ </button>
352
+ <button class="text-gray-400 hover:text-indigo-600 transition">
353
+ <i class="far fa-share-square text-xl"></i>
354
+ </button>
355
+ </div>
356
+ </div>
357
+ </div>
358
+
359
+ <div class="flex justify-between items-center pt-4 border-t border-gray-200">
360
+ <div class="flex items-center">
361
+ <img src="https://via.placeholder.com/40" alt="Logo ente" class="w-10 h-10 rounded-full mr-3">
362
+ <div>
363
+ <p class="text-sm font-medium text-gray-800">Commissione Europea</p>
364
+ <p class="text-xs text-gray-500">Bando europeo</p>
365
+ </div>
366
+ </div>
367
+ <div class="flex space-x-3">
368
+ <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition">
369
+ <i class="fas fa-eye mr-2"></i> Dettagli
370
+ </button>
371
+ <button class="border border-indigo-600 text-indigo-600 px-6 py-2 rounded-lg hover:bg-indigo-50 transition">
372
+ <i class="fas fa-check mr-2"></i> Seleziona
373
+ </button>
374
+ </div>
375
+ </div>
376
+ </div>
377
+ </div>
378
+ </div>
379
+
380
+ <!-- Pagination -->
381
+ <div class="mt-8 flex justify-center">
382
+ <nav class="inline-flex rounded-md shadow">
383
+ <a href="#" class="px-4 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 rounded-l-md">
384
+ <i class="fas fa-chevron-left"></i>
385
+ </a>
386
+ <a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-indigo-600 font-medium">1</a>
387
+ <a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</a>
388
+ <a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</a>
389
+ <a href="#" class="px-4 py-2 border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 rounded-r-md">
390
+ <i class="fas fa-chevron-right"></i>
391
+ </a>
392
+ </nav>
393
+ </div>
394
+ </main>
395
+
396
+ <!-- Selected Bandi Panel -->
397
+ <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200 transform translate-y-full transition-transform duration-300" id="selected-panel">
398
+ <div class="container mx-auto px-4 py-4">
399
+ <div class="flex justify-between items-center">
400
+ <div class="flex items-center">
401
+ <h3 class="text-lg font-semibold text-gray-800 mr-4">
402
+ <span id="selected-count">0</span> bandi selezionati
403
+ </h3>
404
+ <button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">
405
+ <i class="fas fa-times mr-1"></i> Deseleziona tutti
406
+ </button>
407
+ </div>
408
+ <div class="flex space-x-3">
409
+ <button class="bg-gray-100 text-gray-800 px-4 py-2 rounded-lg hover:bg-gray-200 transition">
410
+ <i class="fas fa-download mr-2"></i> Esporta
411
+ </button>
412
+ <button class="bg-indigo-600 text-white px-6 py-2 rounded-lg hover:bg-indigo-700 transition">
413
+ <i class="fas fa-paper-plane mr-2"></i> Invia a consulente
414
+ </button>
415
+ </div>
416
+ </div>
417
+ </div>
418
+ </div>
419
+
420
+ <!-- Footer -->
421
+ <footer class="bg-gray-800 text-white py-12">
422
+ <div class="container mx-auto px-4">
423
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
424
+ <div>
425
+ <h3 class="text-xl font-bold mb-4">Doc BandiFinder</h3>
426
+ <p class="text-gray-400">La piattaforma più completa per la ricerca e gestione di bandi pubblici e privati.</p>
427
+ </div>
428
+ <div>
429
+ <h4 class="font-semibold mb-4">Link utili</h4>
430
+ <ul class="space-y-2">
431
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Come funziona</a></li>
432
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Piani e prezzi</a></li>
433
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Domande frequenti</a></li>
434
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
435
+ </ul>
436
+ </div>
437
+ <div>
438
+ <h4 class="font-semibold mb-4">Risorse</h4>
439
+ <ul class="space-y-2">
440
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Modulistica</a></li>
441
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Guide pratiche</a></li>
442
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Glossario</a></li>
443
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Normative</a></li>
444
+ </ul>
445
+ </div>
446
+ <div>
447
+ <h4 class="font-semibold mb-4">Contatti</h4>
448
+ <ul class="space-y-2">
449
+ <li class="flex items-center">
450
+ <i class="fas fa-envelope mr-2 text-gray-400"></i>
451
+ <span class="text-gray-400">info@docbandifinder.it</span>
452
+ </li>
453
+ <li class="flex items-center">
454
+ <i class="fas fa-phone mr-2 text-gray-400"></i>
455
+ <span class="text-gray-400">+39 02 1234567</span>
456
+ </li>
457
+ <li class="flex items-center">
458
+ <i class="fas fa-map-marker-alt mr-2 text-gray-400"></i>
459
+ <span class="text-gray-400">Via Roma 123, Milano</span>
460
+ </li>
461
+ </ul>
462
+ </div>
463
+ </div>
464
+ <div class="border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
465
+ <p class="text-gray-400 mb-4 md:mb-0">© 2023 Doc BandiFinder. Tutti i diritti riservati.</p>
466
+ <div class="flex space-x-6">
467
+ <a href="#" class="text-gray-400 hover:text-white transition">
468
+ <i class="fab fa-facebook-f"></i>
469
+ </a>
470
+ <a href="#" class="text-gray-400 hover:text-white transition">
471
+ <i class="fab fa-twitter"></i>
472
+ </a>
473
+ <a href="#" class="text-gray-400 hover:text-white transition">
474
+ <i class="fab fa-linkedin-in"></i>
475
+ </a>
476
+ <a href="#" class="text-gray-400 hover:text-white transition">
477
+ <i class="fab fa-instagram"></i>
478
+ </a>
479
+ </div>
480
+ </div>
481
+ </div>
482
+ </footer>
483
+
484
+ <script>
485
+ // Toggle selected panel when bandi are selected
486
+ document.addEventListener('DOMContentLoaded', function() {
487
+ const selectButtons = document.querySelectorAll('.bando-card button:last-child');
488
+ const selectedPanel = document.getElementById('selected-panel');
489
+ const selectedCount = document.getElementById('selected-count');
490
+
491
+ let count = 0;
492
+
493
+ selectButtons.forEach(button => {
494
+ button.addEventListener('click', function() {
495
+ const card = this.closest('.bando-card');
496
+
497
+ if (card.classList.contains('selected')) {
498
+ card.classList.remove('selected');
499
+ card.classList.remove('ring-2', 'ring-indigo-500');
500
+ count--;
501
+ } else {
502
+ card.classList.add('selected');
503
+ card.classList.add('ring-2', 'ring-indigo-500');
504
+ count++;
505
+ }
506
+
507
+ selectedCount.textContent = count;
508
+
509
+ if (count > 0) {
510
+ selectedPanel.classList.remove('translate-y-full');
511
+ } else {
512
+ selectedPanel.classList.add('translate-y-full');
513
+ }
514
+ });
515
+ });
516
+
517
+ // Simulate loading more bandi
518
+ const bandiList = document.getElementById('bandi-list');
519
+ const loadMore = document.createElement('button');
520
+ loadMore.className = 'w-full mt-6 bg-gray-100 text-gray-800 px-6 py-3 rounded-lg hover:bg-gray-200 transition font-medium';
521
+ loadMore.innerHTML = '<i class="fas fa-sync-alt mr-2"></i> Carica altri bandi';
522
+
523
+ loadMore.addEventListener('click', function() {
524
+ this.innerHTML = '<i class="fas fa-spinner animate-spin mr-2"></i> Caricamento...';
525
+ this.disabled = true;
526
+
527
+ // Simulate API call
528
+ setTimeout(() => {
529
+ // In a real app, you would fetch more data here
530
+ this.innerHTML = '<i class="fas fa-sync-alt mr-2"></i> Carica altri bandi';
531
+ this.disabled = false;
532
+ alert('Altri bandi sono stati caricati!');
533
+ }, 1500);
534
+ });
535
+
536
+ bandiList.parentNode.insertBefore(loadMore, bandiList.nextSibling);
537
+ });
538
+ </script>
539
+ <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=Koritumba74/docbf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
540
+ </html>
prompts.txt ADDED
File without changes