Files
f33097c174 with-mongodb update to add both App and Pages Router examples (#68461)
Updated all dependencies and added an app route to demonstrate both
pages an app directories.

---------

Co-authored-by: Delba de Oliveira <[email protected]>
Co-authored-by: Sam Ko <[email protected]>
2024-08-02 13:12:19 -07:00

23 lines
470 B
TypeScript

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "@/styles/globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
);
}