Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Bar - DXN1 Crypto Nexus</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> | |
| </head> | |
| <body class="bg-gray-900 min-h-screen overflow-x-hidden"> | |
| <!-- Navigation Component --> | |
| <crypto-navbar></crypto-navbar> | |
| <!-- Main Content --> | |
| <main class="pt-20 pb-16 px-4"> | |
| <div class="max-w-6xl mx-auto"> | |
| <!-- Header Section --> | |
| <section class="text-center mb-16"> | |
| <h1 class="text-5xl md:text-6xl font-bold text-white mb-6"> | |
| Crypto Bar | |
| </h1> | |
| <p class="text-xl text-blue-300 max-w-3xl mx-auto"> | |
| Track real-time cryptocurrency prices, market trends, and trading data in our comprehensive crypto bar. | |
| </p> | |
| </section> | |
| <!-- Live Crypto Data Section --> | |
| <section class="bg-gray-800 rounded-xl p-8 mb-12"> | |
| <h2 class="text-3xl font-bold text-white mb-8 text-center"> | |
| Live Market Data | |
| </h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6" id="cryptoData"> | |
| <!-- Crypto data will be populated by JavaScript --> | |
| <div class="text-center p-4 bg-gray-700 rounded-lg pulse-animation"> | |
| <div class="text-blue-400 mb-2"> | |
| <i data-feather="refresh-cw" class="w-8 h-8 mx-auto"></i> | |
| </div> | |
| <p class="text-gray-300">Loading market data...</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Trading Pairs Section --> | |
| <section class="bg-gray-800 rounded-xl p-8 mb-12"> | |
| <h2 class="text-3xl font-bold text-white mb-8 text-center"> | |
| Popular Trading Pairs | |
| </h2> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full text-white"> | |
| <thead> | |
| <tr class="border-b border-gray-600"> | |
| <th class="py-4 text-left">Pair</th> | |
| <th class="py-4 text-right">Price</th> | |
| <th class="py-4 text-right">24h Change</th> | |
| <th class="py-4 text-right">Volume</th> | |
| </tr> | |
| </thead> | |
| <tbody id="tradingPairs"> | |
| <!-- Trading pairs will be populated by JavaScript --> | |
| <tr> | |
| <td colspan="4" class="py-8 text-center text-gray-400"> | |
| Loading trading pairs... | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </section> | |
| <!-- Market Stats Section --> | |
| <section class="bg-gray-800 rounded-xl p-8"> | |
| <h2 class="text-3xl font-bold text-white mb-8 text-center"> | |
| Market Statistics | |
| </h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6" id="marketStats"> | |
| <!-- Market stats will be populated by JavaScript --> | |
| <div class="text-center p-6 bg-gray-700 rounded-lg"> | |
| <div class="text-blue-400 mb-3"> | |
| <i data-feather="trending-up" class="w-10 h-10 mx-auto"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-white mb-2">Total Market Cap</h3> | |
| <p class="text-gray-300">Loading...</p> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| </main> | |
| <!-- Footer Component --> | |
| <crypto-footer></crypto-footer> | |
| <!-- Web Components --> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <!-- Main Script --> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |