blob: 04d99b918e6f128dc53258e39bfb08dc51037f1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import type { Metadata } from "next";
import BasicStats from "@/components/admin/BasicStats";
import ServiceConnections from "@/components/admin/ServiceConnections";
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("admin.admin_settings")} | Karakeep`,
};
}
export default function AdminOverviewPage() {
return (
<div className="flex flex-col gap-6">
<BasicStats />
<ServiceConnections />
</div>
);
}
|