redesign mock route concepts

This commit is contained in:
dirtydishes 2026-06-11 05:10:53 -04:00
parent 83b0944cb3
commit e7924c8f11
4 changed files with 1169 additions and 214 deletions

View file

@ -9441,6 +9441,23 @@ function SyntheticControlDock() {
}
export function TerminalAppShell({ children }: { children: ReactNode }) {
const pathname = nextNavigation.usePathname();
if (pathname?.startsWith("/mock")) {
return (
<div className="mock-shell">
<a className="skip-link mock-skip-link" href="#mock-title">
Skip to mock content
</a>
{children}
</div>
);
}
return <TerminalChrome>{children}</TerminalChrome>;
}
function TerminalChrome({ children }: { children: ReactNode }) {
const state = useTerminalState();
const pathname = nextNavigation.usePathname();
const [drawerOpen, setDrawerOpen] = useState(false);