updated to next 14

This commit is contained in:
Adam Cała
2023-11-07 12:00:13 +01:00
parent 676f2cd236
commit b1b36a732b
6 changed files with 93 additions and 9 deletions

View File

@@ -3,6 +3,9 @@ import { Inter } from "next/font/google";
import "./globals.css";
import Stars from "@/components/stars";
import Footer from "@/components/footer";
import { Suspense } from "react";
import Loading from "./loading";
import Link from "next/link";
const inter = Inter({ subsets: ["latin"] });
@@ -19,8 +22,10 @@ export default function RootLayout({
return (
<html lang="en">
<body className={inter.className}>
<h1 className="fixed text-white top-0 z-50 m-5 text-5xl">J4roid</h1>
{children}
<Link href={"/"}>
<h1 className="fixed text-white top-0 z-50 m-5 text-5xl">J4roid</h1>
</Link>
<Suspense fallback={<Loading />}>{children}</Suspense>
<Footer />
</body>
</html>