diff --git a/public/assets/Leaf_BG_standalone.png b/public/assets/Leaf_BG_standalone.png new file mode 100644 index 0000000..155dd6c Binary files /dev/null and b/public/assets/Leaf_BG_standalone.png differ diff --git a/src/App.vue b/src/App.vue index 974f8ec..0dfe2f8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/components/screens/Login.vue b/src/components/screens/Login.vue index d0c3e8f..d813743 100644 --- a/src/components/screens/Login.vue +++ b/src/components/screens/Login.vue @@ -1,23 +1,17 @@ -const bgm = ref(null) -const bgmStart = () => bgm.value.play(); - -onMounted(() => { - // check if bgm is playing already and do nothing - if (bgm.value.paused) { - window.addEventListener('click', () => bgm.value.play()) - window.addEventListener('keydown', () => bgm.value.play()) - window.addEventListener('mousemove', () => bgm.value.play()) - } - -}) - - - - \ No newline at end of file + \ No newline at end of file