Skip to content

Commit

Permalink
Update image paths in Carrousel, HeaderArtist, Player, SearchCategori…
Browse files Browse the repository at this point in the history
…es, and globalUrl
  • Loading branch information
Arejula11 committed Mar 27, 2024
1 parent 24fb820 commit 8b98473
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion playbeat/src/components/Carrousel.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const itemsSongOpt = ["Añadir cola", "Añadir a la lista de reproducción", "A
{info.items.map( (item) =>
<li class="flex flex-col p-2 snap-start text-sm h-full hijo ">
<a href="/library/playlist1" class=" relative inline-block imagen ">
<img src="../../public/cancion.jpg" class:list={[" w-full rounded-md mb-1 hover:brightness-90", {"aspect-[16/11]" : variant==="wide"}, {"aspect-square" : variant!=="wide"}]}/>
<img src="../../cancion.jpg" class:list={[" w-full rounded-md mb-1 hover:brightness-90", {"aspect-[16/11]" : variant==="wide"}, {"aspect-square" : variant!=="wide"}]}/>
<div class="rounded-full w-10 h-10 hidden items-center justify-center botonesizq">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-player-play-filled" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z" stroke-width="0" fill="currentColor" /></svg>
</div>
Expand Down
2 changes: 1 addition & 1 deletion playbeat/src/components/HeaderArtist.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<header class=" h-80 w-full">
<div class=" w-full h-full flex flex-col justify-end relative">
<img src="../../public/QUEVEDO-SAIKO.webp" class="w-full h-full" alt="imagen"/>
<img src="../../QUEVEDO-SAIKO.webp" class="w-full h-full" alt="imagen"/>
<div class=" m-8 ml-16 flex flex-row items-center gap-4 absolute foto">
<div class="rounded-full bg-[#6985C0] w-8 h-8 flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-player-play-filled" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z" stroke-width="0" fill="currentColor" /></svg>
Expand Down
2 changes: 1 addition & 1 deletion playbeat/src/components/Player.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function Player ({children}) {

<div className="flex flex-row items-center text-white w-[300px]">
{/* Add the song name and artist here */}
<CancionActual title='Better Day' artists='penguinmusic' image='../public/penguin.png'/>
<CancionActual title='Better Day' artists='penguinmusic' image='..//penguin.png'/>

</div>

Expand Down
2 changes: 1 addition & 1 deletion playbeat/src/components/SearchCategories.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ const { categorias } = Astro.props;
<h2 class="text-lg font-semibold">Buscar por categoría</h2>
<div class="flex flex-row flex-wrap gap-4 mt-4">
{categorias.map((categoria) => (
<img src="../../public/6985c0.png" class="w-[300px] aspect-video rounded-md categories" alt={categoria}/>
<img src="../../6985c0.png" class="w-[300px] aspect-video rounded-md categories" alt={categoria}/>
))}
</div>
2 changes: 1 addition & 1 deletion playbeat/src/globalState/globalUrl.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const Global ={
url: "http://playbeat.uksouth.cloudapp.azure.com:3000/"
url: "https://playbeat.uksouth.cloudapp.azure.com:3000/"
};
2 changes: 1 addition & 1 deletion playbeat/src/pages/search.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Canciones = [
return(
<li class="flex flex-col p-2 text-sm w-[300px] ">
<a href="/library/playlist1" class=" relative inline-block imagen ">
<img src="../../public/cancion.jpg" class:list={[" w-full rounded-md mb-1 hover:brightness-90"]}/>
<img src="../../cancion.jpg" class:list={[" w-full rounded-md mb-1 hover:brightness-90"]}/>
<div class="rounded-full w-10 h-10 hidden items-center justify-center botones">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-player-play-filled" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z" stroke-width="0" fill="currentColor" /></svg>
</div>
Expand Down

0 comments on commit 8b98473

Please sign in to comment.