diff --git a/app/not-found.tsx b/app/not-found.tsx new file mode 100644 index 0000000..f73cab3 --- /dev/null +++ b/app/not-found.tsx @@ -0,0 +1,25 @@ +import Link from 'next/link'; + +export default function NotFound() { + return ( +
+ 您造訪的連結可能已失效或不存在。 +
+ + 返回首頁 + +
{new Date(page.published_at).toLocaleDateString(
@@ -118,6 +119,8 @@ export default async function StaticPage({ params }: Props) {
>
{slug === 'dev-env' ? (