mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Updated/Migrated the active-class-name example to the App router This PR contains the Following Changes. Pages folder Converted into App Folder. Updated file Structure according to the App Router convention Updated ActiveLink Component as per App router. --------- Co-authored-by: samcx <[email protected]>
17 lines
258 B
TypeScript
17 lines
258 B
TypeScript
export const metadata = {
|
|
title: "Next.js",
|
|
description: "Generated by Next.js",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|