chore: add chat link to index page (berry)

Signed-off-by: yongman <yming0221@gmail.com>
This commit is contained in:
yongman 2024-01-20 18:06:36 +08:00
parent e2ed0399f0
commit a938846b4e

View File

@ -12,6 +12,7 @@ const Header = () => {
const theme = useTheme();
const { pathname } = useLocation();
const account = useSelector((state) => state.account);
const siteInfo = useSelector((state) => state.siteInfo);
return (
<>
@ -40,6 +41,13 @@ const Header = () => {
>
首页
</Button>
<Button
href={siteInfo.chat_link}
target="_blank"
color="inherit"
>
聊天
</Button>
<Button
component={Link}
variant="text"