2024-04-16 07:13:20 -07:00
|
|
|
import Creeper from "@/components/creeper";
|
|
|
|
import { minecrafter } from "@/font/fonts";
|
2024-04-16 07:48:32 -07:00
|
|
|
import { cn } from "@/lib/utils";
|
2024-04-17 06:33:02 -07:00
|
|
|
import { Metadata } from "next";
|
2024-04-16 07:13:20 -07:00
|
|
|
import Link from "next/link";
|
2024-04-17 16:04:15 -07:00
|
|
|
import { ReactElement } from "react";
|
2024-04-16 07:13:20 -07:00
|
|
|
|
2024-04-17 06:33:02 -07:00
|
|
|
/**
|
|
|
|
* Page metadata.
|
|
|
|
*/
|
|
|
|
export const metadata: Metadata = {
|
2024-04-17 16:04:15 -07:00
|
|
|
title: "Docs",
|
2024-04-17 06:33:02 -07:00
|
|
|
};
|
|
|
|
|
2024-04-16 07:13:20 -07:00
|
|
|
/**
|
|
|
|
* The documentation page.
|
|
|
|
*
|
2024-04-16 07:26:19 -07:00
|
|
|
* @returns the page jsx
|
2024-04-16 07:13:20 -07:00
|
|
|
*/
|
2024-04-17 16:04:15 -07:00
|
|
|
const DocsPage = (): ReactElement => (
|
2024-04-17 16:19:52 -07:00
|
|
|
<main className="h-[84vh] flex flex-col gap-3 justify-center items-center text-center pointer-events-none">
|
2024-04-17 16:04:15 -07:00
|
|
|
{/* Creeper */}
|
2024-04-17 16:19:52 -07:00
|
|
|
<Creeper />
|
2024-04-16 07:13:20 -07:00
|
|
|
|
2024-04-17 16:04:15 -07:00
|
|
|
{/* Header */}
|
|
|
|
<h1
|
|
|
|
className={cn(
|
2024-04-17 16:19:52 -07:00
|
|
|
"text-5xl sm:text-6xl text-minecraft-green-3",
|
2024-04-17 16:04:15 -07:00
|
|
|
minecrafter.className
|
|
|
|
)}
|
|
|
|
>
|
|
|
|
Documentation
|
|
|
|
</h1>
|
2024-04-16 07:13:20 -07:00
|
|
|
|
2024-04-17 16:19:52 -07:00
|
|
|
{/* Error */}
|
|
|
|
<h2 className="text-2xl">
|
2024-04-17 16:04:15 -07:00
|
|
|
This page is still under construction, however we do have a{" "}
|
|
|
|
<Link
|
|
|
|
className="text-minecraft-green-4"
|
|
|
|
href="https://git.rainnny.club/Rainnny/RESTfulMC/wiki"
|
|
|
|
>
|
|
|
|
Wiki
|
|
|
|
</Link>
|
|
|
|
!
|
|
|
|
</h2>
|
|
|
|
</main>
|
2024-04-16 07:13:20 -07:00
|
|
|
);
|
|
|
|
export default DocsPage;
|