summaryrefslogtreecommitdiff
path: root/frontend/src/components/settings/index.tsx
blob: f9c84c7ba61d34736f9cb15024c2a0b43dc6a9a0 (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/GeneralSettings';
import PluginList from './pages/PluginList';

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',
        },
      ]}
    />
  );
}