updated to next 14
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user