diff --git a/frontend/src/App.vue b/frontend/src/App.vue index eb1893a..e5350f8 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,7 +1,8 @@ - - - - - ▶ {{ nowPlaying.title }} - ✕ - - - - - - diff --git a/frontend/src/components/PlayerBar.vue b/frontend/src/components/PlayerBar.vue new file mode 100644 index 0000000..9966ecd --- /dev/null +++ b/frontend/src/components/PlayerBar.vue @@ -0,0 +1,213 @@ + + + + + + {{ playing ? '⏸' : '▶' }} + + {{ fmt(current) }} / {{ fmt(duration) }} + + {{ nowPlaying?.title }} + + 🔊 + + + ✕ + + + + +