Skip to content

Commit

Permalink
Added default classical cover art
Browse files Browse the repository at this point in the history
  • Loading branch information
jjuback committed Aug 7, 2024
1 parent afc13b3 commit d292335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added public/no-cover-classical.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export function makeUrl(fragment, genre) {
let vault = genre === 0 ? "cd-vault/" : "cd-vault-classical/";
return !fragment ? "no-cover.jpg" : "https://epistrophy.blob.core.windows.net/" + vault + fragment;
let cover = genre === 0 ? "no-cover.jpg" : "no-cover-classical.jpg";
return !fragment ? cover : "https://epistrophy.blob.core.windows.net/" + vault + fragment;
}

0 comments on commit d292335

Please sign in to comment.