RESTfulMC/Frontend/src/app/(pages)/docs/page.tsx

50 lines
1013 B
TypeScript
Raw Normal View History

2024-04-16 07:13:20 -07:00
import Creeper from "@/components/creeper";
import { minecrafter } from "@/font/fonts";
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 06:33:02 -07:00
/**
* Page metadata.
*/
export const metadata: Metadata = {
title: "Docs",
};
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
*/
const DocsPage = (): JSX.Element => (
<main className="h-[64vh] flex flex-col gap-3 justify-center items-center">
{/* Creeper */}
2024-04-16 13:40:25 -07:00
<div className="absolute left-28 bottom-16 pointer-events-none">
2024-04-16 07:13:20 -07:00
<Creeper />
</div>
{/* Header */}
<h1
2024-04-16 13:40:25 -07:00
className={cn(
"text-6xl text-minecraft-green-3 pointer-events-none",
minecrafter.className
)}
2024-04-16 07:13:20 -07:00
>
Documentation
</h1>
{/* Content */}
<h2 className="text-xl">
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>
);
export default DocsPage;