Skip to content

Commit

Permalink
Merge pull request #5 from boriscallens/fix-build
Browse files Browse the repository at this point in the history
adding node version requirement for build
  • Loading branch information
boriscallens authored Jun 15, 2022
2 parents 0464408 + 7c43181 commit 6fafee7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
"@fontsource/fira-mono": "^4.5.0",
"@lukeed/uuid": "^2.0.0",
"cookie": "^0.4.1"
},
"engines": {
"node": ">=16.7"
}
}
10 changes: 8 additions & 2 deletions src/routes/gallery/album.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@
</script>

<script lang="ts">
export let album: PhotoAlbum = undefined;
export let album: PhotoAlbum = {
id: 0,
name: "",
coverUri: "",
slug: "",
itemCount: 0
};
</script>

<a class="gallery-album" href="./gallery/{album.slug}">
<a class="gallery-album" href="./">
<img class="album-cover" src="{album.coverUri}" alt="cover art for {album.name}">
<div class="album-info">
<h3 class="album-name">{album.name}</h3>
Expand Down

0 comments on commit 6fafee7

Please sign in to comment.