move chat to its own menu in sidenav
This commit is contained in:
parent
2e3737646c
commit
422f37c477
@ -181,6 +181,7 @@ export default function Chat() {
|
|||||||
return (
|
return (
|
||||||
<div className="chat-messages">
|
<div className="chat-messages">
|
||||||
<Title level={2}>Chat Messages</Title>
|
<Title level={2}>Chat Messages</Title>
|
||||||
|
<p>Manage the messages from viewers that show up on your stream.</p>
|
||||||
<div className={bulkDivClasses}>
|
<div className={bulkDivClasses}>
|
||||||
<span className="label">Check multiple messages to change their visibility to: </span>
|
<span className="label">Check multiple messages to change their visibility to: </span>
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ import {
|
|||||||
ToolOutlined,
|
ToolOutlined,
|
||||||
PlayCircleFilled,
|
PlayCircleFilled,
|
||||||
MinusSquareFilled,
|
MinusSquareFilled,
|
||||||
|
MessageOutlined,
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { upgradeVersionAvailable } from "../../utils/apis";
|
import { upgradeVersionAvailable } from "../../utils/apis";
|
||||||
@ -107,6 +108,14 @@ export default function MainLayout(props) {
|
|||||||
<Link href="/viewer-info">Viewers</Link>
|
<Link href="/viewer-info">Viewers</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
||||||
|
<Menu.Item
|
||||||
|
key="chat"
|
||||||
|
icon={<MessageOutlined />}
|
||||||
|
title="Chat utilities"
|
||||||
|
>
|
||||||
|
<Link href="/chat">Chat</Link>
|
||||||
|
</Menu.Item>
|
||||||
|
|
||||||
<SubMenu
|
<SubMenu
|
||||||
key="configuration"
|
key="configuration"
|
||||||
title="Configuration"
|
title="Configuration"
|
||||||
@ -128,9 +137,6 @@ export default function MainLayout(props) {
|
|||||||
icon={<ToolOutlined />}
|
icon={<ToolOutlined />}
|
||||||
title="Utilities"
|
title="Utilities"
|
||||||
>
|
>
|
||||||
<Menu.Item key="chat">
|
|
||||||
<Link href="/chat">Chat Moderation</Link>
|
|
||||||
</Menu.Item>
|
|
||||||
<Menu.Item key="hardware-info">
|
<Menu.Item key="hardware-info">
|
||||||
<Link href="/hardware-info">Hardware</Link>
|
<Link href="/hardware-info">Hardware</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
Loading…
Reference in New Issue
Block a user