mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
setup redirect
This commit is contained in:
parent
e9b65e3423
commit
839ee3b6f7
29
website/agb/src/app/tapir/dpl/page.tsx
Normal file
29
website/agb/src/app/tapir/dpl/page.tsx
Normal file
|
@ -0,0 +1,29 @@
|
|||
import { ContentBlock } from "@/components/contentBlock";
|
||||
import { Metadata } from "next";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Dungeon Puzzler Redirect",
|
||||
};
|
||||
|
||||
const REDIRECT_TO = "/showcase/the-dungeon-puzzler's-lament";
|
||||
|
||||
export default function DplRedirectPage() {
|
||||
redirect(REDIRECT_TO);
|
||||
|
||||
return (
|
||||
<>
|
||||
<ContentBlock>
|
||||
<h1>This page is a redirect to the Dungeon Puzzler</h1>
|
||||
</ContentBlock>
|
||||
<ContentBlock>
|
||||
<p>
|
||||
You should be redirected automatically.{" "}
|
||||
<a href={REDIRECT_TO}>
|
||||
If you were not redirected automatically click here.
|
||||
</a>
|
||||
</p>
|
||||
</ContentBlock>
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue