import type { PropsWithChildren } from "react";
import PageHeader from "@/src/components/general/page-header";
import PageBody from "@/src/components/general/page-body";
import SubNav from "@/src/components/general/sub-nav";
import InlineAlert from "@/src/components/general/inline-alert";
import { SetupNav } from "../(data)/setup-nav-dict";
type Props = PropsWithChildren & {
title: string;
description: string;
/** `false` shows the not-root warning */
is_root?: boolean;
};
/** Header, sub-navigation and body shared by the three setup subpages. */
export default function SetupPageFrame({ title, description, is_root, children }: Props) {
return (
<>
}
/>
{is_root === false ? (
) : null}
{children}
>
);
}