feat: add username to navbar, pass title by props

This commit is contained in:
Lin, Hung-Shin committed 2023-11-22 14:46:41 +08:00
1 parent d15a197db9
commit 89f86fad30
4 files changed
+62 -8

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ onMounted(async () => {
<template>
<!-- game header -->
<div class="h-[6vh] w-full">
<GameHeaderPart />
<GameHeaderPart :title="sessionStore.quest?.title" />
</div>
<!-- current status indicator -->
<input
+4 -4
View File
@@ -5,14 +5,14 @@ import GameHeaderPart from '../components/GameHeaderPart.vue'
<template>
<div class="h-[6vh] w-full">
<GameHeaderPart />
<p
<GameHeaderPart title="關卡地圖" />
<!-- <p
class="text-text-primary absolute z-1 font-bold inline-block tracking-widest"
style="left: 1.2%; top: 1.5%; height: 100%; font-size: 2vh"
>
<!-- Quest Map -->
Quest Map
Unix編年史
</p>
</p> -->
</div>
<div class="flex flex-col justify-center items-center w-full h-[94vh]">
<QuestMap />