diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..e69de29 diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..5b8498f --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,69 @@ +--- +import Icon from "@iconify/svelte"; +import MainGridLayout from "../layouts/MainGridLayout.astro"; +import { profileConfig } from "../config.ts"; +import ButtonLink from "../components/control/ButtonLink.astro"; +--- + + +
+
+ 404 +
+ +

+ 页面未找到 +

+ +

+ 抱歉,您访问的页面不存在或已被移动。让我们帮您找到正确的路径。 +

+ +
+ + + 返回首页 + + + + + 浏览文章 + + + + + 关于我 + +
+ +
+

或者您可以:

+
    +
  • 检查URL是否正确拼写
  • +
  • 使用上方的搜索功能查找内容
  • +
  • 通过导航菜单浏览网站
  • +
+
+
+ + +
+
+ +
+
+
+ + \ No newline at end of file diff --git a/src/pages/[...404].astro b/src/pages/[...404].astro new file mode 100644 index 0000000..e69de29