Redesign
Browse files- index.html +75 -88
index.html
CHANGED
|
@@ -7,83 +7,73 @@
|
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
-
<script src="https://cdn.jsdelivr.net/
|
| 11 |
<style>
|
| 12 |
-
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');
|
| 13 |
body {
|
| 14 |
font-family: 'Space Grotesk', sans-serif;
|
| 15 |
-
background-color: #
|
| 16 |
color: #fff;
|
| 17 |
}
|
| 18 |
.gradient-text {
|
| 19 |
-
background: linear-gradient(90deg, #
|
| 20 |
-webkit-background-clip: text;
|
| 21 |
background-clip: text;
|
| 22 |
color: transparent;
|
| 23 |
}
|
| 24 |
-
.
|
| 25 |
-
background: rgba(20, 20,
|
| 26 |
backdrop-filter: blur(10px);
|
| 27 |
-
border: 1px solid rgba(
|
| 28 |
-
border-radius:
|
| 29 |
-
|
| 30 |
}
|
| 31 |
-
.
|
| 32 |
-
|
| 33 |
-
box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
|
| 34 |
}
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
border: none;
|
| 38 |
-
border-radius:
|
| 39 |
font-weight: 500;
|
| 40 |
-
|
| 41 |
-
letter-spacing: 1px;
|
| 42 |
transition: all 0.3s;
|
|
|
|
| 43 |
}
|
| 44 |
-
.
|
| 45 |
transform: translateY(-2px);
|
| 46 |
-
box-shadow: 0
|
| 47 |
-
}
|
| 48 |
-
.pulse-animation {
|
| 49 |
-
animation: pulse 2s infinite;
|
| 50 |
-
}
|
| 51 |
-
@keyframes pulse {
|
| 52 |
-
0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
|
| 53 |
-
70% { box-shadow: 0 0 0 10px rgba(138, 43, 226, 0); }
|
| 54 |
-
100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
|
| 55 |
}
|
| 56 |
-
|
| 57 |
-
font-
|
| 58 |
-
letter-spacing: -1px;
|
| 59 |
}
|
| 60 |
</style>
|
| 61 |
</head>
|
| 62 |
-
<body class="min-h-screen">
|
| 63 |
-
<div id="
|
| 64 |
-
<header class="container mx-auto px-4 py-
|
| 65 |
<div class="flex justify-between items-center">
|
| 66 |
-
<h1 class="text-
|
| 67 |
-
<i data-feather="
|
| 68 |
-
<span class="gradient-text">
|
| 69 |
</h1>
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
<
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
<i data-feather="user" class="text-white"></i>
|
| 76 |
-
<span>Profile</span>
|
| 77 |
-
</button>
|
| 78 |
-
</nav>
|
| 79 |
-
</div>
|
| 80 |
</header>
|
| 81 |
-
|
|
|
|
| 82 |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 83 |
<!-- Profile Section -->
|
| 84 |
<div class="lg:col-span-1">
|
| 85 |
-
<div class="
|
| 86 |
-
|
| 87 |
<h2 class="text-2xl font-bold mb-1">GrooveGuru</h2>
|
| 88 |
<p class="text-indigo-300 mb-4">Music Explorer Since 2018</p>
|
| 89 |
<div class="flex gap-4 mb-6">
|
|
@@ -100,20 +90,20 @@
|
|
| 100 |
<p class="text-sm text-gray-300">Albums</p>
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
-
<button class="flex items-center gap-2 px-
|
| 104 |
-
|
| 105 |
<span>Follow</span>
|
| 106 |
</button>
|
| 107 |
-
</div>
|
| 108 |
-
<div class="
|
| 109 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 110 |
<i data-feather="award"></i>
|
| 111 |
<span>Badges</span>
|
| 112 |
</h3>
|
| 113 |
<div class="grid grid-cols-3 gap-3">
|
| 114 |
<div class="bg-black border border-red-500 p-2 flex flex-col items-center">
|
| 115 |
-
<i data-feather="star" class="text-
|
| 116 |
-
|
| 117 |
</div>
|
| 118 |
<div class="bg-indigo-900 rounded-lg p-2 flex flex-col items-center">
|
| 119 |
<i data-feather="trending-up" class="text-green-400"></i>
|
|
@@ -141,13 +131,13 @@
|
|
| 141 |
|
| 142 |
<!-- Main Content -->
|
| 143 |
<div class="lg:col-span-2 space-y-6">
|
| 144 |
-
<div class="
|
| 145 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 146 |
<i data-feather="bar-chart-2"></i>
|
| 147 |
<span>Your Weekly Stats</span>
|
| 148 |
</h3>
|
| 149 |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 150 |
-
<div class="
|
| 151 |
<div class="flex justify-between items-center mb-2">
|
| 152 |
<span class="text-sm text-gray-300">Top Artist</span>
|
| 153 |
<i data-feather="mic" class="text-pink-400"></i>
|
|
@@ -155,16 +145,16 @@
|
|
| 155 |
<p class="text-lg font-semibold">The Weeknd</p>
|
| 156 |
<p class="text-sm text-gray-400">42 plays</p>
|
| 157 |
</div>
|
| 158 |
-
<div class="
|
| 159 |
-
|
| 160 |
<span class="text-sm text-gray-300">Top Track</span>
|
| 161 |
<i data-feather="music" class="text-blue-400"></i>
|
| 162 |
</div>
|
| 163 |
<p class="text-lg font-semibold">Blinding Lights</p>
|
| 164 |
<p class="text-sm text-gray-400">18 plays</p>
|
| 165 |
</div>
|
| 166 |
-
<div class="
|
| 167 |
-
|
| 168 |
<span class="text-sm text-gray-300">Top Album</span>
|
| 169 |
<i data-feather="disc" class="text-purple-400"></i>
|
| 170 |
</div>
|
|
@@ -173,7 +163,7 @@
|
|
| 173 |
</div>
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
-
<div class="
|
| 177 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 178 |
<i data-feather="list"></i>
|
| 179 |
<span>Recently Played</span>
|
|
@@ -217,14 +207,14 @@
|
|
| 217 |
<i data-feather="arrow-right" class="w-4 h-4"></i>
|
| 218 |
</button>
|
| 219 |
</div>
|
| 220 |
-
<div class="
|
| 221 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 222 |
<i data-feather="heart"></i>
|
| 223 |
<span>Your Top Artists</span>
|
| 224 |
</h3>
|
| 225 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
| 226 |
<div class="text-center">
|
| 227 |
-
<img src="http://static.photos/music/200x200/5" alt="Artist" class="w-full aspect-square mb-2 mx-auto border-2 border-
|
| 228 |
<p class="font-medium">The Weeknd</p>
|
| 229 |
<p class="text-sm text-gray-400">1,042 plays</p>
|
| 230 |
</div>
|
|
@@ -250,32 +240,29 @@
|
|
| 250 |
</main>
|
| 251 |
|
| 252 |
<footer class="container mx-auto px-4 py-8 mt-12 text-center text-gray-400">
|
| 253 |
-
<
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="github"></i></a>
|
| 257 |
-
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="linkedin"></i></a>
|
| 258 |
-
</div>
|
| 259 |
-
<p class="text-gray-500">MelodyMetrics is not affiliated with Last.fm. Powered by the Last.fm API.</p>
|
| 260 |
-
<p class="mt-2 text-gray-500">© 2023 MelodyMetrics. All rights reserved.</p>
|
| 261 |
-
</footer>
|
| 262 |
|
| 263 |
<script>
|
| 264 |
-
// Initialize
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
|
|
|
|
|
|
|
|
|
| 279 |
});
|
| 280 |
// Initialize feather icons
|
| 281 |
feather.replace();
|
|
|
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
|
| 11 |
<style>
|
| 12 |
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Rubik+Mono+One&display=swap');
|
| 13 |
body {
|
| 14 |
font-family: 'Space Grotesk', sans-serif;
|
| 15 |
+
background-color: #0a0a0a;
|
| 16 |
color: #fff;
|
| 17 |
}
|
| 18 |
.gradient-text {
|
| 19 |
+
background: linear-gradient(90deg, #8a2be2, #00bfff);
|
| 20 |
-webkit-background-clip: text;
|
| 21 |
background-clip: text;
|
| 22 |
color: transparent;
|
| 23 |
}
|
| 24 |
+
.cyber-card {
|
| 25 |
+
background: rgba(20, 20, 30, 0.6);
|
| 26 |
backdrop-filter: blur(10px);
|
| 27 |
+
border: 1px solid rgba(138, 43, 226, 0.3);
|
| 28 |
+
border-radius: 12px;
|
| 29 |
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
|
| 30 |
}
|
| 31 |
+
.glow-animation {
|
| 32 |
+
animation: glow 2s ease-in-out infinite alternate;
|
|
|
|
| 33 |
}
|
| 34 |
+
@keyframes glow {
|
| 35 |
+
from { box-shadow: 0 0 10px rgba(138, 43, 226, 0.5); }
|
| 36 |
+
to { box-shadow: 0 0 20px rgba(0, 191, 255, 0.7); }
|
| 37 |
+
}
|
| 38 |
+
.cyber-button {
|
| 39 |
+
background: linear-gradient(90deg, #8a2be2, #00bfff);
|
| 40 |
border: none;
|
| 41 |
+
border-radius: 8px;
|
| 42 |
font-weight: 500;
|
| 43 |
+
letter-spacing: 0.5px;
|
|
|
|
| 44 |
transition: all 0.3s;
|
| 45 |
+
color: white;
|
| 46 |
}
|
| 47 |
+
.cyber-button:hover {
|
| 48 |
transform: translateY(-2px);
|
| 49 |
+
box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
+
.title-font {
|
| 52 |
+
font-family: 'Rubik Mono One', sans-serif;
|
|
|
|
| 53 |
}
|
| 54 |
</style>
|
| 55 |
</head>
|
| 56 |
+
<body class="bg-black text-white min-h-screen">
|
| 57 |
+
<div id="particles-js" class="fixed inset-0 -z-10 bg-gradient-to-b from-black to-gray-900"></div>
|
| 58 |
+
<header class="container mx-auto px-4 py-6">
|
| 59 |
<div class="flex justify-between items-center">
|
| 60 |
+
<h1 class="text-4xl title-font gradiant-text flex items-center gap-2">
|
| 61 |
+
<i data-feather="volume-2" class="text-red-500"></i>
|
| 62 |
+
<span class="gradient-text">MELODY<br>METRICS</span>
|
| 63 |
</h1>
|
| 64 |
+
<button class="flex items-center gap-2 px-6 py-3 cyber-button">
|
| 65 |
+
<i data-feather="user" class="text-black"></i>
|
| 66 |
+
<span>ROCK ON</span>
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
</header>
|
| 70 |
+
|
| 71 |
+
<main class="container mx-auto px-4 py-8">
|
| 72 |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 73 |
<!-- Profile Section -->
|
| 74 |
<div class="lg:col-span-1">
|
| 75 |
+
<div class="cyber-card p-6 flex flex-col items-center">
|
| 76 |
+
<img src="http://static.photos/music/320x240/42" alt="Profile" class="w-32 h-32 object-cover border-4 border-purple-500 mb-4 rounded-full glow-animation">
|
| 77 |
<h2 class="text-2xl font-bold mb-1">GrooveGuru</h2>
|
| 78 |
<p class="text-indigo-300 mb-4">Music Explorer Since 2018</p>
|
| 79 |
<div class="flex gap-4 mb-6">
|
|
|
|
| 90 |
<p class="text-sm text-gray-300">Albums</p>
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
+
<button class="flex items-center gap-2 px-6 py-3 punk-button">
|
| 94 |
+
<i data-feather="plus"></i>
|
| 95 |
<span>Follow</span>
|
| 96 |
</button>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="cyber-card p-6 mt-6">
|
| 99 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 100 |
<i data-feather="award"></i>
|
| 101 |
<span>Badges</span>
|
| 102 |
</h3>
|
| 103 |
<div class="grid grid-cols-3 gap-3">
|
| 104 |
<div class="bg-black border border-red-500 p-2 flex flex-col items-center">
|
| 105 |
+
<i data-feather="star" class="text-purple-400"></i>
|
| 106 |
+
<span class="text-xs mt-1">Golden Ear</span>
|
| 107 |
</div>
|
| 108 |
<div class="bg-indigo-900 rounded-lg p-2 flex flex-col items-center">
|
| 109 |
<i data-feather="trending-up" class="text-green-400"></i>
|
|
|
|
| 131 |
|
| 132 |
<!-- Main Content -->
|
| 133 |
<div class="lg:col-span-2 space-y-6">
|
| 134 |
+
<div class="cyber-card p-6">
|
| 135 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 136 |
<i data-feather="bar-chart-2"></i>
|
| 137 |
<span>Your Weekly Stats</span>
|
| 138 |
</h3>
|
| 139 |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 140 |
+
<div class="cyber-card p-4">
|
| 141 |
<div class="flex justify-between items-center mb-2">
|
| 142 |
<span class="text-sm text-gray-300">Top Artist</span>
|
| 143 |
<i data-feather="mic" class="text-pink-400"></i>
|
|
|
|
| 145 |
<p class="text-lg font-semibold">The Weeknd</p>
|
| 146 |
<p class="text-sm text-gray-400">42 plays</p>
|
| 147 |
</div>
|
| 148 |
+
<div class="cyber-card p-4">
|
| 149 |
+
<div class="flex justify-between items-center mb-2">
|
| 150 |
<span class="text-sm text-gray-300">Top Track</span>
|
| 151 |
<i data-feather="music" class="text-blue-400"></i>
|
| 152 |
</div>
|
| 153 |
<p class="text-lg font-semibold">Blinding Lights</p>
|
| 154 |
<p class="text-sm text-gray-400">18 plays</p>
|
| 155 |
</div>
|
| 156 |
+
<div class="cyber-card p-4">
|
| 157 |
+
<div class="flex justify-between items-center mb-2">
|
| 158 |
<span class="text-sm text-gray-300">Top Album</span>
|
| 159 |
<i data-feather="disc" class="text-purple-400"></i>
|
| 160 |
</div>
|
|
|
|
| 163 |
</div>
|
| 164 |
</div>
|
| 165 |
</div>
|
| 166 |
+
<div class="cyber-card p-6">
|
| 167 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 168 |
<i data-feather="list"></i>
|
| 169 |
<span>Recently Played</span>
|
|
|
|
| 207 |
<i data-feather="arrow-right" class="w-4 h-4"></i>
|
| 208 |
</button>
|
| 209 |
</div>
|
| 210 |
+
<div class="punk-card p-6">
|
| 211 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 212 |
<i data-feather="heart"></i>
|
| 213 |
<span>Your Top Artists</span>
|
| 214 |
</h3>
|
| 215 |
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
| 216 |
<div class="text-center">
|
| 217 |
+
<img src="http://static.photos/music/200x200/5" alt="Artist" class="w-full aspect-square mb-2 mx-auto border-2 border-purple-500 rounded-lg">
|
| 218 |
<p class="font-medium">The Weeknd</p>
|
| 219 |
<p class="text-sm text-gray-400">1,042 plays</p>
|
| 220 |
</div>
|
|
|
|
| 240 |
</main>
|
| 241 |
|
| 242 |
<footer class="container mx-auto px-4 py-8 mt-12 text-center text-gray-400">
|
| 243 |
+
<p>MelodyMetrics is not affiliated with Last.fm. Powered by the Last.fm API.</p>
|
| 244 |
+
<p class="mt-2">© 2023 MelodyMetrics. All rights reserved.</p>
|
| 245 |
+
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
|
| 247 |
<script>
|
| 248 |
+
// Initialize particles.js
|
| 249 |
+
particlesJS("particles-js", {
|
| 250 |
+
particles: {
|
| 251 |
+
number: { value: 80, density: { enable: true, value_area: 800 } },
|
| 252 |
+
color: { value: ["#8a2be2", "#00bfff"] },
|
| 253 |
+
shape: { type: "circle" },
|
| 254 |
+
opacity: { value: 0.5, random: true },
|
| 255 |
+
size: { value: 3, random: true },
|
| 256 |
+
line_linked: { enable: true, distance: 150, color: "#8a2be2", opacity: 0.4, width: 1 },
|
| 257 |
+
move: { enable: true, speed: 2, direction: "none", random: false, straight: false, out_mode: "out" }
|
| 258 |
+
},
|
| 259 |
+
interactivity: {
|
| 260 |
+
detect_on: "canvas",
|
| 261 |
+
events: {
|
| 262 |
+
onhover: { enable: true, mode: "repulse" },
|
| 263 |
+
onclick: { enable: true, mode: "push" }
|
| 264 |
+
}
|
| 265 |
+
}
|
| 266 |
});
|
| 267 |
// Initialize feather icons
|
| 268 |
feather.replace();
|