blob: 1807b5384d572cfba801f305b661a056f24577da (
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
|
import type { Metadata } from "next";
import { ChangePassword } from "@/components/settings/ChangePassword";
import { DeleteAccount } from "@/components/settings/DeleteAccount";
import UserDetails from "@/components/settings/UserDetails";
import UserOptions from "@/components/settings/UserOptions";
import { useTranslation } from "@/lib/i18n/server";
export async function generateMetadata(): Promise<Metadata> {
// oxlint-disable-next-line rules-of-hooks
const { t } = await useTranslation();
return {
title: `${t("settings.info.user_info")} | Karakeep`,
};
}
export default async function InfoPage() {
return (
<div className="flex flex-col gap-4">
<UserDetails />
<ChangePassword />
<UserOptions />
<DeleteAccount />
</div>
);
}
|