fix: align assistant management layout
This commit is contained in:
1 parent
16e3f54512
commit
7899d8677c
1 file changed
+8
-14
@@ -1,10 +1,10 @@
|
||||
import { notFound } from "next/navigation";
|
||||
import { Stack, Text, Title } from "@mantine/core";
|
||||
import { Text } from "@mantine/core";
|
||||
|
||||
import { auth } from "@homarr/auth/next";
|
||||
import { getScopedI18n } from "@homarr/translation/server";
|
||||
|
||||
import { DynamicBreadcrumb } from "~/components/navigation/dynamic-breadcrumb";
|
||||
import { ManagePageLayout } from "~/components/manage/manage-page-layout";
|
||||
import { AssistantConfiguration } from "./_components/assistant-configuration";
|
||||
|
||||
export async function generateMetadata() {
|
||||
@@ -23,17 +23,11 @@ export default async function AssistantPage() {
|
||||
|
||||
const t = await getScopedI18n("management.page.settings.section.assistant");
|
||||
return (
|
||||
<>
|
||||
<DynamicBreadcrumb />
|
||||
<Stack>
|
||||
<div>
|
||||
<Title order={1}>{t("title")}</Title>
|
||||
<Text c="dimmed" maw="70ch">
|
||||
{t("description")}
|
||||
</Text>
|
||||
</div>
|
||||
<AssistantConfiguration />
|
||||
</Stack>
|
||||
</>
|
||||
<ManagePageLayout title={t("title")}>
|
||||
<Text c="dimmed" maw="70ch">
|
||||
{t("description")}
|
||||
</Text>
|
||||
<AssistantConfiguration />
|
||||
</ManagePageLayout>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user