Skip to content

Commit

Permalink
fix(workflows): adjust paths
Browse files Browse the repository at this point in the history
  • Loading branch information
MrsBolinhu committed Mar 19, 2024
1 parent fd18fc2 commit 16100e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/galleryCard.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
import { base } from "$app/paths";
import Modal from './modal.svelte';
export let picture;
Expand All @@ -7,7 +8,7 @@
</script>

<button on:click={handlePictureClick} class="w-full h-full">
<img class="w-full h-full rounded-lg object-cover" src={picture.path} alt={picture.description} />
<img class="w-full h-full rounded-lg object-cover" src={base + picture.path} alt={picture.description} />
</button>

<Modal {showModal} {picture} {handlePictureClick} />

0 comments on commit 16100e2

Please sign in to comment.