future-predictions / index.html
emad600's picture
Add 3 files
fda3913 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Future Predictions Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.prediction-card {
perspective: 1000px;
transition: all 0.5s ease;
}
.prediction-card:hover {
transform: translateY(-5px);
}
.card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.prediction-card:hover .card-inner {
transform: rotateY(10deg);
}
.glow {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.progress-ring {
transform: rotate(-90deg);
}
.progress-ring-circle {
transition: stroke-dashoffset 0.5s;
}
.animate-pulse-slow {
animation: pulse 3s infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
</style>
</head>
<body class="bg-gradient-to-br from-gray-900 to-blue-900 min-h-screen text-white">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="mb-12 text-center">
<h1 class="text-5xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">
Future Predictions
</h1>
<p class="text-xl text-blue-200 max-w-2xl mx-auto">
Explore data-driven forecasts and probabilistic outcomes across various domains
</p>
<div class="mt-6 relative max-w-md mx-auto">
<input type="text" placeholder="Search predictions..."
class="w-full px-6 py-3 rounded-full bg-gray-800 border border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500">
<button class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-blue-600 hover:bg-blue-700 text-white p-2 rounded-full">
<i class="fas fa-search"></i>
</button>
</div>
</header>
<!-- Filters -->
<div class="flex flex-wrap justify-center gap-4 mb-8">
<button class="filter-btn active px-4 py-2 rounded-full bg-blue-600 hover:bg-blue-700 transition">
All Categories
</button>
<button class="filter-btn px-4 py-2 rounded-full bg-gray-800 hover:bg-gray-700 transition">
<i class="fas fa-chart-line mr-2"></i> Finance
</button>
<button class="filter-btn px-4 py-2 rounded-full bg-gray-800 hover:bg-gray-700 transition">
<i class="fas fa-globe mr-2"></i> Climate
</button>
<button class="filter-btn px-4 py-2 rounded-full bg-gray-800 hover:bg-gray-700 transition">
<i class="fas fa-flask mr-2"></i> Technology
</button>
<button class="filter-btn px-4 py-2 rounded-full bg-gray-800 hover:bg-gray-700 transition">
<i class="fas fa-heartbeat mr-2"></i> Health
</button>
</div>
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-10">
<div class="bg-gray-800 rounded-xl p-6 flex items-center glow">
<div class="mr-4">
<div class="w-12 h-12 rounded-full bg-blue-900 flex items-center justify-center">
<i class="fas fa-database text-blue-400 text-xl"></i>
</div>
</div>
<div>
<p class="text-gray-400">Total Predictions</p>
<h3 class="text-2xl font-bold">1,248</h3>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 flex items-center">
<div class="mr-4">
<div class="w-12 h-12 rounded-full bg-purple-900 flex items-center justify-center">
<i class="fas fa-check-circle text-purple-400 text-xl"></i>
</div>
</div>
<div>
<p class="text-gray-400">Verified</p>
<h3 class="text-2xl font-bold">892</h3>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 flex items-center">
<div class="mr-4">
<div class="w-12 h-12 rounded-full bg-green-900 flex items-center justify-center">
<i class="fas fa-chart-pie text-green-400 text-xl"></i>
</div>
</div>
<div>
<p class="text-gray-400">Accuracy</p>
<h3 class="text-2xl font-bold">87.5%</h3>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 flex items-center">
<div class="mr-4">
<div class="w-12 h-12 rounded-full bg-yellow-900 flex items-center justify-center">
<i class="fas fa-bolt text-yellow-400 text-xl"></i>
</div>
</div>
<div>
<p class="text-gray-400">New Today</p>
<h3 class="text-2xl font-bold">24</h3>
</div>
</div>
</div>
<!-- Main Predictions Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Prediction Card 1 -->
<div class="prediction-card bg-gray-800 rounded-xl p-6 overflow-hidden border border-gray-700 hover:border-blue-500 transition">
<div class="card-inner">
<div class="flex justify-between items-start mb-4">
<div>
<span class="inline-block px-3 py-1 rounded-full text-xs font-semibold bg-blue-900 text-blue-300">TECHNOLOGY</span>
</div>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star mr-1"></i>
<span>4.8</span>
</div>
</div>
<h3 class="text-xl font-bold mb-3">Quantum Computing Breakthrough</h3>
<p class="text-gray-400 mb-4">By 2028, quantum computers will solve problems in minutes that would take classical computers millennia.</p>
<div class="flex items-center mb-4">
<div class="relative w-12 h-12 mr-3">
<svg class="progress-ring w-12 h-12" viewBox="0 0 36 36">
<circle class="progress-ring-circle" stroke="#1E40AF" stroke-width="3" fill="transparent" r="16" cx="18" cy="18" />
<circle class="progress-ring-circle" stroke="#3B82F6" stroke-width="3" stroke-dasharray="100 100" stroke-dashoffset="25" fill="transparent" r="16" cx="18" cy="18" />
</svg>
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">75%</div>
</div>
<div>
<p class="text-sm text-gray-400">Confidence</p>
<div class="flex -space-x-1">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
<div class="w-6 h-6 rounded-full border-2 border-gray-800 bg-gray-700 flex items-center justify-center text-xs">+5</div>
</div>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-700">
<span class="text-sm text-blue-400"><i class="far fa-clock mr-1"></i> 3-5 years</span>
<button class="text-sm px-4 py-1 rounded-full bg-blue-600 hover:bg-blue-700 transition">
<i class="fas fa-plus mr-1"></i> Track
</button>
</div>
</div>
</div>
<!-- Prediction Card 2 -->
<div class="prediction-card bg-gray-800 rounded-xl p-6 overflow-hidden border border-gray-700 hover:border-purple-500 transition">
<div class="card-inner">
<div class="flex justify-between items-start mb-4">
<div>
<span class="inline-block px-3 py-1 rounded-full text-xs font-semibold bg-purple-900 text-purple-300">FINANCE</span>
</div>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star mr-1"></i>
<span>4.5</span>
</div>
</div>
<h3 class="text-xl font-bold mb-3">CBDC Adoption</h3>
<p class="text-gray-400 mb-4">Over 50% of G20 nations will have operational central bank digital currencies by 2030.</p>
<div class="flex items-center mb-4">
<div class="relative w-12 h-12 mr-3">
<svg class="progress-ring w-12 h-12" viewBox="0 0 36 36">
<circle class="progress-ring-circle" stroke="#5B21B6" stroke-width="3" fill="transparent" r="16" cx="18" cy="18" />
<circle class="progress-ring-circle" stroke="#8B5CF6" stroke-width="3" stroke-dasharray="100 100" stroke-dashoffset="40" fill="transparent" r="16" cx="18" cy="18" />
</svg>
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">60%</div>
</div>
<div>
<p class="text-sm text-gray-400">Confidence</p>
<div class="flex -space-x-1">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/90.jpg" alt="">
<div class="w-6 h-6 rounded-full border-2 border-gray-800 bg-gray-700 flex items-center justify-center text-xs">+8</div>
</div>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-700">
<span class="text-sm text-purple-400"><i class="far fa-clock mr-1"></i> 5-7 years</span>
<button class="text-sm px-4 py-1 rounded-full bg-purple-600 hover:bg-purple-700 transition">
<i class="fas fa-plus mr-1"></i> Track
</button>
</div>
</div>
</div>
<!-- Prediction Card 3 -->
<div class="prediction-card bg-gray-800 rounded-xl p-6 overflow-hidden border border-gray-700 hover:border-green-500 transition">
<div class="card-inner">
<div class="flex justify-between items-start mb-4">
<div>
<span class="inline-block px-3 py-1 rounded-full text-xs font-semibold bg-green-900 text-green-300">CLIMATE</span>
</div>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star mr-1"></i>
<span>4.9</span>
</div>
</div>
<h3 class="text-xl font-bold mb-3">Arctic Ice Melt</h3>
<p class="text-gray-400 mb-4">Summer Arctic sea ice will completely disappear by 2040 if current emission trends continue.</p>
<div class="flex items-center mb-4">
<div class="relative w-12 h-12 mr-3">
<svg class="progress-ring w-12 h-12" viewBox="0 0 36 36">
<circle class="progress-ring-circle" stroke="#14532D" stroke-width="3" fill="transparent" r="16" cx="18" cy="18" />
<circle class="progress-ring-circle" stroke="#22C55E" stroke-width="3" stroke-dasharray="100 100" stroke-dashoffset="15" fill="transparent" r="16" cx="18" cy="18" />
</svg>
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">85%</div>
</div>
<div>
<p class="text-sm text-gray-400">Confidence</p>
<div class="flex -space-x-1">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/22.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/33.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/44.jpg" alt="">
<div class="w-6 h-6 rounded-full border-2 border-gray-800 bg-gray-700 flex items-center justify-center text-xs">+12</div>
</div>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-700">
<span class="text-sm text-green-400"><i class="far fa-clock mr-1"></i> 15-20 years</span>
<button class="text-sm px-4 py-1 rounded-full bg-green-600 hover:bg-green-700 transition">
<i class="fas fa-plus mr-1"></i> Track
</button>
</div>
</div>
</div>
<!-- Prediction Card 4 -->
<div class="prediction-card bg-gray-800 rounded-xl p-6 overflow-hidden border border-gray-700 hover:border-red-500 transition">
<div class="card-inner">
<div class="flex justify-between items-start mb-4">
<div>
<span class="inline-block px-3 py-1 rounded-full text-xs font-semibold bg-red-900 text-red-300">HEALTH</span>
</div>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star mr-1"></i>
<span>4.2</span>
</div>
</div>
<h3 class="text-xl font-bold mb-3">Cancer Treatment</h3>
<p class="text-gray-400 mb-4">Personalized mRNA vaccines will become standard treatment for 5+ cancer types by 2035.</p>
<div class="flex items-center mb-4">
<div class="relative w-12 h-12 mr-3">
<svg class="progress-ring w-12 h-12" viewBox="0 0 36 36">
<circle class="progress-ring-circle" stroke="#7F1D1D" stroke-width="3" fill="transparent" r="16" cx="18" cy="18" />
<circle class="progress-ring-circle" stroke="#EF4444" stroke-width="3" stroke-dasharray="100 100" stroke-dashoffset="35" fill="transparent" r="16" cx="18" cy="18" />
</svg>
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">65%</div>
</div>
<div>
<p class="text-sm text-gray-400">Confidence</p>
<div class="flex -space-x-1">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/22.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/11.jpg" alt="">
<div class="w-6 h-6 rounded-full border-2 border-gray-800 bg-gray-700 flex items-center justify-center text-xs">+3</div>
</div>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-700">
<span class="text-sm text-red-400"><i class="far fa-clock mr-1"></i> 10-12 years</span>
<button class="text-sm px-4 py-1 rounded-full bg-red-600 hover:bg-red-700 transition">
<i class="fas fa-plus mr-1"></i> Track
</button>
</div>
</div>
</div>
<!-- Prediction Card 5 -->
<div class="prediction-card bg-gray-800 rounded-xl p-6 overflow-hidden border border-gray-700 hover:border-yellow-500 transition">
<div class="card-inner">
<div class="flex justify-between items-start mb-4">
<div>
<span class="inline-block px-3 py-1 rounded-full text-xs font-semibold bg-yellow-900 text-yellow-300">TECHNOLOGY</span>
</div>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star mr-1"></i>
<span>4.7</span>
</div>
</div>
<h3 class="text-xl font-bold mb-3">AI Regulation</h3>
<p class="text-gray-400 mb-4">Global AI regulatory framework will be established by 2026, enforced by 2030.</p>
<div class="flex items-center mb-4">
<div class="relative w-12 h-12 mr-3">
<svg class="progress-ring w-12 h-12" viewBox="0 0 36 36">
<circle class="progress-ring-circle" stroke="#713F12" stroke-width="3" fill="transparent" r="16" cx="18" cy="18" />
<circle class="progress-ring-circle" stroke="#F59E0B" stroke-width="3" stroke-dasharray="100 100" stroke-dashoffset="45" fill="transparent" r="16" cx="18" cy="18" />
</svg>
<div class="absolute inset-0 flex items-center justify-center text-xs font-bold">55%</div>
</div>
<div>
<p class="text-sm text-gray-400">Confidence</p>
<div class="flex -space-x-1">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/65.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/women/45.jpg" alt="">
<img class="w-6 h-6 rounded-full border-2 border-gray-800" src="https://randomuser.me/api/portraits/men/33.jpg" alt="">
<div class="w-6 h-6 rounded-full border-2 border-gray-800 bg-gray-700 flex items-center justify-center text-xs">+7</div>
</div>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-700">
<span class="text-sm text-yellow-400"><i class="far fa-clock mr-1"></i> 3-5 years</span>
<button class="text-sm px-4 py-1 rounded-full bg-yellow-600 hover:bg-yellow-700 transition">
<i class="fas fa-plus mr-1"></i> Track
</button>
</div>
</div>
</div>
<!-- Add New Prediction Card -->
<div class="prediction-card bg-gradient-to-br from-gray-800 to-gray-900 rounded-xl p-6 overflow-hidden border-2 border-dashed border-gray-600 hover:border-blue-400 transition flex flex-col items-center justify-center">
<div class="w-16 h-16 rounded-full bg-blue-900 flex items-center justify-center mb-4 animate-pulse-slow">
<i class="fas fa-plus text-blue-400 text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-2">Add Your Prediction</h3>
<p class="text-gray-400 text-center mb-4">Contribute to our collective foresight by sharing your data-driven forecast</p>
<button class="px-6 py-2 rounded-full bg-blue-600 hover:bg-blue-700 transition flex items-center">
<i class="fas fa-pen mr-2"></i> Create Prediction
</button>
</div>
</div>
<!-- View More Button -->
<div class="text-center mt-12">
<button class="px-8 py-3 rounded-full bg-gray-800 hover:bg-gray-700 border border-gray-700 transition flex items-center mx-auto">
<i class="fas fa-arrow-down mr-2"></i> Load More Predictions
</button>
</div>
</div>
<script>
// Filter functionality
document.querySelectorAll('.filter-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('.filter-btn').forEach(b => b.classList.remove('active', 'bg-blue-600'));
document.querySelectorAll('.filter-btn').forEach(b => b.classList.add('bg-gray-800'));
this.classList.add('active', 'bg-blue-600');
this.classList.remove('bg-gray-800');
// In a real app, you would filter predictions here
console.log(`Filtering by: ${this.textContent.trim()}`);
});
});
// Track button functionality
document.querySelectorAll('.prediction-card button').forEach(btn => {
if (btn.textContent.includes('Track')) {
btn.addEventListener('click', function(e) {
e.stopPropagation();
const card = this.closest('.prediction-card');
card.classList.add('glow');
this.innerHTML = '<i class="fas fa-check mr-1"></i> Tracking';
this.classList.remove('bg-blue-600', 'bg-purple-600', 'bg-green-600', 'bg-red-600', 'bg-yellow-600');
this.classList.add('bg-gray-700');
setTimeout(() => {
card.classList.remove('glow');
}, 1000);
});
}
});
// Create prediction button
document.querySelector('.prediction-card button')?.addEventListener('click', function() {
alert('Prediction creation form would open here!');
});
// Load more button
document.querySelector('.text-center button')?.addEventListener('click', function() {
alert('Loading more predictions...');
});
</script>
<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=emad600/future-predictions" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>