feat: P22 merge chapter select and gallery into StoryGallery, i18n updates
This commit is contained in:
@@ -3,18 +3,16 @@ import { useI18n } from '@/composables/useI18n'
|
||||
|
||||
defineProps<{
|
||||
showResume: boolean
|
||||
showChapters: boolean
|
||||
showStory: boolean
|
||||
showAchievements: boolean
|
||||
showGallery: boolean
|
||||
isGameEnd: boolean
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
start: []
|
||||
resume: []
|
||||
chapters: []
|
||||
story: []
|
||||
achievements: []
|
||||
gallery: []
|
||||
settings: []
|
||||
}>()
|
||||
|
||||
@@ -31,12 +29,10 @@ const { t } = useI18n()
|
||||
<button v-if="showResume" class="menu-btn secondary" @click="emit('resume')">{{ t('ui.resume') }}</button>
|
||||
|
||||
<div class="menu-sub-row">
|
||||
<button v-if="showChapters" class="menu-sub" @click="emit('chapters')">{{ t('ui.chapters') }}</button>
|
||||
<span v-if="showChapters" class="sub-sep">·</span>
|
||||
<button v-if="showStory" class="menu-sub" @click="emit('story')">{{ t('ui.story') }}</button>
|
||||
<span v-if="showStory" class="sub-sep">·</span>
|
||||
<button v-if="showAchievements" class="menu-sub" @click="emit('achievements')">{{ t('ui.achievements') }}</button>
|
||||
<span v-if="showAchievements" class="sub-sep">·</span>
|
||||
<button v-if="showGallery" class="menu-sub" @click="emit('gallery')">{{ t('ui.gallery') }}</button>
|
||||
<span v-if="showGallery" class="sub-sep">·</span>
|
||||
<button class="menu-sub" @click="emit('settings')">{{ t('ui.settings') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user