Skip to content

Commit

Permalink
song lyrics
Browse files Browse the repository at this point in the history
  • Loading branch information
TidbitsJS committed Sep 17, 2022
1 parent 0070362 commit 55c1bfa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pages/SongDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ const SongDetails = () => {
songData={songData}
/>

<div className="my-10">
<h2 className="text-white text-3xl font-bold">Lyrics:</h2>

<div className="mt-5">
{songData?.sections[1]?.text.map((line, i) => (
<p key={`lyrics-${line}-${i}`} className="text-gray-400 text-base my-1">{line}</p>
))}
</div>
</div>

<RelatedSongs
data={data}
artistId={artistId}
Expand Down

0 comments on commit 55c1bfa

Please sign in to comment.