mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 02:32:39 +10:00
* chore: add table of contents module * refactor * lint * null check --------- Co-authored-by: Philipinho <16838612+Philipinho@users.noreply.github.com>
34 lines
887 B
TypeScript
34 lines
887 B
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 { 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 />
|
|
</>
|
|
);
|
|
}
|