diff --git a/app/src/components/CommandlistPart.vue b/app/src/components/game/CommandlistPart.vue similarity index 77% rename from app/src/components/CommandlistPart.vue rename to app/src/components/game/CommandlistPart.vue index b9828e3..82bb533 100644 --- a/app/src/components/CommandlistPart.vue +++ b/app/src/components/game/CommandlistPart.vue @@ -2,6 +2,6 @@

指令之書

-

--指令列表--

+

-- --指令列表-- --

diff --git a/app/src/components/CompleteModal.vue b/app/src/components/game/CompleteModal.vue similarity index 79% rename from app/src/components/CompleteModal.vue rename to app/src/components/game/CompleteModal.vue index 2d6430f..6a6b5a8 100644 --- a/app/src/components/CompleteModal.vue +++ b/app/src/components/game/CompleteModal.vue @@ -4,7 +4,7 @@ import { useToast } from 'vue-toastification' import { ref } from 'vue' import { Vue3Lottie } from 'vue3-lottie' // import { surveyUrl } from '../config' -import CompleteAnimation from '../img/complete-animation.json' +import CompleteAnimation from '../../img/complete-animation.json' const showModal = ref(true) // Controls whether the modal is visible or not const router = useRouter() @@ -26,7 +26,6 @@ const backtoMap = async () => { try { router.push({ name: 'map' }) } catch (err) { - // useToast().error('Failed to load map') toast.error('無法讀取地圖') console.error(err) } @@ -60,17 +59,6 @@ setTimeout(() => {

接下來回到地圖,迎接新的挑戰吧!

- - import { useRouter } from 'vue-router' import { useToast } from 'vue-toastification' -import { createSession } from '../store/session' -import { surveyUrl } from '../config' +import { createSession } from '../../store/session' +import { surveyUrl } from '../../config' const router = useRouter() const reset = async () => { @@ -20,29 +20,31 @@ const continuePlay = async () => { diff --git a/app/src/components/HintPart.vue b/app/src/components/game/HintPart.vue similarity index 90% rename from app/src/components/HintPart.vue rename to app/src/components/game/HintPart.vue index b7e3836..864ac7f 100644 --- a/app/src/components/HintPart.vue +++ b/app/src/components/game/HintPart.vue @@ -1,7 +1,7 @@