mirror of
https://github.com/docmost/docmost.git
synced 2026-05-21 09:14:07 +08:00
879aa2c3d8
* feat: watchers notification and email preferences * fix: email copy * digests * clean up * fix * clean up * move backlinks queue-up to history processor * fix * fix keys * feat: group notifications * filter * adjust email digest window
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import SettingsTitle from "@/components/settings/settings-title.tsx";
|
|
import AccountLanguage from "@/features/user/components/account-language.tsx";
|
|
import AccountTheme from "@/features/user/components/account-theme.tsx";
|
|
import PageWidthPref from "@/features/user/components/page-width-pref.tsx";
|
|
import PageEditPref from "@/features/user/components/page-state-pref";
|
|
import NotificationPref from "@/features/user/components/notification-pref";
|
|
import { getAppName } from "@/lib/config.ts";
|
|
import { Divider } from "@mantine/core";
|
|
import { Helmet } from "react-helmet-async";
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
export default function AccountPreferences() {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>
|
|
{t("Preferences")} - {getAppName()}
|
|
</title>
|
|
</Helmet>
|
|
<SettingsTitle title={t("Preferences")} />
|
|
|
|
<AccountTheme />
|
|
|
|
<Divider my={"md"} />
|
|
|
|
<AccountLanguage />
|
|
|
|
<Divider my={"md"} />
|
|
|
|
<PageWidthPref />
|
|
|
|
<Divider my={"md"} />
|
|
|
|
<PageEditPref />
|
|
|
|
<Divider my={"md"} />
|
|
|
|
<NotificationPref />
|
|
</>
|
|
);
|
|
}
|