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 { notFound } from "next/navigation";
|
||||||
import { Stack, Text, Title } from "@mantine/core";
|
import { Text } from "@mantine/core";
|
||||||
|
|
||||||
import { auth } from "@homarr/auth/next";
|
import { auth } from "@homarr/auth/next";
|
||||||
import { getScopedI18n } from "@homarr/translation/server";
|
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";
|
import { AssistantConfiguration } from "./_components/assistant-configuration";
|
||||||
|
|
||||||
export async function generateMetadata() {
|
export async function generateMetadata() {
|
||||||
@@ -23,17 +23,11 @@ export default async function AssistantPage() {
|
|||||||
|
|
||||||
const t = await getScopedI18n("management.page.settings.section.assistant");
|
const t = await getScopedI18n("management.page.settings.section.assistant");
|
||||||
return (
|
return (
|
||||||
<>
|
<ManagePageLayout title={t("title")}>
|
||||||
<DynamicBreadcrumb />
|
<Text c="dimmed" maw="70ch">
|
||||||
<Stack>
|
{t("description")}
|
||||||
<div>
|
</Text>
|
||||||
<Title order={1}>{t("title")}</Title>
|
<AssistantConfiguration />
|
||||||
<Text c="dimmed" maw="70ch">
|
</ManagePageLayout>
|
||||||
{t("description")}
|
|
||||||
</Text>
|
|
||||||
</div>
|
|
||||||
<AssistantConfiguration />
|
|
||||||
</Stack>
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user