Skip to documentation
Design system / Sources & standards
Current repository source
public-shell.tsx
src/components/navigation/instances/public-shell.tsx
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
import type { ReactNode } from "react";
import { AppShell } from "../appShell";
import { Footer } from "../footer";
import { PublicNavigation } from "./public-navigation";
import type { BreadcrumbItem } from "../types";
export type PublicShellProps = {
children: ReactNode;
breadcrumbs?: BreadcrumbItem[];
rightSlot?: ReactNode;
};
export function PublicShell({ children, breadcrumbs, rightSlot }: PublicShellProps) {
return (
<AppShell
contentLayout="full-bleed"
header={
<PublicNavigation breadcrumbs={breadcrumbs} rightSlot={rightSlot} />
}
footer={<Footer />}
>
{children}
</AppShell>
);
}
All sources and standards