add config for bot title & sub title

This commit is contained in:
Jihua Peng
2023-04-16 20:31:49 +08:00
parent 1971d300a8
commit af30a8b79e
3 changed files with 10 additions and 8 deletions

View File

@@ -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 />