Temporary bot menu.

This commit is contained in:
Paul
2021-08-12 15:29:19 +01:00
parent c27f596d40
commit 237a0024df
6 changed files with 177 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ import {
Globe,
LogOut,
Desktop,
Bot,
} from "@styled-icons/boxicons-regular";
import {
Bell,
@@ -39,6 +40,7 @@ import { Appearance } from "./panes/Appearance";
import { ExperimentsPage } from "./panes/Experiments";
import { Feedback } from "./panes/Feedback";
import { Languages } from "./panes/Languages";
import { MyBots } from "./panes/MyBots";
import { Native } from "./panes/Native";
import { Notifications } from "./panes/Notifications";
import { Profile } from "./panes/Profile";
@@ -109,11 +111,17 @@ export default function Settings() {
title: <Text id="app.settings.pages.native.title" />,
},
{
divider: true,
id: "experiments",
icon: <Flask size={20} />,
title: <Text id="app.settings.pages.experiments.title" />,
},
{
divider: true,
category: "revolt",
id: "bots",
icon: <Bot size={20} />,
title: <Text id="app.settings.pages.bots.title" />,
},
{
id: "feedback",
icon: <Megaphone size={20} />,
@@ -148,6 +156,9 @@ export default function Settings() {
<Route path="/settings/experiments">
<ExperimentsPage />
</Route>
<Route path="/settings/bots">
<MyBots />
</Route>
<Route path="/settings/feedback">
<Feedback />
</Route>