File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
2424 Path ,
2525 PLUGINS ,
2626 REPO_URL ,
27+ NAV_URL ,
2728} from "../constant" ;
2829
2930import { Link , useNavigate } from "react-router-dom" ;
@@ -306,6 +307,15 @@ export function SideBar(props: { className?: string }) {
306307 />
307308 </ Link >
308309 </ div >
310+ < div className = { styles [ "sidebar-action" ] } >
311+ < a href = { NAV_URL } target = "_blank" rel = "noopener noreferrer" >
312+ < IconButton
313+ aria = { Locale . Export . MessageFromChatGPT }
314+ icon = { < DiscoveryIcon /> }
315+ shadow
316+ />
317+ </ a >
318+ </ div >
309319 < div className = { styles [ "sidebar-action" ] } >
310320 < a href = { REPO_URL } target = "_blank" rel = "noopener noreferrer" >
311321 < IconButton
Original file line number Diff line number Diff line change 11export const OWNER = "ChatGPTNextWeb" ;
22export const REPO = "ChatGPT-Next-Web" ;
33export const REPO_URL = `https://github.com/${ OWNER } /${ REPO } ` ;
4+ export const NAV_URL = "https://nav.programnotes.cn" ;
45export const PLUGINS_REPO_URL = `https://github.com/${ OWNER } /NextChat-Awesome-Plugins` ;
56export const ISSUE_URL = `https://github.com/${ OWNER } /${ REPO } /issues` ;
67export const UPDATE_URL = `${ REPO_URL } #keep-updated` ;
You can’t perform that action at this time.
0 commit comments