kingarnica's picture
what im doing is a sounf libary like splice, this is not looing like a sound libary
566ddf8 verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sound Library | Ruido</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<audio-navbar></audio-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8 gap-4">
<div>
<h1 class="text-3xl md:text-5xl font-bold mb-2 bg-clip-text text-transparent bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500">
Sound Library
</h1>
<p class="text-gray-400">Browse and download high-quality sounds</p>
</div>
<div class="w-full md:w-auto">
<div class="relative">
<input type="text" placeholder="Search sounds..." class="w-full md:w-64 bg-gray-800 border border-gray-700 rounded-full py-2 pl-10 pr-4 text-white focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-500"></i>
</div>
</div>
</div>
<div class="mb-6 flex flex-wrap gap-2">
<button class="px-4 py-2 bg-indigo-600 text-white rounded-full text-sm font-medium">All Sounds</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-300 rounded-full text-sm font-medium transition">Drums</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-300 rounded-full text-sm font-medium transition">Bass</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-300 rounded-full text-sm font-medium transition">Vocals</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-300 rounded-full text-sm font-medium transition">Synths</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-300 rounded-full text-sm font-medium transition">FX</button>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-5">
<!-- Sound Card 1 -->
<div class="bg-gray-800 rounded-lg overflow-hidden hover:shadow-lg transition-all duration-300 group">
<div class="relative">
<img src="http://static.photos/music/640x360/1" alt="Kick Drum" class="w-full h-40 object-cover">
<button class="absolute bottom-3 right-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full p-3 transition transform group-hover:scale-110">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-1">
<h3 class="font-medium text-white truncate">Hard Kick 808</h3>
<button class="text-gray-400 hover:text-indigo-400">
<i data-feather="download" class="w-4 h-4"></i>
</button>
</div>
<div class="flex items-center text-xs text-gray-400 gap-2">
<span>Drum</span>
<span></span>
<span>125 BPM</span>
<span></span>
<span>C#</span>
</div>
</div>
</div>
<!-- Sound Card 2 -->
<div class="bg-gray-800 rounded-lg overflow-hidden hover:shadow-lg transition-all duration-300 group">
<div class="relative">
<img src="http://static.photos/music/640x360/2" alt="Synth Loop" class="w-full h-40 object-cover">
<button class="absolute bottom-3 right-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full p-3 transition transform group-hover:scale-110">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-1">
<h3 class="font-medium text-white truncate">Dark Synth Loop</h3>
<button class="text-gray-400 hover:text-indigo-400">
<i data-feather="download" class="w-4 h-4"></i>
</button>
</div>
<div class="flex items-center text-xs text-gray-400 gap-2">
<span>Synth</span>
<span></span>
<span>100 BPM</span>
<span></span>
<span>Dm</span>
</div>
</div>
</div>
<!-- Sound Card 3 -->
<div class="bg-gray-800 rounded-lg overflow-hidden hover:shadow-lg transition-all duration-300 group">
<div class="relative">
<img src="http://static.photos/music/640x360/3" alt="Vocal Chop" class="w-full h-40 object-cover">
<button class="absolute bottom-3 right-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full p-3 transition transform group-hover:scale-110">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-1">
<h3 class="font-medium text-white truncate">Vocal Chop 01</h3>
<button class="text-gray-400 hover:text-indigo-400">
<i data-feather="download" class="w-4 h-4"></i>
</button>
</div>
<div class="flex items-center text-xs text-gray-400 gap-2">
<span>Vocals</span>
<span></span>
<span>140 BPM</span>
<span></span>
<span>F</span>
</div>
</div>
</div>
<!-- Sound Card 4 -->
<div class="bg-gray-800 rounded-lg overflow-hidden hover:shadow-lg transition-all duration-300 group">
<div class="relative">
<img src="http://static.photos/music/640x360/4" alt="Bass Drop" class="w-full h-40 object-cover">
<button class="absolute bottom-3 right-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full p-3 transition transform group-hover:scale-110">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-1">
<h3 class="font-medium text-white truncate">Deep Bass Drop</h3>
<button class="text-gray-400 hover:text-indigo-400">
<i data-feather="download" class="w-4 h-4"></i>
</button>
</div>
<div class="flex items-center text-xs text-gray-400 gap-2">
<span>Bass</span>
<span></span>
<span>90 BPM</span>
<span></span>
<span>G#</span>
</div>
</div>
</div>
<!-- Sound Card 5 -->
<div class="bg-gray-800 rounded-lg overflow-hidden hover:shadow-lg transition-all duration-300 group">
<div class="relative">
<img src="http://static.photos/music/640x360/5" alt="FX" class="w-full h-40 object-cover">
<button class="absolute bottom-3 right-3 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full p-3 transition transform group-hover:scale-110">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-1">
<h3 class="font-medium text-white truncate">Riser FX 02</h3>
<button class="text-gray-400 hover:text-indigo-400">
<i data-feather="download" class="w-4 h-4"></i>
</button>
</div>
<div class="flex items-center text-xs text-gray-400 gap-2">
<span>FX</span>
<span></span>
<span>-- BPM</span>
<span></span>
<span>--</span>
</div>
</div>
</div>
</div>
<div class="mt-10 flex justify-center">
<button class="px-6 py-2 bg-gray-800 hover:bg-gray-700 text-white rounded-full font-medium transition border border-gray-700">
Load More
</button>
</div>
</main>
<audio-footer></audio-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>