summaryrefslogtreecommitdiff
path: root/frontend/src/components/settings/index.tsx
blob: eb3a8bbdc6ab1dd19756bc6d08645e7308e0e8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { SidebarNavigation } from 'decky-frontend-lib';

import GeneralSettings from './pages/general';
import PluginList from './pages/plugin_list';

export default function SettingsPage() {
  return (
    <SidebarNavigation
      title="Decky Settings"
      showTitle
      pages={[
        {
          title: 'General',
          content: <GeneralSettings />,
          route: '/decky/settings/general',
        },
        {
          title: 'Plugins',
          content: <PluginList />,
          route: '/decky/settings/plugins',
        },
      ]}
    />
  );
}