cryptodash-pro / index.html
agmaster's picture
<!DOCTYPE html>
48d6114 verified
Raw History Blame Contribute Delete
20.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CryptoDash Pro - Real-Time Crypto Analytics</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap" rel="stylesheet">
<style>
@keyframes gradientPulse {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.gradient-bg {
background: linear-gradient(135deg, #6e8efb, #a777e3, #4da6ff, #66cc99);
background-size: 300% 300%;
animation: gradientPulse 12s ease infinite;
}
.card-hover-effect {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover-effect:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.glassy-card {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.18);
}
</style>
</head>
<body class="font-['Space_Grotesk'] bg-gray-50 text-gray-900">
<!-- Animated Header -->
<header class="gradient-bg text-white py-6 sticky top-0 z-50 shadow-lg">
<div class="container mx-auto px-6 flex justify-between items-center">
<div class="flex items-center space-x-2">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<h1 class="text-2xl font-bold">CryptoDash Pro</h1>
</div>
<nav class="hidden md:block">
<ul class="flex space-x-8">
<li><a href="#" class="hover:text-yellow-300 transition-colors font-medium">Dashboard</a></li>
<li><a href="#markets" class="hover:text-yellow-300 transition-colors">Markets</a></li>
<li><a href="#portfolio" class="hover:text-yellow-300 transition-colors">Portfolio</a></li>
<li><a href="#news" class="hover:text-yellow-300 transition-colors">News</a></li>
<li><a href="#account" class="hover:text-yellow-300 transition-colors">Account</a></li>
</ul>
</nav>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</header>
<!-- Hero Section -->
<section class="gradient-bg text-white py-20">
<div class="container mx-auto px-6 text-center">
<div class="max-w-3xl mx-auto">
<h2 class="text-4xl md:text-5xl font-bold mb-6">Track. Trade. Triumph.</h2>
<p class="text-xl mb-10 opacity-90">Real-time cryptocurrency data, analytics, and trading tools in one powerful dashboard.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-white text-indigo-600 px-8 py-3 rounded-full font-bold hover:bg-gray-100 transition-colors shadow-lg">
Get Started
</button>
<button class="border-2 border-white text-white px-8 py-3 rounded-full font-bold hover:bg-white hover:text-indigo-600 transition-colors">
Explore Markets
</button>
</div>
</div>
</div>
</section>
<!-- Market Overview -->
<section id="markets" class="py-16 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12">Market Overview</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12">
<!-- Market Cap Card -->
<div class="bg-indigo-600 text-white p-6 rounded-xl card-hover-effect">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">Total Market Cap</p>
<h3 class="text-2xl font-bold">$1.42T</h3>
<p class="text-green-300 text-sm mt-1">↑ 2.4% (24h)</p>
</div>
<div class="bg-indigo-700 p-3 rounded-lg">
<i data-feather="dollar-sign" class="w-5 h-5"></i>
</div>
</div>
</div>
<!-- Volume Card -->
<div class="bg-purple-600 text-white p-6 rounded-xl card-hover-effect">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">24h Volume</p>
<h3 class="text-2xl font-bold">$63.2B</h3>
<p class="text-green-300 text-sm mt-1">↑ 5.1%</p>
</div>
<div class="bg-purple-700 p-3 rounded-lg">
<i data-feather="activity" class="w-5 h-5"></i>
</div>
</div>
</div>
<!-- BTC Dominance -->
<div class="bg-blue-600 text-white p-6 rounded-xl card-hover-effect">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">BTC Dominance</p>
<h3 class="text-2xl font-bold">42.8%</h3>
<p class="text-red-300 text-sm mt-1">↓ 0.3% (24h)</p>
</div>
<div class="bg-blue-700 p-3 rounded-lg">
<i data-feather="bitcoin" class="w-5 h-5"></i>
</div>
</div>
</div>
<!-- ETH Dominance -->
<div class="bg-green-600 text-white p-6 rounded-xl card-hover-effect">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">ETH Dominance</p>
<h3 class="text-2xl font-bold">18.2%</h3>
<p class="text-green-300 text-sm mt-1">↑ 1.1% (24h)</p>
</div>
<div class="bg-green-700 p-3 rounded-lg">
<i data-feather="cpu" class="w-5 h-5"></i>
</div>
</div>
</div>
</div>
<!-- Top Cryptos -->
<div class="bg-gray-50 rounded-xl p-6 shadow-sm">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">Top Cryptocurrencies</h3>
<button class="text-indigo-600 hover:text-indigo-800 flex items-center">
View All
<i data-feather="chevron-right" class="ml-1 w-4 h-4"></i>
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead class="text-left text-gray-500">
<tr>
<th class="pb-3 font-medium">#</th>
<th class="pb-3 font-medium">Name</th>
<th class="pb-3 font-medium text-right">Price</th>
<th class="pb-3 font-medium text-right">24h %</th>
<th class="pb-3 font-medium text-right">Market Cap</th>
<th class="pb-3 font-medium text-right">Last 7 Days</th>
</tr>
</thead>
<tbody id="cryptoTable" class="divide-y divide-gray-200">
<!-- Crypto data will be inserted here by JavaScript -->
</tbody>
</table>
</div>
</div>
</div>
</section>
<!-- Price Charts -->
<section class="py-16 bg-gray-100">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12">Interactive Price Charts</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- BTC Chart -->
<div class="bg-white p-6 rounded-xl shadow-sm card-hover-effect">
<div class="flex justify-between items-center mb-6">
<div class="flex items-center space-x-3">
<img src="https://cryptologos.cc/logos/bitcoin-btc-logo.png" alt="Bitcoin" class="w-8 h-8">
<h3 class="font-bold">Bitcoin (BTC)</h3>
</div>
<div class="text-right">
<p class="text-gray-500 text-sm">Current Price</p>
<p class="font-bold">$42,689.24</p>
</div>
</div>
<canvas id="btcChart" height="250"></canvas>
</div>
<!-- ETH Chart -->
<div class="bg-white p-6 rounded-xl shadow-sm card-hover-effect">
<div class="flex justify-between items-center mb-6">
<div class="flex items-center space-x-3">
<img src="https://cryptologos.cc/logos/ethereum-eth-logo.png" alt="Ethereum" class="w-8 h-8">
<h3 class="font-bold">Ethereum (ETH)</h3>
</div>
<div class="text-right">
<p class="text-gray-500 text-sm">Current Price</p>
<p class="font-bold">$2,543.76</p>
</div>
</div>
<canvas id="ethChart" height="250"></canvas>
</div>
</div>
</div>
</section>
<!-- Features -->
<section id="features" class="py-16 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold text-center mb-12">Powerful Features</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-gray-50 p-8 rounded-xl text-center card-hover-effect">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6">
<i data-feather="zap" class="w-8 h-8 text-indigo-600"></i>
</div>
<h3 class="text-xl font-bold mb-3">Real-time Data</h3>
<p class="text-gray-600">Get instant price updates, order book changes, and trade executions with our low-latency API.</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-50 p-8 rounded-xl text-center card-hover-effect">
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6">
<i data-feather="bar-chart-2" class="w-8 h-8 text-purple-600"></i>
</div>
<h3 class="text-xl font-bold mb-3">Advanced Charts</h3>
<p class="text-gray-600">Professional trading charts with dozens of technical indicators and drawing tools.</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-50 p-8 rounded-xl text-center card-hover-effect">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6">
<i data-feather="bell" class="w-8 h-8 text-blue-600"></i>
</div>
<h3 class="text-xl font-bold mb-3">Price Alerts</h3>
<p class="text-gray-600">Never miss important price movements with customizable alerts via email or push notifications.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 gradient-bg text-white">
<div class="container mx-auto px-6 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Take Control of Your Crypto Journey?</h2>
<p class="text-xl mb-10 max-w-2xl mx-auto opacity-90">Join thousands of traders already using CryptoDash Pro to make informed decisions.</p>
<button class="bg-white text-indigo-600 px-10 py-4 rounded-full font-bold hover:bg-gray-100 transition-colors shadow-lg text-lg">
Start Free Trial
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span class="text-xl font-bold">CryptoDash Pro</span>
</div>
<p class="text-gray-400">Empowering traders with real-time data and advanced analytics since 2023.</p>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Products</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Dashboard</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">API</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Mobile App</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Pro Terminal</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Press</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Connect</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
</div>
<p class="text-gray-400">support@cryptodashpro.com</p>
</div>
</div>
<div class="pt-8 border-t border-gray-800 text-center text-gray-500 text-sm">
<p>© 2023 CryptoDash Pro. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Initialize Feather Icons
feather.replace();
// Sample crypto data
const cryptos = [
{ rank: 1, name: "Bitcoin", symbol: "BTC", price: "$42,689.24", change: "+2.4%", marketCap: "$814.2B", sparkline: "up" },
{ rank: 2, name: "Ethereum", symbol: "ETH", price: "$2,543.76", change: "+3.8%", marketCap: "$302.1B", sparkline: "up" },
{ rank: 3, name: "BNB", symbol: "BNB", price: "$311.45", change: "+1.2%", marketCap: "$48.3B", sparkline: "up" },
{ rank: 4, name: "XRP", symbol: "XRP", price: "$0.5421", change: "-0.8%", marketCap: "$29.4B", sparkline: "down" },
{ rank: 5, name: "Solana", symbol: "SOL", price: "$102.67", change: "+5.3%", marketCap: "$43.8B", sparkline: "up" }
];
// Populate crypto table
const tableBody = document.getElementById('cryptoTable');
cryptos.forEach(crypto => {
const row = document.createElement('tr');
row.className = 'hover:bg-gray-100';
row.innerHTML = `
<td class="py-4">${crypto.rank}</td>
<td class="py-4 font-medium">${crypto.name} <span class="text-gray-500">${crypto.symbol}</span></td>
<td class="py-4 text-right font-medium">${crypto.price}</td>
<td class="py-4 text-right ${crypto.change.startsWith('+') ? 'text-green-500' : 'text-red-500'}">${crypto.change}</td>
<td class="py-4 text-right">${crypto.marketCap}</td>
<td class="py-4 text-right">
<div class="inline-block w-20 h-8">
<canvas class="sparkline-${crypto.sparkline}" width="80" height="32"></canvas>
</div>
</td>
`;
tableBody.appendChild(row);
});
// Initialize charts
const btcCtx = document.getElementById('btcChart');
new Chart(btcCtx, {
type: 'line',
data: {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
datasets: [{
label: 'BTC Price',
data: [38000, 41500, 40200, 43700, 42500, 42689],
borderColor: '#4F46E5',
backgroundColor: 'rgba(79, 70, 229, 0.1)',
borderWidth: 2,
tension: 0.3,
fill: true
}]
},
options: {
responsive: true,
plugins: {
legend: { display: false }
},
scales: {
y: { beginAtZero: false }
}
}
});
const ethCtx = document.getElementById('ethChart');
new Chart(ethCtx, {
type: 'line',
data: {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
datasets: [{
label: 'ETH Price',
data: [2300, 2450, 2380, 2600, 2510, 2543],
borderColor: '#8B5CF6',
backgroundColor: 'rgba(139, 92, 246, 0.1)',
borderWidth: 2,
tension: 0.3,
fill: true
}]
},
options: {
responsive: true,
plugins: {
legend: { display: false }
},
scales: {
y: { beginAtZero: false }
}
}
});
</script>
</body>
</html>