diff --git a/i18n.config.ts b/i18n.config.ts index 0e211b3..f89ec73 100644 --- a/i18n.config.ts +++ b/i18n.config.ts @@ -15,6 +15,8 @@ export default defineI18nConfig(() => ({ Continue: "Continue", "Back to menu": "Back to menu", "Puzzle Complete!": "Puzzle Complete!", + Preview: "Preview", + "Close preview": "Close preview", }, }, })); diff --git a/modules/game/views/GameView.vue b/modules/game/views/GameView.vue index acd7f45..152c836 100644 --- a/modules/game/views/GameView.vue +++ b/modules/game/views/GameView.vue @@ -116,15 +116,40 @@ onMounted(() => { @close="closeModal" @submit="onSubmitHandler" /> + + +
+
+ + + +
+
+
+
+ :src="data.imgSrc" + class="w-[100px] h-full object-cover rounded cursor-pointer shadow-[0px_0px_23.9px_8px_#0000001A] hover:opacity-70 hover:scale-105 transition duration-200 ease-in-out" + :title="$t('Preview')" + @click="enlargePreview = true" + alt="" + />
{

+ +