From 955bb2ace1d89c7480a41d4a566b97e4026c5494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Thu, 19 Feb 2026 15:47:29 +0100 Subject: [PATCH] Added volume and WIP icons --- app/components/Player/index.vue | 62 +++++++++++++++++++++++++++++---- 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/app/components/Player/index.vue b/app/components/Player/index.vue index c1da789..16092cc 100644 --- a/app/components/Player/index.vue +++ b/app/components/Player/index.vue @@ -27,6 +27,7 @@ const { repeat, secondsPlayed, duration, + volume, } = usePlayer() const secondsPlayedFormatted = computed(() => @@ -36,6 +37,8 @@ const secondsPlayedFormatted = computed(() => const durationFormatted = computed(() => new Date(duration.value * 1000).toISOString().slice(14, 19), ) + +const toast = useToast() @@ -117,6 +144,12 @@ const durationFormatted = computed(() => &.active { transform: translateY(0); } + + span { + font-size: 24px; + cursor: pointer; + transition: color 0.2s ease; + } } .track, @@ -165,6 +198,7 @@ const durationFormatted = computed(() => .slider { gap: 12px; + align-items: center; & p { @include fontSize(15px); @@ -172,14 +206,28 @@ const durationFormatted = computed(() => } } - span { - font-size: 24px; - cursor: pointer; - transition: color 0.2s ease; - } - .repeating { color: $color-accent; } } + +.misc-btns { + justify-content: end; + + .volume { + min-width: 100px; + max-width: 150px; + + display: flex; + gap: 0.5rem; + + span { + font-size: 18px; + } + + .slider { + flex: 1; + } + } +}