+
- {{ items }}
+
+
{{ items.name }}
+
+ Date:
+ {{ items.favTime }}
+
+
diff --git a/createDatabase.ts b/createDatabase.ts
index 12ea25a..e7013c8 100644
--- a/createDatabase.ts
+++ b/createDatabase.ts
@@ -76,7 +76,7 @@ uuid text primary key,
title text not null,
content text not null,
origin text not null,
-author text,
+author text
)
`;
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 019c6ee..af5c016 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -19,6 +19,7 @@
"startusing": "Let's Start!",
"learnmore": "Learn more",
"documentation": "Documentation",
+ "tools": "Tools",
"qanda": {
"titles": {
"whydes": "Why make this platform?",
diff --git a/i18n/locales/zh-tw.json b/i18n/locales/zh-tw.json
index a5cdd3d..4c9121e 100644
--- a/i18n/locales/zh-tw.json
+++ b/i18n/locales/zh-tw.json
@@ -19,6 +19,7 @@
"startusing": "開始使用!",
"learnmore": "了解更多",
"documentation": "如何使用",
+ "tools": "工具",
"qanda": {
"titles": {
"whydes": "為什麼要做這個平台?",
diff --git a/pages/desktop.vue b/pages/desktop.vue
index 154fa15..813b5c0 100644
--- a/pages/desktop.vue
+++ b/pages/desktop.vue
@@ -176,53 +176,6 @@ const associAppWindow = [
},
];
-/*
-const keyboardShortcuts = {
- 'Meta+k': {
- action: () => toggleMenu(),
- description: 'Toggle menu'
- },
- 'Meta+q': {
- action: () => router.push(localePath("/home")),
- description: 'Quit to home'
- },
- 'Meta+w': {
- action: () => closeWindow(activeWindows.value[activeWindows.value.length - 1]?.id),
- description: 'Close current window'
- },
- 'Meta+t': {
- action: () => findAndOpenWindow('tty'),
- description: 'Open terminal'
- },
-}
-
-
-// Keyboard shortcuts
-const handleKeyboardActions = (e: KeyboardEvent) => {
- const key = [
- e.metaKey ? "Meta": "",
- e.ctrlKey ? "Ctrl": "",
- e.shiftKey ? "Shift": "",
- e.altKey ? "Alt": "",
- e.key.toLowerCase()
- ].filter(Boolean).join('+')
-
- const shortcut = keyboardShortcuts[key];
- if (shortcut) {
- console.log(`Shortcut triggered: ${key}`);
- e.preventDefault()
- shortcut.action()
- }
-}
-
-onMounted(() => {
- window.addEventListener('keydown', handleKeyboardActions)
-});
-
-onUnmounted(() => {
- window.removeEventListener('keydown', handleKeyboardActions)
-});
-*/
// Date
const currentDate = ref(
new Date().toLocaleDateString("zh-TW", {
@@ -385,13 +338,6 @@ const openNewWindowViaApp = (windowId: string) => {
}, 1000);
};
-const maxWindow = (windowUUId: string) => {
- const windowIndex = activeWindows.value.findIndex(
- (window) => window.absoluteId === windowUUId,
- );
- console.log(windowIndex);
-};
-
const toggleMinWindow = (windowUUId: string) => {
const windowIndex = "";
};
@@ -557,7 +503,6 @@ watchEffect((cleanupFn) => {
:width="window.width"
:height="window.height"
@click="obtainTopWindowPosition(window.id)"
- @maximize="maxWindow(window.absoluteId)"
:black="window.black"
>
diff --git a/pages/fun-desktop.vue b/pages/fun-desktop.vue
new file mode 100644
index 0000000..1089f34
--- /dev/null
+++ b/pages/fun-desktop.vue
@@ -0,0 +1,428 @@
+
+
+
+
+ {{ t("app.changelangmessage") }}
+
+
+
+
+
+
+
{{
+ t("app.launchtext")
+ }}
+
+
+
diff --git a/pages/home.vue b/pages/home.vue
index 7191398..bf99a68 100644
--- a/pages/home.vue
+++ b/pages/home.vue
@@ -40,11 +40,6 @@ const cards = [
title: t("home.cards.title.interface"),
description: t("home.cards.description.interface"),
},
- {
- icon: DocumentDuplicateIcon,
- title: t("home.cards.title.documentation"),
- description: t("home.cards.description.documentation"),
- },
{
icon: GithubIcon,
title: t("home.cards.title.opensource"),
@@ -130,11 +125,11 @@ useSeoMeta({
{{ t("home.startusing") }}
-
+
diff --git a/pages/newsOrgs.vue b/pages/newsOrgs.vue
deleted file mode 100644
index d7cf98a..0000000
--- a/pages/newsOrgs.vue
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
{{ t("newsOrgs.title") }}
-
-