cartafree / upload.html
Condor3's picture
Can you also divide songs by music genre? - Initial Deployment
3360c18 verified
Raw History Blame Contribute Delete
7.12 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Your Music | SoundRise</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>
<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;
}
.upload-dropzone {
border: 2px dashed rgba(255, 255, 255, 0.3);
transition: all 0.3s;
}
.upload-dropzone:hover {
border-color: rgba(99, 102, 241, 0.8);
background: rgba(79, 70, 229, 0.05);
}
.upload-dropzone.dragover {
border-color: rgba(99, 102, 241, 1);
background: rgba(79, 70, 229, 0.1);
}
</style>
</head>
<body class="bg-gray-900 text-white">
<!-- 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="index.html" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Home</a>
<a href="index.html#discover" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Discover</a>
<a href="index.html#charts" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Charts</a>
<a href="index.html#artists" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Artists</a>
<a href="upload.html" class="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">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/13" alt="User" class="w-8 h-8 rounded-full mr-2">
<span class="text-sm">Artist Profile</span>
</div>
</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>
<!-- Upload Section -->
<section class="pt-32 pb-16 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-12" data-aos="fade-up">
<h1 class="text-3xl md:text-4xl font-bold mb-4">Upload Your Music</h1>
<p class="text-gray-300 max-w-2xl mx-auto">Share your talent with the world. Get discovered, build your fanbase, and compete for our monthly record deal prize.</p>
</div>
<div class="bg-gray-800 rounded-2xl p-6 md:p-8" data-aos="fade-up">
<!-- Upload Progress -->
<div class="mb-8">
<div class="flex justify-between mb-2">
<span class="text-sm font-medium">Upload Progress</span>
<span class="text-sm text-gray-400">Step 1 of 3</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 33%"></div>
</div>
</div>
<!-- Upload Form -->
<form>
<!-- File Upload -->
<div class="mb-8">
<label class="block text-sm font-medium mb-3">Music File</label>
<div id="dropzone" class="upload-dropzone rounded-xl p-8 text-center cursor-pointer">
<div class="max-w-md mx-auto">
<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 File Here</h4>
<p class="text-gray-400 text-sm mb-4">MP3, WAV, or FLAC. Max 50MB</p>
<button type="button" id="browseBtn" class="bg-blue-500 text-white px-6 py-2 rounded-full text-sm hover:bg-blue-600 transition">
Or Browse Files
</button>
<input type="file" id="fileInput" class="hidden" accept=".mp3,.wav,.flac">
</div>
</div>
<div id="fileInfo" class="hidden mt-4 p-4 bg-gray-700 rounded-lg">
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="music" class="text-blue-400 mr-3"></i>
<div>
<p id="fileName" class="font-medium"></p>
<p id="fileSize" class="text-gray-400 text-xs"></p>
</div>
</div>
<button type="button" id="removeFile" class="text-gray-400 hover:text-white">
<i data-feather="x"></i>
</button>
</div>
</div>
</div>
<!-- Track Info -->
<div class="mb-8">
<label class="block text-sm font-medium mb-3">Track Information</label>
<div class="grid grid-cols-1 md:grid-cols-
</body>
</html>