ChatGPT-Next-Web/app/layout.tsx

33 lines
823 B
TypeScript

/* eslint-disable @next/next/no-page-custom-font */
import "./styles/globals.scss";
import "./styles/markdown.scss";
import "./styles/highlight.scss";
import { getClientConfig } from "./config/client";
import { type Metadata } from "next";
export const metadata = {
title: "SoulShellGPT",
description: "Your personal ChatGPT Chat Bot.",
appleWebApp: {
title: "SoulShellGPT",
statusBarStyle: "default",
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<meta name="config" content={JSON.stringify(getClientConfig())} />
<link rel="manifest" href="/site.webmanifest"></link>
<script src="/serviceWorkerRegister.js" defer></script>
</head>
<body>{children}</body>
</html>
);
}