Spaces:
Running
Running
| ```html | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Melodify - Library</title> | |
| <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎵</text></svg>"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#8A2BE2', | |
| secondary: '#1E1E2F', | |
| accent: '#2D2D44', | |
| dark: '#0F0F1A', | |
| light: '#F5F5F5' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| background: linear-gradient(135deg, #0F0F1A 0%, #1E1E2F 50%, #2D2D44 100%); | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| .scroll-hidden { | |
| -ms-overflow-style: none; | |
| scrollbar-width: none; | |
| } | |
| .scroll-hidden::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .gradient-text { | |
| background: linear-gradient(90deg, #8A2BE2, #FF6B6B); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .playlist-item:hover { | |
| background: rgba(138, 43, 226, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="text-light"> | |
| <!-- Main Container --> | |
| <div class="flex flex-col h-screen max-w-md mx-auto bg-dark"> | |
| <!-- Header --> | |
| <header class="p-4 flex justify-between items-center border-b border-accent"> | |
| <div class="flex items-center"> | |
| <a href="index.html"> | |
| <i data-feather="arrow-left" class="mr-4 text-light"></i> | |
| </a> | |
| <h1 class="text-xl font-bold gradient-text">Your Library</h1> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="search" class="mr-4 text-light"></i> | |
| <i data-feather="plus" class="text-light"></i> | |
| </div> | |
| </header> | |
| <!-- Library Tabs --> | |
| <div class="flex border-b border-accent px-4"> | |
| <div class="py-3 px-2 text-primary border-b-2 border-primary">Playlists</div> | |
| <div class="py-3 px-2 text-gray-400">Artists</div> | |
| <div class="py-3 px-2 text-gray-400">Albums</div> | |
| </div> | |
| <!-- Main Content --> | |
| <main class="flex-1 overflow-y-auto scroll-hidden p-4"> | |
| <!-- Playlists --> | |
| <section> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold">Recently Added</h2> | |
| <span class="text-primary text-sm">See All</span> | |
| </div> | |
| <div class="space-y-3"> | |
| <!-- Playlist Item --> | |
| <div class="flex items-center p-3 rounded-lg playlist-item cursor-pointer"> | |
| <div class="w-12 h-12 rounded-lg bg-gradient-to-br from-purple-600 to-blue-500 mr-4 flex items-center justify-center"> | |
| <i data-feather="music" class="text-white"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Liked Songs</h4> | |
| <p class="text-gray-400 text-sm">345 songs</p> | |
| </div> | |
| </div> | |
| <!-- Playlist Item --> | |
| <div class="flex items-center p-3 rounded-lg playlist-item cursor-pointer"> | |
| <img src="http://static.photos/music/60x60/56" alt="Playlist" class="w-12 h-12 rounded-lg object-cover mr-4"> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">My Playlist #1</h4> | |
| <p class="text-gray-400 text-sm">24 songs</p> | |
| </div> | |
| </div> | |
| <!-- Playlist Item --> | |
| <div class="flex items-center p-3 rounded-lg playlist-item cursor-pointer"> | |
| <img src="http://static.photos/music/60x60/67" alt="Playlist" class="w-12 h-12 rounded-lg object-cover mr-4"> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Chill Vibes</h4> | |
| <p class="text-gray-400 text-sm">18 songs</p> | |
| </div> | |
| </div> | |
| <!-- Playlist Item --> | |
| <div class="flex items-center p-3 rounded-lg playlist-item cursor-pointer"> | |
| <img src="http://static.photos/music/60x60/78" alt="Playlist" class="w-12 h-12 rounded-lg object-cover mr-4"> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Workout Mix</h4> | |
| <p class="text-gray-400 text-sm">32 songs</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Navigation --> | |
| <nav class="flex justify-around items-center p-4 border-t border-accent bg-secondary"> | |
| <div class="flex flex-col items-center text-gray-400"> | |
| <i data-feather="home" class="w-6 h-6"></i> | |
| <span class="text-xs mt-1">Home</span> | |
| </div> | |
| <div class="flex flex-col items-center text-gray-400"> | |
| <i data-feather="search" class="w-6 h-6"></i> | |
| <span class="text-xs mt-1">Search</span> | |
| </div> | |
| <div class="flex flex-col items-center text-primary"> | |
| <i data-feather="book" class="w-6 h-6"></i> | |
| <span class="text-xs mt-1">Library</span> | |
| </div> | |
| <div class="flex flex-col items-center text-gray-400"> | |
| <i data-feather="heart" class="w-6 h-6"></i> | |
| <span class="text-xs mt-1">Favorites</span> | |
| </div> | |
| <div class="flex flex-col items-center text-gray-400"> | |
| <i data-feather="user" class="w-6 h-6"></i> | |
| <span class="text-xs mt-1">Profile</span> | |
| </div> | |
| </nav> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |
| >>>>>>> REPLACE |