File size: 20,573 Bytes
48d6114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a659be2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!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>