mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
add config for bot title & sub title
This commit is contained in:
parent
1971d300a8
commit
af30a8b79e
@ -25,7 +25,7 @@ import dynamic from "next/dynamic";
|
||||
import { REPO_URL } from "../constant";
|
||||
import { ErrorBoundary } from "./error";
|
||||
|
||||
import { APP_NAME, APP_SUB_NAME } from "../constant";
|
||||
import { APP_TITLE, APP_SUB_TITLE } from "../constant";
|
||||
|
||||
export function Loading(props: { noLogo?: boolean }) {
|
||||
return (
|
||||
@ -170,10 +170,10 @@ function _Home() {
|
||||
>
|
||||
<div className={styles["sidebar-header"]}>
|
||||
<div className={styles["sidebar-title"]}>
|
||||
{ APP_NAME }
|
||||
{ APP_TITLE }
|
||||
</div>
|
||||
<div className={styles["sidebar-sub-title"]}>
|
||||
{ APP_SUB_NAME }
|
||||
{ APP_SUB_TITLE }
|
||||
</div>
|
||||
<div className={styles["sidebar-logo"]}>
|
||||
<ChatGptIcon />
|
||||
|
@ -8,5 +8,5 @@ export const FETCH_TAG_URL = `https://api.github.com/repos/${OWNER}/${REPO}/tags
|
||||
export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
|
||||
|
||||
|
||||
export const APP_NAME = "追求进步";
|
||||
export const APP_SUB_NAME = "Keeping pace with the AI era.";
|
||||
export const APP_TITLE = "追求进步";
|
||||
export const APP_SUB_TITLE = "Keeping pace with the AI era.";
|
||||
|
@ -4,13 +4,15 @@ import "./styles/markdown.scss";
|
||||
import "./styles/highlight.scss";
|
||||
import { getBuildConfig } from "./config/build";
|
||||
|
||||
import { APP_TITLE, APP_SUB_TITLE } from "./constant";
|
||||
|
||||
const buildConfig = getBuildConfig();
|
||||
|
||||
export const metadata = {
|
||||
title: "ChatGPT Next Web",
|
||||
description: "Your personal ChatGPT Chat Bot.",
|
||||
title: APP_TITLE,
|
||||
description: APP_SUB_TITLE,
|
||||
appleWebApp: {
|
||||
title: "ChatGPT Next Web",
|
||||
title: APP_TITLE,
|
||||
statusBarStyle: "default",
|
||||
},
|
||||
themeColor: "#fafafa",
|
||||
|
Loading…
Reference in New Issue
Block a user