v1.5: Add login module and GPT selection feature

This commit is contained in:
2023-07-12 18:04:12 +08:00
parent 329b9c7c95
commit 49fffe8cbe
17 changed files with 375 additions and 31 deletions
+7 -7
View File
@@ -3,7 +3,7 @@ import { useEffect, useRef } from "react";
import styles from "./home.module.scss";
import { IconButton } from "./button";
// import SettingsIcon from "../icons/settings.svg";
import SettingsIcon from "../icons/settings.svg";
// import GithubIcon from "../icons/github.svg";
import ChatGptIcon from "../icons/chatgpt.svg";
import AddIcon from "../icons/add.svg";
@@ -168,15 +168,15 @@ export function SideBar(props: { className?: string }) {
/> */}
</div>
<div className={styles["sidebar-action"]}>
{/* <Link to={Path.Settings}>
<Link to={Path.Settings}>
<IconButton icon={<SettingsIcon />} shadow />
</Link> */}
</Link>
</div>
<div className={styles["sidebar-action"]}>
{/* <a href={REPO_URL} target="_blank">
{/* <div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank">
<IconButton icon={<GithubIcon />} shadow />
</a> */}
</div>
</a>
</div> */}
</div>
<div>
<IconButton