aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/settings/sidebar/items.tsx
blob: f76d494a51304b0b9ca5263ff9c97a16250a66de (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import React from "react";
import { TFunction } from "i18next";
import {
  ArrowLeft,
  Download,
  KeyRound,
  Link,
  Rss,
  Sparkles,
  User,
} from "lucide-react";

export const settingsSidebarItems = (
  t: TFunction,
): {
  name: string;
  icon: JSX.Element;
  path: string;
}[] => [
  {
    name: t("settings.back_to_app"),
    icon: <ArrowLeft size={18} />,
    path: "/dashboard/bookmarks",
  },
  {
    name: t("settings.info.user_info"),
    icon: <User size={18} />,
    path: "/settings/info",
  },
  {
    name: t("settings.ai.ai_settings"),
    icon: <Sparkles size={18} />,
    path: "/settings/ai",
  },
  {
    name: t("settings.feeds.rss_subscriptions"),
    icon: <Rss size={18} />,
    path: "/settings/feeds",
  },
  {
    name: t("settings.import.import_export"),
    icon: <Download size={18} />,
    path: "/settings/import",
  },
  {
    name: t("settings.api_keys.api_keys"),
    icon: <KeyRound size={18} />,
    path: "/settings/api-keys",
  },
  {
    name: t("settings.broken_links.broken_links"),
    icon: <Link size={18} />,
    path: "/settings/broken-links",
  },
];