"use client"; import { Music2 } from "lucide-react"; import { useAmbientAudioOptional } from "@/components/layout/ambient-audio-provider"; import { cn } from "@/lib/utils"; export function HeaderMusicButton() { const ambient = useAmbientAudioOptional(); if (!ambient?.enabled) { return null; } const { panelOpen, togglePanel, isPlaying, muted, volume } = ambient; const active = isPlaying && !muted && volume > 0; return ( ); }