RESTfulMC/Frontend/src/app/(pages)/docs/page.tsx
Rainnny7 bf1c1af0e5
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m0s
Fix not being able to click the link on the docs page
2024-04-18 20:31:47 -04:00

49 lines
1.2 KiB
TypeScript

import Creeper from "@/components/creeper";
import { minecrafter } from "@/font/fonts";
import { cn } from "@/lib/utils";
import { Metadata } from "next";
import Link from "next/link";
import { ReactElement } from "react";
/**
* Page metadata.
*/
export const metadata: Metadata = {
title: "Docs",
};
/**
* The documentation page.
*
* @returns the page jsx
*/
const DocsPage = (): ReactElement => (
<main className="h-screen flex flex-col gap-3 justify-center items-center text-center pointer-events-none">
{/* Creeper */}
<Creeper />
{/* Header */}
<h1
className={cn(
"text-5xl sm:text-6xl text-minecraft-green-3",
minecrafter.className
)}
>
Documentation
</h1>
{/* Error */}
<h2 className="text-2xl">
This page is still under construction, however we do have a{" "}
<Link
className="text-minecraft-green-4 pointer-events-auto"
href="https://git.rainnny.club/Rainnny/RESTfulMC/wiki"
>
Wiki
</Link>
!
</h2>
</main>
);
export default DocsPage;