forked from React-Group/interstellar_ai
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';
|
import { ReactNode } from 'react';
|
||||||
|
|
||||||
|
// Metadata for the application, used for SEO and page information
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: 'AI Assistant | Interstellar Development',
|
title: 'AI Assistant | Interstellar Development', // Title of the page
|
||||||
description: 'A little AI chat that is able to assist you in little tasks',
|
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 }) {
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en"> {/* Set the language of the document */}
|
||||||
<head>
|
<head>
|
||||||
<title>{metadata.title}</title>
|
<title>{metadata.title}</title> {/* Set the page title */}
|
||||||
<meta name="description" content={metadata.description} />
|
<meta name="description" content={metadata.description} /> {/* Set the page description for SEO */}
|
||||||
{/* Tried adding the favicon here */}
|
{/* Link to the favicon for the site */}
|
||||||
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>{children}</main>
|
<main>{children}</main> {/* Render the child components inside the main element */}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue