feat: update About section and localization; enhance layout in about.vue and change "關於我們" to "關於這個網站"

This commit is contained in:
yuanhau 2025-05-12 23:31:28 +08:00
parent 1065a982b0
commit a06e696e24
3 changed files with 17 additions and 6 deletions

View file

@ -65,7 +65,6 @@ const lang = ref(locale.value);
const alertOpen = ref(false);
const currentNavBar = ref<currentNavBarInterface[]>([]);
const bootingAnimation = ref(true);
const bypassBoot = ref(false);
const activeWindows = ref<associAppWindowInterface>([]);
const openApp = ref();
const openAppId = ref();
@ -240,10 +239,10 @@ onMounted(() => {
// booting animation bypass
const bootingHeaderParams = route.query.bypass;
if (bootingHeaderParams) {
bypassBoot.value = true;
bootingAnimation.value = false;
console.log("Bypass booting animation");
}
if (!bypassBoot.value) {
if (bootingAnimation.value) {
gsap.to(popMessage.value, {
duration: 0.5,
text: t("app.booting"),
@ -252,8 +251,6 @@ if (bootingHeaderParams) {
setTimeout(() => {
bootingAnimation.value = false;
}, 2000);
} else {
bootingAnimation.value = false;
}
})