import React, { lazy, Suspense } from "react";
import {
ClientOnly,
createRootRoute,
HeadContent,
Outlet,
Scripts,
useRouterState
} from "@tanstack/react-router";
import { activeRouteData } from "@utils/routes";
import stylesheet from "@styles/main.css?url";
const AppShell = lazy(() => import("@components/AppShell"));
export const Route = createRootRoute({
head: () => ({
meta: [
{ charSet: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
name: "google-site-verification",
content: "bjJSOEahdert-7mwVScrwTTUVR3nSe0bEj5YjevUNn0"
}
],
links: [
{ rel: "stylesheet", href: stylesheet },
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{
rel: "preconnect",
href: "https://fonts.gstatic.com",
crossOrigin: "anonymous"
},
{
rel: "stylesheet",
href:
"https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Material+Symbols+Outlined:wght@100..700&display=swap"
},
{ rel: "icon", href: "/static/favicon.png", type: "image/png" },
{ rel: "manifest", href: "/static/site.webmanifest" }
]
}),
shellComponent: RootDocument,
component: RootComponent,
notFoundComponent: NotFound,
errorComponent: () => (
Something went wrong
Back to Transform
Page not found
Back to Transform