test / index.html
Dyspian's picture
Add 3 files
c996dd4 verified
Raw History Blame Contribute Delete
48 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$LYRIC - Decentralizing Creativity</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/web3@1.5.2/dist/web3.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
color: #e2e8f0;
}
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
.card-glass {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-gradient {
background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #3b82f6;
border-radius: 4px;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.typewriter {
overflow: hidden;
border-right: 2px solid #3b82f6;
white-space: nowrap;
margin: 0 auto;
letter-spacing: 2px;
animation: typing 4.5s steps(40, end), blink-caret 0.75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #3b82f6 }
}
</style>
</head>
<body class="min-h-screen">
<!-- Navigation -->
<nav class="flex items-center justify-between p-6 px-10 sticky top-0 z-50 card-glass">
<div class="flex items-center space-x-2">
<i class="fas fa-music text-2xl text-blue-400"></i>
<span class="text-xl font-bold gradient-text">Lyric Protocol</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#features" class="hover:text-blue-400 transition">Features</a>
<a href="#tokenomics" class="hover:text-blue-400 transition">Tokenomics</a>
<a href="#roadmap" class="hover:text-blue-400 transition">Roadmap</a>
<a href="#dao" class="hover:text-blue-400 transition">DAO</a>
</div>
<div class="flex items-center space-x-4">
<button onclick="connectWallet()" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center space-x-2">
<i class="fas fa-wallet"></i>
<span>Connect Wallet</span>
</button>
<button id="mobile-menu" class="md:hidden text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
</nav>
<!-- Mobile Menu (hidden by default) -->
<div id="mobile-nav" class="hidden md:hidden fixed inset-0 bg-gray-900 bg-opacity-90 z-50 flex flex-col items-center justify-center space-y-8">
<button id="close-menu" class="absolute top-6 right-6 text-3xl">
<i class="fas fa-times"></i>
</button>
<a href="#features" class="text-2xl hover:text-blue-400 transition">Features</a>
<a href="#tokenomics" class="text-2xl hover:text-blue-400 transition">Tokenomics</a>
<a href="#roadmap" class="text-2xl hover:text-blue-400 transition">Roadmap</a>
<a href="#dao" class="text-2xl hover:text-blue-400 transition">DAO</a>
<button onclick="connectWallet()" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg text-xl flex items-center space-x-2">
<i class="fas fa-wallet"></i>
<span>Connect Wallet</span>
</button>
</div>
<!-- Hero Section -->
<section class="relative overflow-hidden hero-gradient">
<div class="container mx-auto px-6 py-20 md:py-32 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-12 md:mb-0">
<h1 class="text-4xl md:text-6xl font-bold mb-6">
<span class="gradient-text">Decentralizing creativity</span><br>
<div class="typewriter text-2xl md:text-4xl mt-3">one verse at a time.</div>
</h1>
<p class="text-lg md:text-xl text-gray-300 mb-8">
The future of collaborative songwriting powered by blockchain, AI, and decentralized governance. Own your lyrics, split royalties fairly, and predict the next hits.
</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button onclick="scrollToSection('features')" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium">
Explore Features
</button>
<button onclick="openDemo()" class="bg-transparent border border-blue-400 text-blue-400 hover:bg-blue-900 hover:bg-opacity-30 px-6 py-3 rounded-lg font-medium">
Live Demo
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative w-full max-w-md">
<div class="absolute -top-10 -left-10 w-32 h-32 bg-purple-500 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob"></div>
<div class="absolute -bottom-10 -right-10 w-32 h-32 bg-blue-500 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob animation-delay-2000"></div>
<div class="relative p-8 card-glass rounded-2xl shadow-2xl">
<h3 class="text-xl font-semibold mb-4">$LYRIC Token</h3>
<div class="grid grid-cols-2 gap-4 mb-6">
<div>
<p class="text-gray-400">Price</p>
<p class="text-xl font-bold">$0.00</p>
</div>
<div>
<p class="text-gray-400">Market Cap</p>
<p class="text-xl font-bold">$0</p>
</div>
<div>
<p class="text-gray-400">Holders</p>
<p class="text-xl font-bold">0</p>
</div>
<div>
<p class="text-gray-400">Volume (24h)</p>
<p class="text-xl font-bold">$0</p>
</div>
</div>
<button onclick="connectWallet()" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-medium">
Connect to Buy $LYRIC (coming soon)
</button>
</div>
</div>
</div>
</div>
<!-- Animated floating lyrics -->
<div class="absolute top-20 left-10 opacity-20 animate-float1">
<p class="text-xl rotate-12">"Like a blockchain in the wind"</p>
</div>
<div class="absolute bottom-10 right-10 opacity-20 animate-float2">
<p class="text-xl -rotate-6">"Decentralized love song"</p>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 px-6">
<div class="container mx-auto">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Core Features</h2>
<p class="text-gray-400 text-center max-w-2xl mx-auto mb-16">Revolutionizing music creation through blockchain technology</p>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="card-glass p-6 rounded-xl hover:border-blue-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-blue-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-users text-blue-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">Lyric DAO</h3>
</div>
<p class="text-gray-400 mb-4">Govern the platform's future through decentralized voting powered by $LYRIC tokens.</p>
<div class="flex items-center text-sm text-blue-400">
<i class="fas fa-shield-alt mr-2"></i>
<span>Smart contracts execute decisions automatically</span>
</div>
</div>
<!-- Feature 2 -->
<div class="card-glass p-6 rounded-xl hover:border-purple-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-purple-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-pen-fancy text-purple-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">Songwriting Vaults</h3>
</div>
<p class="text-gray-400 mb-4">Co-write songs globally with ownership tracked via NFTs and automatic royalty splits.</p>
<div class="flex items-center text-sm text-purple-400">
<i class="fas fa-gem mr-2"></i>
<span>ERC-1155 NFTs represent line-by-line ownership</span>
</div>
</div>
<!-- Feature 3 -->
<div class="card-glass p-6 rounded-xl hover:border-green-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-green-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-robot text-green-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">AI Lyric Mining</h3>
</div>
<p class="text-gray-400 mb-4">Generate unique lyrics with AI and mint them as NFTs to earn $LYRIC rewards.</p>
<div class="flex items-center text-sm text-green-400">
<i class="fas fa-brain mr-2"></i>
<span>Fine-tuned LLM trained on poetry and hit songs</span>
</div>
</div>
<!-- Feature 4 -->
<div class="card-glass p-6 rounded-xl hover:border-yellow-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-yellow-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-chart-line text-yellow-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">Hit Prediction Market</h3>
</div>
<p class="text-gray-400 mb-4">Invest $LYRIC in songs you believe will trend and earn rewards when they succeed.</p>
<div class="flex items-center text-sm text-yellow-400">
<i class="fas fa-link mr-2"></i>
<span>Chainlink oracles verify real-world streaming data</span>
</div>
</div>
<!-- Feature 5 -->
<div class="card-glass p-6 rounded-xl hover:border-red-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-red-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-stream text-red-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">Royalty Streaming</h3>
</div>
<p class="text-gray-400 mb-4">Tokenize song royalties as tradable assets with automated DeFi yield.</p>
<div class="flex items-center text-sm text-red-400">
<i class="fas fa-exchange-alt mr-2"></i>
<span>ERC-3643 tokens represent royalty shares</span>
</div>
</div>
<!-- Feature 6 -->
<div class="card-glass p-6 rounded-xl hover:border-pink-500 border border-transparent transition-all hover:scale-[1.02]">
<div class="flex items-center mb-4">
<div class="bg-pink-900 bg-opacity-50 p-3 rounded-lg mr-4">
<i class="fas fa-award text-pink-400 text-xl"></i>
</div>
<h3 class="text-xl font-semibold">On-chain Grammys</h3>
</div>
<p class="text-gray-400 mb-4">Community-voted awards with $LYRIC staking for verification and governance.</p>
<div class="flex items-center text-sm text-pink-400">
<i class="fas fa-vote-yea mr-2"></i>
<span>Coming in 2026 Phase 3</span>
</div>
</div>
</div>
</div>
</section>
<!-- Tokenomics Section -->
<section id="tokenomics" class="py-20 px-6 bg-gray-900 bg-opacity-50">
<div class="container mx-auto">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">$LYRIC Tokenomics</h2>
<p class="text-gray-400 text-center max-w-2xl mx-auto mb-16">1 billion fixed supply. Designed for governance, creation, and rewards.</p>
<div class="flex flex-col lg:flex-row items-center gap-12">
<div class="lg:w-1/2">
<div class="card-glass p-6 rounded-xl">
<h3 class="text-xl font-semibold mb-6">Token Distribution</h3>
<div class="space-y-6">
<div>
<div class="flex justify-between mb-2">
<span>Community Rewards</span>
<span class="font-bold">40%</span>
</div>
<div class="w-full bg-gray-700 h-4 rounded-lg overflow-hidden">
<div class="bg-blue-500 h-full" style="width: 40%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span>Investors</span>
<span class="font-bold">30%</span>
</div>
<div class="w-full bg-gray-700 h-4 rounded-lg overflow-hidden">
<div class="bg-purple-500 h-full" style="width: 30%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span>Team</span>
<span class="font-bold">20%</span>
</div>
<div class="w-full bg-gray-700 h-4 rounded-lg overflow-hidden">
<div class="bg-green-500 h-full" style="width: 20%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span>Liquidity Pools</span>
<span class="font-bold">10%</span>
</div>
<div class="w-full bg-gray-700 h-4 rounded-lg overflow-hidden">
<div class="bg-yellow-500 h-full" style="width: 10%"></div>
</div>
</div>
</div>
</div>
</div>
<div class="lg:w-1/2">
<div class="card-glass p-6 rounded-xl">
<h3 class="text-xl font-semibold mb-6">Token Utility</h3>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-blue-900 bg-opacity-50 p-2 rounded-lg mr-4">
<i class="fas fa-vote-yea text-blue-400"></i>
</div>
<div>
<h4 class="font-semibold">Governance</h4>
<p class="text-gray-400">Stake to vote on DAO proposals that shape the platform's future.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-900 bg-opacity-50 p-2 rounded-lg mr-4">
<i class="fas fa-pen-nib text-purple-400"></i>
</div>
<div>
<h4 class="font-semibold">Minting</h4>
<p class="text-gray-400">Pay gas fees to mint lyric and melody NFTs in the ecosystem.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-900 bg-opacity-50 p-2 rounded-lg mr-4">
<i class="fas fa-coins text-green-400"></i>
</div>
<div>
<h4 class="font-semibold">Rewards</h4>
<p class="text-gray-400">Earn $LYRIC for contributing to hit songs and successful predictions.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-yellow-900 bg-opacity-50 p-2 rounded-lg mr-4">
<i class="fas fa-lock-open text-yellow-400"></i>
</div>
<div>
<h4 class="font-semibold">Access</h4>
<p class="text-gray-400">Unlock premium AI tools like the "Hit Potential Analyzer".</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Roadmap Section -->
<section id="roadmap" class="py-20 px-6">
<div class="container mx-auto">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Project Roadmap</h2>
<p class="text-gray-400 text-center max-w-2xl mx-auto mb-16">Our path to revolutionizing music creation on the blockchain</p>
<div class="relative">
<!-- Timeline line -->
<div class="hidden md:block absolute left-1/2 h-full w-1 bg-blue-500 rounded-full transform -translate-x-1/2"></div>
<!-- Phase 1 -->
<div class="mb-16 flex flex-col md:flex-row items-center justify-between">
<div class="md:w-5/12 mb-8 md:mb-0 md:pr-8 text-right order-1">
<div class="card-glass p-6 rounded-xl">
<div class="absolute -left-3 md:-left-24 w-16 h-16 rounded-full bg-blue-600 flex items-center justify-center text-2xl">
<span>1</span>
</div>
<h3 class="text-xl font-semibold mb-2">Phase 1: Foundation (Q4 2024)</h3>
<ul class="text-gray-400 list-disc pl-5 space-y-1">
<li>Lyric NFT minting platform launch</li>
<li>Basic DAO governance implementation</li>
<li>Collaborative songwriting vaults alpha</li>
<li>$LYRIC token generation event</li>
</ul>
</div>
</div>
<div class="md:w-2/12 order-2 flex justify-center">
<div class="w-16 h-16 rounded-full bg-blue-600 flex items-center justify-center text-2xl md:hidden">
<span>1</span>
</div>
</div>
<div class="md:w-5/12 order-3 md:order-3"></div>
</div>
<!-- Phase 2 -->
<div class="mb-16 flex flex-col md:flex-row items-center justify-between">
<div class="md:w-5/12 order-3 md:order-1"></div>
<div class="md:w-2/12 order-2 flex justify-center">
<div class="w-16 h-16 rounded-full bg-purple-600 flex items-center justify-center text-2xl">
<span>2</span>
</div>
</div>
<div class="md:w-5/12 mb-8 md:mb-0 md:pl-8 order-1 md:order-3">
<div class="card-glass p-6 rounded-xl">
<div class="absolute -right-3 md:-right-24 w-16 h-16 rounded-full bg-purple-600 flex items-center justify-center text-2xl md:hidden">
<span>2</span>
</div>
<h3 class="text-xl font-semibold mb-2">Phase 2: Expansion (2025)</h3>
<ul class="text-gray-400 list-disc pl-5 space-y-1">
<li>AI training subnet deployment</li>
<li>Royalty tokenization implementation</li>
<li>Hit prediction market launch</li>
<li>Mobile app release</li>
</ul>
</div>
</div>
</div>
<!-- Phase 3 -->
<div class="flex flex-col md:flex-row items-center justify-between">
<div class="md:w-5/12 mb-8 md:mb-0 md:pr-8 text-right order-1">
<div class="card-glass p-6 rounded-xl">
<div class="absolute -left-3 md:-left-24 w-16 h-16 rounded-full bg-pink-600 flex items-center justify-center text-2xl">
<span>3</span>
</div>
<h3 class="text-xl font-semibold mb-2">Phase 3: Ecosystem (2026)</h3>
<ul class="text-gray-400 list-disc pl-5 space-y-1">
<li>On-chain Grammy awards</li>
<li>Full platform decentralization</li>
<li>Cross-chain expansion</li>
<li>100k+ creator milestone</li>
</ul>
</div>
</div>
<div class="md:w-2/12 order-2 flex justify-center">
<div class="w-16 h-16 rounded-full bg-pink-600 flex items-center justify-center text-2xl md:hidden">
<span>3</span>
</div>
</div>
<div class="md:w-5/12 order-3 md:order-3"></div>
</div>
</div>
</div>
</section>
<!-- DAO Section -->
<section id="dao" class="py-20 px-6 bg-gray-900 bg-opacity-50">
<div class="container mx-auto">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Govern the Protocol</h2>
<p class="text-gray-400 text-center max-w-2xl mx-auto mb-16">Participate in decentralized decisions about the platform's future</p>
<div class="grid md:grid-cols-2 gap-8">
<div class="card-glass p-6 rounded-xl">
<h3 class="text-xl font-semibold mb-4">Active Proposals</h3>
<div class="space-y-4">
<!-- Proposal 1 -->
<div class="border-b border-gray-700 pb-4">
<div class="flex justify-between items-start mb-2">
<h4 class="font-medium">#12 - Add K-Pop lyric templates</h4>
<span class="text-sm px-2 py-1 bg-blue-900 rounded-lg">Active (3 days left)</span>
</div>
<p class="text-gray-400 text-sm mb-3">Proposal to add specialized AI templates for K-Pop song structures and common lyrical themes.</p>
<div class="flex justify-between text-sm">
<div>
<span class="text-green-400">72% For</span>
<span class="mx-2">•</span>
<span class="text-red-400">28% Against</span>
</div>
<span class="text-gray-400">7.5M $LYRIC voted</span>
</div>
</div>
<!-- Proposal 2 -->
<div class="border-b border-gray-700 pb-4">
<div class="flex justify-between items-start mb-2">
<h4 class="font-medium">#11 - DAO Treasury Allocation</h4>
<span class="text-sm px-2 py-1 bg-blue-900 rounded-lg">Active (5 days left)</span>
</div>
<p class="text-gray-400 text-sm mb-3">Vote on how to allocate 2M $LYRIC from the DAO treasury for platform development.</p>
<div class="flex justify-between text-sm">
<div>
<span class="text-green-400">45% Option A</span>
<span class="mx-2">•</span>
<span class="text-blue-400">35% Option B</span>
<span class="mx-2">•</span>
<span class="text-gray-400">20% Option C</span>
</div>
<span class="text-gray-400">4.2M $LYRIC voted</span>
</div>
</div>
</div>
<button onclick="connectWallet()" class="w-full mt-6 bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-medium">
Connect Wallet to Vote (coming soon)
</button>
</div>
<div class="grid grid-cols-1 gap-4">
<!-- DAO Stats -->
<div class="card-glass p-6 rounded-xl">
<h3 class="text-xl font-semibold mb-4">DAO Statistics</h3>
<div class="grid grid-cols-2 gap-4">
<div class="bg-gray-800 rounded-lg p-4">
<p class="text-gray-400 text-sm">Total Staked</p>
<p class="text-2xl font-bold">82.5M <span class="text-lg text-gray-400">$LYRIC</span></p>
</div>
<div class="bg-gray-800 rounded-lg p-4">
<p class="text-gray-400 text-sm">Active Voters</p>
<p class="text-2xl font-bold">3,241</p>
</div>
<div class="bg-gray-800 rounded-lg p-4">
<p class="text-gray-400 text-sm">Proposals</p>
<p class="text-2xl font-bold">11</p>
</div>
<div class="bg-gray-800 rounded-lg p-4">
<p class="text-gray-400 text-sm">Pass Rate</p>
<p class="text-2xl font-bold">63%</p>
</div>
</div>
</div>
<!-- Stake Card -->
<div class="card-glass p-6 rounded-xl">
<h3 class="text-xl font-semibold mb-4">Your DAO Participation</h3>
<div class="bg-gray-800 rounded-lg p-4 mb-4">
<div class="flex justify-between mb-2">
<p class="text-gray-400">Wallet Balance</p>
<p class="font-bold">0 <span class="text-gray-400">$LYRIC</span></p>
</div>
<div class="flex justify-between">
<p class="text-gray-400">Currently Staked</p>
<p class="font-bold">0 <span class="text-gray-400">$LYRIC</span></p>
</div>
</div>
<p class="text-gray-400 text-sm mb-4">Stake $LYRIC to participate in governance and earn voting power.</p>
<button onclick="connectWallet()" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-medium">
Connect Wallet to Stake (coming soon)
</button>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 px-6 hero-gradient">
<div class="container mx-auto max-w-4xl text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Join the Music Revolution?</h2>
<p class="text-xl text-gray-300 mb-10">Whether you're a songwriter, composer, producer, or just a music lover - there's a place for you in the Lyric Protocol ecosystem.</p>
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-6">
<button onclick="connectWallet()" class="bg-white text-gray-900 hover:bg-gray-200 px-8 py-4 rounded-lg font-bold flex items-center justify-center space-x-2">
<i class="fas fa-wallet"></i>
<span>Connect Wallet & Get Started</span>
</button>
<button onclick="openDemo()" class="bg-transparent border-2 border-white hover:bg-white hover:text-gray-900 px-8 py-4 rounded-lg font-bold flex items-center justify-center space-x-2">
<i class="fas fa-play"></i>
<span>Try Interactive Demo</span>
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="py-12 px-6 card-glass">
<div class="container mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-6 md:mb-0">
<i class="fas fa-music text-2xl text-blue-400"></i>
<span class="text-xl font-bold gradient-text">Lyric Protocol</span>
</div>
<div class="flex space-x-6 mb-6 md:mb-0">
<a href="#" class="hover:text-blue-400 transition">
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="#" class="hover:text-blue-400 transition">
<i class="fab fa-discord text-xl"></i>
</a>
<a href="#" class="hover:text-blue-400 transition">
<i class="fab fa-medium text-xl"></i>
</a>
<a href="#" class="hover:text-blue-400 transition">
<i class="fab fa-github text-xl"></i>
</a>
<a href="#" class="hover:text-blue-400 transition">
<i class="fab fa-telegram text-xl"></i>
</a>
</div>
<div class="flex flex-col items-center md:items-end">
<p class="text-sm text-gray-400">© 2024 Lyric Protocol. All rights reserved.</p>
<p class="text-sm text-gray-400">Token is not an investment. Always DYOR.</p>
</div>
</div>
</div>
</footer>
<!-- Demo Modal (hidden by default) -->
<div id="demo-modal" class="hidden fixed inset-0 bg-black bg-opacity-80 z-50 flex items-center justify-center p-4">
<div class="bg-gradient-to-br from-gray-900 to-blue-900 rounded-xl max-w-4xl w-full max-h-screen overflow-y-auto">
<div class="relative">
<button id="close-demo" class="absolute top-4 right-4 text-2xl bg-gray-800 rounded-full w-10 h-10 flex items-center justify-center hover:bg-gray-700">
<i class="fas fa-times"></i>
</button>
<div class="p-6">
<h3 class="text-2xl font-bold mb-2">Lyric Protocol Demo</h3>
<p class="text-gray-400 mb-6">Experience the future of collaborative songwriting</p>
<div class="grid md:grid-cols-2 gap-6">
<!-- AI Lyric Generator -->
<div class="bg-gray-800 rounded-xl p-4">
<div class="flex items-center mb-4">
<div class="bg-blue-900 bg-opacity-50 p-2 rounded-lg mr-3">
<i class="fas fa-robot text-blue-400"></i>
</div>
<h4 class="font-semibold">AI Lyric Generator</h4>
</div>
<div class="mb-4">
<label class="block text-gray-400 text-sm mb-2">Enter themes or keywords:</label>
<input id="ai-keywords" type="text" placeholder="e.g. love, heartbreak, summer"
class="w-full bg-gray-700 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<div class="mb-4">
<label class="block text-gray-400 text-sm mb-2">Select style:</label>
<select id="ai-style" class="w-full bg-gray-700 rounded-lg px-4 py-2 text-white focus:outline-none focus:ring-2 focus:ring-blue-500">
<option value="pop">Pop</option>
<option value="rap">Rap</option>
<option value="rock">Rock</option>
<option value="country">Country</option>
</select>
</div>
<button id="generate-lyrics" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-medium mb-4">
Generate Lyrics (1 $LYRIC)
</button>
<div id="ai-results" class="hidden bg-gray-900 rounded-lg p-4 h-40 overflow-y-auto">
<p class="whitespace-pre-line text-gray-300" id="generated-lyrics"></p>
</div>
<div id="demo-tx-status" class="hidden mt-2 text-xs text-gray-400 flex items-center">
<i class="fas fa-circle-notch fa-spin mr-2"></i>
<span>Simulating blockchain transaction...</span>
</div>
</div>
<!-- Song Vault -->
<div class="bg-gray-800 rounded-xl p-4">
<div class="flex items-center mb-4">
<div class="bg-purple-900 bg-opacity-50 p-2 rounded-lg mr-3">
<i class="fas fa-vault text-purple-400"></i>
</div>
<h4 class="font-semibold">Song Vault #481</h4>
</div>
<div class="mb-4">
<p class="text-gray-400 text-sm mb-2">Current contributors:</p>
<div class="flex flex-wrap gap-2">
<div class="bg-gray-700 px-3 py-1 rounded-full text-sm flex items-center">
<img src="https://i.pravatar.cc/20?img=1" class="w-4 h-4 rounded-full mr-1" alt="">
<span class="text-xs">@markus (42%)</span>
</div>
<div class="bg-gray-700 px-3 py-1 rounded-full text-sm flex items-center">
<img src="https://i.pravatar.cc/20?img=3" class="w-4 h-4 rounded-full mr-1" alt="">
<span class="text-xs">@julia (31%)</span>
</div>
<div class="bg-gray-700 px-3 py-1 rounded-full text-sm flex items-center">
<img src="https://i.pravatar.cc/20?img=5" class="w-4 h-4 rounded-full mr-1" alt="">
<span class="text-xs">@sam (27%)</span>
</div>
</div>
</div>
<div class="mb-4">
<label class="block text-gray-400 text-sm mb-2">Your contribution:</label>
<textarea id="vault-contribution" placeholder="Write your verse or section here..."
class="w-full bg-gray-700 rounded-lg px-4 py-2 text-white h-24 focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
</div>
<button id="add-contribution" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 rounded-lg font-medium">
Add Contribution (5 $LYRIC)
</button>
</div>
</div>
<div class="mt-6 bg-gray-800 rounded-xl p-4">
<div class="flex items-center mb-3">
<div class="bg-gray-700 p-2 rounded-lg mr-3">
<i class="fas fa-chart-pie"></i>
</div>
<h4 class="font-semibold">Your $LYRIC Wallet</h4>
</div>
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400">Demo Balance:</span>
<span class="font-bold">100 <span class="text-gray-400">$LYRIC</span></span>
</div>
<div class="flex items-center justify-between">
<span class="text-gray-400">Estimated APY from staking:</span>
<span class="font-bold text-green-400">12.5%</span>
</div>
<button onclick="connectWallet()" class="w-full mt-4 bg-blue-600 hover:bg-blue-700 text-white py-3 rounded-lg font-medium">
Connect Real Wallet
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Wallet Connected Toast -->
<div id="wallet-toast" class="hidden fixed bottom-6 left-1/2 transform -translate-x-1/2 bg-green-700 text-white px-6 py-3 rounded-lg shadow-lg flex items-center space-x-2">
<i class="fas fa-check-circle"></i>
<span>Wallet connected successfully!</span>
</div>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu').addEventListener('click', function() {
document.getElementById('mobile-nav').classList.remove('hidden');
});
document.getElementById('close-menu').addEventListener('click', function() {
document.getElementById('mobile-nav').classList.add('hidden');
});
// Smooth scrolling for anchor links
function scrollToSection(sectionId) {
document.getElementById(sectionId).scrollIntoView({
behavior: 'smooth'
});
}
// Demo modal controls
function openDemo() {
document.getElementById('demo-modal').classList.remove('hidden');
}
document.getElementById('close-demo').addEventListener('click', function() {
document.getElementById('demo-modal').classList.add('hidden');
});
// Demo functionality
document.getElementById('generate-lyrics').addEventListener('click', function() {
const keywords = document.getElementById('ai-keywords').value || 'love, sunset, forever';
const style = document.getElementById('ai-style').value;
document.getElementById('demo-tx-status').classList.remove('hidden');
// Simulate blockchain tx delay
setTimeout(function() {
document.getElementById('ai-results').classList.remove('hidden');
document.getElementById('demo-tx-status').classList.add('hidden');
// Generate some sample lyrics based on inputs
const lyricExamples = {
pop: [
`${keywords} like a melody\nRepeating inside of me\nNever fading, always true\nThat's how I feel when I'm with you`,
`Like a ${keywords.split(',')[0] || 'dance'} under neon lights\nYou and I in the summer night\nEvery beat feels so right\nWith your ${keywords.split(',')[1] || 'heart'} pressed to mine`
],
rap: [
`Yo, ${keywords} in my veins\nStacking bars like I'm rolling in change\nFrom the bottom to the top of the game\nStill remember when they didn't know my name`,
`${keywords}, that's my motivation\nTurning pain into celebration\nEvery bar be a revelation\nLyric chain, decentralization`
],
rock: [
`Screaming ${keywords} at the top of my lungs\nBreaking chains that they said couldn't be undone\nBleeding truth from my veins like a gun\nThis revolution's only just begun`,
`I remember the ${keywords}, the fire, the pain\nLike gasoline running through my veins\nOne spark and I'll explode again\nCan't contain what you can't explain`
],
country: [
`Just an old ${keywords} and a pickup truck\nDirt road leading to my luck\nWhiskey smooth like a summer night\nMoon so bright it don't need no light`,
`She's got ${keywords} in her Sunday dress\nHair like gold in the morning light, yes\nSimple love, nothing less\nThis here's my happiness`
]
};
const randomIndex = Math.floor(Math.random() * lyricExamples[style].length);
document.getElementById('generated-lyrics').textContent = lyricExamples[style][randomIndex];
}, 1500);
});
document.getElementById('add-contribution').addEventListener('click', function() {
const contribution = document.getElementById('vault-contribution').value;
if (!contribution) {
alert("Please enter your contribution first!");
return;
}
document.getElementById('demo-tx-status').classList.remove('hidden');
document.getElementById('add-contribution').disabled = true;
// Simulate blockchain tx delay
setTimeout(function() {
document.getElementById('demo-tx-status').classList.add('hidden');
document.getElementById('add-contribution').disabled = false;
alert("Contribution added to the vault successfully! You now own 15% of this song.");
}, 2000);
});
// Wallet connection (simulated)
function connectWallet() {
document.getElementById('wallet-toast').classList.remove('hidden');
setTimeout(function() {
document.getElementById('wallet-toast').classList.add('hidden');
}, 3000);
}
// Animate floating lyrics
const floatingLyrics = document.querySelectorAll('.animate-float1, .animate-float2');
floatingLyrics.forEach((lyric, index) => {
lyric.style.animationDelay = `${index * 1000}ms`;
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Dyspian/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>