mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-11 17:26:20 +02:00
feat: implement AudioPlayer component with playback controls, progress tracking, and persistence
This commit is contained in:
1 parent
d8cb830570
commit
ad78a34cb4
1 file changed
+1
-1
@@ -132,7 +132,7 @@ export default function AudioPlayer({ episode, onClose, userId }: AudioPlayerPro
|
|||||||
const inverseTheme = theme === 'light' ? 'dark-theme' : 'light-theme';
|
const inverseTheme = theme === 'light' ? 'dark-theme' : 'light-theme';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={`fixed z-[100] transition-all duration-500 ease-[cubic-bezier(0.2,0.8,0.2,1)] ${inverseTheme} ${
|
<div className={`fixed z-[100] transition-all duration-500 ease-[cubic-bezier(0.2,0.8,0.2,1)] ${inverseTheme} text-[var(--text-primary)] ${
|
||||||
isExpanded
|
isExpanded
|
||||||
? 'inset-0 rounded-none'
|
? 'inset-0 rounded-none'
|
||||||
: 'bottom-6 left-1/2 -translate-x-1/2 w-[96%] max-w-5xl rounded-[2rem] h-[88px]'
|
: 'bottom-6 left-1/2 -translate-x-1/2 w-[96%] max-w-5xl rounded-[2rem] h-[88px]'
|
||||||
|
|||||||
Reference in new issue
Block a user