mirror of
				https://github.com/Yidadaa/ChatGPT-Next-Web.git
				synced 2025-11-04 08:26:12 +08:00 
			
		
		
		
	Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
This commit is contained in:
		@@ -3,7 +3,7 @@ import "./styles/globals.scss";
 | 
				
			|||||||
import "./styles/markdown.scss";
 | 
					import "./styles/markdown.scss";
 | 
				
			||||||
import "./styles/highlight.scss";
 | 
					import "./styles/highlight.scss";
 | 
				
			||||||
import { getClientConfig } from "./config/client";
 | 
					import { getClientConfig } from "./config/client";
 | 
				
			||||||
import { type Metadata } from "next";
 | 
					import type { Metadata, Viewport } from "next";
 | 
				
			||||||
import { SpeedInsights } from "@vercel/speed-insights/next";
 | 
					import { SpeedInsights } from "@vercel/speed-insights/next";
 | 
				
			||||||
import { getServerSideConfig } from "./config/server";
 | 
					import { getServerSideConfig } from "./config/server";
 | 
				
			||||||
import { GoogleTagManager } from "@next/third-parties/google";
 | 
					import { GoogleTagManager } from "@next/third-parties/google";
 | 
				
			||||||
@@ -12,21 +12,22 @@ const serverConfig = getServerSideConfig();
 | 
				
			|||||||
export const metadata: Metadata = {
 | 
					export const metadata: Metadata = {
 | 
				
			||||||
  title: "NextChat",
 | 
					  title: "NextChat",
 | 
				
			||||||
  description: "Your personal ChatGPT Chat Bot.",
 | 
					  description: "Your personal ChatGPT Chat Bot.",
 | 
				
			||||||
  viewport: {
 | 
					 | 
				
			||||||
    width: "device-width",
 | 
					 | 
				
			||||||
    initialScale: 1,
 | 
					 | 
				
			||||||
    maximumScale: 1,
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  themeColor: [
 | 
					 | 
				
			||||||
    { media: "(prefers-color-scheme: light)", color: "#fafafa" },
 | 
					 | 
				
			||||||
    { media: "(prefers-color-scheme: dark)", color: "#151515" },
 | 
					 | 
				
			||||||
  ],
 | 
					 | 
				
			||||||
  appleWebApp: {
 | 
					  appleWebApp: {
 | 
				
			||||||
    title: "NextChat",
 | 
					    title: "NextChat",
 | 
				
			||||||
    statusBarStyle: "default",
 | 
					    statusBarStyle: "default",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export const viewport: Viewport = {
 | 
				
			||||||
 | 
					  width: "device-width",
 | 
				
			||||||
 | 
					  initialScale: 1,
 | 
				
			||||||
 | 
					  maximumScale: 1,
 | 
				
			||||||
 | 
					  themeColor: [
 | 
				
			||||||
 | 
					    { media: "(prefers-color-scheme: light)", color: "#fafafa" },
 | 
				
			||||||
 | 
					    { media: "(prefers-color-scheme: dark)", color: "#151515" },
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default function RootLayout({
 | 
					export default function RootLayout({
 | 
				
			||||||
  children,
 | 
					  children,
 | 
				
			||||||
}: {
 | 
					}: {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user