Redesign
Browse files- index.html +78 -60
index.html
CHANGED
|
@@ -8,74 +8,82 @@
|
|
| 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/npm/vanta@latest/dist/vanta.waves.min.js"></script>
|
| 11 |
-
|
| 12 |
-
@import url('https://fonts.googleapis.com/css2?family=
|
| 13 |
body {
|
| 14 |
-
font-family: '
|
| 15 |
-
background-color: #
|
| 16 |
color: #fff;
|
| 17 |
}
|
| 18 |
.gradient-text {
|
| 19 |
-
background: linear-gradient(
|
| 20 |
-webkit-background-clip: text;
|
| 21 |
background-clip: text;
|
| 22 |
color: transparent;
|
| 23 |
-
text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
|
| 24 |
}
|
| 25 |
-
.
|
| 26 |
-
background:
|
| 27 |
-
|
| 28 |
-
border
|
| 29 |
-
|
|
|
|
| 30 |
}
|
| 31 |
-
.
|
| 32 |
-
|
|
|
|
| 33 |
}
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
background: #ff0000;
|
| 40 |
-
border: 2px solid #000;
|
| 41 |
-
border-radius: 0;
|
| 42 |
-
font-weight: bold;
|
| 43 |
text-transform: uppercase;
|
| 44 |
letter-spacing: 1px;
|
| 45 |
transition: all 0.3s;
|
| 46 |
}
|
| 47 |
-
.
|
| 48 |
-
background: #000;
|
| 49 |
-
color: #ff0000;
|
| 50 |
-
border-color: #ff0000;
|
| 51 |
transform: translateY(-2px);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
.title-font {
|
| 54 |
-
font-
|
|
|
|
| 55 |
}
|
| 56 |
</style>
|
| 57 |
</head>
|
| 58 |
-
<body class="
|
| 59 |
-
<div id="
|
| 60 |
-
<header class="container mx-auto px-4 py-
|
| 61 |
<div class="flex justify-between items-center">
|
| 62 |
-
<h1 class="text-
|
| 63 |
-
<i data-feather="
|
| 64 |
-
<span class="gradient-text">
|
| 65 |
</h1>
|
| 66 |
-
<
|
| 67 |
-
<
|
| 68 |
-
<
|
| 69 |
-
|
| 70 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
</header>
|
| 72 |
-
|
| 73 |
-
<main class="container mx-auto px-4 py-8">
|
| 74 |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 75 |
<!-- Profile Section -->
|
| 76 |
<div class="lg:col-span-1">
|
| 77 |
-
<div class="
|
| 78 |
-
<img src="http://static.photos/music/320x240/42" alt="Profile" class="w-
|
| 79 |
<h2 class="text-2xl font-bold mb-1">GrooveGuru</h2>
|
| 80 |
<p class="text-indigo-300 mb-4">Music Explorer Since 2018</p>
|
| 81 |
<div class="flex gap-4 mb-6">
|
|
@@ -92,12 +100,12 @@
|
|
| 92 |
<p class="text-sm text-gray-300">Albums</p>
|
| 93 |
</div>
|
| 94 |
</div>
|
| 95 |
-
<button class="flex items-center gap-2 px-
|
| 96 |
-
<i data-feather="plus"></i>
|
| 97 |
<span>Follow</span>
|
| 98 |
</button>
|
| 99 |
-
|
| 100 |
-
<div class="
|
| 101 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 102 |
<i data-feather="award"></i>
|
| 103 |
<span>Badges</span>
|
|
@@ -133,7 +141,7 @@
|
|
| 133 |
|
| 134 |
<!-- Main Content -->
|
| 135 |
<div class="lg:col-span-2 space-y-6">
|
| 136 |
-
<div class="
|
| 137 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 138 |
<i data-feather="bar-chart-2"></i>
|
| 139 |
<span>Your Weekly Stats</span>
|
|
@@ -165,7 +173,7 @@
|
|
| 165 |
</div>
|
| 166 |
</div>
|
| 167 |
</div>
|
| 168 |
-
<div class="
|
| 169 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 170 |
<i data-feather="list"></i>
|
| 171 |
<span>Recently Played</span>
|
|
@@ -209,7 +217,7 @@
|
|
| 209 |
<i data-feather="arrow-right" class="w-4 h-4"></i>
|
| 210 |
</button>
|
| 211 |
</div>
|
| 212 |
-
<div class="
|
| 213 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 214 |
<i data-feather="heart"></i>
|
| 215 |
<span>Your Top Artists</span>
|
|
@@ -242,22 +250,32 @@
|
|
| 242 |
</main>
|
| 243 |
|
| 244 |
<footer class="container mx-auto px-4 py-8 mt-12 text-center text-gray-400">
|
| 245 |
-
<
|
| 246 |
-
|
| 247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 248 |
|
| 249 |
<script>
|
| 250 |
-
// Initialize Vanta.js
|
| 251 |
-
VANTA.
|
| 252 |
-
el: "#
|
| 253 |
mouseControls: true,
|
| 254 |
touchControls: true,
|
| 255 |
gyroControls: false,
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
});
|
| 262 |
// Initialize feather icons
|
| 263 |
feather.replace();
|
|
|
|
| 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/npm/vanta@latest/dist/vanta.waves.min.js"></script>
|
| 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: #0f0f0f;
|
| 16 |
color: #fff;
|
| 17 |
}
|
| 18 |
.gradient-text {
|
| 19 |
+
background: linear-gradient(90deg, #8A2BE2, #FF1493);
|
| 20 |
-webkit-background-clip: text;
|
| 21 |
background-clip: text;
|
| 22 |
color: transparent;
|
|
|
|
| 23 |
}
|
| 24 |
+
.glass-card {
|
| 25 |
+
background: rgba(20, 20, 20, 0.5);
|
| 26 |
+
backdrop-filter: blur(10px);
|
| 27 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 28 |
+
border-radius: 16px;
|
| 29 |
+
transition: all 0.3s ease;
|
| 30 |
}
|
| 31 |
+
.glass-card:hover {
|
| 32 |
+
transform: translateY(-5px);
|
| 33 |
+
box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
|
| 34 |
}
|
| 35 |
+
.modern-button {
|
| 36 |
+
background: linear-gradient(90deg, #8A2BE2, #FF1493);
|
| 37 |
+
border: none;
|
| 38 |
+
border-radius: 50px;
|
| 39 |
+
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
text-transform: uppercase;
|
| 41 |
letter-spacing: 1px;
|
| 42 |
transition: all 0.3s;
|
| 43 |
}
|
| 44 |
+
.modern-button:hover {
|
|
|
|
|
|
|
|
|
|
| 45 |
transform: translateY(-2px);
|
| 46 |
+
box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
|
| 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 |
.title-font {
|
| 57 |
+
font-weight: 700;
|
| 58 |
+
letter-spacing: -1px;
|
| 59 |
}
|
| 60 |
</style>
|
| 61 |
</head>
|
| 62 |
+
<body class="min-h-screen">
|
| 63 |
+
<div id="vanta-bg" class="fixed inset-0 -z-10 bg-gradient-to-b from-[#0f0f0f] to-[#1a1a2e]"></div>
|
| 64 |
+
<header class="container mx-auto px-4 py-8">
|
| 65 |
<div class="flex justify-between items-center">
|
| 66 |
+
<h1 class="text-5xl title-font gradiant-text flex items-center gap-4">
|
| 67 |
+
<i data-feather="music" class="text-[#FF1493]"></i>
|
| 68 |
+
<span class="gradient-text">MelodyMetrics</span>
|
| 69 |
</h1>
|
| 70 |
+
<nav class="flex items-center gap-6">
|
| 71 |
+
<a href="#" class="text-white hover:text-[#8A2BE2] transition">Dashboard</a>
|
| 72 |
+
<a href="#" class="text-white hover:text-[#8A2BE2] transition">Discover</a>
|
| 73 |
+
<a href="#" class="text-white hover:text-[#8A2BE2] transition">Library</a>
|
| 74 |
+
<button class="flex items-center gap-2 px-8 py-3 modern-button">
|
| 75 |
+
<i data-feather="user" class="text-white"></i>
|
| 76 |
+
<span>Profile</span>
|
| 77 |
+
</button>
|
| 78 |
+
</nav>
|
| 79 |
+
</div>
|
| 80 |
</header>
|
| 81 |
+
<main class="container mx-auto px-4 py-8">
|
|
|
|
| 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="glass-card p-8 flex flex-col items-center">
|
| 86 |
+
<img src="http://static.photos/music/320x240/42" alt="Profile" class="w-40 h-40 object-cover rounded-full mb-6 border-4 border-[#8A2BE2] pulse-animation">
|
| 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 |
<p class="text-sm text-gray-300">Albums</p>
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
+
<button class="flex items-center gap-2 px-8 py-3 modern-button mt-4">
|
| 104 |
+
<i data-feather="plus"></i>
|
| 105 |
<span>Follow</span>
|
| 106 |
</button>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="glass-card p-6 mt-6">
|
| 109 |
<h3 class="text-xl font-bold mb-4 flex items-center gap-2">
|
| 110 |
<i data-feather="award"></i>
|
| 111 |
<span>Badges</span>
|
|
|
|
| 141 |
|
| 142 |
<!-- Main Content -->
|
| 143 |
<div class="lg:col-span-2 space-y-6">
|
| 144 |
+
<div class="glass-card p-6">
|
| 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>
|
|
|
|
| 173 |
</div>
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
+
<div class="glass-card p-6">
|
| 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 |
<i data-feather="arrow-right" class="w-4 h-4"></i>
|
| 218 |
</button>
|
| 219 |
</div>
|
| 220 |
+
<div class="glass-card p-6">
|
| 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>
|
|
|
|
| 250 |
</main>
|
| 251 |
|
| 252 |
<footer class="container mx-auto px-4 py-8 mt-12 text-center text-gray-400">
|
| 253 |
+
<div class="flex justify-center gap-8 mb-6">
|
| 254 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a>
|
| 255 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a>
|
| 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 Vanta.js background
|
| 265 |
+
VANTA.NET({
|
| 266 |
+
el: "#vanta-bg",
|
| 267 |
mouseControls: true,
|
| 268 |
touchControls: true,
|
| 269 |
gyroControls: false,
|
| 270 |
+
minHeight: 200.00,
|
| 271 |
+
minWidth: 200.00,
|
| 272 |
+
scale: 1.00,
|
| 273 |
+
scaleMobile: 1.00,
|
| 274 |
+
color: 0x8a2be2,
|
| 275 |
+
backgroundColor: 0x0f0f0f,
|
| 276 |
+
points: 12.00,
|
| 277 |
+
maxDistance: 24.00,
|
| 278 |
+
spacing: 18.00
|
| 279 |
});
|
| 280 |
// Initialize feather icons
|
| 281 |
feather.replace();
|