3 Commits

Author SHA1 Message Date
87d6e0ab3b Fix the navbar being off center
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m7s
2024-04-17 09:43:14 -04:00
eff8af532a Fix spacing for the star on GH button 2024-04-17 09:35:22 -04:00
05131b614d docs metadata 2024-04-17 09:33:02 -04:00
2 changed files with 11 additions and 5 deletions

View File

@ -1,8 +1,16 @@
import Creeper from "@/components/creeper"; import Creeper from "@/components/creeper";
import { minecrafter } from "@/font/fonts"; import { minecrafter } from "@/font/fonts";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { Metadata } from "next";
import Link from "next/link"; import Link from "next/link";
/**
* Page metadata.
*/
export const metadata: Metadata = {
title: "Docs",
};
/** /**
* The documentation page. * The documentation page.
* *

View File

@ -26,7 +26,7 @@ const Navbar = (): JSX.Element => {
{/* App Branding */} {/* App Branding */}
<Link <Link
className={cn( className={cn(
"text-3xl text-minecraft-green-3 hover:opacity-85 transition-all transform-gpu", "hidden sm:flex text-3xl text-minecraft-green-3 hover:opacity-85 transition-all transform-gpu",
minecrafter.className minecrafter.className
)} )}
href="/" href="/"
@ -65,17 +65,15 @@ const Navbar = (): JSX.Element => {
</div> </div>
</div> </div>
{/* Social Buttons */} {/* Social Buttons - Right */}
<div className="hidden md:flex"> <div className="hidden md:flex">
{/* Star on Github <3 */} {/* Star on Github <3 */}
<Link <Link
className="flex gap-1.5 items-center"
href="https://github.com/Rainnny7/RESTfulMC" href="https://github.com/Rainnny7/RESTfulMC"
rel="noopener noreferrer" rel="noopener noreferrer"
target="_blank" target="_blank"
> >
<MinecraftButton className="group/star"> <MinecraftButton className="flex gap-1.5 items-center group/star">
{/* Star Count */} {/* Star Count */}
<Suspense fallback={<Skeleton className="w-4 h-5 rounded-md" />}> <Suspense fallback={<Skeleton className="w-4 h-5 rounded-md" />}>
<GitHubStarCount /> <GitHubStarCount />