diff --git a/public/tools.yml b/public/tools.yml new file mode 100644 index 0000000..1a13964 --- /dev/null +++ b/public/tools.yml @@ -0,0 +1,10 @@ +- category: "自部署小工具" + tools: + - icon: "https://excalidraw.com/favicon.ico" + title: "Excalidraw 画板" + description: "简单的在线绘图工具" + url: "https://draw.kisechan.space/" + - icon: "https://calc.kisechan.space/icon.svg" + title: "Calcium 计算器" + description: "在线计算器" + url: "https://calc.kisechan.space/" \ No newline at end of file diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 93a168d..bbd8bd9 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -19,6 +19,10 @@ 友链 + + + 工具 +
diff --git a/src/router/index.js b/src/router/index.js index 817a07e..cdd948a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -13,6 +13,12 @@ const routes = [ component: () => import("@/views/LinksView.vue"), meta: { title: "友链" }, }, + { + path: "/tools", + name: "tools", + component: () => import("@/views/ToolsView.vue"), + meta: { title: "工具" }, + }, ]; const router = createRouter({ diff --git a/src/views/ToolsView.vue b/src/views/ToolsView.vue new file mode 100644 index 0000000..589a50e --- /dev/null +++ b/src/views/ToolsView.vue @@ -0,0 +1,135 @@ + + + + + \ No newline at end of file