import { css, cx } from '@emotion/css' import player from '@/web/states/player' import { useSnapshot } from 'valtio' import { AnimatePresence, motion } from 'framer-motion' import ArtistInline from '@/web/components/ArtistsInline' import persistedUiStates from '@/web/states/persistedUiStates' import Controls from './Controls' import Cover from './Cover' import Progress from './Progress' const NowPlaying = () => { const { track } = useSnapshot(player) const { minimizePlayer } = useSnapshot(persistedUiStates) return ( <> {/* Now Playing */} {!minimizePlayer && ( {/* Cover */} {/* Info & Controls */}
{/* Track Info */}
{track?.name}
{/* Dividing line */}
{/* Progress */} {/* Controls placeholder */}
)}
{/* Controls */} ) } export default NowPlaying