Skip to content

Commit c3a44aa

Browse files
committed
.
1 parent dde79fd commit c3a44aa

File tree

4 files changed

+33
-17
lines changed

4 files changed

+33
-17
lines changed

app/(project)/FreeTacMan/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type { Metadata } from "next";
22
export const metadata: Metadata = {
3-
title: "FreeTacMan",
3+
title: "FreeTacMan | OpenDriveLab",
4+
description: "FreeTacMan",
5+
keywords: ["FreeTacMan", "OpenDriveLab", "HKU", "SII"],
46
};
57

68
import Link from "next/link";

app/missing/page.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import type { Metadata } from "next";
2+
export const metadata: Metadata = {
3+
title: "404 | OpenDriveLab",
4+
description: "404 Not Found",
5+
keywords: ["404", "OpenDriveLab", "HKU", "SII"],
6+
};
7+
8+
9+
export default function Home() {
10+
11+
return (
12+
<main className='w-full'>
13+
<div className="w-full h-svh flex flex-row justify-center items-center">
14+
<div className='w-full md:w-3/4 h-full md:h-3/4 md:rounded-sm bg-gradient-landing flex flex-row justify-center items-center'>
15+
<div className="md:w-full max-w-3xl px-6 flex flex-col gap-6 select-none ">
16+
<h1 className="font-bold text-t1 text-white">
17+
404
18+
</h1>
19+
<h1 className="font-bold text-t1 text-white">
20+
Not Found
21+
</h1>
22+
</div>
23+
</div>
24+
</div>
25+
</main>
26+
)
27+
}

app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Metadata } from "next";
22
export const metadata: Metadata = {
3-
title: "OpenDriveLab",
3+
title: "redirecting",
44
};
55

66

components/ui/404.tsx

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -227,21 +227,8 @@ export default function NotFound404() {
227227
}
228228

229229

230-
230+
redirect('/missing')
231231
return (
232-
<main className='w-full'>
233-
<div className="w-full h-svh flex flex-row justify-center items-center">
234-
<div className='w-full md:w-3/4 h-full md:h-3/4 md:rounded-sm bg-gradient-landing flex flex-row justify-center items-center'>
235-
<div className="md:w-full max-w-3xl px-6 flex flex-col gap-6 select-none ">
236-
<h1 className="font-bold text-t1 text-white">
237-
404
238-
</h1>
239-
<h1 className="font-bold text-t1 text-white">
240-
Not Found
241-
</h1>
242-
</div>
243-
</div>
244-
</div>
245-
</main>
232+
<main className='w-full'></main>
246233
)
247234
}

0 commit comments

Comments
 (0)