layout comments
This commit is contained in:
parent
5257379990
commit
5e962c1020
1 changed files with 9 additions and 10 deletions
|
@ -1,24 +1,23 @@
|
|||
import { ReactNode } from 'react';
|
||||
|
||||
// Metadata for the application, used for SEO and page information
|
||||
export const metadata = {
|
||||
title: 'AI Assistant | Interstellar Development',
|
||||
description: 'A little AI chat that is able to assist you in little tasks',
|
||||
title: 'AI Assistant | Interstellar Development', // Title of the page
|
||||
description: 'A little AI chat that is able to assist you in little tasks', // Description of the page
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
// RootLayout component definition
|
||||
export default function RootLayout({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang="en"> {/* Set the language of the document */}
|
||||
<head>
|
||||
<title>{metadata.title}</title>
|
||||
<meta name="description" content={metadata.description} />
|
||||
{/* Tried adding the favicon here */}
|
||||
<title>{metadata.title}</title> {/* Set the page title */}
|
||||
<meta name="description" content={metadata.description} /> {/* Set the page description for SEO */}
|
||||
{/* Link to the favicon for the site */}
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||
</head>
|
||||
<body>
|
||||
<main>{children}</main>
|
||||
<main>{children}</main> {/* Render the child components inside the main element */}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue