Skip to documentation

Design system / Sources & standards

Current repository source

appShell.tsx

src/components/navigation/appShell.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 { cn } from "@/lib/utils";
import type { AppShellProps } from "./types";

export function AppShell({
  header,
  children,
  footer,
  className,
  contentLayout = "contained",
}: AppShellProps) {
  return (
    <div className={cn("flex min-h-screen flex-col", className)}>
      {header}
      <main className="flex-1">
        {contentLayout === "contained" ? (
          <div className="page-frame">{children}</div>
        ) : contentLayout === "focused" ? (
          <div className="page-frame page-frame-focused">{children}</div>
        ) : (
          children
        )}
      </main>
      {footer}
    </div>
  );
}
All sources and standards
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.