layout.tsx 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import "./styles/globals.scss";
  2. import "./styles/markdown.scss";
  3. import "./styles/prism.scss";
  4. export const metadata = {
  5. title: "ChatGPT Next Web",
  6. description: "Your personal ChatGPT Chat Bot."
  7. };
  8. const COMMIT_ID = process.env.COMMIT_ID
  9. export default function RootLayout({
  10. children,
  11. }: {
  12. children: React.ReactNode;
  13. }) {
  14. return (
  15. <html lang="en">
  16. <head>
  17. <meta
  18. name="viewport"
  19. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
  20. />
  21. <meta name="version" content={COMMIT_ID} />
  22. <link rel="manifest" href="/site.webmanifest"></link>
  23. <link rel="preconnect" href="https://fonts.googleapis.com"></link>
  24. <link rel="preconnect" href="https://fonts.gstatic.com"></link>
  25. <link
  26. href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap"
  27. rel="stylesheet"
  28. ></link>
  29. </head>
  30. <body>{children}</body>
  31. </html>
  32. );
  33. }