Skip to content

Commit

Permalink
Change Spotify button image to original Spotify logo .png
Browse files Browse the repository at this point in the history
  • Loading branch information
zeolsem committed Dec 14, 2024
1 parent 35acb31 commit 669e883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
4 changes: 2 additions & 2 deletions src/components/Artist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const Artist = async ({
className={
"rounded-xl p-1 hover:bg-green-400 active:bg-green-600"
}
// src={`/buttons/spotify_logo_short.png`}
src={`/buttons/spotify-svgrepo-com.svg`}
src={`/buttons/spotify_logo_short.png`}
// src={`/buttons/spotify-svgrepo-com.svg`}
alt="Link do Spotify artysty."
width="43"
height="43"
Expand Down
24 changes: 1 addition & 23 deletions src/components/ArtistList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ArtistList = async () => {
<Artist key={artist.id} {...artist} />
))}
</div>
<hr className="border-t border-gray-400 my-2 -mx-8 w-screen" /> {/* Repeating HR */}
<hr className="border-t border-gray-400 my-2 -mx-8 w-screen" />
</div>
))
) : (
Expand All @@ -71,28 +71,6 @@ const ArtistList = async () => {
)}
</div>
</div>


// <div className="p-4">

// <div className="mx-8">
// <h1 className={"text-2xl md:text-3xl font-extrabold text-center md:text-left"}>Tegoroczni artyści</h1>
// </div>
// <hr className="border-t border-gray-400 my-2" />
// <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12 container mx-auto">
// {(artists && artists.length > 0) ? (
// artists.map((artist) => (
// <Artist key={artist.id} {...artist} />
// ))) : (

// <div className="flex flex-col items-center text-center">
// <h1 className="font-bold text-2xl">Brak Artystów</h1>
// <p className="p-3 text-xl">Nie udało nam się znaleźć podanych artystów. Wróć tutaj później!</p>
// <Link href='#' className={"border-2 border-black rounded-2xl p-3"} >Odśwież</Link>
// </div>
// )}
// </div>
// </div>
);
};

Expand Down

0 comments on commit 669e883

Please sign in to comment.