Files
vercel__next.js/examples/with-sitemap/app/layout.tsx
archanaagivale30 b5f97ca70e Updated with-sitemap example for App Router (#66995)
Hello

This PR updates the with-sitemap example to use:

1. App Router
2. TypeScript
3. sitemap.js

---------

Co-authored-by: Sam Ko <sam@vercel.com>
2024-06-20 09:18:56 +00:00

20 lines
318 B
TypeScript

export const metadata = {
title: "Create Next App",
description: "Generated by Next.js",
icons: {
icon: "/favicon.ico",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}