- add a shared external-navigation guard at the document level - route onboarding, markdown, settings, and node source links through one helper - stop browser fallback code from replacing the current app page on failures Generated with Codex
26 lines
619 B
TypeScript
26 lines
619 B
TypeScript
import './globals.css';
|
|
import { DimensionIconsProvider } from '@/context/DimensionIconsContext';
|
|
import ExternalNavigationManager from '@/components/system/ExternalNavigationManager';
|
|
|
|
export const metadata = {
|
|
title: 'RA-H Open Source',
|
|
description: 'Local-first research workspace with a BYO-key AI orchestrator',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<DimensionIconsProvider>
|
|
<ExternalNavigationManager />
|
|
{children}
|
|
</DimensionIconsProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|