canceling [..vh]

This commit is contained in:
Annie Huang committed 2024-04-06 22:06:29 +08:00
1 parent 9bfc6614ca
commit f4fc6de4cc
6 files changed
+17 -29

No files matched your search

@@ -65,31 +65,22 @@ onMounted(async () => {
<a title="Survey" :href="surveyUrl" target="_blank" class="h-5 w-5"> <a title="Survey" :href="surveyUrl" target="_blank" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon
:icon="['fas', 'file-invoice']" :icon="['fas', 'file-invoice']"
class="text-text-primary h-full w-full" class="text-text-primary"
/> />
</a> </a>
<RouterLink title="LeaderBoard" to="/leaderboard" class="h-5 w-5"> <RouterLink title="LeaderBoard" to="/leaderboard" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon :icon="['fas', 'trophy']" class="text-text-primary" />
:icon="['fas', 'trophy']"
class="text-text-primary h-full w-full"
/>
</RouterLink> </RouterLink>
<RouterLink title="Map" to="/map" class="h-5 w-5"> <RouterLink title="Map" to="/map" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon :icon="['fas', 'map']" class="text-text-primary" />
:icon="['fas', 'map']"
class="text-text-primary h-full w-full"
/>
</RouterLink> </RouterLink>
<a title="Bug Report" :href="bugReportUrl" target="_blank" class="h-5 w-5"> <a title="Bug Report" :href="bugReportUrl" target="_blank" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon :icon="['fas', 'bug']" class="text-text-primary" />
:icon="['fas', 'bug']"
class="text-text-primary h-full w-full"
/>
</a> </a>
<button title="Sign Out" @click="handleLogout" class="h-5 w-5"> <button title="Sign Out" @click="handleLogout" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon
:icon="['fas', 'arrow-right-from-bracket']" :icon="['fas', 'arrow-right-from-bracket']"
class="text-text-primary h-full w-full" class="text-text-primary"
/> />
</button> </button>
</template> </template>
@@ -17,7 +17,7 @@ const scrollToSection = (sectionId) => {
<template> <template>
<button <button
id="Intro" id="Intro"
class="text-text inline-block font-bold whitespace-nowrap pt-1" class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
@click="scrollToSection('intro')" @click="scrollToSection('intro')"
style="font-size: 2vh" style="font-size: 2vh"
> >
@@ -25,14 +25,14 @@ const scrollToSection = (sectionId) => {
</button> </button>
<button <button
id="Feature" id="Feature"
class="text-text inline-block font-bold whitespace-nowrap pt-1" class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
@click="scrollToSection('feature')" @click="scrollToSection('feature')"
style="font-size: 2vh" style="font-size: 2vh"
> >
特色</button 特色</button
><button ><button
id="Info" id="Info"
class="text-text inline-block font-bold whitespace-nowrap pt-1" class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
@click="scrollToSection('about')" @click="scrollToSection('about')"
style="font-size: 2vh" style="font-size: 2vh"
> >
@@ -41,7 +41,7 @@ const scrollToSection = (sectionId) => {
<button <button
id="Contact" id="Contact"
class="text-text inline-block font-bold whitespace-nowrap pt-1" class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
@click="scrollToSection('contact')" @click="scrollToSection('contact')"
style="font-size: 2vh" style="font-size: 2vh"
> >
@@ -51,15 +51,12 @@ const scrollToSection = (sectionId) => {
title="Sign In" title="Sign In"
id="SignIn" id="SignIn"
to="/register" to="/register"
class="text-text inline-block font-bold whitespace-nowrap pt-1" class="text-text inline-block font-bold whitespace-nowrap pt-1 hover:text-text-primary"
style="font-size: 2vh" style="font-size: 2vh"
> >
登入 登入
</RouterLink> </RouterLink>
<a title="Bug Report" :href="bugReportUrl" target="_blank" class="h-5 w-5"> <a title="Bug Report" :href="bugReportUrl" target="_blank" class="h-5 w-5">
<font-awesome-icon <font-awesome-icon :icon="['fas', 'bug']" class="text-text-primary" />
:icon="['fas', 'bug']"
class="text-text-primary h-full w-full"
/>
</a> </a>
</template> </template>
+2 -2
View File
@@ -46,7 +46,7 @@ onMounted(async () => {
<template> <template>
<!-- game header --> <!-- game header -->
<div class="w-full h-[5vh]"> <div class="w-full">
<HeaderPart <HeaderPart
:title="sessionStore.quest?.title" :title="sessionStore.quest?.title"
:headerComponent="GameHeaderComponents" :headerComponent="GameHeaderComponents"
@@ -59,7 +59,7 @@ onMounted(async () => {
:value="sessionStore.session.status" :value="sessionStore.session.status"
/> />
<!-- main --> <!-- main -->
<div id="main" class="h-[95vh] w-full flex p-3 space-x-3"> <div id="main" class="h-full pt-10 w-full flex p-3 space-x-3">
<!-- Topic and Command List --> <!-- Topic and Command List -->
<div class="bg-bg-secondary h-full w-1/4 rounded-lg"> <div class="bg-bg-secondary h-full w-1/4 rounded-lg">
<section id="quest" class="h-full p-3 overflow-auto"> <section id="quest" class="h-full p-3 overflow-auto">
+1 -1
View File
@@ -36,7 +36,7 @@ onMounted(async () => {
<div <div
class="w-screen h-screen absolute top-0 left-0 flex flex-wrap justify-center content-center" class="w-screen h-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
> >
<div class="h-[6vh] w-full"> <div class="w-full">
<HeaderPart :title="排行榜" :headerComponent="GameHeaderComponents" /> <HeaderPart :title="排行榜" :headerComponent="GameHeaderComponents" />
</div> </div>
<div class="w-fit h-[94vh] m-3"> <div class="w-fit h-[94vh] m-3">
+2 -2
View File
@@ -5,7 +5,7 @@ import GameHeaderComponents from '../components/header/GameHeaderComponents.vue'
</script> </script>
<template> <template>
<div class="w-fit h-[5vh]"> <div class="w-fit">
<HeaderPart <HeaderPart
:title="關卡地圖" :title="關卡地圖"
:headerComponent="GameHeaderComponents" :headerComponent="GameHeaderComponents"
@@ -19,7 +19,7 @@ import GameHeaderComponents from '../components/header/GameHeaderComponents.vue'
Quest Map Quest Map
Unix編年史 Unix編年史
</p> --> </p> -->
<div class="flex flex-col justify-center items-center w-full h-[95vh]"> <div class="flex flex-col justify-center items-center w-full h-full mt-8">
<QuestMap /> <QuestMap />
</div> </div>
</template> </template>
+1 -1
View File
@@ -94,7 +94,7 @@ async function check({
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center" class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
> >
<HeaderPart /> <HeaderPart />
<div class="w-fit h-[91vh]"> <div class="w-fit mt-8">
<AuthForm <AuthForm
@onSubmit="handleRegister" @onSubmit="handleRegister"
@onChange="check" @onChange="check"