cartafree / index.html
Condor3's picture
Can you also divide songs by music genre? - Initial Deployment
3360c18 verified
Raw History Blame Contribute Delete
36 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SoundRise | Discover Emerging Music Talent</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.gradient-text {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.player-controls {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.song-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
</style>
</head>
<body class="bg-gray-900 text-white">
<div id="vanta-bg" class="vanta-bg"></div>
<!-- Navigation -->
<nav class="bg-gray-900 bg-opacity-80 border-b border-gray-800 fixed w-full z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<h1 class="text-2xl font-bold gradient-text">SoundRise</h1>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium">Home</a>
<a href="#discover" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Discover</a>
<a href="#charts" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Charts</a>
<a href="#artists" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Artists</a>
<a href="#upload" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Upload</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="bg-gradient-to-r from-blue-500 to-purple-600 px-4 py-2 rounded-full text-sm font-medium hover:opacity-90 transition">
Sign In
</button>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="pt-32 pb-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center" data-aos="fade-up">
<h1 class="text-4xl md:text-6xl font-bold mb-6">
<span class="gradient-text">Discover</span> The Next Music Star
</h1>
<p class="text-xl text-gray-300 max-w-3xl mx-auto mb-10">
A platform where emerging artists showcase their talent and compete for a record deal. Listen, vote, and help shape the future of music.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-gradient-to-r from-blue-500 to-purple-600 px-8 py-3 rounded-full text-lg font-medium hover:opacity-90 transition">
Explore Artists
</button>
<button class="bg-gray-800 px-8 py-3 rounded-full text-lg font-medium hover:bg-gray-700 transition">
How It Works
</button>
</div>
</div>
</div>
</section>
<!-- Trending Now Section -->
<section id="discover" class="py-16 px-4 sm:px-6 lg:px-8 bg-gray-900 bg-opacity-50">
<div class="max-w-7xl mx-auto">
<div class="flex justify-between items-center mb-10">
<h2 class="text-3xl font-bold" data-aos="fade-right">Trending Now</h2>
<div class="flex space-x-2" data-aos="fade-left">
<button class="bg-gray-800 px-4 py-2 rounded-full text-sm">All</button>
<button class="bg-gray-700 px-4 py-2 rounded-full text-sm">Pop</button>
<button class="bg-gray-700 px-4 py-2 rounded-full text-sm">Hip-Hop</button>
<button class="bg-gray-700 px-4 py-2 rounded-full text-sm">Electronic</button>
<button class="bg-gray-700 px-4 py-2 rounded-full text-sm">Rock</button>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Song Card 1 -->
<div class="song-card bg-gray-800 rounded-xl p-5 transition duration-300" data-aos="fade-up" data-genre="electronic">
<div class="relative">
<img src="http://static.photos/music/640x360/1" alt="Song Cover" class="w-full h-48 object-cover rounded-lg mb-4">
<div class="absolute bottom-0 right-0 mb-6 mr-4">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="text-xl font-semibold mb-1">Midnight Dreams</h3>
<p class="text-gray-400 text-sm mb-3">by The Dreamers</p>
<p class="text-gray-300 text-sm mb-4">A soulful journey through late-night thoughts and emotions, blending smooth vocals with atmospheric production.</p>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="heart" class="text-red-500"></i>
<span>24.5k</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="message-circle" class="text-blue-400"></i>
<span>1.2k</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="share-2" class="text-purple-400"></i>
</div>
</div>
</div>
<!-- Song Card 2 -->
<div class="song-card bg-gray-800 rounded-xl p-5 transition duration-300" data-aos="fade-up" data-aos-delay="100" data-genre="hiphop">
<div class="relative">
<img src="http://static.photos/music/640x360/2" alt="Song Cover" class="w-full h-48 object-cover rounded-lg mb-4">
<div class="absolute bottom-0 right-0 mb-6 mr-4">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="text-xl font-semibold mb-1">City Lights</h3>
<p class="text-gray-400 text-sm mb-3">by Urban Echo</p>
<p class="text-gray-300 text-sm mb-4">An energetic urban anthem capturing the vibrant pulse of city life with catchy hooks and dynamic beats.</p>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="heart" class="text-red-500"></i>
<span>18.7k</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="message-circle" class="text-blue-400"></i>
<span>890</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="share-2" class="text-purple-400"></i>
</div>
</div>
</div>
<!-- Song Card 3 -->
<div class="song-card bg-gray-800 rounded-xl p-5 transition duration-300" data-aos="fade-up" data-aos-delay="200" data-genre="pop">
<div class="relative">
<img src="http://static.photos/music/640x360/3" alt="Song Cover" class="w-full h-48 object-cover rounded-lg mb-4">
<div class="absolute bottom-0 right-0 mb-6 mr-4">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="text-xl font-semibold mb-1">Ocean Breeze</h3>
<p class="text-gray-400 text-sm mb-3">by Coastal Waves</p>
<p class="text-gray-300 text-sm mb-4">A refreshing tropical house track that transports you to sandy beaches with its melodic synths and laid-back rhythm.</p>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="heart" class="text-red-500"></i>
<span>15.2k</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="message-circle" class="text-blue-400"></i>
<span>720</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="share-2" class="text-purple-400"></i>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Charts Section -->
<section id="charts" class="py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-bold mb-10 text-center" data-aos="fade-up">Top Charts</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Weekly Top 10 -->
<div class="bg-gray-800 rounded-xl p-6" data-aos="fade-right">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-semibold">Weekly Top 10</h3>
<button class="text-blue-400 text-sm">View All</button>
</div>
<div class="space-y-4">
<!-- Chart Item 1 -->
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="text-gray-400 w-8 text-center">1</div>
<img src="http://static.photos/music/200x200/4" alt="Artist" class="w-12 h-12 rounded-full object-cover mx-3">
<div class="flex-1">
<h4 class="font-medium">Starlight</h4>
<p class="text-gray-400 text-sm">Luna Sky</p>
</div>
<div class="flex items-center space-x-4">
<span class="text-gray-400">24.5k</span>
<button class="text-blue-400">
<i data-feather="play"></i>
</button>
</div>
</div>
<!-- Chart Item 2 -->
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="text-gray-400 w-8 text-center">2</div>
<img src="http://static.photos/music/200x200/5" alt="Artist" class="w-12 h-12 rounded-full object-cover mx-3">
<div class="flex-1">
<h4 class="font-medium">Neon Nights</h4>
<p class="text-gray-400 text-sm">Retro Future</p>
</div>
<div class="flex items-center space-x-4">
<span class="text-gray-400">21.8k</span>
<button class="text-blue-400">
<i data-feather="play"></i>
</button>
</div>
</div>
<!-- Chart Item 3 -->
<div class="flex items-center p-3 hover:bg-gray-700 rounded-lg transition">
<div class="text-gray-400 w-8 text-center">3</div>
<img src="http://static.photos/music/200x200/6" alt="Artist" class="w-12 h-12 rounded-full object-cover mx-3">
<div class="flex-1">
<h4 class="font-medium">Golden Hour</h4>
<p class="text-gray-400 text-sm">Solar Flare</p>
</div>
<div class="flex items-center space-x-4">
<span class="text-gray-400">19.3k</span>
<button class="text-blue-400">
<i data-feather="play"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Genre Trends -->
<div class="bg-gray-800 rounded-xl p-6" data-aos="fade-left">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-semibold">Genre Trends</h3>
<button class="text-blue-400 text-sm">View Analytics</button>
</div>
<div class="grid grid-cols-2 gap-4">
<!-- Genre 1 -->
<div class="bg-gradient-to-br from-purple-600 to-blue-500 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold">Electronic</h4>
<p class="text-sm opacity-80">+24% this week</p>
</div>
<i data-feather="trending-up" class="text-white"></i>
</div>
</div>
<!-- Genre 2 -->
<div class="bg-gradient-to-br from-pink-500 to-red-500 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold">Hip-Hop</h4>
<p class="text-sm opacity-80">+18% this week</p>
</div>
<i data-feather="trending-up" class="text-white"></i>
</div>
</div>
<!-- Genre 3 -->
<div class="bg-gradient-to-br from-yellow-500 to-orange-500 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold">Pop</h4>
<p class="text-sm opacity-80">+12% this week</p>
</div>
<i data-feather="trending-up" class="text-white"></i>
</div>
</div>
<!-- Genre 4 -->
<div class="bg-gradient-to-br from-green-500 to-teal-500 p-4 rounded-lg">
<div class="flex justify-between items-start">
<div>
<h4 class="font-semibold">R&B</h4>
<p class="text-sm opacity-80">+9% this week</p>
</div>
<i data-feather="trending-up" class="text-white"></i>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Featured Artists -->
<section id="artists" class="py-16 px-4 sm:px-6 lg:px-8 bg-gray-900 bg-opacity-50">
<div class="max-w-7xl mx-auto">
<h2 class="text-3xl font-bold mb-10 text-center" data-aos="fade-up">Featured Artists</h2>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
<!-- Artist 1 -->
<div class="text-center" data-aos="fade-up">
<div class="relative group">
<img src="http://static.photos/people/320x240/1" alt="Artist" class="w-32 h-32 rounded-full object-cover mx-auto mb-4 group-hover:ring-4 group-hover:ring-purple-500 transition">
<div class="absolute inset-0 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="font-semibold">Luna Sky</h3>
<p class="text-gray-400 text-sm">Electronic</p>
</div>
<!-- Artist 2 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="100">
<div class="relative group">
<img src="http://static.photos/people/320x240/2" alt="Artist" class="w-32 h-32 rounded-full object-cover mx-auto mb-4 group-hover:ring-4 group-hover:ring-purple-500 transition">
<div class="absolute inset-0 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="font-semibold">Retro Future</h3>
<p class="text-gray-400 text-sm">Synthwave</p>
</div>
<!-- Artist 3 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="200">
<div class="relative group">
<img src="http://static.photos/people/320x240/3" alt="Artist" class="w-32 h-32 rounded-full object-cover mx-auto mb-4 group-hover:ring-4 group-hover:ring-purple-500 transition">
<div class="absolute inset-0 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="font-semibold">Solar Flare</h3>
<p class="text-gray-400 text-sm">Indie Pop</p>
</div>
<!-- Artist 4 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="300">
<div class="relative group">
<img src="http://static.photos/people/320x240/4" alt="Artist" class="w-32 h-32 rounded-full object-cover mx-auto mb-4 group-hover:ring-4 group-hover:ring-purple-500 transition">
<div class="absolute inset-0 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="font-semibold">Urban Echo</h3>
<p class="text-gray-400 text-sm">Hip-Hop</p>
</div>
<!-- Artist 5 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="400">
<div class="relative group">
<img src="http://static.photos/people/320x240/5" alt="Artist" class="w-32 h-32 rounded-full object-cover mx-auto mb-4 group-hover:ring-4 group-hover:ring-purple-500 transition">
<div class="absolute inset-0 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition">
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600 transition">
<i data-feather="play"></i>
</button>
</div>
</div>
<h3 class="font-semibold">Coastal Waves</h3>
<p class="text-gray-400 text-sm">Tropical House</p>
</div>
</div>
<div class="text-center mt-10" data-aos="fade-up">
<button class="bg-gray-800 px-6 py-3 rounded-full font-medium hover:bg-gray-700 transition">
View All Artists
</button>
</div>
</div>
</section>
<!-- Upload Section -->
<section id="upload" class="py-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto bg-gray-800 rounded-2xl p-8 md:p-12" data-aos="fade-up">
<div class="text-center mb-10">
<h2 class="text-3xl font-bold mb-4">Upload Your Music</h2>
<p class="text-gray-300 max-w-2xl mx-auto">Join thousands of artists showcasing their talent. Get discovered, build your fanbase, and compete for our monthly record deal prize.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div>
<h3 class="text-xl font-semibold mb-4">How It Works</h3>
<ul class="space-y-4">
<li class="flex items-start">
<div class="bg-blue-500 rounded-full p-2 mr-4">
<i data-feather="upload" class="text-white"></i>
</div>
<div>
<h4 class="font-medium">Upload Your Track</h4>
<p class="text-gray-400 text-sm">Share your music with our community of listeners and critics.</p>
</div>
</li>
<li class="flex items-start">
<div class="bg-purple-500 rounded-full p-2 mr-4">
<i data-feather="users" class="text-white"></i>
</div>
<div>
<h4 class="font-medium">Grow Your Audience</h4>
<p class="text-gray-400 text-sm">Get feedback, build your fanbase, and track your stats.</p>
</div>
</li>
<li class="flex items-start">
<div class="bg-green-500 rounded-full p-2 mr-4">
<i data-feather="award" class="text-white"></i>
</div>
<div>
<h4 class="font-medium">Win The Prize</h4>
<p class="text-gray-400 text-sm">Top 10 artists each month get a professional record deal.</p>
</div>
</li>
</ul>
</div>
<div>
<div class="bg-gray-700 rounded-xl p-6 border-2 border-dashed border-gray-600">
<div class="text-center py-8">
<i data-feather="upload" class="w-12 h-12 text-gray-400 mx-auto mb-4"></i>
<h4 class="font-medium mb-2">Drag & Drop Your Music Files</h4>
<p class="text-gray-400 text-sm mb-4">MP3, WAV, or FLAC. Max 50MB</p>
<button class="bg-blue-500 text-white px-6 py-2 rounded-full text-sm hover:bg-blue-600 transition">
Or Browse Files
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Record Deal Prize -->
<section class="py-16 px-4 sm:px-6 lg:px-8 bg-gradient-to-r from-purple-900 to-blue-900">
<div class="max-w-7xl mx-auto text-center" data-aos="fade-up">
<div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-2xl p-8 md:p-12 inline-block">
<h2 class="text-3xl font-bold mb-6">This Month's Record Deal Prize</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto mb-8">
The top 10 artists at the end of each month receive a professional recording contract, studio time, and marketing support to launch their career.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-white text-purple-900 px-8 py-3 rounded-full text-lg font-medium hover:bg-opacity-90 transition">
Learn More
</button>
<button class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-full text-lg font-medium hover:bg-white hover:bg-opacity-10 transition">
Current Rankings
</button>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 py-12 px-4 sm:px-6 lg:px-8 border-t border-gray-800">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold gradient-text mb-4">SoundRise</h3>
<p class="text-gray-400">Discover the next generation of music talent. Support emerging artists and help shape the future of music.</p>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">For Artists</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Upload Music</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Artist Dashboard</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Record Deal Prize</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Collaboration Network</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">For Listeners</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Discover Music</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Top Charts</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Genre Trends</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Artist Map</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">Connect</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="youtube"></i></a>
</div>
<p class="text-gray-400">Subscribe to our newsletter</p>
<div class="flex mt-2">
<input type="email" placeholder="Your email" class="bg-gray-800 text-white px-4 py-2 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-blue-500 w-full">
<button class="bg-blue-500 text-white px-4 py-2 rounded-r-lg hover:bg-blue-600 transition">
<i data-feather="send"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2023 SoundRise. All rights reserved.</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Cookies</a>
</div>
</div>
</div>
</footer>
<!-- Audio Player -->
<div class="player-controls fixed bottom-0 left-0 right-0 bg-gray-900 border-t border-gray-800 p-4">
<div class="max-w-7xl mx-auto flex items-center">
<div class="flex items-center w-1/4">
<img src="http://static.photos/music/200x200/7" alt="Now Playing" class="w-12 h-12 rounded-md mr-3">
<div>
<h4 class="font-medium text-sm">Starlight</h4>
<p class="text-gray-400 text-xs">Luna Sky</p>
</div>
<button class="ml-4 text-gray-400 hover:text-white">
<i data-feather="heart"></i>
</button>
</div>
<div class="w-2/4">
<div class="flex justify-center items-center space-x-4 mb-2">
<button class="text-gray-400 hover:text-white">
<i data-feather="skip-back"></i>
</button>
<button class="bg-blue-500 text-white p-3 rounded-full hover:bg-blue-600">
<i data-feather="play"></i>
</button>
<button class="text-gray-400 hover:text-white">
<i data-feather="skip-forward"></i>
</button>
</div>
<div class="flex items-center space-x-3">
<span class="text-xs text-gray-400">1:23</span>
<div class="h-1 bg-gray-700 rounded-full flex-1">
<div class="h-1 bg-blue-500 rounded-full w-1/3"></div>
</div>
<span class="text-xs text-gray-400">3:45</span>
</div>
</div>
<div class="w-1/4 flex justify-end items-center space-x-4">
<button class="text-gray-400 hover:text-white">
<i data-feather="repeat"></i>
</button>
<button class="text-gray-400 hover:text-white">
<i data-feather="volume-2"></i>
</button>
<div class="w-20">
<div class="h-1 bg-gray-700 rounded-full">
<div class="h-1 bg-gray-400 rounded-full w-3/4"></div>
</div>
</div>
</div>
</div>
</div>
<script>
// Genre filtering functionality
document.querySelectorAll('.genre-filter').forEach(button => {
button.addEventListener('click', function() {
// Update active button
document.querySelectorAll('.genre-filter').forEach(btn => {
btn.classList.remove('bg-gray-800');
btn.classList.add('bg-gray-700');
});
this.classList.remove('bg-gray-700');
this.classList.add('bg-gray-800');
const genre = this.dataset.genre;
const songCards = document.querySelectorAll('.song-card');
songCards.forEach(card => {
if (genre === 'all' || card.dataset.genre === genre) {
card.style.display = 'block';
} else {
card.style.display = 'none';
}
});
});
});
// Initialize Vanta.js waves background
VANTA.WAVES({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x1e293b,
shininess: 35.00,
waveHeight: 15.00,
waveSpeed: 0.75,
zoom: 0.8
});
// Initialize AOS
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Feather icons
feather.replace();
</script>
</body>
</html>