diff --git a/package.json b/package.json index fcdcb68..02d31b1 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,13 @@ "build:cljs": "shadow-cljs release app", "build:sass": "node-sass --output-style compressed src/sass/app.sass public/app/style.css", "build": "rm -r public/*; run-p copy:* build:*", - "copy:html": "cp src/html/index.html public/index.html", + "copy:assets": "cp -R src/assets/* public/", "copy:icons": "cp -R node_modules/open-iconic/font/fonts public", "deploy": "npm run build && gh-pages -d public -m \"Deploying $(git rev-parse --short HEAD)\"", "dev:cljs": "shadow-cljs watch app test", "dev:sass": "npm run build:sass; node-sass -w src/sass/app.sass public/app/style.css", "dev:test": "karma start --reporters growl,progress --auto-watch", - "dev": "npm-run-all copy:* -p dev:*", + "dev": "rm -r public/*; npm-run-all copy:* -p dev:*", "test": "run-s test:compile test:run", "test:compile": "shadow-cljs compile test", "test:run": "karma start --single-run" diff --git a/src/assets/img/airsonic-light-350x100.png b/src/assets/img/airsonic-light-350x100.png new file mode 100644 index 0000000..c013faa Binary files /dev/null and b/src/assets/img/airsonic-light-350x100.png differ diff --git a/src/html/index.html b/src/assets/index.html similarity index 100% rename from src/html/index.html rename to src/assets/index.html diff --git a/src/cljs/airsonic_ui/views/audio_player.cljs b/src/cljs/airsonic_ui/views/audio_player.cljs index c5ad06a..5887f4d 100644 --- a/src/cljs/airsonic_ui/views/audio_player.cljs +++ b/src/cljs/airsonic_ui/views/audio_player.cljs @@ -53,7 +53,7 @@ ^{:key :shuffle-button} [shuffle-button {:on-click (toggle-shuffle playback-mode)} [icon :random]] ^{:key :repeat-button} [repeat-button {:on-click (advance-repeat-mode repeat-mode)} [icon :loop]]])) -(def logo-url "https://airsonic.github.io/airsonic-ui/assets/images/logo/airsonic-light-350x100.png") +(def logo-url "./img/airsonic-light-350x100.png") (defn audio-player [] (let [current-song @(subscribe [:audio/current-song])