Создай современный, минималистичный дизайн веб-сайта для крипто-сервиса "TitanSwap" с мужицким и солидным стилем.
4570822 verified Download index.html from flexytofficeytytyt/https-huggingface-co-flexytofficeytytyt: direct link, hf CLI and curl.
- Browser
- Download file 19.1 kB
-
https://huggingface.co/spaces/flexytofficeytytyt/https-huggingface-co-flexytofficeytytyt/resolve/main/index.html
- Command line
-
hf download hf://spaces/flexytofficeytytyt/https-huggingface-co-flexytofficeytytyt/index.html
-
curl -L -o index.html https://huggingface.co/spaces/flexytofficeytytyt/https-huggingface-co-flexytofficeytytyt/resolve/main/index.html
19.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TitanSwap - Strength in Liquidity</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| titan: { | |
| dark: '#0A0A0A', | |
| silver: '#C0C0C0', | |
| red: '#D92626', | |
| gray: '#1A1A1A', | |
| } | |
| }, | |
| fontFamily: { | |
| sans: ['Montserrat', 'sans-serif'], | |
| }, | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| body { | |
| background-color: #0A0A0A; | |
| color: white; | |
| } | |
| .swap-card { | |
| background: linear-gradient(145deg, #1A1A1A, #0F0F0F); | |
| border: 1px solid rgba(192, 192, 192, 0.1); | |
| } | |
| .pool-card { | |
| background: linear-gradient(145deg, #1A1A1A, #0F0F0F); | |
| border: 1px solid rgba(192, 192, 192, 0.1); | |
| } | |
| .btn-primary { | |
| background: linear-gradient(90deg, #D92626, #A61E1E); | |
| } | |
| .btn-wallet { | |
| background: rgba(192, 192, 192, 0.1); | |
| border: 1px solid rgba(192, 192, 192, 0.3); | |
| } | |
| .token-select { | |
| background: rgba(192, 192, 192, 0.05); | |
| border: 1px solid rgba(192, 192, 192, 0.1); | |
| } | |
| .nav-link:hover { | |
| color: #D92626; | |
| } | |
| .logo-text { | |
| background: linear-gradient(90deg, #C0C0C0, #FFFFFF); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="border-b border-titan-gray py-4 px-6 md:px-12"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="#D92626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | |
| <path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/> | |
| </svg> | |
| <span class="text-2xl font-bold logo-text">TitanSwap</span> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#" class="text-titan-silver hover:text-titan-red font-medium nav-link">Swap</a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red font-medium nav-link">Pools</a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red font-medium nav-link">Docs</a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red font-medium nav-link">About</a> | |
| </div> | |
| <button id="connect-wallet" class="btn-wallet text-titan-silver px-4 py-2 rounded-lg font-medium flex items-center space-x-2 hover:bg-titan-gray transition"> | |
| <i data-feather="wallet"></i> | |
| <span>Connect Wallet</span> | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="py-16 px-6 md:px-12 text-center"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-4">Welcome to <span class="logo-text">TitanSwap</span></h1> | |
| <p class="text-xl md:text-2xl text-titan-silver mb-8">Strength in Liquidity</p> | |
| <div class="max-w-3xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-titan-gray p-4 rounded-lg border border-titan-gray"> | |
| <i data-feather="shield" class="text-titan-red w-8 h-8 mx-auto mb-2"></i> | |
| <h3 class="font-bold mb-1">Secure</h3> | |
| <p class="text-sm text-titan-silver">Audited smart contracts</p> | |
| </div> | |
| <div class="bg-titan-gray p-4 rounded-lg border border-titan-gray"> | |
| <i data-feather="zap" class="text-titan-red w-8 h-8 mx-auto mb-2"></i> | |
| <h3 class="font-bold mb-1">Fast</h3> | |
| <p class="text-sm text-titan-silver">Low latency swaps</p> | |
| </div> | |
| <div class="bg-titan-gray p-4 rounded-lg border border-titan-gray"> | |
| <i data-feather="dollar-sign" class="text-titan-red w-8 h-8 mx-auto mb-2"></i> | |
| <h3 class="font-bold mb-1">Low Fees</h3> | |
| <p class="text-sm text-titan-silver">Competitive rates</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Swap Section --> | |
| <section class="py-8 px-6 md:px-12"> | |
| <div class="max-w-md mx-auto swap-card rounded-xl p-6 shadow-lg"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-bold">Swap Tokens</h2> | |
| <div class="flex space-x-2"> | |
| <button class="text-titan-silver hover:text-white"> | |
| <i data-feather="settings"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-sm text-titan-silver">From</span> | |
| <span class="text-sm text-titan-silver">Balance: 0.0</span> | |
| </div> | |
| <div class="token-select flex items-center justify-between p-3 rounded-lg mb-2"> | |
| <input type="number" placeholder="0.0" class="bg-transparent w-full text-white focus:outline-none"> | |
| <button class="flex items-center space-x-2 bg-titan-gray px-3 py-1 rounded-lg"> | |
| <span>ETH</span> | |
| <i data-feather="chevron-down"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex justify-center my-2"> | |
| <button class="bg-titan-gray p-2 rounded-full hover:bg-titan-red transition"> | |
| <i data-feather="arrow-down" class="w-5 h-5"></i> | |
| </button> | |
| </div> | |
| <div class="mb-6"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-sm text-titan-silver">To</span> | |
| <span class="text-sm text-titan-silver">Balance: 0.0</span> | |
| </div> | |
| <div class="token-select flex items-center justify-between p-3 rounded-lg mb-2"> | |
| <input type="number" placeholder="0.0" class="bg-transparent w-full text-white focus:outline-none"> | |
| <button class="flex items-center space-x-2 bg-titan-gray px-3 py-1 rounded-lg"> | |
| <span>USDT</span> | |
| <i data-feather="chevron-down"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <button class="btn-primary w-full py-3 rounded-lg font-bold hover:opacity-90 transition"> | |
| Swap | |
| </button> | |
| <div class="mt-4 pt-4 border-t border-titan-gray text-sm"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-titan-silver">Exchange Rate</span> | |
| <span>1 ETH = 1,850.42 USDT</span> | |
| </div> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-titan-silver">Network Fee</span> | |
| <span>$1.23</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">Price Impact</span> | |
| <span class="text-titan-red">0.12%</span> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Pools Section --> | |
| <section class="py-12 px-6 md:px-12"> | |
| <div class="max-w-6xl mx-auto"> | |
| <h2 class="text-2xl font-bold mb-6">Top Liquidity Pools</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <!-- Pool 1 --> | |
| <div class="pool-card rounded-xl p-6"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <div class="flex -space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-blue-500"></div> | |
| <div class="w-8 h-8 rounded-full bg-green-500"></div> | |
| </div> | |
| <span class="font-bold">ETH/USDT</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">TVL</span> | |
| <span>$12.4M</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">APY</span> | |
| <span class="text-titan-red">24.5%</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">Volume (24h)</span> | |
| <span>$3.2M</span> | |
| </div> | |
| </div> | |
| <button class="btn-wallet w-full mt-4 py-2 rounded-lg font-medium hover:bg-titan-gray transition"> | |
| Add Liquidity | |
| </button> | |
| </div> | |
| <!-- Pool 2 --> | |
| <div class="pool-card rounded-xl p-6"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <div class="flex -space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-purple-500"></div> | |
| <div class="w-8 h-8 rounded-full bg-green-500"></div> | |
| </div> | |
| <span class="font-bold">MATIC/USDT</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">TVL</span> | |
| <span>$8.7M</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">APY</span> | |
| <span class="text-titan-red">18.2%</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">Volume (24h)</span> | |
| <span>$1.8M</span> | |
| </div> | |
| </div> | |
| <button class="btn-wallet w-full mt-4 py-2 rounded-lg font-medium hover:bg-titan-gray transition"> | |
| Add Liquidity | |
| </button> | |
| </div> | |
| <!-- Pool 3 --> | |
| <div class="pool-card rounded-xl p-6"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <div class="flex -space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-yellow-500"></div> | |
| <div class="w-8 h-8 rounded-full bg-blue-500"></div> | |
| </div> | |
| <span class="font-bold">WBTC/ETH</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">TVL</span> | |
| <span>$15.2M</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">APY</span> | |
| <span class="text-titan-red">15.8%</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-titan-silver">Volume (24h)</span> | |
| <span>$4.5M</span> | |
| </div> | |
| </div> | |
| <button class="btn-wallet w-full mt-4 py-2 rounded-lg font-medium hover:bg-titan-gray transition"> | |
| Add Liquidity | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Wallet Modal --> | |
| <div id="wallet-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden"> | |
| <div class="bg-titan-gray rounded-xl p-6 max-w-md w-full"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-xl font-bold">Connect Wallet</h3> | |
| <button id="close-modal" class="text-titan-silver hover:text-white"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <div class="space-y-3"> | |
| <button class="btn-wallet w-full py-3 rounded-lg font-medium flex items-center justify-center space-x-3 hover:bg-titan-dark transition"> | |
| <img src="https://upload.wikimedia.org/wikipedia/commons/3/36/MetaMask_Fox.svg" alt="MetaMask" class="w-6 h-6"> | |
| <span>MetaMask</span> | |
| </button> | |
| <button class="btn-wallet w-full py-3 rounded-lg font-medium flex items-center justify-center space-x-3 hover:bg-titan-dark transition"> | |
| <img src="https://tonkeeper.com/favicon.ico" alt="Tonkeeper" class="w-6 h-6"> | |
| <span>Tonkeeper</span> | |
| </button> | |
| <button class="btn-wallet w-full py-3 rounded-lg font-medium flex items-center justify-center space-x-3 hover:bg-titan-dark transition"> | |
| <img src="https://phantom.app/favicon.ico" alt="Phantom" class="w-6 h-6"> | |
| <span>Phantom</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="border-t border-titan-gray py-8 px-6 md:px-12"> | |
| <div class="max-w-6xl mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#D92626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | |
| <path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/> | |
| </svg> | |
| <span class="text-xl font-bold logo-text">TitanSwap</span> | |
| </div> | |
| <p class="text-titan-silver text-sm">Strength in Liquidity. Secure, fast and reliable decentralized exchange.</p> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Resources</h4> | |
| <ul class="space-y-2 text-sm text-titan-silver"> | |
| <li><a href="#" class="hover:text-titan-red transition">Documentation</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">Whitepaper</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">GitHub</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">Blog</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Company</h4> | |
| <ul class="space-y-2 text-sm text-titan-silver"> | |
| <li><a href="#" class="hover:text-titan-red transition">About Us</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">Careers</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">Press</a></li> | |
| <li><a href="#" class="hover:text-titan-red transition">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Connect</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-titan-silver hover:text-titan-red transition"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red transition"> | |
| <i data-feather="discord"></i> | |
| </a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red transition"> | |
| <i data-feather="telegram"></i> | |
| </a> | |
| <a href="#" class="text-titan-silver hover:text-titan-red transition"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-titan-gray mt-8 pt-6 text-sm text-titan-silver"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <p>© 2023 TitanSwap. All rights reserved.</p> | |
| <div class="flex space-x-4 mt-4 md:mt-0"> | |
| <a href="#" class="hover:text-titan-red transition">Terms</a> | |
| <a href="#" class="hover:text-titan-red transition">Privacy</a> | |
| <a href="#" class="hover:text-titan-red transition">Cookies</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Wallet Modal | |
| const connectWalletBtn = document.getElementById('connect-wallet'); | |
| const walletModal = document.getElementById('wallet-modal'); | |
| const closeModalBtn = document.getElementById('close-modal'); | |
| connectWalletBtn.addEventListener('click', () => { | |
| walletModal.classList.remove('hidden'); | |
| }); | |
| closeModalBtn.addEventListener('click', () => { | |
| walletModal.classList.add('hidden'); | |
| }); | |
| walletModal.addEventListener('click', (e) => { | |
| if (e.target === walletModal) { | |
| walletModal.classList.add('hidden'); | |
| } | |
| }); | |
| // Token select dropdown functionality would go here | |
| // Swap functionality would go here | |
| </script> | |
| </body> | |
| </html> | |