melodify / profile.html
arthur6583's picture
Refait le design a partir de l'image
ccb6073 verified
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Melodify - Profile</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;
}
.option-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">Profile</h1>
</div>
<div class="flex items-center">
<i data-feather="edit" class="text-light"></i>
</div>
</header>
<!-- Profile Info -->
<div class="p-4 flex items-center mb-6">
<div class="w-20 h-20 rounded-full bg-gradient-to-br from-purple-600 to-blue-500 mr-4 flex items-center justify-center">
<i data-feather="user" class="text-white w-10 h-10"></i>
</div>
<div>
<h2 class="text-xl font-bold">John Doe</h2>
<p class="text-gray-400">Premium User</p>
</div>
</div>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto scroll-hidden p-4">
<!-- Options -->
<section class="space-y-2">
<!-- Option Item -->
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer">
<i data-feather="user" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">Account</h4>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
<!-- Option Item -->
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer">
<i data-feather="settings" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">Settings</h4>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
<!-- Option Item -->
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer">
<i data-feather="download" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">Downloaded Songs</h4>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
<!-- Option Item -->
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer">
<i data-feather="help-circle" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">Help & Support</h4>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
<!-- Option Item -->
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer">
<i data-feather="info" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">About</h4>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
</section>
<!-- Logout -->
<section class="mt-8">
<div class="flex items-center p-3 rounded-lg option-item cursor-pointer bg-accent">
<i data-feather="log-out" class="text-primary mr-4"></i>
<div class="flex-1">
<h4 class="font-medium">Log Out</h4>
</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-gray-400">
<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-primary">
<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