Layout

Next.js Layout

2025-01-08

/app/layout.tsx

  • Initial, default, page content frame
  • Structure and elements rqd for app default pages
  • Initial /app/layout.tsx:
/*******************************************************************************
 File: /app/layout.tsx
 Purpose: Frame for default app pages
 ******************************************************************************/
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "Some Title",
  description: "Some Site Descr",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={inter.className}>{children}</body>
    </html>
  );
}

 

Copyright @ 2024 Anne Brown Â