import { clsx } from 'clsx' import styles from './AudioHeader.module.scss' import { imageProxy } from '../../../utils/imageProxy' import { MediaItem } from '../../../pages/types' import { createSignal, Show } from 'solid-js' import { Icon } from '../../_shared/Icon' import { Topic } from '../../../graphql/types.gen' import { getPagePath } from '@nanostores/router' import { router } from '../../../stores/router' type Props = { title: string cover?: string artistData?: MediaItem topic: Topic } export const AudioHeader = (props: Props) => { const [expandedImage, setExpandedImage] = createSignal(false) return (
{props.title}

{props.title}

{props.artistData.artist}
{props.artistData.date}
{props.artistData.genre}
) }