Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +504 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: ttt
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: green
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,504 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>MelodyMarket - Sell Your Music</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
/* Custom CSS for audio waveform */
|
11 |
+
.waveform {
|
12 |
+
height: 60px;
|
13 |
+
background: linear-gradient(90deg, #4f46e5 0%, #a855f7 50%, #ec4899 100%);
|
14 |
+
position: relative;
|
15 |
+
overflow: hidden;
|
16 |
+
}
|
17 |
+
|
18 |
+
.waveform::before {
|
19 |
+
content: "";
|
20 |
+
position: absolute;
|
21 |
+
top: 0;
|
22 |
+
left: 0;
|
23 |
+
right: 0;
|
24 |
+
bottom: 0;
|
25 |
+
background: repeating-linear-gradient(
|
26 |
+
90deg,
|
27 |
+
transparent,
|
28 |
+
transparent 2px,
|
29 |
+
rgba(255, 255, 255, 0.3) 2px,
|
30 |
+
rgba(255, 255, 255, 0.3) 4px
|
31 |
+
);
|
32 |
+
animation: wave 1s linear infinite;
|
33 |
+
}
|
34 |
+
|
35 |
+
@keyframes wave {
|
36 |
+
0% { transform: translateX(0); }
|
37 |
+
100% { transform: translateX(-4px); }
|
38 |
+
}
|
39 |
+
|
40 |
+
/* Custom scrollbar */
|
41 |
+
::-webkit-scrollbar {
|
42 |
+
width: 8px;
|
43 |
+
}
|
44 |
+
|
45 |
+
::-webkit-scrollbar-track {
|
46 |
+
background: #f1f1f1;
|
47 |
+
}
|
48 |
+
|
49 |
+
::-webkit-scrollbar-thumb {
|
50 |
+
background: #888;
|
51 |
+
border-radius: 4px;
|
52 |
+
}
|
53 |
+
|
54 |
+
::-webkit-scrollbar-thumb:hover {
|
55 |
+
background: #555;
|
56 |
+
}
|
57 |
+
|
58 |
+
/* Pulse animation for upload button */
|
59 |
+
@keyframes pulse {
|
60 |
+
0% { transform: scale(1); }
|
61 |
+
50% { transform: scale(1.05); }
|
62 |
+
100% { transform: scale(1); }
|
63 |
+
}
|
64 |
+
|
65 |
+
.pulse {
|
66 |
+
animation: pulse 2s infinite;
|
67 |
+
}
|
68 |
+
|
69 |
+
/* Custom audio player */
|
70 |
+
.audio-progress {
|
71 |
+
-webkit-appearance: none;
|
72 |
+
height: 6px;
|
73 |
+
background: #ddd;
|
74 |
+
border-radius: 3px;
|
75 |
+
outline: none;
|
76 |
+
}
|
77 |
+
|
78 |
+
.audio-progress::-webkit-slider-thumb {
|
79 |
+
-webkit-appearance: none;
|
80 |
+
width: 16px;
|
81 |
+
height: 16px;
|
82 |
+
border-radius: 50%;
|
83 |
+
background: #4f46e5;
|
84 |
+
cursor: pointer;
|
85 |
+
}
|
86 |
+
</style>
|
87 |
+
</head>
|
88 |
+
<body class="bg-gray-100 font-sans">
|
89 |
+
<!-- Navigation -->
|
90 |
+
<nav class="bg-white shadow-lg">
|
91 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
92 |
+
<div class="flex justify-between h-16">
|
93 |
+
<div class="flex items-center">
|
94 |
+
<div class="flex-shrink-0 flex items-center">
|
95 |
+
<i class="fas fa-music text-purple-600 text-2xl mr-2"></i>
|
96 |
+
<span class="text-xl font-bold text-gray-900">MelodyMarket</span>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
<div class="flex items-center">
|
100 |
+
<div class="hidden md:ml-6 md:flex md:space-x-8">
|
101 |
+
<a href="#" class="border-purple-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
|
102 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Discover</a>
|
103 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Sales</a>
|
104 |
+
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Profile</a>
|
105 |
+
</div>
|
106 |
+
<div class="ml-4 flex items-center md:ml-6">
|
107 |
+
<button class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
|
108 |
+
<i class="fas fa-upload mr-2"></i> Upload Track
|
109 |
+
</button>
|
110 |
+
<div class="ml-3 relative">
|
111 |
+
<div>
|
112 |
+
<button type="button" class="max-w-xs bg-white flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500" id="user-menu" aria-expanded="false" aria-haspopup="true">
|
113 |
+
<span class="sr-only">Open user menu</span>
|
114 |
+
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
|
115 |
+
</button>
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
</nav>
|
123 |
+
|
124 |
+
<!-- Main Content -->
|
125 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
126 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
127 |
+
<!-- Left Sidebar - Upload Section -->
|
128 |
+
<div class="md:col-span-1 bg-white rounded-lg shadow p-6">
|
129 |
+
<h2 class="text-lg font-medium text-gray-900 mb-4">Upload New Track</h2>
|
130 |
+
|
131 |
+
<div class="space-y-4">
|
132 |
+
<!-- File Upload -->
|
133 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-6 text-center">
|
134 |
+
<i class="fas fa-cloud-upload-alt text-4xl text-purple-500 mb-2"></i>
|
135 |
+
<p class="text-sm text-gray-600 mb-2">Drag & drop your audio file here</p>
|
136 |
+
<p class="text-xs text-gray-500 mb-4">Supports: MP3, WAV, FLAC (Max 50MB)</p>
|
137 |
+
<input type="file" id="audio-upload" class="hidden" accept="audio/*">
|
138 |
+
<label for="audio-upload" class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-md text-sm font-medium inline-flex items-center cursor-pointer pulse">
|
139 |
+
<i class="fas fa-folder-open mr-2"></i> Select File
|
140 |
+
</label>
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<!-- Track Info Form -->
|
144 |
+
<div class="space-y-2">
|
145 |
+
<label for="track-title" class="block text-sm font-medium text-gray-700">Track Title</label>
|
146 |
+
<input type="text" id="track-title" class="block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 sm:text-sm p-2 border">
|
147 |
+
|
148 |
+
<label for="artist-name" class="block text-sm font-medium text-gray-700">Artist Name</label>
|
149 |
+
<input type="text" id="artist-name" class="block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 sm:text-sm p-2 border">
|
150 |
+
|
151 |
+
<label for="track-genre" class="block text-sm font-medium text-gray-700">Genre</label>
|
152 |
+
<select id="track-genre" class="block w-full rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 sm:text-sm p-2 border">
|
153 |
+
<option>Pop</option>
|
154 |
+
<option>Rock</option>
|
155 |
+
<option>Hip Hop</option>
|
156 |
+
<option>Electronic</option>
|
157 |
+
<option>R&B</option>
|
158 |
+
<option>Classical</option>
|
159 |
+
<option>Jazz</option>
|
160 |
+
<option>Other</option>
|
161 |
+
</select>
|
162 |
+
</div>
|
163 |
+
|
164 |
+
<!-- Security Tag -->
|
165 |
+
<div class="space-y-2">
|
166 |
+
<label class="block text-sm font-medium text-gray-700">Security Options</label>
|
167 |
+
<div class="flex items-center">
|
168 |
+
<input id="watermark" name="watermark" type="checkbox" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
|
169 |
+
<label for="watermark" class="ml-2 block text-sm text-gray-700">Add Digital Watermark</label>
|
170 |
+
</div>
|
171 |
+
<div class="flex items-center">
|
172 |
+
<input id="fingerprint" name="fingerprint" type="checkbox" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
|
173 |
+
<label for="fingerprint" class="ml-2 block text-sm text-gray-700">Add Audio Fingerprint</label>
|
174 |
+
</div>
|
175 |
+
<div class="flex items-center">
|
176 |
+
<input id="drm" name="drm" type="checkbox" class="h-4 w-4 text-purple-600 focus:ring-purple-500 border-gray-300 rounded">
|
177 |
+
<label for="drm" class="ml-2 block text-sm text-gray-700">Enable DRM Protection</label>
|
178 |
+
</div>
|
179 |
+
</div>
|
180 |
+
|
181 |
+
<!-- Pricing -->
|
182 |
+
<div class="space-y-2">
|
183 |
+
<label for="track-price" class="block text-sm font-medium text-gray-700">Price ($)</label>
|
184 |
+
<div class="relative rounded-md shadow-sm">
|
185 |
+
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
|
186 |
+
<span class="text-gray-500 sm:text-sm">$</span>
|
187 |
+
</div>
|
188 |
+
<input type="number" id="track-price" class="block w-full pl-7 pr-12 rounded-md border-gray-300 shadow-sm focus:border-purple-500 focus:ring-purple-500 sm:text-sm p-2 border" placeholder="0.99" min="0.50" max="20.00" step="0.01">
|
189 |
+
<div class="absolute inset-y-0 right-0 flex items-center">
|
190 |
+
<span class="text-gray-500 sm:text-sm mr-3">USD</span>
|
191 |
+
</div>
|
192 |
+
</div>
|
193 |
+
</div>
|
194 |
+
|
195 |
+
<!-- Upload Button -->
|
196 |
+
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
|
197 |
+
<i class="fas fa-upload mr-2"></i> Publish Track
|
198 |
+
</button>
|
199 |
+
</div>
|
200 |
+
</div>
|
201 |
+
|
202 |
+
<!-- Main Content - Track List -->
|
203 |
+
<div class="md:col-span-2 space-y-6">
|
204 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
205 |
+
<div class="px-6 py-4 border-b border-gray-200">
|
206 |
+
<h3 class="text-lg font-medium text-gray-900">Your Tracks</h3>
|
207 |
+
</div>
|
208 |
+
|
209 |
+
<!-- Track List -->
|
210 |
+
<div class="divide-y divide-gray-200 max-h-96 overflow-y-auto">
|
211 |
+
<!-- Track Item 1 -->
|
212 |
+
<div class="p-4 hover:bg-gray-50">
|
213 |
+
<div class="flex items-start">
|
214 |
+
<div class="flex-shrink-0 h-16 w-16 rounded-md bg-purple-100 flex items-center justify-center">
|
215 |
+
<i class="fas fa-music text-purple-600 text-xl"></i>
|
216 |
+
</div>
|
217 |
+
<div class="ml-4 flex-1">
|
218 |
+
<div class="flex items-center justify-between">
|
219 |
+
<h4 class="text-sm font-medium text-gray-900">Summer Vibes</h4>
|
220 |
+
<span class="text-sm font-medium text-purple-600">$1.99</span>
|
221 |
+
</div>
|
222 |
+
<p class="text-sm text-gray-500">DJ Sunshine • Pop • 3:24</p>
|
223 |
+
<div class="mt-2 flex items-center space-x-4">
|
224 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
|
225 |
+
<i class="fas fa-check-circle mr-1"></i> Published
|
226 |
+
</span>
|
227 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
|
228 |
+
<i class="fas fa-lock mr-1"></i> Protected
|
229 |
+
</span>
|
230 |
+
</div>
|
231 |
+
</div>
|
232 |
+
<div class="ml-4 flex-shrink-0 flex space-x-2">
|
233 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
234 |
+
<i class="fas fa-edit text-gray-500"></i>
|
235 |
+
</button>
|
236 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
237 |
+
<i class="fas fa-trash text-gray-500"></i>
|
238 |
+
</button>
|
239 |
+
</div>
|
240 |
+
</div>
|
241 |
+
</div>
|
242 |
+
|
243 |
+
<!-- Track Item 2 -->
|
244 |
+
<div class="p-4 hover:bg-gray-50">
|
245 |
+
<div class="flex items-start">
|
246 |
+
<div class="flex-shrink-0 h-16 w-16 rounded-md bg-purple-100 flex items-center justify-center">
|
247 |
+
<i class="fas fa-music text-purple-600 text-xl"></i>
|
248 |
+
</div>
|
249 |
+
<div class="ml-4 flex-1">
|
250 |
+
<div class="flex items-center justify-between">
|
251 |
+
<h4 class="text-sm font-medium text-gray-900">Midnight Dreams</h4>
|
252 |
+
<span class="text-sm font-medium text-purple-600">$2.49</span>
|
253 |
+
</div>
|
254 |
+
<p class="text-sm text-gray-500">Luna • Electronic • 4:12</p>
|
255 |
+
<div class="mt-2 flex items-center space-x-4">
|
256 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
|
257 |
+
<i class="fas fa-check-circle mr-1"></i> Published
|
258 |
+
</span>
|
259 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">
|
260 |
+
<i class="fas fa-exclamation-circle mr-1"></i> Unprotected
|
261 |
+
</span>
|
262 |
+
</div>
|
263 |
+
</div>
|
264 |
+
<div class="ml-4 flex-shrink-0 flex space-x-2">
|
265 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
266 |
+
<i class="fas fa-edit text-gray-500"></i>
|
267 |
+
</button>
|
268 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
269 |
+
<i class="fas fa-trash text-gray-500"></i>
|
270 |
+
</button>
|
271 |
+
</div>
|
272 |
+
</div>
|
273 |
+
</div>
|
274 |
+
|
275 |
+
<!-- Track Item 3 -->
|
276 |
+
<div class="p-4 hover:bg-gray-50">
|
277 |
+
<div class="flex items-start">
|
278 |
+
<div class="flex-shrink-0 h-16 w-16 rounded-md bg-purple-100 flex items-center justify-center">
|
279 |
+
<i class="fas fa-music text-purple-600 text-xl"></i>
|
280 |
+
</div>
|
281 |
+
<div class="ml-4 flex-1">
|
282 |
+
<div class="flex items-center justify-between">
|
283 |
+
<h4 class="text-sm font-medium text-gray-900">Urban Flow</h4>
|
284 |
+
<span class="text-sm font-medium text-purple-600">$1.29</span>
|
285 |
+
</div>
|
286 |
+
<p class="text-sm text-gray-500">MC Streets • Hip Hop • 3:45</p>
|
287 |
+
<div class="mt-2 flex items-center space-x-4">
|
288 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
|
289 |
+
<i class="fas fa-check-circle mr-1"></i> Published
|
290 |
+
</span>
|
291 |
+
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
|
292 |
+
<i class="fas fa-lock mr-1"></i> Protected
|
293 |
+
</span>
|
294 |
+
</div>
|
295 |
+
</div>
|
296 |
+
<div class="ml-4 flex-shrink-0 flex space-x-2">
|
297 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
298 |
+
<i class="fas fa-edit text-gray-500"></i>
|
299 |
+
</button>
|
300 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
301 |
+
<i class="fas fa-trash text-gray-500"></i>
|
302 |
+
</button>
|
303 |
+
</div>
|
304 |
+
</div>
|
305 |
+
</div>
|
306 |
+
</div>
|
307 |
+
</div>
|
308 |
+
|
309 |
+
<!-- Music Player -->
|
310 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
311 |
+
<div class="px-6 py-4 border-b border-gray-200">
|
312 |
+
<h3 class="text-lg font-medium text-gray-900">Preview Player</h3>
|
313 |
+
</div>
|
314 |
+
<div class="p-6">
|
315 |
+
<div class="flex items-start">
|
316 |
+
<div class="flex-shrink-0 h-20 w-20 rounded-md bg-purple-100 flex items-center justify-center">
|
317 |
+
<i class="fas fa-music text-purple-600 text-2xl"></i>
|
318 |
+
</div>
|
319 |
+
<div class="ml-4 flex-1">
|
320 |
+
<h4 class="text-lg font-medium text-gray-900">Summer Vibes</h4>
|
321 |
+
<p class="text-sm text-gray-500">DJ Sunshine • Pop</p>
|
322 |
+
|
323 |
+
<!-- Audio Waveform -->
|
324 |
+
<div class="waveform rounded-md mt-3 mb-2"></div>
|
325 |
+
|
326 |
+
<!-- Player Controls -->
|
327 |
+
<div class="flex items-center justify-between mt-4">
|
328 |
+
<div class="flex items-center space-x-4">
|
329 |
+
<button class="w-10 h-10 rounded-full bg-purple-600 hover:bg-purple-700 text-white flex items-center justify-center">
|
330 |
+
<i class="fas fa-backward"></i>
|
331 |
+
</button>
|
332 |
+
<button class="w-12 h-12 rounded-full bg-purple-600 hover:bg-purple-700 text-white flex items-center justify-center">
|
333 |
+
<i class="fas fa-play"></i>
|
334 |
+
</button>
|
335 |
+
<button class="w-10 h-10 rounded-full bg-purple-600 hover:bg-purple-700 text-white flex items-center justify-center">
|
336 |
+
<i class="fas fa-forward"></i>
|
337 |
+
</button>
|
338 |
+
</div>
|
339 |
+
<div class="flex items-center space-x-4">
|
340 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
341 |
+
<i class="fas fa-volume-up text-gray-500"></i>
|
342 |
+
</button>
|
343 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
344 |
+
<i class="fas fa-heart text-gray-500"></i>
|
345 |
+
</button>
|
346 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center">
|
347 |
+
<i class="fas fa-share-alt text-gray-500"></i>
|
348 |
+
</button>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
|
352 |
+
<!-- Progress Bar -->
|
353 |
+
<div class="mt-4 flex items-center space-x-2">
|
354 |
+
<span class="text-xs text-gray-500">1:23</span>
|
355 |
+
<input type="range" min="0" max="100" value="45" class="audio-progress flex-1">
|
356 |
+
<span class="text-xs text-gray-500">3:24</span>
|
357 |
+
</div>
|
358 |
+
</div>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
</div>
|
365 |
+
|
366 |
+
<!-- Footer -->
|
367 |
+
<footer class="bg-white border-t border-gray-200 mt-12">
|
368 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
369 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
370 |
+
<div>
|
371 |
+
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Shop</h3>
|
372 |
+
<ul class="mt-4 space-y-2">
|
373 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">All Tracks</a></li>
|
374 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">New Releases</a></li>
|
375 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Top Sellers</a></li>
|
376 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Genres</a></li>
|
377 |
+
</ul>
|
378 |
+
</div>
|
379 |
+
<div>
|
380 |
+
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Sell</h3>
|
381 |
+
<ul class="mt-4 space-y-2">
|
382 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Upload Music</a></li>
|
383 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Pricing</a></li>
|
384 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Security</a></li>
|
385 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Royalties</a></li>
|
386 |
+
</ul>
|
387 |
+
</div>
|
388 |
+
<div>
|
389 |
+
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Company</h3>
|
390 |
+
<ul class="mt-4 space-y-2">
|
391 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">About</a></li>
|
392 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Blog</a></li>
|
393 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Careers</a></li>
|
394 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Contact</a></li>
|
395 |
+
</ul>
|
396 |
+
</div>
|
397 |
+
<div>
|
398 |
+
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase">Legal</h3>
|
399 |
+
<ul class="mt-4 space-y-2">
|
400 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Privacy</a></li>
|
401 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Terms</a></li>
|
402 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">Copyright</a></li>
|
403 |
+
<li><a href="#" class="text-sm text-gray-600 hover:text-purple-600">DMCA</a></li>
|
404 |
+
</ul>
|
405 |
+
</div>
|
406 |
+
</div>
|
407 |
+
<div class="mt-8 pt-8 border-t border-gray-200 flex flex-col md:flex-row justify-between items-center">
|
408 |
+
<p class="text-sm text-gray-500">© 2023 MelodyMarket. All rights reserved.</p>
|
409 |
+
<div class="mt-4 md:mt-0 flex space-x-6">
|
410 |
+
<a href="#" class="text-gray-400 hover:text-purple-600">
|
411 |
+
<i class="fab fa-facebook-f"></i>
|
412 |
+
</a>
|
413 |
+
<a href="#" class="text-gray-400 hover:text-purple-600">
|
414 |
+
<i class="fab fa-twitter"></i>
|
415 |
+
</a>
|
416 |
+
<a href="#" class="text-gray-400 hover:text-purple-600">
|
417 |
+
<i class="fab fa-instagram"></i>
|
418 |
+
</a>
|
419 |
+
<a href="#" class="text-gray-400 hover:text-purple-600">
|
420 |
+
<i class="fab fa-youtube"></i>
|
421 |
+
</a>
|
422 |
+
</div>
|
423 |
+
</div>
|
424 |
+
</div>
|
425 |
+
</footer>
|
426 |
+
|
427 |
+
<script>
|
428 |
+
// Simple JavaScript for the music player functionality
|
429 |
+
document.addEventListener('DOMContentLoaded', function() {
|
430 |
+
// File upload preview
|
431 |
+
const fileUpload = document.getElementById('audio-upload');
|
432 |
+
fileUpload.addEventListener('change', function(e) {
|
433 |
+
const fileName = e.target.files[0].name;
|
434 |
+
alert(`File "${fileName}" selected for upload!`);
|
435 |
+
});
|
436 |
+
|
437 |
+
// Music player controls
|
438 |
+
const playButton = document.querySelector('.fa-play').parentElement;
|
439 |
+
let isPlaying = false;
|
440 |
+
|
441 |
+
playButton.addEventListener('click', function() {
|
442 |
+
const icon = this.querySelector('i');
|
443 |
+
if (isPlaying) {
|
444 |
+
icon.classList.remove('fa-pause');
|
445 |
+
icon.classList.add('fa-play');
|
446 |
+
} else {
|
447 |
+
icon.classList.remove('fa-play');
|
448 |
+
icon.classList.add('fa-pause');
|
449 |
+
}
|
450 |
+
isPlaying = !isPlaying;
|
451 |
+
});
|
452 |
+
|
453 |
+
// Price validation
|
454 |
+
const priceInput = document.getElementById('track-price');
|
455 |
+
priceInput.addEventListener('change', function() {
|
456 |
+
const value = parseFloat(this.value);
|
457 |
+
if (value < 0.50) {
|
458 |
+
this.value = '0.50';
|
459 |
+
alert('Minimum price is $0.50');
|
460 |
+
} else if (value > 20.00) {
|
461 |
+
this.value = '20.00';
|
462 |
+
alert('Maximum price is $20.00');
|
463 |
+
}
|
464 |
+
});
|
465 |
+
|
466 |
+
// Security tag explanation
|
467 |
+
const securityCheckboxes = document.querySelectorAll('input[name="watermark"], input[name="fingerprint"], input[name="drm"]');
|
468 |
+
securityCheckboxes.forEach(checkbox => {
|
469 |
+
checkbox.addEventListener('change', function() {
|
470 |
+
if (this.checked) {
|
471 |
+
let message = '';
|
472 |
+
if (this.id === 'watermark') {
|
473 |
+
message = 'Digital watermark will embed hidden identification in your audio file.';
|
474 |
+
} else if (this.id === 'fingerprint') {
|
475 |
+
message = 'Audio fingerprint will create a unique signature for content identification.';
|
476 |
+
} else if (this.id === 'drm') {
|
477 |
+
message = 'DRM protection will restrict unauthorized copying and distribution.';
|
478 |
+
}
|
479 |
+
alert(message);
|
480 |
+
}
|
481 |
+
});
|
482 |
+
});
|
483 |
+
|
484 |
+
// Edit track buttons
|
485 |
+
const editButtons = document.querySelectorAll('.fa-edit').forEach(button => {
|
486 |
+
button.addEventListener('click', function() {
|
487 |
+
const trackTitle = this.closest('.flex').previousElementSibling.querySelector('h4').textContent;
|
488 |
+
alert(`Editing track: ${trackTitle}`);
|
489 |
+
});
|
490 |
+
});
|
491 |
+
|
492 |
+
// Delete track buttons
|
493 |
+
const deleteButtons = document.querySelectorAll('.fa-trash').forEach(button => {
|
494 |
+
button.addEventListener('click', function() {
|
495 |
+
const trackTitle = this.closest('.flex').previousElementSibling.querySelector('h4').textContent;
|
496 |
+
if (confirm(`Are you sure you want to delete "${trackTitle}"?`)) {
|
497 |
+
this.closest('.hover\\:bg-gray-50').remove();
|
498 |
+
}
|
499 |
+
});
|
500 |
+
});
|
501 |
+
});
|
502 |
+
</script>
|
503 |
+
<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=ToonTownTommy/ttt" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
504 |
+
</html>
|