This commit is contained in:
skidoodle 2022-10-26 23:21:17 +02:00
parent d5d68a2cb3
commit a6a33bc434
4 changed files with 107 additions and 99 deletions

View file

@ -48,16 +48,18 @@ export default function Main() {
<div className='mt-3 flex justify-center items-center'>
<FaSpotify className='text-[#32a866]' />
<p className='font-semibold pl-1'>
Listening to
Listening to{' '}
{spotify.song ? (
<Link href={`${spotify.song.url}`}>
<a target='_blank' className='text-[#32a866]'>
{' '}
{spotify.song.title}
</a>
<Link
href={`${spotify.song.url}`}
target='_blank'
className='text-[#32a866]'
>
{' '}
{spotify.song.title}
</Link>
) : (
<a className='text-[#32a866]'> nothing</a>
<span className='text-[#32a866]'>nothing</span>
)}
</p>
</div>