import { createRootRoute, HeadContent, Link, Scripts } from '@tanstack/react-router' import { lazy, Suspense } from 'react' import { siteConfig } from '~/lib/site-config' import appCss from '../styles.css?url' const Devtools = import.meta.env.DEV ? lazy(() => import('~/components/devtools')) : () => null const themeScript = `(function(){try{var t=localStorage.getItem('theme')||'system';var m=window.matchMedia('(prefers-color-scheme:dark)').matches;document.documentElement.classList.toggle('dark',t==='dark'||(t==='system'&&m));}catch(e){}})();` export const Route = createRootRoute({ head: () => ({ meta: [ { charSet: 'utf-8', }, { name: 'viewport', content: 'width=device-width, initial-scale=1', }, { name: 'description', content: siteConfig.description, }, { title: siteConfig.name, }, ], links: [ { rel: 'stylesheet', href: appCss, }, { rel: 'icon', href: '/favicon.ico', sizes: '32x32', }, { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml', }, { rel: 'manifest', href: '/manifest.json', }, ], }), notFoundComponent: () => (
The page you are looking for does not exist.
Go back home