mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-24 00:01:03 +08:00
feat: update About section and localization; enhance layout in about.vue and change "關於我們" to "關於這個網站"
This commit is contained in:
parent
1065a982b0
commit
a06e696e24
@ -1,2 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div class="justify-center align-center text-center flex flex-col">
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<span class=text-xl>為什麼要做網站?</span>
|
||||||
|
<span>1. 台灣媒體真的很爛,要嘛有超多偏見,或是比較偏小孩不能看的新聞 (aka 擦邊通過的</span>
|
||||||
|
<span>2. 這個網站是為了讓大家可以更方便的比較新聞,可以分析新聞的偏見</span>
|
||||||
|
<span>3. <span class="line-through">學 TailwindCSS</span></span>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<span class=text-xl>關於開發者</span>
|
||||||
|
<span class="text-center align-center justify-center">開發者:yh</span>
|
||||||
|
<span class="text-center align-center justify-center">聯絡信箱:<a href="mailto:public+newscompareauthor@yuanhau.com">public@yuanhau.com</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"hotnews": "熱門新聞",
|
"hotnews": "熱門新聞",
|
||||||
"news": "新聞",
|
"news": "新聞",
|
||||||
"sources": "資料來源",
|
"sources": "資料來源",
|
||||||
"about": "關於我們",
|
"about": "關於這個網站",
|
||||||
"settings": "設定",
|
"settings": "設定",
|
||||||
"leave": "離開",
|
"leave": "離開",
|
||||||
"login": "登入",
|
"login": "登入",
|
||||||
|
@ -65,7 +65,6 @@ const lang = ref(locale.value);
|
|||||||
const alertOpen = ref(false);
|
const alertOpen = ref(false);
|
||||||
const currentNavBar = ref<currentNavBarInterface[]>([]);
|
const currentNavBar = ref<currentNavBarInterface[]>([]);
|
||||||
const bootingAnimation = ref(true);
|
const bootingAnimation = ref(true);
|
||||||
const bypassBoot = ref(false);
|
|
||||||
const activeWindows = ref<associAppWindowInterface>([]);
|
const activeWindows = ref<associAppWindowInterface>([]);
|
||||||
const openApp = ref();
|
const openApp = ref();
|
||||||
const openAppId = ref();
|
const openAppId = ref();
|
||||||
@ -240,10 +239,10 @@ onMounted(() => {
|
|||||||
// booting animation bypass
|
// booting animation bypass
|
||||||
const bootingHeaderParams = route.query.bypass;
|
const bootingHeaderParams = route.query.bypass;
|
||||||
if (bootingHeaderParams) {
|
if (bootingHeaderParams) {
|
||||||
bypassBoot.value = true;
|
bootingAnimation.value = false;
|
||||||
console.log("Bypass booting animation");
|
console.log("Bypass booting animation");
|
||||||
}
|
}
|
||||||
if (!bypassBoot.value) {
|
if (bootingAnimation.value) {
|
||||||
gsap.to(popMessage.value, {
|
gsap.to(popMessage.value, {
|
||||||
duration: 0.5,
|
duration: 0.5,
|
||||||
text: t("app.booting"),
|
text: t("app.booting"),
|
||||||
@ -252,8 +251,6 @@ if (bootingHeaderParams) {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
bootingAnimation.value = false;
|
bootingAnimation.value = false;
|
||||||
}, 2000);
|
}, 2000);
|
||||||
} else {
|
|
||||||
bootingAnimation.value = false;
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user