You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import type { Metadata } from "next";
|
|
|
|
import "./globals.css";
|
|
|
|
import Link from "next/link";
|
|
|
|
import AppHeader from "@/components/app-header";
|
|
|
|
import Providers from "./providers";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "Web",
|
|
|
|
description: "SPA Boilereplate",
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
|
|
|
children: React.ReactNode;
|
|
|
|
}>) {
|
|
|
|
return (
|
|
|
|
<html lang="ko">
|
|
|
|
<body className="m-0">
|
|
|
|
<AppHeader />
|
|
|
|
<Providers>
|
|
|
|
<main className="mx-auto w-full">{children}</main>
|
|
|
|
</Providers>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|