adamqab commited on
Commit
d92a6e7
Β·
verified Β·
1 Parent(s): a5b5be9

You are a creative UX/UI designer. I want you to design the user interface and visual style for a fact-checking platform where people paste links or text, and the system verifies whether the claim is true, false, uncertain, or unsupported.

Browse files

Visual Goals:

Make it feel trustworthy, modern, and accessible.

Show a loading state with smooth, meaningful animations (e.g., pulse, scanning radar, progress circle).

Use verdict reveal animations that clearly match the outcome:

βœ… True β†’ green highlight, checkmark animation.

❌ False β†’ red highlight, X mark fade-in.

🟑 Uncertain β†’ yellow balance-scale or probability meter.

πŸ” No Evidence β†’ grey neutral card, magnifying glass fade-in.

Mix of 3 Design Directions:

Minimal Professional β€” clean white background, subtle color accents, corporate typography (trust & authority).

Futuristic & Engaging β€” glowing highlights, subtle gradients, micro-interactions for buttons, animated card reveals.

Neutral/Educational β€” calm tones (blue/grey), clear infographics, percentage/probability bars, feels like a digital classroom tool.

Output Expectation:
Recommend color palette, font style, and interaction style that balances professionalism with approachability. Propose how the result cards, source links, and explanation text should look to inspire user trust and make the platform feel reliable and transparent.

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +437 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Truthpulse Scanner
3
- emoji: πŸ“ˆ
4
- colorFrom: blue
5
- colorTo: indigo
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: TruthPulse Scanner πŸ”
3
+ colorFrom: purple
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,438 @@
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>TruthPulse Scanner | AI-Powered Fact Checking</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+
13
+ <style>
14
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
15
+
16
+ body {
17
+ font-family: 'Inter', sans-serif;
18
+ background-color: #f8fafc;
19
+ }
20
+
21
+ .verdict-true {
22
+ box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.3);
23
+ animation: pulseGreen 1.5s infinite;
24
+ }
25
+
26
+ .verdict-false {
27
+ box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.3);
28
+ animation: pulseRed 1.5s infinite;
29
+ }
30
+
31
+ .verdict-uncertain {
32
+ box-shadow: 0 0 0 4px rgba(253, 230, 138, 0.3);
33
+ animation: pulseYellow 1.5s infinite;
34
+ }
35
+
36
+ .verdict-unsupported {
37
+ box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.3);
38
+ animation: pulseGray 1.5s infinite;
39
+ }
40
+
41
+ @keyframes pulseGreen {
42
+ 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
43
+ 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
44
+ 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
45
+ }
46
+
47
+ @keyframes pulseRed {
48
+ 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.4); }
49
+ 70% { box-shadow: 0 0 0 10px rgba(248, 113, 113, 0); }
50
+ 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
51
+ }
52
+
53
+ @keyframes pulseYellow {
54
+ 0% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.4); }
55
+ 70% { box-shadow: 0 0 0 10px rgba(253, 230, 138, 0); }
56
+ 100% { box-shadow: 0 0 0 0 rgba(253, 230, 138, 0); }
57
+ }
58
+
59
+ @keyframes pulseGray {
60
+ 0% { box-shadow: 0 0 0 0 rgba(156, 163, 175, 0.4); }
61
+ 70% { box-shadow: 0 0 0 10px rgba(156, 163, 175, 0); }
62
+ 100% { box-shadow: 0 0 0 0 rgba(156, 163, 175, 0); }
63
+ }
64
+
65
+ .scan-animation {
66
+ animation: scan 2s linear infinite;
67
+ }
68
+
69
+ @keyframes scan {
70
+ 0% { transform: translateY(-100%); opacity: 0; }
71
+ 10% { opacity: 1; }
72
+ 90% { opacity: 1; }
73
+ 100% { transform: translateY(100%); opacity: 0; }
74
+ }
75
+ </style>
76
+ </head>
77
+ <body class="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-50">
78
+ <!-- Vanta.js Background -->
79
+ <div id="vanta-bg" class="fixed inset-0 z-0"></div>
80
+
81
+ <div class="relative z-10 min-h-screen flex flex-col">
82
+ <!-- Header -->
83
+ <header class="py-6 px-4 sm:px-6 lg:px-8 bg-white/80 backdrop-blur-md border-b border-gray-200">
84
+ <div class="container mx-auto flex justify-between items-center">
85
+ <div class="flex items-center space-x-2">
86
+ <i data-feather="search" class="text-indigo-600 w-6 h-6"></i>
87
+ <h1 class="text-2xl font-bold text-gray-800">TruthPulse <span class="text-indigo-600">Scanner</span></h1>
88
+ </div>
89
+ <nav>
90
+ <ul class="flex space-x-6">
91
+ <li><a href="#" class="text-gray-600 hover:text-indigo-600 transition">How It Works</a></li>
92
+ <li><a href="#" class="text-gray-600 hover:text-indigo-600 transition">About</a></li>
93
+ <li><a href="#" class="text-gray-600 hover:text-indigo-600 transition">FAQ</a></li>
94
+ </ul>
95
+ </nav>
96
+ </div>
97
+ </header>
98
+
99
+ <!-- Main Content -->
100
+ <main class="flex-grow container mx-auto px-4 sm:px-6 lg:px-8 py-12 flex flex-col items-center">
101
+ <div class="max-w-3xl w-full bg-white/90 backdrop-blur-sm rounded-xl shadow-xl p-8">
102
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-2">Verify Any Claim in Seconds</h2>
103
+ <p class="text-gray-600 text-center mb-8">Paste a link or text below to check its accuracy</p>
104
+
105
+ <div class="relative">
106
+ <div class="flex space-x-4 mb-4">
107
+ <button class="flex-1 py-3 px-4 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition flex items-center justify-center">
108
+ <i data-feather="link" class="mr-2"></i> Paste URL
109
+ </button>
110
+ <button class="flex-1 py-3 px-4 bg-indigo-100 text-indigo-700 rounded-lg font-medium hover:bg-indigo-200 transition flex items-center justify-center">
111
+ <i data-feather="edit" class="mr-2"></i> Enter Text
112
+ </button>
113
+ </div>
114
+
115
+ <textarea class="w-full h-40 p-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 resize-none" placeholder="Paste the text or URL you want to verify here..."></textarea>
116
+
117
+ <div class="mt-4 flex justify-between items-center">
118
+ <div class="flex items-center space-x-2 text-gray-500">
119
+ <i data-feather="shield"></i>
120
+ <span class="text-sm">Your data is never stored</span>
121
+ </div>
122
+ <button id="verify-btn" class="py-3 px-6 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition flex items-center">
123
+ <i data-feather="search" class="mr-2"></i> Verify Now
124
+ </button>
125
+ </div>
126
+ </div>
127
+ </div>
128
+
129
+ <!-- Result Placeholder (Hidden by default) -->
130
+ <div id="result-container" class="hidden max-w-3xl w-full mt-8">
131
+ <div id="loading-state" class="bg-white rounded-xl shadow-lg p-8 text-center">
132
+ <div class="relative h-32 w-32 mx-auto mb-6">
133
+ <div class="absolute inset-0 rounded-full border-4 border-indigo-200"></div>
134
+ <div class="absolute inset-4 rounded-full border-4 border-indigo-300 animate-spin"></div>
135
+ <div class="absolute inset-8 rounded-full border-4 border-indigo-400"></div>
136
+ <div class="absolute inset-0 flex items-center justify-center">
137
+ <div class="h-16 w-16 bg-indigo-100 rounded-full flex items-center justify-center">
138
+ <i data-feather="search" class="text-indigo-600 w-8 h-8 animate-pulse"></i>
139
+ </div>
140
+ </div>
141
+ <div class="absolute left-0 right-0 top-1/2 h-1 bg-indigo-100 overflow-hidden">
142
+ <div class="scan-animation h-full w-full bg-gradient-to-b from-indigo-400 to-transparent"></div>
143
+ </div>
144
+ </div>
145
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Analyzing Your Claim</h3>
146
+ <p class="text-gray-600">Our AI is scanning multiple sources to determine accuracy...</p>
147
+ </div>
148
+
149
+ <div id="verdict-card" class="hidden bg-white rounded-xl shadow-lg overflow-hidden">
150
+ <div class="p-6">
151
+ <div class="flex justify-between items-start mb-4">
152
+ <div>
153
+ <h3 class="text-xl font-bold">Claim Analysis</h3>
154
+ <p class="text-gray-600" id="verdict-date">Verified just now</p>
155
+ </div>
156
+ <div id="verdict-badge" class="px-4 py-2 rounded-full font-semibold flex items-center">
157
+ <!-- Dynamic content -->
158
+ </div>
159
+ </div>
160
+
161
+ <div class="bg-gray-50 p-4 rounded-lg mb-6">
162
+ <p id="claim-text" class="text-gray-800"></p>
163
+ </div>
164
+
165
+ <div id="verdict-content" class="mb-6">
166
+ <!-- Dynamic content -->
167
+ </div>
168
+
169
+ <div class="border-t border-gray-200 pt-6">
170
+ <h4 class="font-semibold mb-3">Sources & Evidence</h4>
171
+ <div id="sources-list" class="space-y-3">
172
+ <!-- Dynamic content -->
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ </main>
179
+
180
+ <!-- Footer -->
181
+ <footer class="py-8 px-4 sm:px-6 lg:px-8 bg-white/80 backdrop-blur-md border-t border-gray-200">
182
+ <div class="container mx-auto">
183
+ <div class="flex flex-col md:flex-row justify-between items-center">
184
+ <div class="flex items-center space-x-2 mb-4 md:mb-0">
185
+ <i data-feather="search" class="text-indigo-600 w-5 h-5"></i>
186
+ <span class="text-lg font-semibold text-gray-800">TruthPulse Scanner</span>
187
+ </div>
188
+ <div class="flex space-x-6">
189
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">Privacy Policy</a>
190
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">Terms of Service</a>
191
+ <a href="#" class="text-gray-600 hover:text-indigo-600 transition">Contact</a>
192
+ </div>
193
+ </div>
194
+ <p class="text-center text-gray-500 text-sm mt-6">Β© 2023 TruthPulse Scanner. All rights reserved.</p>
195
+ </div>
196
+ </footer>
197
+ </div>
198
+
199
+ <script>
200
+ // Initialize Vanta.js background
201
+ VANTA.GLOBE({
202
+ el: "#vanta-bg",
203
+ mouseControls: true,
204
+ touchControls: true,
205
+ gyroControls: false,
206
+ minHeight: 200.00,
207
+ minWidth: 200.00,
208
+ scale: 1.00,
209
+ scaleMobile: 1.00,
210
+ color: 0x4f46e5,
211
+ backgroundColor: 0xf8fafc,
212
+ size: 0.8
213
+ });
214
+
215
+ // Initialize feather icons
216
+ feather.replace();
217
+
218
+ // Mock verification process
219
+ document.getElementById('verify-btn').addEventListener('click', function() {
220
+ const textarea = document.querySelector('textarea');
221
+ if (textarea.value.trim() === '') {
222
+ alert('Please enter some text or a URL to verify');
223
+ return;
224
+ }
225
+
226
+ // Show loading state
227
+ document.getElementById('result-container').classList.remove('hidden');
228
+ document.getElementById('loading-state').classList.remove('hidden');
229
+ document.getElementById('verdict-card').classList.add('hidden');
230
+
231
+ // Set the claim text
232
+ document.getElementById('claim-text').textContent = textarea.value;
233
+
234
+ // Simulate API call with timeout
235
+ setTimeout(() => {
236
+ document.getElementById('loading-state').classList.add('hidden');
237
+
238
+ // Randomly select a verdict for demo purposes
239
+ const verdicts = ['true', 'false', 'uncertain', 'unsupported'];
240
+ const randomVerdict = verdicts[Math.floor(Math.random() * verdicts.length)];
241
+ showVerdict(randomVerdict);
242
+
243
+ document.getElementById('verdict-card').classList.remove('hidden');
244
+ }, 3000);
245
+ });
246
+
247
+ function showVerdict(verdict) {
248
+ const badge = document.getElementById('verdict-badge');
249
+ const content = document.getElementById('verdict-content');
250
+ const sources = document.getElementById('sources-list');
251
+
252
+ // Reset classes
253
+ badge.className = 'px-4 py-2 rounded-full font-semibold flex items-center';
254
+ content.innerHTML = '';
255
+ sources.innerHTML = '';
256
+
257
+ // Add verdict-specific content
258
+ switch(verdict) {
259
+ case 'true':
260
+ badge.classList.add('bg-green-100', 'text-green-800');
261
+ badge.innerHTML = '<i data-feather="check-circle" class="mr-2 text-green-600"></i> Verified True';
262
+ content.innerHTML = `
263
+ <div class="flex items-start">
264
+ <div class="flex-shrink-0 mr-4">
265
+ <div class="h-12 w-12 bg-green-100 rounded-full flex items-center justify-center">
266
+ <i data-feather="check" class="text-green-600 w-6 h-6"></i>
267
+ </div>
268
+ </div>
269
+ <div>
270
+ <h4 class="font-semibold text-green-800 mb-1">This claim is accurate</h4>
271
+ <p class="text-gray-700">Our analysis of multiple reliable sources confirms this information to be true. The evidence strongly supports this claim.</p>
272
+ </div>
273
+ </div>
274
+ `;
275
+ sources.innerHTML = `
276
+ <div class="flex items-start">
277
+ <div class="flex-shrink-0 mr-3">
278
+ <div class="h-8 w-8 bg-green-100 rounded-full flex items-center justify-center">
279
+ <i data-feather="link" class="text-green-600 w-4 h-4"></i>
280
+ </div>
281
+ </div>
282
+ <div>
283
+ <a href="#" class="text-indigo-600 hover:underline">Scientific Study on Topic (2022)</a>
284
+ <p class="text-sm text-gray-500">Published in Journal of Science</p>
285
+ </div>
286
+ </div>
287
+ <div class="flex items-start">
288
+ <div class="flex-shrink-0 mr-3">
289
+ <div class="h-8 w-8 bg-green-100 rounded-full flex items-center justify-center">
290
+ <i data-feather="link" class="text-green-600 w-4 h-4"></i>
291
+ </div>
292
+ </div>
293
+ <div>
294
+ <a href="#" class="text-indigo-600 hover:underline">Government Report</a>
295
+ <p class="text-sm text-gray-500">Official statistics from National Bureau</p>
296
+ </div>
297
+ </div>
298
+ `;
299
+ badge.parentElement.parentElement.classList.add('verdict-true');
300
+ break;
301
+
302
+ case 'false':
303
+ badge.classList.add('bg-red-100', 'text-red-800');
304
+ badge.innerHTML = '<i data-feather="x-circle" class="mr-2 text-red-600"></i> Verified False';
305
+ content.innerHTML = `
306
+ <div class="flex items-start">
307
+ <div class="flex-shrink-0 mr-4">
308
+ <div class="h-12 w-12 bg-red-100 rounded-full flex items-center justify-center">
309
+ <i data-feather="x" class="text-red-600 w-6 h-6"></i>
310
+ </div>
311
+ </div>
312
+ <div>
313
+ <h4 class="font-semibold text-red-800 mb-1">This claim is incorrect</h4>
314
+ <p class="text-gray-700">Our research found multiple credible sources that contradict this information. The evidence does not support this claim.</p>
315
+ </div>
316
+ </div>
317
+ `;
318
+ sources.innerHTML = `
319
+ <div class="flex items-start">
320
+ <div class="flex-shrink-0 mr-3">
321
+ <div class="h-8 w-8 bg-red-100 rounded-full flex items-center justify-center">
322
+ <i data-feather="link" class="text-red-600 w-4 h-4"></i>
323
+ </div>
324
+ </div>
325
+ <div>
326
+ <a href="#" class="text-indigo-600 hover:underline">Fact-check from Reuters</a>
327
+ <p class="text-sm text-gray-500">Published on verified fact-checking site</p>
328
+ </div>
329
+ </div>
330
+ <div class="flex items-start">
331
+ <div class="flex-shrink-0 mr-3">
332
+ <div class="h-8 w-8 bg-red-100 rounded-full flex items-center justify-center">
333
+ <i data-feather="link" class="text-red-600 w-4 h-4"></i>
334
+ </div>
335
+ </div>
336
+ <div>
337
+ <a href="#" class="text-indigo-600 hover:underline">Expert Analysis</a>
338
+ <p class="text-sm text-gray-500">Statement from subject matter experts</p>
339
+ </div>
340
+ </div>
341
+ `;
342
+ badge.parentElement.parentElement.classList.add('verdict-false');
343
+ break;
344
+
345
+ case 'uncertain':
346
+ badge.classList.add('bg-yellow-100', 'text-yellow-800');
347
+ badge.innerHTML = '<i data-feather="alert-circle" class="mr-2 text-yellow-600"></i> Uncertain';
348
+ content.innerHTML = `
349
+ <div class="flex items-start">
350
+ <div class="flex-shrink-0 mr-4">
351
+ <div class="h-12 w-12 bg-yellow-100 rounded-full flex items-center justify-center">
352
+ <i data-feather="help-circle" class="text-yellow-600 w-6 h-6"></i>
353
+ </div>
354
+ </div>
355
+ <div>
356
+ <h4 class="font-semibold text-yellow-800 mb-1">Evidence is inconclusive</h4>
357
+ <p class="text-gray-700">We couldn't find enough reliable evidence to confirm or deny this claim. The available information is conflicting or incomplete.</p>
358
+ </div>
359
+ </div>
360
+ <div class="mt-4 bg-yellow-50 p-4 rounded-lg">
361
+ <div class="flex items-center mb-2">
362
+ <span class="font-medium text-yellow-800 mr-2">Confidence Level:</span>
363
+ <div class="flex-1 bg-gray-200 rounded-full h-2.5">
364
+ <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 45%"></div>
365
+ </div>
366
+ <span class="text-sm text-yellow-800 ml-2">45%</span>
367
+ </div>
368
+ <p class="text-sm text-gray-700">Based on analysis of available sources</p>
369
+ </div>
370
+ `;
371
+ sources.innerHTML = `
372
+ <div class="flex items-start">
373
+ <div class="flex-shrink-0 mr-3">
374
+ <div class="h-8 w-8 bg-yellow-100 rounded-full flex items-center justify-center">
375
+ <i data-feather="link" class="text-yellow-600 w-4 h-4"></i>
376
+ </div>
377
+ </div>
378
+ <div>
379
+ <a href="#" class="text-indigo-600 hover:underline">Conflicting Study A</a>
380
+ <p class="text-sm text-gray-500">Supports the claim with limitations</p>
381
+ </div>
382
+ </div>
383
+ <div class="flex items-start">
384
+ <div class="flex-shrink-0 mr-3">
385
+ <div class="h-8 w-8 bg-yellow-100 rounded-full flex items-center justify-center">
386
+ <i data-feather="link" class="text-yellow-600 w-4 h-4"></i>
387
+ </div>
388
+ </div>
389
+ <div>
390
+ <a href="#" class="text-indigo-600 hover:underline">Conflicting Study B</a>
391
+ <p class="text-sm text-gray-500">Contradicts the claim with caveats</p>
392
+ </div>
393
+ </div>
394
+ `;
395
+ badge.parentElement.parentElement.classList.add('verdict-uncertain');
396
+ break;
397
+
398
+ case 'unsupported':
399
+ badge.classList.add('bg-gray-100', 'text-gray-800');
400
+ badge.innerHTML = '<i data-feather="search" class="mr-2 text-gray-600"></i> No Evidence Found';
401
+ content.innerHTML = `
402
+ <div class="flex items-start">
403
+ <div class="flex-shrink-0 mr-4">
404
+ <div class="h-12 w-12 bg-gray-100 rounded-full flex items-center justify-center">
405
+ <i data-feather="search" class="text-gray-600 w-6 h-6"></i>
406
+ </div>
407
+ </div>
408
+ <div>
409
+ <h4 class="font-semibold text-gray-800 mb-1">No supporting evidence found</h4>
410
+ <p class="text-gray-700">We couldn't find any credible sources that verify or refute this claim. More research is needed to determine its accuracy.</p>
411
+ </div>
412
+ </div>
413
+ `;
414
+ sources.innerHTML = `
415
+ <div class="text-gray-500 italic">
416
+ No verifiable sources were found related to this claim
417
+ </div>
418
+ `;
419
+ badge.parentElement.parentElement.classList.add('verdict-unsupported');
420
+ break;
421
+ }
422
+
423
+ // Update icons
424
+ feather.replace();
425
+
426
+ // Add animation to verdict card
427
+ const card = document.getElementById('verdict-card');
428
+ card.style.opacity = '0';
429
+ card.style.transform = 'translateY(20px)';
430
+ setTimeout(() => {
431
+ card.style.transition = 'all 0.3s ease-out';
432
+ card.style.opacity = '1';
433
+ card.style.transform = 'translateY(0)';
434
+ }, 100);
435
+ }
436
+ </script>
437
+ </body>
438
  </html>