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 c2ad651 commit 14b2fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/card.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
import { base } from "$app/paths";
import { NoPhotoIcon } from "./Icons";
export let name, lattes, photo;
</script>
Expand All @@ -11,7 +12,7 @@
{#if photo}
<img
class="w-full h-full aspect-square object-cover rounded-lg md:rounded-lg sm:rounded-none sm:rounded-l-lg"
src={photo}
src={base + photo}
alt={name}
/>
{:else}
Expand Down
3 changes: 2 additions & 1 deletion src/components/modal.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
import { base } from "$app/paths";
export let showModal;
export let picture;
export let handlePictureClick;
Expand All @@ -17,7 +18,7 @@
class="relative w-[700px] transform overflow-hidden rounded-lg bg-white text-left shadow-2xl transition-all sm:my-8 mx-4 lg:mx-0">
<img
class="w-full h-full rounded-t-lg object-cover"
src={picture.path}
src={base + picture.path}
alt={picture.description} />
<div class="bg-offWhite p-6">
<h1 class="font-black">{picture.title}</h1>
Expand Down

0 comments on commit 14b2fa1

Please sign in to comment.