cryptopulse-explorer / index.html
Mahi2305's picture
generate a crytpo website
3c308de verified
Raw History Blame Contribute Delete
12.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CryptoPulse Explorer | Live Market Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 min-h-screen">
<!-- Navigation Component -->
<crypto-navbar></crypto-navbar>
<!-- Hero Section -->
<section class="relative bg-gradient-to-r from-primary-600 to-primary-800 text-white overflow-hidden">
<div class="absolute inset-0 opacity-10">
<div class="absolute top-0 left-0 w-64 h-64 bg-white rounded-full -translate-x-1/2 -translate-y-1/2"></div>
<div class="absolute bottom-0 right-0 w-96 h-96 bg-white rounded-full translate-x-1/3 translate-y-1/3"></div>
</div>
<div class="container mx-auto px-4 py-16 md:py-24 relative z-10">
<div class="max-w-3xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6 leading-tight">
Navigate the <span class="bg-clip-text text-transparent bg-gradient-to-r from-yellow-300 to-cyan-300">Crypto Universe</span>
</h1>
<p class="text-xl md:text-2xl mb-8 text-primary-100">
Real-time market data, portfolio tracking, and intelligent insights in one powerful dashboard.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="#market" class="bg-white text-primary-700 hover:bg-gray-100 font-semibold py-3 px-8 rounded-lg shadow-lg transition duration-300 transform hover:-translate-y-1">
<i data-feather="trending-up" class="inline mr-2"></i> Explore Markets
</a>
<a href="portfolio.html" class="bg-transparent border-2 border-white hover:bg-white/10 text-white font-semibold py-3 px-8 rounded-lg transition duration-300">
<i data-feather="briefcase" class="inline mr-2"></i> My Portfolio
</a>
</div>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-gray-50 to-transparent"></div>
</section>
<!-- Market Overview -->
<section id="market" class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-10">
<div>
<h2 class="text-3xl md:text-4xl font-bold text-gray-800">Live Market Overview</h2>
<p class="text-gray-600 mt-2">Real-time cryptocurrency prices and trends</p>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search coins..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<select class="border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-primary-500">
<option>24h Change</option>
<option>Market Cap</option>
<option>Volume</option>
</select>
</div>
</div>
<!-- Market Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12">
<div class="bg-white rounded-xl shadow-lg p-6 border-l-4 border-primary-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Total Market Cap</p>
<p class="text-2xl font-bold text-gray-800">$2.1T</p>
</div>
<div class="bg-primary-50 p-3 rounded-full">
<i data-feather="globe" class="text-primary-600"></i>
</div>
</div>
<div class="mt-4 flex items-center text-green-500">
<i data-feather="trending-up" class="mr-2"></i>
<span>+3.2% (24h)</span>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 border-l-4 border-green-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">BTC Dominance</p>
<p class="text-2xl font-bold text-gray-800">52.4%</p>
</div>
<div class="bg-green-50 p-3 rounded-full">
<i data-feather="bitcoin" class="text-green-600"></i>
</div>
</div>
<div class="mt-4 flex items-center text-green-500">
<i data-feather="trending-up" class="mr-2"></i>
<span>+0.8% (24h)</span>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 border-l-4 border-yellow-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">24h Volume</p>
<p class="text-2xl font-bold text-gray-800">$84.2B</p>
</div>
<div class="bg-yellow-50 p-3 rounded-full">
<i data-feather="activity" class="text-yellow-600"></i>
</div>
</div>
<div class="mt-4 flex items-center text-green-500">
<i data-feather="trending-up" class="mr-2"></i>
<span>+12.5% (24h)</span>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg p-6 border-l-4 border-purple-500">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Fear & Greed Index</p>
<p class="text-2xl font-bold text-gray-800">76</p>
</div>
<div class="bg-purple-50 p-3 rounded-full">
<i data-feather="wind" class="text-purple-600"></i>
</div>
</div>
<div class="mt-4">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style="width: 76%"></div>
</div>
<p class="text-sm text-gray-500 mt-1">Greed</p>
</div>
</div>
</div>
<!-- Crypto Table -->
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Asset</th>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Price</th>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">24h Change</th>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Market Cap</th>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">24h Volume</th>
<th class="px-6 py-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th>
</tr>
</thead>
<tbody id="crypto-table-body" class="bg-white divide-y divide-gray-200">
<!-- Crypto data will be populated by JavaScript -->
</tbody>
</table>
</div>
</div>
<div class="text-center mt-8">
<a href="markets.html" class="inline-flex items-center text-primary-600 hover:text-primary-800 font-semibold">
View All Markets
<i data-feather="arrow-right" class="ml-2"></i>
</a>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold text-gray-800">Powerful Features</h2>
<p class="text-gray-600 mt-2 max-w-2xl mx-auto">Everything you need to navigate the cryptocurrency markets with confidence</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-50 rounded-xl p-8 hover:shadow-xl transition duration-300">
<div class="bg-primary-100 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="shield" class="text-primary-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-4">Secure Portfolio</h3>
<p class="text-gray-600">Track your investments with bank-level security and real-time updates on your holdings.</p>
</div>
<div class="bg-gray-50 rounded-xl p-8 hover:shadow-xl transition duration-300">
<div class="bg-green-100 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="bar-chart-2" class="text-green-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-4">Advanced Analytics</h3>
<p class="text-gray-600">Deep dive into market trends with professional-grade charts and technical indicators.</p>
</div>
<div class="bg-gray-50 rounded-xl p-8 hover:shadow-xl transition duration-300">
<div class="bg-purple-100 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="bell" class="text-purple-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-4">Smart Alerts</h3>
<p class="text-gray-600">Never miss an opportunity with customizable price alerts and market notifications.</p>
</div>
</div>
</div>
</section>
<!-- Footer Component -->
<crypto-footer></crypto-footer>
<!-- Load Components -->
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<!-- Main Script -->
<script src="script.js"></script>
<script>
feather.replace();
// Initialize crypto data
document.addEventListener('DOMContentLoaded', function() {
loadCryptoData();
});
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>