ㄱㄱㄱ
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import type { Metadata } from "next";
|
||||
import "./globals.css";
|
||||
import { pretendard } from "./fonts";
|
||||
import NavBar from "./NavBar";
|
||||
import HeaderVisibility from "./components/HeaderVisibility";
|
||||
import Footer from "./components/Footer";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "XRLMS",
|
||||
@@ -13,9 +14,12 @@ export default function RootLayout({
|
||||
}: Readonly<{ children: React.ReactNode; }>) {
|
||||
return (
|
||||
<html lang="ko">
|
||||
<body className={pretendard.className}>
|
||||
<NavBar />
|
||||
{children}
|
||||
<body className={`${pretendard.className} min-h-screen flex flex-col`}>
|
||||
<HeaderVisibility />
|
||||
<main className="flex-1 min-h-0">
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user