Spaces:
Running

test-3 / index.html
Oman6969's picture
Add this image to the top left part of the website https://speedevs.github.io/Anoma-ID/anoma.png , and make it small like logo to the top left page - Follow Up Deployment
2f7ab75 verified
Raw History Blame Contribute Delete
13.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anoma Multichain Intents</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #ffffff;
color: #000000;
}
.gradient-bg {
background: #ffffff;
}
.text-red-500 {
color: #ef4444;
}
.token-card {
transition: all 0.3s ease;
background-color: #f3f4f6;
}
.token-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.input-field {
background-color: #f3f4f6;
border: 1px solid #d1d5db;
color: #000000;
}
.input-field:focus {
outline: none;
border-color: #6366f1;
}
</style>
</head>
<body class="min-h-screen">
<div class="gradient-bg min-h-screen">
<!-- Header -->
<header class="py-6 px-4 sm:px-6 lg:px-8 border-b border-gray-200">
<div class="max-w-7xl mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<img src="https://speedevs.github.io/Anoma-ID/anoma.png" alt="Anoma Logo" class="w-10 h-10">
<h1 class="text-2xl font-bold text-black">
<span class="text-red-500">Anoma</span> <span class="text-black">Multi Intents Bridge</span>
</h1>
</div>
<button class="px-4 py-2 rounded-full bg-indigo-600 hover:bg-indigo-700 transition-colors flex items-center space-x-2">
<i data-feather="user" class="w-4 h-4"></i>
<span>Connect Wallet</span>
</button>
</div>
</header>
<main class="max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Create Intent Section -->
<div class="lg:col-span-2 space-y-8">
<section class="bg-gray-50 rounded-xl p-6 shadow-lg" data-aos="fade-up">
<h2 class="text-xl font-semibold mb-6 flex items-center">
<i data-feather="plus-circle" class="mr-2 text-indigo-400"></i>
Create Intent
</h2>
<div class="space-y-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-slate-300 mb-1">From Blockchain</label>
<select class="w-full input-field rounded-lg px-4 py-3 text-white">
<option class="text-black">Ethereum</option>
<option class="text-black">Polygon</option>
<option class="text-black">Solana</option>
<option class="text-black">Avalanche</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-slate-300 mb-1">Ticker</label>
<select class="w-full input-field rounded-lg px-4 py-3 text-white">
<option>ETH</option>
<option>USDT</option>
<option>USDC</option>
<option>DAI</option>
</select>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-slate-300 mb-1">To Blockchain</label>
<select class="w-full input-field rounded-lg px-4 py-3 text-white">
<option>Ethereum</option>
<option>Polygon</option>
<option>Solana</option>
<option>Avalanche</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-slate-300 mb-1">To Ticker</label>
<select class="w-full input-field rounded-lg px-4 py-3 text-white">
<option>ETH</option>
<option>USDT</option>
<option>USDC</option>
<option>DAI</option>
</select>
</div>
</div>
<div>
<label class="block text-sm font-medium text-slate-300 mb-1">Amount</label>
<div class="relative">
<input type="number" class="w-full input-field rounded-lg px-4 py-3 text-white pr-16" placeholder="0.0">
<div class="absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none">
<span class="text-slate-400">MAX</span>
</div>
</div>
</div>
<button class="w-full mt-6 bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-700 hover:to-purple-700 text-white font-medium py-3 px-4 rounded-lg transition-all flex items-center justify-center space-x-2">
<i data-feather="send" class="w-5 h-5"></i>
<span>Accept Intent</span>
</button>
</div>
</section>
<!-- History Section -->
<section class="bg-gray-50 rounded-xl p-6 shadow-lg" data-aos="fade-up" data-aos-delay="100">
<h2 class="text-xl font-semibold mb-6 flex items-center">
<i data-feather="clock" class="mr-2 text-indigo-400"></i>
History
</h2>
<div class="text-center py-12 text-slate-400">
<i data-feather="inbox" class="w-12 h-12 mx-auto mb-4"></i>
<p>No transactions yet</p>
</div>
</section>
</div>
<!-- Balances Section -->
<div class="lg:col-span-1">
<section class="bg-gray-50 rounded-xl p-6 shadow-lg sticky top-8" data-aos="fade-left">
<h2 class="text-xl font-semibold mb-6 flex items-center">
<i data-feather="dollar-sign" class="mr-2 text-indigo-400"></i>
Balances
</h2>
<div class="space-y-3">
<!-- Token 1 -->
<div class="token-card bg-slate-700 hover:bg-slate-600 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/btc.png" alt="BTC" class="w-8 h-8">
<span class="font-medium">BTC</span>
</div>
<span class="font-mono">0.01</span>
</div>
<!-- Token 2 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/usdt.png" alt="USDT" class="w-8 h-8">
<span class="font-medium">USDT</span>
</div>
<span class="font-mono">5</span>
</div>
<!-- Token 3 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/eth.png" alt="ETH" class="w-8 h-8">
<span class="font-medium">ETH</span>
</div>
<span class="font-mono">0.1</span>
</div>
<!-- Token 4 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/dai.png" alt="DAI" class="w-8 h-8">
<span class="font-medium">DAI</span>
</div>
<span class="font-mono">10</span>
</div>
<!-- Token 5 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/sol.png" alt="SOL" class="w-8 h-8">
<span class="font-medium">SOL</span>
</div>
<span class="font-mono">1</span>
</div>
<!-- Token 6 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/anoma.png" alt="XAN" class="w-8 h-8">
<span class="font-medium">XAN</span>
</div>
<span class="font-mono">20</span>
</div>
<!-- Token 7 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/sui.png" alt="SUI" class="w-8 h-8">
<span class="font-medium">SUI</span>
</div>
<span class="font-mono">1</span>
</div>
<!-- Token 8 -->
<div class="token-card hover:bg-gray-200 rounded-lg p-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<img src="https://anoma-demo.vercel.app/icons/tron.png" alt="TRX" class="w-8 h-8">
<span class="font-medium">TRX</span>
</div>
<span class="font-mono">0.1</span>
</div>
</div>
</section>
</div>
</div>
</main>
</div>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
feather.replace();
</script>
</body>
</html>