chore: add chat link to index page (berry)
Signed-off-by: yongman <yming0221@gmail.com>
This commit is contained in:
parent
e2ed0399f0
commit
a938846b4e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user