This commit is contained in:
2026-07-27 19:51:11 +02:00
parent cddb48157c
commit db407b1262
10 changed files with 151 additions and 201 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
import { Play, Pause, Shuffle, RotateCcw } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Slider } from "@/components/ui/slider";
import Panel from "@/components/Panel";
export type Speed = "slow" | "normal" | "fast" | "turbo";
@@ -38,7 +39,7 @@ export default function PlaybackControls({
};
return (
<div className="rounded-xl border border-border bg-card/60 backdrop-blur-sm p-5 space-y-5">
<Panel className="space-y-5">
<div className="flex flex-wrap items-center gap-2">
<Button onClick={onTogglePlay} size="lg" className="gap-2 min-w-[112px]">
{isPlaying ? <Pause className="h-4 w-4" /> : <Play className="h-4 w-4" />}
@@ -95,6 +96,6 @@ export default function PlaybackControls({
disabled={disabled}
/>
</div>
</div>
</Panel>
);
}