import { Outlet, Link, createRootRoute, HeadContent, Scripts } from "@tanstack/react-router";
import { Toaster } from "@/components/ui/sonner";
import appCss from "../styles.css?url";
function NotFoundComponent() {
return (
404
Signal lost
The page you're looking for doesn't exist.
Return to base
);
}
export const Route = createRootRoute({
head: () => ({
meta: [
{ charSet: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ title: "DriveCore — AV Safety Incident Analysis" },
{ name: "description", content: "AI-powered analysis of autonomous vehicle incidents, near misses, and safety logs." },
],
links: [{ rel: "stylesheet", href: appCss }, { rel: "preconnect", href: "https://fonts.googleapis.com" }, { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap" }],
}),
shellComponent: RootShell,
component: RootComponent,
notFoundComponent: NotFoundComponent,
});
function RootShell({ children }: { children: React.ReactNode }) {
return (
{children}
);
}
function RootComponent() {
return (
<>
>
);
}