2022-06-25 13:47:07 +08:00
|
|
|
import useIsMobile from '@/web/hooks/useIsMobile'
|
|
|
|
|
|
|
|
const ArtistInfo = ({ artist }: { artist?: Artist }) => {
|
|
|
|
const isMobile = useIsMobile()
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div className='text-28 font-semibold text-night-50 lg:text-32'>
|
|
|
|
{artist?.name}
|
|
|
|
</div>
|
2022-07-11 11:06:41 +08:00
|
|
|
<div className='text-white-400 mt-2.5 text-24 font-medium lg:mt-6'>
|
2022-06-25 13:47:07 +08:00
|
|
|
Artist
|
|
|
|
</div>
|
|
|
|
<div className='mt-1 text-12 font-medium text-night-400'>
|
|
|
|
{artist?.musicSize} Tracks · {artist?.albumSize} Albums ·{' '}
|
|
|
|
{artist?.mvSize} Videos
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/* Description */}
|
|
|
|
{!isMobile && (
|
|
|
|
<div className='line-clamp-5 mt-6 text-14 font-bold text-night-400'>
|
|
|
|
{artist?.briefDesc}
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ArtistInfo
|