Spaces:
Running
Running
File size: 6,904 Bytes
ccb6073 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
```html
<!DOCTYPE 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 |