From 90f6291e14c4bad94bb6cfe160a33b42a60cad73 Mon Sep 17 00:00:00 2001 From: wisecolt Date: Tue, 3 Feb 2026 17:20:58 +0300 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20mini=20player=20d=C3=BCzenlemes?= =?UTF-8?q?i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kullanıcı meta verilerini kapağın altına taşıyarak mini player'ın düzenini yeniden düzenledi. Paylaş ve beğen butonlarını kaldırdı. --- client/src/components/MiniPlayer.svelte | 48 ++++++------------------- 1 file changed, 10 insertions(+), 38 deletions(-) diff --git a/client/src/components/MiniPlayer.svelte b/client/src/components/MiniPlayer.svelte index c2d0878..98ee39c 100644 --- a/client/src/components/MiniPlayer.svelte +++ b/client/src/components/MiniPlayer.svelte @@ -55,23 +55,7 @@ {#if $musicPlayer.currentTrack && !isMusicRoute}
-
-
-
- {cleanFileName($musicPlayer.currentTrack.title)} -
-
{sourceLabel($musicPlayer.currentTrack)}
-
- -
- - -
-
+
{#if $musicPlayer.isPlaying && videoStreamURL($musicPlayer.currentTrack)} @@ -93,6 +77,12 @@
{/if}
+
+
+ {cleanFileName($musicPlayer.currentTrack.title)} +
+
{sourceLabel($musicPlayer.currentTrack)}
+
{formatTime($musicPlayer.currentTime)} @@ -145,15 +135,12 @@ } .mini-top { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; + min-height: 0; } - .mini-user-meta { - min-width: 0; + .mini-meta { text-align: left; + margin: 0 4px 8px; } .mini-user-name { @@ -169,21 +156,6 @@ color: rgba(255, 255, 255, 0.6); } - .mini-actions { - display: flex; - gap: 8px; - } - - .mini-icon-btn { - width: 32px; - height: 32px; - border-radius: 12px; - border: none; - background: rgba(255, 255, 255, 0.12); - color: #f6f6f6; - cursor: pointer; - } - .mini-cover { margin: 14px auto 12px; width: 160px;